LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2006, 02:19 AM   #1
fossiili
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
Grub and lilo, are they brothers?


Lilo is the older brother, but still going strong. The Mandriva 2006 installation program presents it as a fist choice. But grub were on the list also. Is lilo better than grub?
Please, not the usual answer like "It depends on what you want".

What is the difference between grub and lilo

Asks fossiili,
living on the latitude 65N, longitude 25E.

Sorry, if my English sounds strange, its since 55 years I learned it in the school.
 
Old 01-30-2006, 02:51 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
To the newbie user like me, the difference is that after you edit your lilo.conf file, you have to run /sbin/lilo. For grub, you can just edit the grub.conf and it will take effect the next time grub runs.

I'm sure I'm missing most of the important details...
 
Old 01-30-2006, 03:02 AM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
This should provide some insight: http://lwn.net/Articles/89772/
 
Old 01-30-2006, 03:05 AM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
also this article: http://www-128.ibm.com/developerwork...-bootload.html
 
Old 01-31-2006, 01:59 AM   #5
fossiili
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
the difference is that after you edit your lilo.conf file, you have to run /sbin/lilo. For grub, you can just edit the grub.conf and it will take effect the next time grub runs.
I'm sure I'm missing most of the important details...
Thank you, that was just the most important detail I have to know!
 
Old 01-31-2006, 05:27 AM   #6
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 48
It is also like GRUB has more number of options compared to Lilo.
 
Old 01-31-2006, 11:29 AM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,151

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
I rather like Grub because, when things go "oopsie!" Grub gives you a lot of on-the-spot commands which enable you to see what has gone wrong and to perhaps do something about it. (info grub is well worth the reading, and there's a lot of stuff there!)

In situations where LILO would force me to be grabbing for a rescue-CD, Grub lets me work-around the problem well enough to get the machine started.
 
Old 02-03-2006, 12:34 PM   #8
fossiili
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sundialsvcs
In situations where LILO would force me to be grabbing for a rescue-CD,
Thank you for all of the answers. I read the information in the links and thought I have learned enough.
My original problem is, that after installing Mandrake to my computer were I have SuSe 10.0 running well and also WindowsXP, I lost SuSe. Suse uses GRUB and Mandrake LiLo.
I deceidid to edit Mandrakes lilo.conf
The critical lines in SuSes menu.lst are

Code:
title SUSE LINUX 10.0
    root (hd1,1)
    kernel /boot/vmlinuz root=/dev/hdb2 vga=0x31a selinux=0    resume=/dev/hdb1  splash=silent showopts
    initrd /boot/initrd
Thus I added to the Mandrakes lilo.conf the lines

Code:
image=/boot/vmlinuz
	label="SuSe10.0"
	root=/dev/hdb2
	initrd=/boot/initrd.img
	vga=788
I did that using Kwrite but checked cat'ing in the terminal that everything looked nice in my eyes. Then I started to run /sbin/lilo -v -v.
And then restarted the computer. From the menu I get Windows and Mandrake upp, but while starting SuSe10.0 a lot of text was running on the panel, if I understood right, something was lacking ...

Can anybody guess, what went wrong
 
Old 02-04-2006, 02:05 AM   #9
fossiili
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fossiili
while starting SuSe10.0 a lot of text was running on the panel,
The end of the long list:
Code:
Initrd finished
Freeing unused kernelmemory: freed
Kernel panic - not syncing: No init found. Try passing init=option to kernel
I have tryed that bouth as
initrd=/boot/initrd.img and
initrd=/boot/initrd.

 
Old 02-04-2006, 12:26 PM   #10
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Use your Mandrake install to go to the Suse install boot directory. See what initrd is named.
 
Old 02-06-2006, 01:34 AM   #11
fossiili
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
Use your Mandrake install to go to the Suse install boot directory. See what initrd is named.
I mounted hdb2-partition and here is ls from /boot
Code:
backup_mbr
boot@
boot_ls.txt
config-2.6.13-15.7-default
grub/
initrd@
initrd-2.6.13-15.7-default
message
symvers-2.6.13-15.7-i386-default.gz
System.map-2.6.13-15.7-default
vmlinux-2.6.13-15.7-default.gz
vmlinuz@
vmlinuz-2.6.13-15.7-default
And now I have tryed
initrd=/boot/initrd.img and
initrd=/boot/initrd and
initrd=/boot/initrd@

Always the results are the same - Kernel Panic

After all, I beliewe, I move to GRUB
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 10:37 PM
Hi my brothers in arms martin1il LinuxQuestions.org Member Intro 4 11-05-2005 08:18 AM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
Hi there Brothers The killer Linux - Hardware 3 11-04-2004 09:23 PM
my brothers, while in yahoo chat.... Jeffrey General 2 06-11-2001 07:24 AM


All times are GMT -5. The time now is 10:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration