LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2013, 12:24 PM   #1
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Success running GParted 0.15.0 Live HD using LILO


The online documentation for GParted Live on Hard Disk shows how to use Grub for dual booting.

Wouldn't it be nice to be able to use LILO instead?

Here is how I used LILO instead
  1. Download the gparted-live...zip file from:
    http://gparted.org/download.php

    In this case I downloaded gparted-live-0.15.0-1-amd64.zip
  2. Create an partition of 256MiB.

    Lets call it /dev/sda2 for this example.

    Here is how to create an LBA FAT32 partition though other file systems will
    work too.

    If you don't have GParted, use fdisk and make the partition type "c".

    And again if you don't have GParted make a dos filesystem on the partition:

    mkdosfs -F 32 /dev/sda2
  3. Create directory /a2 and mount the partition there:

    mkdir /a2
    mount -t vfat /dev/sda2 /a2
  4. Unzip the gparted download file into the /a2 directory:

    cd /a2
    unzip gparted-live...zip
  5. Edit the /etc/lilo.conf file:

    # GParted bootable partition config begins
    image = /a2/live/vmlinuz
    root = /dev/sda2
    label = gparted
    append = "boot=live config union=aufs noswap noprompt ip=frommedia live-media-path=/live bootfrom=/dev/sda2 toram=filesystem.s
    quashfs"
    vga=788
    initrd = /a2/live/initrd.img
    # GParted bootable partition config ends
  6. run lilo:
    lilo

Last edited by aaazen; 03-24-2013 at 12:30 PM. Reason: remove extra blank space
 
Old 03-25-2013, 12:47 AM   #2
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Original Poster
Rep: Reputation: Disabled
Since I first posted, I discovered that there is no need for a separate partition in which to put the GParted Live files as a simple directory will do fine.

I also found that I can boot the memtest86+ utility very easily as well.

Here are newer instructions for using GParted Live on an existing Linux system that uses LILO:
  1. Download the gparted-live...zip file from:
    http://gparted.org/download.php

    In this case I downloaded gparted-live-0.15.0-1-amd64.zip
  2. Create a /gparted-live directory:

    mkdir /gparted-live
  3. Unzip the gparted download file into the /gparted-live directory:

    cd /gparted-live
    unzip gparted-live...zip
  4. Edit the /etc/lilo.conf file and add a section for gparted.
    Lets assume that the /gparted-live directory resides on the /dev/sda4 partition.

    # GParted bootable partition config begins
    image = /gparted-live/live/vmlinuz
    root = /dev/sda4 # make sure this matches the bootfrom= below ...
    label = gparted
    append = "boot=live config union=aufs noswap noprompt ip=frommedia live-media-path=/gparted-live/live bootfrom=/dev/sda
    4 toram=filesystem.squashfs"
    vga=788
    initrd = /gparted-live/live/initrd.img
    # GParted bootable partition config ends
  5. Optionally add a section for memtest86+

    # memtest86+ bootable partition config begins
    image = /gparted-live/live/memtest
    label = memtest
    # memtest86+ bootable partition config ends
  6. run lilo:
    lilo

Last edited by aaazen; 03-25-2013 at 12:51 AM. Reason: remove spurious documentation tags
 
  


Reply

Tags
gparted, hard disk, lilo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GParted Live CD 0.13.0-1 Is Based on GParted 0.13.0 LXer Syndicated Linux News 0 07-16-2012 04:40 PM
[SOLVED] Gparted live - safe to use? ButterflyMelissa Linux - Software 7 04-29-2012 12:39 PM
LXer: 7 Uses of GParted Live LXer Syndicated Linux News 0 08-03-2008 08:00 AM
trying to cloned with gparted live CD tomrosenfeld Linux - General 1 02-13-2008 03:51 PM
Kernel Panic - GParted Live CD JoseCuervo Linux - Newbie 2 01-22-2008 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration