Difference between revisions of "Gparted-Live"

From ArchWiki
Jump to: navigation, search
m (style)
(fix double redirect)
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:File systems]]
#REDIRECT: [[GNU Parted]]
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 [http://gparted.sourceforge.net/download.php 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 {{pkg|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!}}
# 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 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 {{ic|/boot}} partition which is separate from my {{ic|/boot}} in my {{ic|/}} file system!  If you do not have a separate {{ic|/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 {{ic|/boot}} partition with at least 110 megs of freespace, or if you do not want the GParted-Live files to reside on your separate {{ic|/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 {{ic|/boot}} partition ({{ic|/dev/sda8}}).  Mount whatever partition you plan to use (either your {{ic|/boot}} or the new partition you just created) now.
# mount /dev/sda8 /media/grubpart
==== Copy the GParted-Live files ====
Download the [[http://gparted.sourceforge.net/download.php 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.
{{hc|# 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
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).

Latest revision as of 03:06, 9 October 2016

Redirect to: