Gparted-Live
From ArchWiki
Contents |
Introduction
GParted-live is a live Linux environment providing users with a minimal graphical interface for [GParted]. It is available for download in several formats including both .iso and .zip for users to make a bootable CD or run directly from one's Grub menu respectively.
Obtaining GParted-Live
Several formats are available as mentioned above. See the [Official GParted] webpage for more.
Running GParted-Live
Bootable CD
Simply download the .iso formated gparted image from the link above and burn it to CD using your favorite image writer. If you're totally new to Linux, you can burn an iso directly to CD from the shell. See the Burning_with_cdrecord wiki article for instructions.
Bootable USB Drive
Putting GParted live on a USB stick is trivial if you have the right tool. In this case, you want [unetbootin] which is a very powerful GUI-based utility that will allow you to put the GParted-live.iso onto a USB stick and boot from it.
- Insert your USB stick you want to use and make sure its partitioned
- Start UNetbootin as root user
- Select "Diskimage/ISO" from the GUI
- Point it to your gparted-live.x.xx.x-x.iso
- Select the correct partition on your USB stick
- Hit OK to start and wait to umount then remove the USB stick (unetbootin will tell you when it's finished)
On an HDD Partition via Grub
Assuming you're using Grub as your OS loader, the following will show you how to boot directly into the GParted-Live environment from Grub's menu. The result is the same environment as the Live CD gives, but with much faster boot times.
Make a partition for GParted-Live
If you do not have a separate /boot partition with at least 110 megs of freespace, or if you do not want the GParted-Live files to reside on your separate /boot partition, you will need to create a partition on your HDD for the GParted-live files.
Do this using GParted of course!
Mount the Partition for Installation
In my system, I put the GParted-Live files on my separate /boot partition (/dev/sda8). Mount whatever partition you plan to use (either your /boot or the new partition you just created) now.
# mount /dev/sda8 /media/grubpart
Copy the GParted-Live Files
Download the [GParted-Live zip file] and unzip it to your GParted-live partition.
Example using /media/grubpart
# unzip /path/to/gparted-live-0.4.5-3.zip -d /media/grubpart
The unzip command should have placed the contents into that directory.
# ls -l /media/grubpart total 140 -rw-r--r-- 1 root root 17982 2009-05-31 02:56 COPYING -rw-r--r-- 1 root root 201 2009-06-03 10:25 GParted-Live-Version drwxr-xr-x 2 root root 1024 2009-05-30 14:26 grub dr-xr-xr-x 2 root root 1024 2009-06-03 10:25 live drwx------ 2 root root 1024 2009-06-18 12:32 lost+found drwxr-xr-x 2 root root 1024 2009-06-03 10:25 syslinux drwxr-xr-x 5 root root 1024 2009-06-03 10:25 utils
Remember that my example is using my separate /boot partition. If you are using a blank partition you created especially for GParted-Live, you will not see a grub directory.
Modify your menu.lst
Add an entry similar to the following to your /boot/grub/menu.lst so allow GParted-Live to start on boot if selected.
title GParted live 0.4.5-3 (03-Jun-2009) root (hd0,7) kernel /live/vmlinuz1 toram boot=live union=aufs noswap noprompt vga=788 ip=frommedia initrd /live/initrd1.img boot
You will obviously need to adjust your root line to match your own system. I used a root of (hd0,7) because my /boot (where I installed the GParted-Live files) is on /dev/sda8. If your files are on /dev/sda5 for example, you will need to set your root to (hd0,4). If you have two HDDs in your system and placed your files in /dev/sdb9 for example, you will need to set your root to (hd1,8).