Thanks to Johannes Hauber for reminding me about a great utility today called Gparted
, I am going to write a tutorial about how to integrate Gparted into UBCD V4.0.
I am basing this tutorial on 0.3.4-4 of the Gparted LiveCD
, but it should apply to other versions of Gparted as well.
First, download the Gparted LiveCD ISO image and extract its content to the harddisk. I am assuming the the content is extracted to c:\gparted. The content of the UBCD ISO image should also be extracted to the harddisk. Let's say it is extracted to c:\ubcd.
c:\gparted should have the following files/folders:
Now, copy "c:\gparted\gparted.dat" to "c:\ubcd", and copy "c:\gparted\boot\gparted" and "c:\gparted\boot\gparted.gz" to "c:\ubcd\custom". Now c:\ubcd should look like this:
Edit "c:\ubcd\custom\custom.cfg" with a text editor:
MENU INCLUDE /menus/defaults.cfg
MENU LABEL ..
MENU LABEL gparted
APPEND append initrd=/custom/gparted.igz root=/dev/ram0 init=/linuxrc vga=788 looptype=squashfs loop=/gparted.dat dokeymap splash=silent nosound cdroot=/dev/sd
That's it! Create a customized UBCD image using "c:\ubcd\tools\ubcd2iso\ubcd2iso.bat" and you are ready to run Gparted under "User-Defined Tools".
All the various options for booting Gparted are found in "c:\gparted\boot\syslinux\syslinux.cfg". I have taken the boot command from "default", but you are free to add others as well eg. nokeymap, nocache, i810 etc.