Difference between revisions of "Gparted-Live"

From ArchWiki
Jump to: navigation, search
(added some templates)
Line 7: Line 7:
 
== Running GParted-Live==
 
== Running GParted-Live==
 
===Bootable CD===
 
===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.
+
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===
 
===Bootable USB Drive===
Putting GParted live on a USB stick is trivial if you have the right tool.  In this case, you want {{AUR|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.
+
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!}}
 
{{Warning|You will lose all your data on the USB stick so backup the data first!}}
Line 18: Line 18:
 
#Point it to your gparted-live.x.xx.x-x.iso
 
#Point it to your gparted-live.x.xx.x-x.iso
 
#Select the correct partition on your USB stick
 
#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)
+
#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===
+
===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.
+
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.}}
+
{{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====
 
====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.
+
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!
 
Do this using [[GParted]] of course!
  
 
====Mount the Partition for Installation====
 
====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.
+
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
 
  # mount /dev/sda8 /media/grubpart
 
====Copy the GParted-Live Files====
 
====Copy the GParted-Live Files====

Revision as of 22:28, 24 January 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

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