Jump to content
Sign in to follow this  
sjaglin

Show off your Grubby Lilo!

Recommended Posts

Hi !

I am a bit dumb when it comes to Lilo and Grub so I thought I'd start a little thread whee one can show there Lilo or there Grub and decribe the advantages or problems. I hope to learn as I play ...

 

Well here's mine the : Quite classic I think, it boots very well but if I boot cooker for example and I choose "reboot as" option, it shows the options of the lilo on sda7 , not the original lilo I booted with.

 

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="MdvClean-2612-18"
boot=/dev/sda
map=/boot/map
keytable=/boot/uk.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
disk=/dev/sda bios=0x80
image=/boot/vmlinuz
label="failsafe"
root=/dev/sda6
initrd=/boot/initrd.img
append="noapic failsafe resume=/dev/sda5"
other=/dev/hda1
label="windows"
table=/dev/hda
map-drive=0x80
   to=0x81
map-drive=0x81
   to=0x80
image=/boot/vmlinuz-2.6.12-18mdk
label="MdvClean-2612-18"
root=/dev/sda6
initrd=/boot/initrd-2.6.12-18mdk.img
append="noapic resume=/dev/sda5 splash=silent"
vga=788
image=/mnt/sda7/boot/vmlinuz-2.6.14-2mdk
label="Cooker"
root=/dev/sda7
initrd=/mnt/sda7/boot/initrd-2.6.14-2mdk.img
append="noapic resume=/dev/sda5 splash=silent"
vga=788

 

There we are, now i will wait to see yours!

 

Stef

 

:D

Share this post


Link to post
Share on other sites

Oh sorry , there is a grub option as well for the mighty ones... ;)

Stef

Share this post


Link to post
Share on other sites

My grub config:

 

timeout   5
default   0
color light-blue/black light-cyan/blue

title  Arch Linux
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/hda2 ro vga=773
initrd /boot/initrd26.img

title Microsoft Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader +1

 

nice and simple :P

 

And my Mandriva 2006 grub config:

 

timeout 5
color black/cyan yellow/cyan
shade 1
viewport 3 2 77 22
splashimage (hd0,1)/boot/grub/mdv-grub_splash.xpm.gz
default 0

title linux
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 resume=/dev/sda1 splash=silent vga=773
initrd (hd0,1)/boot/initrd.img

title linux-nonfb
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 resume=/dev/sda1
initrd (hd0,1)/boot/initrd.img

title failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 failsafe resume=/dev/sda1
initrd (hd0,1)/boot/initrd.img

 

few more options.

Share this post


Link to post
Share on other sites

Mine is pretty boring, as the machine is single boot, single Linux OS, and no framebuffer used (cause it doesn't work with my video card)...

Here's the menu.lst, anyway:

 

 

# general configuration:

timeout 20

default 2

color light-blue/black light-cyan/blue

 

# boot sections follow

 

# (0) Arch 2.6.16

title Arch 2.6.16

root (hd0,0)

kernel /vmlinuz26 root=/dev/sda5 ro

initrd /initrd26.img

 

# (1) ArchCK 2.6.15

title ArchCK 2.6.15

root (hd0,0)

kernel /vmlinuz26archck root=/dev/sda5 ro

initrd /initramfs-2.6.15-archck.img

 

# (2) Arch 2.6.16 Beyond

title Arch 2.6.16 Beyond

root (hd0,0)

kernel /vmlinuz26beyond root=/dev/sda5 ro

initrd /initramfs-beyond.img

 

It's readily apparent that 1. it's not Mandriva, and 2. I use a separate /boot partition at (hd0,0).

Edited by scarecrow

Share this post


Link to post
Share on other sites

Here's mine, not very prety but at least it boots, cause everytime I install a new kernel things get messed up and the XP and Ubuntu sections are deleted and I still like to get nice graphical bootscreens running @1280x1024 but have no idea how this is done.

 

timeout 10
color black/cyan yellow/cyan
shade 1
viewport 3 2 77 22
splashimage (hd1,2)/boot/grub/mdv-grub_splash.xpm.gz
default 0

title linux
kernel (hd1,2)/boot/vmlinuz root=/dev/hda3 splash=silent vga=794
initrd (hd1,2)/boot/initrd.img

title linux-nonfb
kernel (hd1,2)/boot/vmlinuz root=/dev/hda3 
initrd (hd1,2)/boot/initrd.img

title failsafe
kernel (hd1,2)/boot/vmlinuz root=/dev/hda3 failsafe
initrd (hd1,2)/boot/initrd.img

title multimedia 4GB 2.6.14.7
kernel (hd1,2)/boot/vmlinuz-2.6.14-0.mm.7mdk-i686-up-4GB root=/dev/hda3 splash=silent vga=794
initrd (hd1,2)/boot/initrd-2.6.14-0.mm.7mdk-i686-up-4GB.img

title 2.6.16-rc6.14
kernel (hd1,2)/boot/vmlinuz-2.6.16-rc6.14mdk root=/dev/hda3 splash=silent vga=794
initrd (hd1,2)/boot/initrd-2.6.16-rc6.14mdk.img

title linux-i686-up-4GB
kernel (hd1,2)/boot/vmlinuz-i686-up-4GB root=/dev/hda3 splash=silent vga=794
initrd (hd1,2)/boot/initrd-i686-up-4GB.img

title Windows XP
root (hd0,0)
chainloader +1

title		Ubuntu, kernel 2.6.15-20-686
kernel		(hd1,1)/boot/vmlinuz-2.6.15-20-686 root=/dev/hda2 
initrd		(hd1,1)/boot/initrd.img-2.6.15-20-686
boot

title		Ubuntu, kernel 2.6.15-20-686 (recovery mode)
kernel		(hd1,1)/boot/vmlinuz-2.6.15-20-686 root=/dev/hda2 ro single
initrd		(hd1,1)/boot/initrd.img-2.6.15-20-686
boot

Edited by ffi

Share this post


Link to post
Share on other sites

So really I am the only one to use Lilo, I only chose it because it was the defauls option, is Grug really better then?

 

 

Stef

Share this post


Link to post
Share on other sites

I have LILO on my home machines, I usually use LILO with Mandriva, but changed for my install at work.

 

It's OK, you can make changes, and not have to reinstall to the MBR like you have to do with LILO. There are other features too, but I don't use it for advanced functionality.

Share this post


Link to post
Share on other sites
So really I am the only one to use Lilo, I only chose it because it was the defauls option, is Grug really better then?

I also used lilo for some time, but I soon realized that grub is way more powerful and flexible than lilo. Lilo is a nice bootloader and useful if you have only one distro on your box (configuring multiple distros with lilo is imho unnecessarily complicated), but for multi-boot machines, grub is way easier to maintain.

Share this post


Link to post
Share on other sites

Talk about simple. This is my lilo entry for gentoo

 

image=/mnt/gentoo/boot/bzImage
label=Gentoo
root=/dev/hda7
append="Gentoo=nodevfs"
read-only

 

My Mandriva portion of lilo is the standard one which IMO is way too complicated. I've never understood why they did it that way. Plus I have to run lilo in Mandrake because with my last install Mandrake freaked out when I did it in Gentoo even tho I used Mandrake's default. :huh:

Share this post


Link to post
Share on other sites

I suppose that all I have to do is go in drakconf/bootloader et point to Grub, will he translate my current lilo into Grub? Well let's try!

:o :o :o :o :o

 

Fine it worked very easily, have to try and improve the looks though, It s quite poor so far!

Share this post


Link to post
Share on other sites

Yes, grub doesn't look that great in Mandriva. Is really nice in Red Hat/Gentoo.

Share this post


Link to post
Share on other sites

Imho the grpahical grub they have is absolutely okay. But I am boring anyway. :P

Share this post


Link to post
Share on other sites
Yes, grub doesn't look that great in Mandriva. Is really nice in Red Hat/Gentoo.

 

Just look how Georg has tweaked Grub in Kanotix... it is as sexy aas a bootloader can be! :P

Graphical timer, custom grub screen, great framebuffer looks after booting...

But honestly i do not get WHY a bootloader (which I see every time I install a new kernel i my box) has to look sexy...

Share this post


Link to post
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...
Sign in to follow this  

×
×
  • Create New...