RATM_Owns
August 4th, 2008, 05:28 PM
NOTE:
Items colored in red will have to be replaced by your own value.
Why would you want GParted on your hard disk? Because it's easy to do and you don't need to keep track of any CDs.
You'll need, say a 120MB partition (preferably ext3, but it could be anything GRUB reads) just to be safe. If you don't have one, you can make one with GParted Live CD or Ubuntu Live CD (System->Administration->Partition Editor)
Now let's say you have a 120MB ext3 partition at /dev/sda3
That's mine. Yours will probably be different.
The first step would be to switch to the omni-potent root.
sudo -sNext, let's mount the 120MB partition you made, I'm mounting it in /mnt, you can replace that.
mount -t ext3 /dev/sda3 /mntDownload the latest stable release of GParted .zip file found here:
http://sourceforge.net/project/showfiles.php?group_id=115843&package_id=271779
Next, extract the GParted .zip to where the partition is.
unzip gparted-live-*.zip -d /mntTo avoid mistakes, delete /mnt/makeboot.bat
rm /mnt/makeboot.batFinally, let's edit /boot/grub/menu.lst to allow you to boot into GParted.
cp /boot/grub/menu.lst /boot/grub/menu.lst.backup
gedit /boot/grub/menu.lstAnd add these lines:
title GParted live
root (hd0,2)
kernel /live/vmlinuz1 toram boot=live union=aufs noswap noprompt vga=788 ip=frommedia
initrd /live/initrd1.img
boot
Items colored in red will have to be replaced by your own value.
Why would you want GParted on your hard disk? Because it's easy to do and you don't need to keep track of any CDs.
You'll need, say a 120MB partition (preferably ext3, but it could be anything GRUB reads) just to be safe. If you don't have one, you can make one with GParted Live CD or Ubuntu Live CD (System->Administration->Partition Editor)
Now let's say you have a 120MB ext3 partition at /dev/sda3
That's mine. Yours will probably be different.
The first step would be to switch to the omni-potent root.
sudo -sNext, let's mount the 120MB partition you made, I'm mounting it in /mnt, you can replace that.
mount -t ext3 /dev/sda3 /mntDownload the latest stable release of GParted .zip file found here:
http://sourceforge.net/project/showfiles.php?group_id=115843&package_id=271779
Next, extract the GParted .zip to where the partition is.
unzip gparted-live-*.zip -d /mntTo avoid mistakes, delete /mnt/makeboot.bat
rm /mnt/makeboot.batFinally, let's edit /boot/grub/menu.lst to allow you to boot into GParted.
cp /boot/grub/menu.lst /boot/grub/menu.lst.backup
gedit /boot/grub/menu.lstAnd add these lines:
title GParted live
root (hd0,2)
kernel /live/vmlinuz1 toram boot=live union=aufs noswap noprompt vga=788 ip=frommedia
initrd /live/initrd1.img
boot