Difference between revisions of "Gparted-Live"

From ArchWiki
Jump to: navigation, search
m (for the section of booting from HDD, it is predicated on using a 'zip' version from gparted which they no longer distribute...so article needs to be updated...)
(Copy the GParted-Live files: use Template:Out of date)
Line 47: Line 47:
 
==== Copy the GParted-Live files ====
 
==== Copy the GParted-Live files ====
  
{{Warning|GParted is no longer offered in zip format so these instructions are out of date}}
+
{{Out of date|GParted is no longer offered in zip format.}}
  
 
Download the [[http://gparted.sourceforge.net/download.php GParted-Live zip file]] and unzip it to your GParted-live partition.
 
Download the [[http://gparted.sourceforge.net/download.php GParted-Live zip file]] and unzip it to your GParted-live partition.

Revision as of 13:41, 19 July 2013

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 are 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.

Warning: You will lose all your data on the USB stick so backup the data first!
  1. Insert your USB stick you want to use and make sure its partitioned
  2. Start UNetbootin as root user
  3. Select "Diskimage/ISO" from the GUI
  4. Point it to your gparted-live.x.xx.x-x.iso
  5. Select the correct partition on your USB stick
  6. Hit OK to start and wait to umount then remove the USB stick (unetbootin will tell you when it is finished)

On an HDD partition via GRUB

Assuming you are using GRUB as your boot 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.

Note: You will need a spare partition with at least 100 megs of free space for the Gparted-Live files! I used my /boot partition which is separate from my /boot in my / file system! If you do not have a separate /boot partition, you will need to make a new partition for the Gparted-Live files.

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

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: GParted is no longer offered in zip format. (Discuss in Talk:Gparted-Live#)

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  linux /live/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia live-media-path=/live bootfrom=/dev/sda8 toram=filesystem.squashfs
initrd  /live/initrd.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).