HOWTO: Integrate Gparted into UBCD

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

Moderators: Icecube, StopSpazzing

Locked
Victor Chew
Posts: 1359
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

HOWTO: Integrate Gparted into UBCD

Post by Victor Chew » Sun Mar 25, 2007 4:07 am

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

boot\
syslinux\
gparted.dat


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

boot\
custom\
  custom.cfg
  gparted
  gparted.gz
dosapps\
images\
isolinux\
menus\
syslinux\
tools\
website\
gparted.dat
ubcd.ico
autorun.inf


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

Code: Select all

MENU INCLUDE /menus/defaults.cfg
LABEL back
  MENU LABEL ..
  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.

Elbarto
Posts: 10
Joined: Mon Apr 28, 2008 2:07 am

Post by Elbarto » Mon Apr 28, 2008 2:12 am

Hello,

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

Elbarto
Posts: 10
Joined: Mon Apr 28, 2008 2:07 am

Post by Elbarto » Mon Apr 28, 2008 9:57 am

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

aen007
Posts: 23
Joined: Tue Jan 29, 2008 2:57 pm

Post by aen007 » Wed Apr 01, 2009 5:52 am

1Apr2009
Greetings.
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.
Regards,
AEN
Æ

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

Post by Icecube » Wed Apr 01, 2009 8:14 am

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).
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

aen007
Posts: 23
Joined: Tue Jan 29, 2008 2:57 pm

Post by aen007 » Wed Apr 01, 2009 10:27 pm

2Apr2009
Greetings.
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.
Regards,
AEN
Æ

Locked