Grub2 advantages
|
Author | Content |
---|---|
Sander_Marechal Mar 12, 2010 6:16 PM EDT |
Quoting:As we come to the end of Akkana Peck's excellent series on mastering GRUB2, it's not clear what advantages it has over legacy GRUB, or even good old LILO. Easy for me. You can put /boot in LVM, finally! |
azerthoth Mar 12, 2010 6:31 PM EDT |
I still have no valid reason to use grub2 other than my illustrious benevolent dictator for life has decided that our next release will use it. For myself plain old grub works just fine, and it makes my secure system handle just fine, as on that system the entire FS is encrypted and I keep /boot on a thumbdrive. I also keep a copy of it inside the install, so I can get into it and make a new boot key if I have to. |
tuxchick Mar 12, 2010 9:22 PM EDT |
The dealbreaker for me is losing an independent /boot partition. I've use this for years with my multiboot systems, because it is a brilliant bit of design that make it dead easy to manage them. You can blow every last operating system away and still have a usable /boot partition. There won't be anything to boot to, but you can install new OSes and easily edit legacy GRUB to boot them. Tying the bootloader to a specific Linux installation is a huge step backwards, as is taking away simple configuration editing, and requiring a script to update it. Shades of last-millennum LILO. I'd rather use LILO, at least it's comprehensible. |
tuxchick Mar 12, 2010 10:54 PM EDT |
Sander, that is a real advance. The grubs giveth, the grubs taketh away :) |
Steven_Rosenber Mar 12, 2010 11:29 PM EDT |
What would make GRUB2 work for me are clear tutorials on how to make it do what I want/need it to do. I'm a total hack at the old GRUB and am probably doing it wrong (adding my extra boot parameters in the wrong way) |
bigg Mar 13, 2010 8:56 AM EDT |
> What would make GRUB2 work for me are clear tutorials on how to make it do what I want/need it to do. That's always the problem with FOSS, isn't it? The changes in xorg, in particular, come to mind. Genius move to eliminate xorg.conf and then not tell anybody how to fix problems that arise. If only there were a suitable alternative to Linux, but none come to mind. |
hkwint Mar 13, 2010 9:59 AM EDT |
Booting from LVM2 is great, but GRUB2 seems more steps back than forward from the user perspective. Much more complex configuration, not distro-indepenent and need to run some command every time you change the config files.
I think Akkana nails it in the first part:Quoting:Reading the grub2 project's website, it's hard not to conclude that grub2 exists mainly because everybody was tired of hacking on the old grub1 code, and decided it would be more fun to write a new toy from scratch. I hope someone is going to 'backport' the LVM feature to Grub1, because after KDE4 I'm a bit hesitant to switch to the 'next developer toy' which doesn't care about migration / configuration issues of their current userbase. At least they keep GRUB1 alive and most distro's aren't forcing GRUB2, that's a good thing. Maybe someone did learn something? Maybe it presents an opportunity to try extlinux*? After all, last time someone installed LILO for me while the docs also mentioned GRUB (Gentoo docs give you the choice) and I asked my companion why not GRUB, he told me "it's an entire OS on its own". Reading about GRUB2 I think he's right, and do I need all this? *syslinux for ext filesystems |
gus3 Mar 13, 2010 10:39 AM EDT |
And what version is this? http://en.wikipedia.org/wiki/Second-system_effect |
jdixon Mar 13, 2010 11:23 AM EDT |
> At least they keep GRUB1 alive and most distro's aren't forcing GRUB2, that's a good thing. Some distros still use lilo as the default. :) |
Sander_Marechal Mar 13, 2010 4:59 PM EDT |
Looking at the differences between Grub Legacy and Grub 2 it seems that a rewrite was a good idea. Think support for non-x86 machines, i18n and l10n and modular architecture. That last bit is quite important. Grub legacy had a very annoying issue that because it was non-modular, that it could get too big. I used to have a dual Xeon HP Proliant with hardware RAID, ILO and various other things. Making that thing boot with Grub Legacy was... a challenge. With all the stuff it needed it was hard to get it small enough to make the machine actually boot it without choking. Grub 2 is easier. Because it's modular you can drop much more stuff that you don't need. |
azerthoth Mar 13, 2010 5:15 PM EDT |
too big? you define kernel plus any boot parameters, location, and initrd. maybe chainloader. All in (and here is the important part) one config file. Now we have how many config files scattered across how many locations ... and god forbid is you forget the liloesque (and freaking annoying at any time) update command. grub2 is a radical step granted ... backwards. |
Sander_Marechal Mar 13, 2010 6:46 PM EDT |
Grub needs drivers too. Think RAID, LVM, etcterea. It's not just a config file. I agree that the current update scheme is annoying. I hope they fix that. But it doesn't bug me (my server only has one OS/distro). The size issue has bitten me in the past. I'm glad that's over. |
gus3 Mar 13, 2010 8:16 PM EDT |
Quoting:Think support for non-x86 machinesLet's see, there's EFI, and the smarter-but-dumber OpenBoot PROM. I don't know about the former, but... If you're willing to put your boot files (kernel + initrd) on UFS, OBP will be happy to load them for you, no on-disk boot loader needed. I know it was true for Sparc and PA-RISC, and IIRC it held for IBM Power as well. Read access for UFS is fairly easy to implement, and fits well in on-board ROM; not so JFS, Veritas, or ZFS. (Yes, I know, memories have gotten smaller and cheaper, and in my case, shorter...) |
tuxchick Mar 13, 2010 11:34 PM EDT |
Quoting: What would make GRUB2 work for me are clear tutorials on how to make it do what I want/need it to do. Um...you mean like the article? And the other two articles in the series? |
hkwint Mar 14, 2010 12:55 AM EDT |
TC: Exactly what I thought. But depends on ones needs I guess? |
Steven_Rosenber Mar 18, 2010 4:55 PM EDT |
In my Debian Lenny to Squeeze upgrade, I got GRUB 2, and it started out chainloading from GRUB 1 into GRUB 2 just to make sure it worked. It did work, and once I confirmed that I ran: # upgrade-from-grub-legacy That pulled out GRUB 1, and now GRUB 2 is the default bootloader. I had already added my extra kernel parameter (nomodeset) as part of the dist-upgrade, so now I'm running GRUB 2 and couldn't be happier. Of course I'm not dual-booting .... |
Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]
Becoming a member of LXer is easy and free. Join Us!