LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-30-2010, 12:23 PM   #1
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Lilo vs grub1 vs grub2


Hi all,
I just wanted to know what are your thoughts/opinions on lilo, grub1 and grub2.
I am a person who does _not_ like to mess around with bootloaders. It causes unnecessary migranes . I have repaired bootloaders though.
Lilo is good. Plenty of info available and if you are lucky you get the ncurses screen where you can take your time, read the questions and everything is fine.
Grub1 is simply awesome. The fact that it does not have a set of files to edit and there is no need to run any command makes it a very powerful tool. You can pass as many arguments as you like but it will boot up properly.
I have serious complains with grub2. Grub2 is not even of the caliber of lilo. The fact that I cannot edit a file as a root is something that makes me bay for blood. To top it you have to run some specific commands to update grub makes it even more unreliable to me.
To me it looks like a huge step backwards - unless something radically new comes in grub2.
If someone can set a poll we can express our ideas and views much better. But for now if you want to tell me why is _anything_ better than grub1 please let me know.
Thank you for your time.
 
Old 11-30-2010, 02:52 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Every loader has a use and it would depend more on the setup and the OS and the hardware to decide which to choose.
 
Old 11-30-2010, 08:54 PM   #3
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I will just point to something, so that is a little more understandable what the differences between GRUB Legacy and GRUB 2 are;
Quote:
GRUB Legacy

GRUB Legacy is not actively developed any longer. Only bugfixes will be made so that we can continue using GRUB Legacy until GRUB 2 becomes stable enough. If you want more features in GRUB, it is a waste of time to work on GRUB Legacy, because we never accept any new feature. Instead, it is better to take part in the development of GRUB 2.

GRUB Legacy follows these requirements below:
  • Compliant with the Multiboot Specification
  • Basic functions are easy for an end-user to use.
  • Rich functionality for OS experts/designers.
  • Compatibility for booting FreeBSD, NetBSD, OpenBSD, and GNU/Linux. Proprietary OS's such as Windows 9x/NT/2000/XP, and OS/2 are supported via a chain-loading function.
In addition to the requirements above, GNU GRUB Legacy has the following features:
  • Support multiple executable formats.
  • Support non-Multiboot OS's.
  • Load multiple modules.
  • Support a human-readable configuration file.
  • Menu interface.
  • Flexible command-line interface.
  • Support multiple filesystem types.
  • Support automatic decompression.
  • Access data on any installed device.
  • Geometry translation independent.
  • Detect all installed RAM.
  • Support Logical Block Address (LBA) mode.
  • Download OS images from a network.
  • Support diskless systems.
  • Support remote terminals.
Quote:
GRUB 2

GRUB 2 is derived from PUPA which was a research project to investigate the next generation of GRUB. GRUB 2 has been rewritten from scratch to clean up everything for modularity and portability. A mailing list and a wiki have been setup for discussing the development of GRUB 2.
GRUB 2 targets at the following goals:
  • Scripting support, such as conditionals, loops, variables and functions.
  • Graphical interface.
  • Dynamic loading of modules in order to extend itself at the run time rather than at the build time.
  • Portability for various architectures.
  • Internationalization. This includes support for non-ASCII character code, message catalogs like gettext, fonts, graphics console, and so on.
  • Real memory management, to make GNU GRUB more extensible.
  • Modular, hierarchical, object-oriented framework for file systems, files, devices, drives, terminals, commands, partition tables and OS loaders.
  • Cross-platform installation which allows for installing GRUB from a different architecture.
  • Rescue mode saves unbootable cases. Stage 1.5 was eliminated.
  • Fix design mistakes in GRUB Legacy, which could not be solved for backward-compatibility, such as the way of numbering partitions.
Multiboot Specification

Multiboot Specification is a protocol between a boot loader and an OS kernel. Because this specification is generic, you can use the protocol in your own boot loader and/or in your own OS freely. Follow this link, for more details.
 
Old 11-30-2010, 09:01 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I just decided to get back to Grub Legacy from Grub 2, because it is much easier to configure. I don't care if there is no active development, as long as it gets bugfixes. It has already all features I need, and for me the points
Quote:
# Support a human-readable configuration file.
and
Quote:
# Basic functions are easy for an end-user to use.
# Rich functionality for OS experts/designers.
are the most important reasons to change back.
 
Old 12-01-2010, 01:23 AM   #5
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Original Poster
Rep: Reputation: Disabled
Yes, me too. I put in the legacy grub because it is less complicated.
Perhaps grub2 would be great someday but as of right now it is a mess. The fact that you cannot edit some files even as root bothers me a lot. With all the possible combinations of hardware available I do not think gurb would be able to deal with it all.
What I would look for (primarly) in grub2 is the ability to change things on the fly. My monitor can only support 800x600 and there is no way grub2 would be able to figure that out. Putting more configuration files is just going to complicate things further.
I think we are missing the *nix philosophy (one small program doing one thing properly) and we are asking the grub to do something more than it is designed to do.
The fact that legacy grub is not maintained is somehow saddening. It was an ugly looking loader but then it worked like there is no tomorrow .
I do not know why we are undertaking working on something that is actually working properly.
Are we 'fixing things until they break'?
 
Old 12-01-2010, 05:37 AM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I setup a new system for myself and decided to force myself to use grub2. It was a battle staying with grub2. My main complaint now is grub2 takes 2 to 3 times as longer to boot than grub legacy.

Pros
It will automatically update with a command and search for added systems.
Read ext 4 file systems (my main reason for forcing myself to use grub2)

I am still working on grub2 trying to kill the search feature hoping that will speed the boot time.
 
Old 12-01-2010, 08:54 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Larry Webb View Post
I setup a new system for myself and decided to force myself to use grub2. It was a battle staying with grub2. My main complaint now is grub2 takes 2 to 3 times as longer to boot than grub legacy.

Pros
It will automatically update with a command and search for added systems.
Read ext 4 file systems (my main reason for forcing myself to use grub2)

I am still working on grub2 trying to kill the search feature hoping that will speed the boot time.
the command you mention, update-grub, is also available for grub-legacy. I have no problems using grub-legacy, it can read ext4 since January 2009.
 
Old 12-01-2010, 10:15 AM   #8
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I still use lilo. I have tried grub-legacy, but not grub2. I understand that pure 64 bit systems have a problem with grub2. I really just like the simplicity of lilo. However, I do believe that someday, grub2 may be the way to go.
 
Old 12-03-2010, 11:42 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I prefer grub-legacy. Even though it is not maintained anymore, it is still the default bootloader for several major distros and so is patched for security and extra features by them. I use a highly-patched version which combines all the available fixes and an eclectic mix of extra features from many distros.

There are two very good derivatives of grub-legacy. One is the one used for the 'Super Grub Disk'. The fellow who develops that (adrian15) was an upstream contrib to grub-legacy just as development stopped and now contributes (IIRC) to grub2, while still maintaining a grub-legacy version of SGD. The other derivative is grub4dos which is very actively maintained and extended with lots of useful features, like ntfs support ram-disk support. For my own use I patch standard grub-0.97 with a mix of patches from grub4dos and adrians version, on top of fix-patches from debian, suse, fedora, LFS and others.

The big drawback to grub-legacy is that it can't be compiled on a pure 64-bit system and it only works for intel systems. grub2 is/was supposed to be able to be used on other arches. The big problem with grub2 is that the development is following the same pattern as the hurd kernel -meaning it may still not be ready for primetime in 2020.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub/ Grub2/ Lilo - canīt install any of them properly! spoovy Slackware 26 11-19-2010 06:35 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 02:39 PM
grub4dos is grub2 or grub1? zoombee Linux - General 10 07-29-2010 05:25 AM
grub2 psmurthy Linux - Newbie 2 03-16-2010 11:20 AM
grub1 floppy chainload grub2 pavel989 Linux - General 3 02-02-2010 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:59 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
Open Source Consulting | Domain Registration