Ultimate Boot CD
http://www.ultimatebootcd.com/forums/

How to add PCLogin-Now! To UBCDv4
http://www.ultimatebootcd.com/forums/viewtopic.php?f=6&t=1576
Page 1 of 1

Author:  StopSpazzing [ Sat Sep 13, 2008 2:00 pm ]
Post subject:  How to add PCLogin-Now! To UBCDv4

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.

Author:  Icecube [ Wed Sep 17, 2008 1:46 pm ]
Post subject: 

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

Author:  StopSpazzing [ Sat Sep 27, 2008 11:19 pm ]
Post subject: 

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

Author:  Icecube [ Sun Sep 28, 2008 11:24 pm ]
Post subject: 

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.

Author:  StopSpazzing [ Sun Oct 12, 2008 9:45 pm ]
Post subject: 

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

Author:  StopSpazzing [ Mon Feb 02, 2009 6:26 pm ]
Post subject: 

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.

Author:  Icecube [ Wed Feb 04, 2009 3:43 am ]
Post subject: 

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.

Author:  StopSpazzing [ Wed Feb 04, 2009 5:47 pm ]
Post subject: 

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

Author:  Icecube [ Sat Apr 25, 2009 3:29 am ]
Post subject: 

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

Author:  shamurshamur [ Thu May 07, 2009 3:41 am ]
Post subject: 

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

Author:  StopSpazzing [ Sun May 10, 2009 8:47 am ]
Post subject: 

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


Is that really necessary?

Author:  shamurshamur [ Sun May 10, 2009 11:26 am ]
Post subject: 

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?

Author:  Icecube [ Sun May 10, 2009 12:22 pm ]
Post subject: 

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

Author:  shamurshamur [ Sun May 10, 2009 1:59 pm ]
Post subject: 

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.

Author:  Icecube [ Fri May 22, 2009 7:06 am ]
Post subject: 

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.

Author:  Icecube [ Sun May 24, 2009 11:22 pm ]
Post subject: 

See: http://www.ultimatebootcd.com/forums/viewtopic.php?p=7033#7033 for the modules and instructions.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/