It is currently Thu Oct 23, 2014 9:49 am

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ] 
Author Message
 Post subject: How to add PCLogin-Now! To UBCDv4
PostPosted: Sat Sep 13, 2008 2:00 pm 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
Contains of the iso:
/Boot/
/Boot/isolinux.bin
/Boot/isolinux.bt
/Boot/linux.
/syslinux/
/syslinux/boot.msg
/syslinux/options.msg
/syslinux/splash.lss
/syslinux/syslinux.cfg
isolinux.cfg
livecd.
program.mo
rd.
root.dat
version.

Contains of isolinux.cfg:
Code:
default livecd
timeout 0

label livecd
kernel /boot/linux
append cdroot init=/rc console=tty1 initrd=/rd fullscreen irqpoll quiet endsign


Tried it the other way described in the ophcrack thread but doesnt work.

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 17, 2008 1:46 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Rename all files to lowercase and remove the points at the end of the filenames (isolinux/syslinux is case sensitive).

If you want the contents of PCloginNow! in the custom folder of UBCD (for UBCD411):
    Make a directory pclogin (must be less that 8 characters) in /custom
    Copy /boot/linux from the pcloginnow directory to /custom/pclogin/ of the UBCD directory
    Copy /rd from the pcloginnow directory to /custom/pclogin/ of the UBCD directory
    Copy /root.dat from the pcloginnow directory to the root (/) of the UBCD directory.
    Maybe you have to copy program.mo also tho the root of the UBCD directory (not completely sure about it).

I don't have windows, so when I boot the CD, I get a GUI at a certain moment which says that there are no windows partitions. It asks very nicely to reboot, without giving you another option, so I am not completely sure that you need the program.mo file for the recovery itself.

Add the following to the custom.cfg.
Quote:
LABEL pcloginnow
MENU LABEL PCLogin-Now!
KERNEL /custom/pclogin/linux
APPEND cdroot init=/rc console=tty1 initrd=/custom/pclogin/rd fullscreen irqpoll quiet endsign


PCLoginNow! is based on the GParted live CD (look at the contents of the file /syslinux/boot.msg with notepad).
It contains a lot of unnecessary files.
    /syslinux/ ==> all file of GParted Live CD (not used)
    /syslinux/ ==> directory of GParted Live CD (not used)
    /syslinux/boot.msg ==> file of GParted Live CD (not used)
    /syslinux/options.msg ==> file of GParted Live CD (not used)
    /syslinux/splash.lss ==> file of GParted Live CD (not used)
    /syslinux/syslinux.cfg==> file of GParted Live CD (not used)
Inside the initrd (rd): (rd is gzip compressed, contains initrd which is cpio compressed) the init file contains the following section.
Quote:
for x in ${CMDLINE}
do
case "${x}" in
#real_root\=*)
# REAL_ROOT=`parse_opt "${x}"`
#;;
#root\=*)
# FAKE_ROOT=`parse_opt "${x}"`
#;;
netroot)
NETROOT=1
;;
ip\=*)
IP_SETS=`parse_opt "${x}"`

The following part should be uncommented by the author:
Quote:
root\=*)
FAKE_ROOT=`parse_opt "${x}"`
;;

If this is done by the author of PCLoginNow!, you can get a much cleaner directory layout for PCLoginNow!
You can copy /root.dat to /custom/pclogin/ and change the custom.cfg file to:
Quote:
LABEL pcloginnow
MENU LABEL PCLogin-Now!
KERNEL /custom/pclogin/linux
APPEND cdroot init=/rc console=tty1 initrd=/custom/pclogin/rd loop=/custom/pclogin/root.dat fullscreen irqpoll quiet endsign


With the current version this is not possible.

I hope that the author changes this:
See: http://sourceforge.net/forum/forum.php?thread_id=2256368&forum_id=837444


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 27, 2008 11:19 pm 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
Hmm...errors. One in VM virtualbox spitting out some kind of loop error...then goes to a console. It has also said error unsupported graphics card and drops to console. :\

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 11:24 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Icecube wrote:
If this is done by the author of PCLoginNow!, you can get a much cleaner directory layout for PCLoginNow!
You can copy /root.dat to /custom/pclogin/ and change the custom.cfg file to:
Quote:
LABEL pcloginnow
MENU LABEL PCLogin-Now!
KERNEL /custom/pclogin/linux
APPEND cdroot init=/rc console=tty1 initrd=/custom/pclogin/rd loop=/custom/pclogin/root.dat fullscreen irqpoll quiet endsign


With the current version this is not possible.

I hope that the author changes this:
See: http://sourceforge.net/forum/forum.php?thread_id=2256368&forum_id=837444

You can't use the part in bold, in the original Gparted ISO, this is possible. So the correct contents of custom.cfg is:
Quote:
LABEL pcloginnow
MENU LABEL PCLogin-Now!
KERNEL /custom/pclogin/linux
APPEND cdroot init=/rc console=tty1 initrd=/custom/pclogin/rd fullscreen irqpoll quiet endsign

The root.dat file has to be in the root of the extracted UBCD folder.

Try QEMU or VirtualBox as other emulators to see if it works. Maybe you have to enlarge the amount of RAM, that you give at the virtual machine.

I tested it in QEMU with 128MB of RAM for the virtual machine.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 12, 2008 9:45 pm 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
The thing is i have it set up correctly. I am using virtualbox with 1gig of ram dedicated to the box. It has something to do with my XFX 8800GTS 640MB graphics card...seems like it doesnt support newer hardware...which is really sad. They also misspelled contact.

Here is a screen shot (mmmm beef!):

Image

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 02, 2009 6:26 pm 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
I have tried this with version 2.0, the latest, and it gives me errors:

Image

Is there anyway to fix this???

Does this in UBCDv5beta10 aswell.

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2009 3:43 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
PCloginNow is a very crippled version of the Gparted liveCD. The author of PCloginNow, disabled a lot of parameters that can be set when using Gparted liveCD.

PCloginNow! doesn't seem to work with Virtualbox when you have a hdd (with windows) and a cddrive (with the original PCloginNow! iso)

If you have only a the PCloginNow! iso (no hdd atached to the VM), it will give you the error about 'Video is Unknow device 80ee:beef,, using Xorg Server".

When using the customized UBCD iso, you can add vesa to custum.cfg to avoid this problem with Xorg.
Quote:
LABEL pcloginnow
MENU LABEL PCLogin-Now!
KERNEL /custom/pclogin/linux
APPEND cdroot init=/rc console=tty1 initrd=/custom/pclogin/rd fullscreen irqpoll quiet endsign vesa


I can boot PCloginNow! in the customised UBCD iso version when a hdd is atached to the VM, when I change the custom.cfg to:
Quote:
LABEL pcloginnow
MENU LABEL PCLogin-Now!
KERNEL /custom/pclogin/linux
APPEND cdroot=/dev/hdc init=/rc console=tty1 initrd=/custom/pclogin/rd fullscreen irqpoll quiet endsign vesa

cdroot=/dev/hdc is the cdrom drive if you have 1 cdrom an 1 hdd in your virtual machine.


I added it this time to UBCD50 (b10):

* Extract the UBCD50 iso to C:\ubcd-extract\ for example.
* Extract the PCloginNow! 2.0 iso to C:\PCloginNow\ for example.
* Make a directory pclogin (must be less that 8 characters) in /ubcd/custom (= /ubcd/custom/pclogin/)
* Copy C:\PCloginNow\boot\linux to C:\ubcd-extract\ubcd\custom\pclogin\.
* Copy C:\PCloginNow\rd to C:\ubcd-extract\ubcd\custom\pclogin\.
* Copy C:\PCloginNow\root.dat to C:\ubcd-extract\.
* Copy C:\PCloginNow\program.mo to C:\ubcd-extract\. (is needed: is the actual PCloginNow program)

Add the following to C:\ubcd-extract\ubcd\custom\custom.cfg:
Quote:
LABEL -
MENU LABEL PCLoginNow!
TEXT HELP
PCLoginNow! is an easy-to-use tool to reset local administrator and other
accounts passwords on Windows system. No need to reinstall the system. It
resets Windows passwords and Windows security settings instantly. All version
of Windows are completely supported.
ENDTEXT
KERNEL /ubcd/custom/pclogin/linux
APPEND cdroot=/dev/hdc init=/rc console=tty1 initrd=/ubcd/custom/pclogin/rd fullscreen irqpoll quiet vesa

(DISCLAIMER: The help text is copied from the homepage of PCLoginNow, so don't blame me if it doesn't work like promised :wink: .)

The cdroot=/dev/hdc is needed in VirtualBox, on real hardware cdroot can work to. If you run UBCD from an USB stick, change it cdroot=/dev/sdX (where X can be [a-z] (e.g.: /dev/sdb) (your internal hard drive will probably be /dev/sda), if cdroot doesn't work.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2009 5:47 pm 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
Works great!!! It spits out an error before loading modules: scanning hardware - "warning:seems incorrect parameters in cd ..." probably due to forcing cdroot to dev/hdc im assuming...doesnt effect fuctionality and it will be changed back to cdroot before writing it to usb.


BUT...what if I wanted to also add PCRegedit to it aswell. They both use the same files....how would I go about adding them so both could run considering root.dat and program.mo are named the same and both are required by both programs (both different sizes checked).

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 25, 2009 3:29 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Some good news.

I probably can add PCloginNow and PCregedit to Parted Magic as modules.
I need to to some testing first, but I think it is possible. This will solve the problem with the crippled made version of Gparted liveCD by the developer of PCloginNow and PCregedit.
http://www.ultimatebootcd.com/forums/viewtopic.php?p=6928#6928

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 07, 2009 3:41 am 
Offline

Joined: Wed May 06, 2009 1:15 am
Posts: 6
can you write in detail , how to add PClogin and PCregedit as module to parted magic??


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 10, 2009 8:47 am 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
shamurshamur wrote:
can you write in detail , how to add PClogin and PCregedit as module to parted magic??


Is that really necessary?

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 10, 2009 11:26 am 
Offline

Joined: Wed May 06, 2009 1:15 am
Posts: 6
StopSpazzing wrote:
shamurshamur wrote:
can you write in detail , how to add PClogin and PCregedit as module to parted magic??


Is that really necessary?


I have added pcloginnow in ubcd . But it requires extra 50 MB space.
Is it possible to add just the main program file of pcloginnow "PROGRAM.MO"
to linux distros like parted magic as a module?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 10, 2009 12:22 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Yes, this is possible (I have some problems with PCregedit because it needs additional files, didn't look futher in it yet).

I will post the modules when I have them finished (will be in the UBCD50 subforum).

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 10, 2009 1:59 pm 
Offline

Joined: Wed May 06, 2009 1:15 am
Posts: 6
Icecube wrote:
Yes, this is possible (I have some problems with PCregedit because it needs additional files, didn't look futher in it yet).

I will post the modules when I have them finished (will be in the UBCD50 subforum).

thanks for your reply.
well, i am not interested in pcregedit much .
so if you have figured out the way of adding pcloginnow only , to parted magic as module , then you can tell me.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 22, 2009 7:06 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Yeah, I have found a way, but Parted Magic (last test verison) doesn't load the modules when using the livemedia option for the moment (will be fixed soon). The PCloginNow and PCRegedit script that mounts all partitions needs some finetunings (now, it won't work when the partition is already mounted).

Other PC programs (PCCMOScleaner and PCDiskEraser) don't need any changes anymore.

I am currently very busy with other things, so I don't know when I will publish them.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 24, 2009 11:22 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
See: http://www.ultimatebootcd.com/forums/viewtopic.php?p=7033#7033 for the modules and instructions.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group