How to add PCLogin-Now! To UBCDv4

If you have a tutorial or tip related to the UBCD, why not share it with other users here?

Moderators:Icecube, StopSpazzing

Locked
Message
Author
StopSpazzing
Posts:462
Joined:Tue Sep 09, 2008 4:37 pm
Location:California, USA
Contact:
How to add PCLogin-Now! To UBCDv4

#1 Post by StopSpazzing » Sat Sep 13, 2008 2:00 pm

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: Select all

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.

Icecube
Posts:1278
Joined:Fri Jan 11, 2008 2:52 pm
Contact:

#2 Post by Icecube » Wed Sep 17, 2008 1:46 pm

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.
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.
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:
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:
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? ... _id=837444

StopSpazzing
Posts:462
Joined:Tue Sep 09, 2008 4:37 pm
Location:California, USA
Contact:

#3 Post by StopSpazzing » Sat Sep 27, 2008 11:19 pm

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.

Icecube
Posts:1278
Joined:Fri Jan 11, 2008 2:52 pm
Contact:

#4 Post by Icecube » Sun Sep 28, 2008 11:24 pm

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:
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? ... _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:
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.

StopSpazzing
Posts:462
Joined:Tue Sep 09, 2008 4:37 pm
Location:California, USA
Contact:

#5 Post by StopSpazzing » Sun Oct 12, 2008 9:45 pm

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.

StopSpazzing
Posts:462
Joined:Tue Sep 09, 2008 4:37 pm
Location:California, USA
Contact:

#6 Post by StopSpazzing » Mon Feb 02, 2009 6:26 pm

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.

Icecube
Posts:1278
Joined:Fri Jan 11, 2008 2:52 pm
Contact:

#7 Post by Icecube » Wed Feb 04, 2009 3:43 am

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.
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:
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:
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/

StopSpazzing
Posts:462
Joined:Tue Sep 09, 2008 4:37 pm
Location:California, USA
Contact:

#8 Post by StopSpazzing » Wed Feb 04, 2009 5:47 pm

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.

Icecube
Posts:1278
Joined:Fri Jan 11, 2008 2:52 pm
Contact:

#9 Post by Icecube » Sat Apr 25, 2009 3:29 am

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.
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/

shamurshamur
Posts:6
Joined:Wed May 06, 2009 1:15 am

#10 Post by shamurshamur » Thu May 07, 2009 3:41 am

can you write in detail , how to add PClogin and PCregedit as module to parted magic??

StopSpazzing
Posts:462
Joined:Tue Sep 09, 2008 4:37 pm
Location:California, USA
Contact:

#11 Post by StopSpazzing » Sun May 10, 2009 8:47 am

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.

shamurshamur
Posts:6
Joined:Wed May 06, 2009 1:15 am

#12 Post by shamurshamur » Sun May 10, 2009 11:26 am

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?

Icecube
Posts:1278
Joined:Fri Jan 11, 2008 2:52 pm
Contact:

#13 Post by Icecube » Sun May 10, 2009 12:22 pm

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/

shamurshamur
Posts:6
Joined:Wed May 06, 2009 1:15 am

#14 Post by shamurshamur » Sun May 10, 2009 1:59 pm

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.

Icecube
Posts:1278
Joined:Fri Jan 11, 2008 2:52 pm
Contact:

#15 Post by Icecube » Fri May 22, 2009 7:06 am

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/

Icecube
Posts:1278
Joined:Fri Jan 11, 2008 2:52 pm
Contact:

#16 Post by Icecube » Sun May 24, 2009 11:22 pm

See: 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/

Locked