Jump to content

request for /etc/lilo.conf or /boot/grub files stuff


Guest GorGor
 Share

Recommended Posts

hmm, I have a small drive, among other small things like brains heh heh.

 

I found this at another site /etc/lilo.conf

 

prompt

timeout=50

default=2.4.20-20.9

boot=/dev/hda

map=/boot/map

install=/boot/boot.b

restricted

message=/boot/message

lba32

 

image=/boot/vmlinuz-2.4.20-20.9

label=2.4.20-20.9

initrd=/boot/initrd-2.4.20-20.9.img

read-only

append="hdc=ide-scsi root=/dev/hda6"

 

other=/dev/hda2

optional

label=WinXP

 

 

 

I am interested in anyone wishing to post their lilo or grub files here as I intend to stick them in my post on grub lilo tips post, so others can steal your files and maybe help them out?

 

 

(quest TWO)

I have been thinking about Steve's (and others ) post about edit the fstab file, and I deliberately ignored that tip as you have to use vim in rescue mode. Or is there another editor?

 

ok?

Link to comment
Share on other sites

A lilo.conf for multiple booting three different distros and windows. A lot of people seem to have difficulties figuring out how to set up lilo.conf for multiple booting different installations of linux. The trick is to mount the / partition (or /boot if you have a separate /boot partition) to somewhere in the directory tree of the distro from which you will run lilo. In my case, I mount the / of Slack under /Slack and the / of Knoppix under /KNOPPIX and then run lilo inside mandrake.

(It also has the options to boot with the old kernel and with ide-scsi on or off)

boot=/dev/hda

map=/boot/map

vga=normal

default="linux"

keytable=/boot/us.klt

prompt

nowarn

timeout=100

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz-2.4.21-0.25mdkcustom2

       label=linux

       root=/dev/hda6

       read-only

       optional

       vga=normal

       append="quiet devfs=mount hdc=ide-scsi apm=on acpi=off"

       initrd=/boot/initrd-2.4.21-0.25mdkcustom2.img

image=/boot/vmlinuz-2.4.21-0.25mdkcustom2

       label=linux-nonscsi

       root=/dev/hda6

       read-only

       vga=normal

       append="quiet devfs=mount apm=on acpi=off"

       initrd=/boot/initrd-2.4.21-0.25mdkcustom2.img

image=/boot/vmlinuz-2.4.21-0.13mdk

       label=linux-mdk

       root=/dev/hda6

       read-only

       optional

       vga=788

       append="quiet devfs=mount hdc=ide-scsi acpi=off"

       initrd=/boot/initrd-2.4.21-0.13mdk.img

image=/boot/vmlinuz-2.4.21-0.13mdk

       label="failsafe"

       root=/dev/hda6

       initrd=/boot/initrd-2.4.21-0.13mdk.img

       append="failsafe devfs=nomount hdc=ide-scsi acpi=off"

       read-only

image=/KNOPPIX/boot/vmlinuz

       label=Knoppix

       root=/dev/hda14

       append="devfs=mount hdc=ide-scsi acpi=off"

image=/Slack/boot/vmlinuz-ide-2.4.22

       label=Slack

       root=/dev/hda13

       #initrd=/Slack/boot/initrd-2.4.21-0.13mdk.img

       append="devfs=mount hdc=ide-scsi acpi=off"

       read-only

other=/dev/hda1

       label="windows"

       table=/dev/hda

Link to comment
Share on other sites

Dual boot with windows, booting in windows will also dual boot to 2 other flavors. "lba32" was an addition as per the "animate lilo" thread by MottS. timeout changed to 30 sec to fully enjoy the animation :) . default windows as my wife uses winfax. the other items such as failsafe, etc are still there as my son sometimes use it (10 year old curiosity?).

 

boot=/dev/hda

map=/boot/map

lba32

vga=normal

default="windows"

keytable=/boot/us.klt

prompt

nowarn

timeout=300

message=/boot/xray-blue.boot

menu-scheme=wb:bw:wb:bw

 

image=/boot/vmlinuz

label="linux"

root=/dev/hda8

initrd=/boot/initrd.img

append="quiet devfs=mount acpi=off"

vga=788

read-only

 

image=/boot/vmlinuz

label="linux-nonfb"

root=/dev/hda8

initrd=/boot/initrd.img

append="devfs=mount acpi=off"

read-only

 

image=/boot/vmlinuz

label="failsafe"

root=/dev/hda8

initrd=/boot/initrd.img

append="failsafe devfs=nomount acpi=off"

read-only

 

other=/dev/hda1

label="windows"

table=/dev/hda

 

other=/dev/fd0

label="floppy"

unsafe

Link to comment
Share on other sites

Guest kuchwas
(quest TWO)

I have been thinking about Steve's (and others ) post about edit the fstab file, and I deliberately ignored that tip as you have to use vim in rescue mode. Or is there another editor?

ok?

 

nano, nano, nano :wink:

Link to comment
Share on other sites

Oh yeah....forgot about mc. That was my favorite when I was afraid of the commandline stuff.

 

I'll show you my lilo, but it's not much to look at:

boot=/dev/hda

map=/boot/map

default="linux-9.2rc2"

keytable=/boot/us.klt

prompt

nowarn

timeout=100

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

       label="linux"

       root=/dev/hda1

       initrd=/boot/initrd.img

       append="devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=off quiet"

       vga=788

       read-only

image=/boot/vmlinuz

       label="linux-nonfb"

       root=/dev/hda1

       initrd=/boot/initrd.img

       append="devfs=mount hdd=ide-scsi acpi=off"

       read-only

image=/boot/vmlinuz

       label="failsafe"

       root=/dev/hda1

       initrd=/boot/initrd.img

       append="devfs=nomount hdd=ide-scsi acpi=off failsafe"

       read-only



image=/boot/vmlinuz-2.4.22-10mdk-i686-up-4GB

       label="linux-9.2rc2"

       root=/dev/hda1

       read-only

       optional

       vga=788

       append="devfs=mount ide0=ata133 idebus=133 hdc=ide-scsi hdd=ide-scsi acpi=off quiet"

       initrd=/boot/initrd-2.4.22-10mdk-i686-up-4GB.img

Link to comment
Share on other sites

Here's my lilo.conf. I have Mandrake 9.1 and Gentoo 1.4.

 

boot=/dev/hda

map=/boot/map

vga=normal

default="linux"

keytable=/boot/us.klt

prompt

nowarn

timeout=100

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label="linux"

root=/dev/hda6

initrd=/boot/initrd.img

append="quiet devfs=mount hdc=ide-scsi acpi=off"

vga=788

read-only

image=/boot/vmlinuz

label="linux-nonfb"

root=/dev/hda6

initrd=/boot/initrd.img

append="devfs=mount hdc=ide-scsi acpi=off"

read-only

image=/boot/vmlinuz

label="failsafe"

root=/dev/hda6

initrd=/boot/initrd.img

append="failsafe devfs=nomount hdc=ide-scsi acpi=off"

read-only

image=/boot/bzImage

label=gentoo

read-only

root=/dev/hda10

other=/dev/fd0

label="floppy"

unsafe

 

Hope that helps a bit. Please post a link to what you are writing. We may need to point to it on occasion.

 

:D :D :D :D

Link to comment
Share on other sites

My mandrake lilo.conf is boring, however you might find my redhat8 grub/menu.lst helpfull

 

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE:  You have a /boot partition.  This means that

#          all kernel and initrd paths are relative to /boot/, eg.

#          root (hd0,1)

#          kernel /vmlinuz-version ro root=/dev/hda9

#          initrd /initrd-version.img

#boot=/dev/hda

default=0

timeout=10

splashimage=(hd0,1)/grub/splash.xpm.gz

title Grant Hat Linux (2.4.18)

       root (hd0,1)

       kernel /vmlinuz-2.4.18-g ro hdc=ide-scsi vga=0x318 idebus=66

title Red Hat Linux (2.4.18-18.8.0)

       root (hd0,1)

       kernel /vmlinuz-2.4.18-18.8.0 ro root=LABEL=/ hdc=ide-scsi

       initrd /initrd-2.4.18-18.8.0.img

title Red Hat Linux (2.4.18-14)

       root (hd0,1)

       kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi

       initrd /initrd-2.4.18-14.img

title Win XP Pro

       rootnoverify (hd0,0)

       chainloader +1

Link to comment
Share on other sites

good stuff Mdk users.

 

umm Qchem, if you care to reply, I thought grub did not need to be told you had an scsi versus an IDE. I notice an append line in your grub file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...