Gnome Partition Editor
Custom Search

Create GParted live from scratch

GParted Live is a small bootable GNU/Linux distribution for x86 machine based on Debian live. If you want to create GParted live from scratch, you can follow the following:

  1. Boot GParted live (Version 0.6.0-6 or later is required).
  2. Follow the instructions to enter X, then open a terminal.
  3. Configure internet connection, e.g. run "dhclient eth0" to lease IP address from a DHCP server, or you can use commands like "ifconfig" and "route" to assign static IP address.
  4. apt-get update
  5. Turn on the apt repository by editing /etc/apt/sources.list, e.g. "nano /etc/apt/sources.list" or "vim /etc/apt/sources.list", make it like:
    deb http://ftp.us.debian.org/debian/ sid main contrib non-free # Or any Debian mirror site near you.
    
  6. apt-get update
  7. mkdir -p /usr/share/man/man{1,5,8}
  8. apt-get --reinstall install libc6
    (By doing this, we can avoid this error: "iconv: conversion to `latin1' is not supported" when creating GParted live by live helper because /usr/lib/gconv/ was removed when GParted live was created)
  9. apt-get install live-helper cdebootstrap drbl clonezilla zip bzip2 rsync mkisofs
  10. Mount a working space, you need at least 600 MB. e.g. mount /dev/sdb1 /mnt
  11. cd /mnt
  12. Edit /opt/drbl/sbin/create-gparted-live to meet your need if necessary, e.g. if you want to add some package, you can append the package name in the variable "pkgs" if it exists in the Debian repository. E.g. if you want to add the package "pcmanfm", you can try to search it in the Debian repository by: "apt-cache search pcmanfm". Once you are sure it's in repository, you can add it.
  13. Run: "/opt/drbl/sbin/create-gparted-live" with appropriate options to create GParted live,
    e.g. to use the unstable branch of DRBL and experimental branch of live on drbl repository:
    /opt/drbl/sbin/create-gparted-live -l en -b u -e e

    If you want to assign different repositories to download files, you can run something like:
    /opt/drbl/sbin/create-gparted-live -l en -b u -e e -m http://ftp.us.debian.org/debian -s http://security.debian.org -g http://drbl.sourceforge.net/drbl-core

    Or more options you can try:
    /opt/drbl/sbin/create-gparted-live -c 'main non-free' -k 'firmware-linux-free firmware-linux firmware-linux-nonfree firmware-bnx2 firmware-bnx2x firmware-qlogic firmware-ralink mlterm=2.9.4-6 mlterm-common=2.9.4-6' -l en -b u -e e -d sid -m http://ftp.us.debian.org/debian -s http://security.debian.org -g http://free.nchc.org.tw/drbl-core -x 'i915.modeset=0 xforcevesa' -n 2.6.32-5 -i my-gparted-live

    For more info, you can run "/opt/drbl/sbin/create-gparted-live --help"
    BTW, in the file "GParted-Live-Version" in the GParted live iso file, you can find the command which was used to create the GParted iso file.
Documentation   FAQ   Forum   Bugs   Features   Screenshots   Contact

Get GParted at SourceForge.net. Fast, secure and Free
	Open Source software downloads Valid HTML 4.01! Correct CSS! Privacy policy