Page 1 of 1

HOWTO: Integrate Gparted into UBCD

Posted: Sun Mar 25, 2007 4:07 am
by Victor Chew
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:

Code: Select all

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:

Code: Select all

Edit "c:\ubcd\custom\custom.cfg" with a text editor:

Code: Select all

MENU INCLUDE /menus/defaults.cfg
LABEL back
  KERNEL menu.c32
  APPEND /menus/main.cfg
LABEL gparted
  MENU LABEL gparted
  KERNEL /custom/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.

Posted: Mon Apr 28, 2008 2:12 am
by Elbarto

this how-to doesn't work with the last version of gparted :( ( v0.3.6.7) because the sub-directory are different

there is no "gparted.dat" file and no "gparted.gz" file,

so can you update your topic ?

thanks :)

Posted: Mon Apr 28, 2008 9:57 am
by Elbarto
Ok I will update myself this topic for the last version of gparted:

--> decompress the iso file for gparted

--> copy all files form "/isolinux" to the "isolinux" folder of ubcd 4 except the isolinux.cfg file ( don't erase the original file in ubcd4 )

---> copy the "live" directory from gparted to ubcd4

---> then edit "ubcd/custom/custom.cfg" and add the lines from the "isolinux.cfg" of gparted

that's all :)

Posted: Wed Apr 01, 2009 5:52 am
by aen007
Yesterday I used gParted 0.3.4-11 to partition the 60gb HDD
that is now in my dinosaur laptop from 1998.
PartedMagic 3x on my UBCD4Win 3.22 CD
(which I integrated into UBCD4Win through my UBCDos iso ...)
would not finish loading on this old laptop
(4005cds: PII 233mHz 160mb RAM).
I knew I had used gParted in UBCDos»UBCD4Win last year on the 4005,
so I downloaded an archived old version of gParted from SourceForge.
(Thank goodness for the archive!)

Today I am building a UBCD4Win for the 4005 with gParted 0.3.4-11.
I will integrate this gParted into a UBCDos iso.
I don't know yet if there will be a problem or not,
because gP0.3.4-11 has gparted.igz not gparted.gz.
I hope not.
If so, I'll post again asking if anyone could help.

I understand that in the future PartedMagic will be a part of UBCDos.
I wonder if UBCDos can/will give the option to include or exclude
PM from the UBCDos iso, because I can see situations where
one might want to put UBCDos (without PM) together with UBCD4Win ...

Thank you.

Posted: Wed Apr 01, 2009 8:14 am
by Icecube
Parted Magic 3.6 (and later) can run on PCs with only 64MB of RAM if you select the "low memory" option. If you have 128MB or more, you can use the "live" option.

Download the last beta of UBCD50 (has Parted Magic 3.7).

Posted: Wed Apr 01, 2009 10:27 pm
by aen007
Thanks for the reply.
I will try the 5.0.12ß today ...
I also will make a follow up post
in the 5.0ß suggestion forum.