GRUB 2.02 Has Many Features, Might Hit Ubuntu 14.04
Collapse
X
-
At first, I didn't really get how GRUB2 worked compared to legacy GRUB, but then I learned how to use it properly and have no issues any more. Although I do use UEFI on pretty much every PC I administer, I still use GRUB2 instead of the kernel EFI capabilities, because the fact that you can use its powerful shell when something goes wrong is just that good. If you have something that is bootable, chances are GRUB2 can boot it.
-
-
Originally posted by Kano View PostIf you manually need to edit your grub.cfg then you do something completely wrong.
I do understand how it works, I just don't like it. Sure, if all I did was use the distro kernels and let it run the scripts it would mostly work. In some distros I still have to correct what it adds for Windows partitions though... I really don't need it adding stanzas for partitions that don't even have a Windows OS on them. Mint 16's grub autoconfig actually got all that stuff right. It adds too much stupidity to my custom kernel stanzas though, when it just needs to be simple.
I build my own kernels (configured my way), and if I let that stuff run I would have to go and edit the stanzas because it adds lines and parameters I don't want. I could correct all this but I don't believe in manipulating a bunch of scripts just to get something to automatically do what I can in 2 seconds with a text editor.
Even if it does get it right, I would still have to go and check grub.cfg to make sure.
Leave a comment:
-
-
Originally posted by Ferdinand View PostHow is steam on linux? Good experience?
What we need are more games ported though, of course. Pretty much anything I want that's available on Linux, I already have. The only game I wanted to buy was Amnesia: A Machine for Pigs. I'm watching though, as soon as I see another game for Linux that I'm even a little bit interested in I'll do it. (I really want this to work out for them)
My best games are Metro Last Light and the Half Life 2 games. Those run very well, at least as good as on Windows. Left 4 Dead 2 and Serious Sam 3 run relatively poorly though, by contrast, at least on AMD Catalyst (fglrx). The best driver for me so far seems to be 3.11 BetaV9.4, the latest BetaV9.95 harms performance for me.
Leave a comment:
-
-
Originally posted by johnc View PostWhen the GNOME people take it over and decide that it's too "cluttered" and begin ripping out features.
GRUB 3 no support for keyboard (or mouse) because that doesn't work on tablets.
If you don't have a touch screen your out of luck :P
But seriously a feature I would like from GRUB is that it were possible to make it look a bit more modern, think BURG or chameleon.
Leave a comment:
-
-
I like all the features Grub2 is getting. Not for use on my own machine, but for what you can take advantage of in an IT environment. Netbooting in particular. It would be really nice to have a dhcpd.conf that looks like this:
Code:#For PowerPC Mac's class "AppleNBI-ppc" { match if substring (option vendor-class-identifier, 0, 13) = "AAPLBSDPC/ppc"; option dhcp-parameter-request-list 1,3,6,12,15,17,43,53,54,60; option vendor-class-identifier "AAPLBSDPC"; if (option dhcp-message-type = 1) { option vendor-encapsulated-options 08:04:81:00:00:09; } elsif (option dhcp-message-type = 8) { option vendor-encapsulated-options 01:01:02:08:04:81:00:00:09; } else { option vendor-encapsulated-options 00:01:02:03:04:05:06:07; } } #For Intel Mac's class "AppleNBI-i386" { match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386"; if (option dhcp-message-type = 1) { option vendor-class-identifier "AAPLBSDPC/i386"; } if (option dhcp-message-type = 1) { option vendor-encapsulated-options 08:04:81:00:00:67; } option dhcp-parameter-request-list 1,3,17,43,60; } subnet 192.168.1.0 netmask 255.255.255.0 { pool { range 192.168.1.41 192.168.1.60; filename "/grub-ppc/grub.0"; allow members of "AppleNBI-ppc"; } pool { range 192.168.1.21 192.168.1.40; filename "/grub-efi/grub.0"; allow members of "AppleNBI-i386"; } pool { allow unknown-clients; filename "/grub-i386/grub.0"; range 192.168.1.1 192.168.1.20; } }
This way you can supply x86 and PPC Macintosh's the proper bootloader (I know, PPC has long since been obsolete, but the point is...) and supply everything else the i386 bootloader. Say what you want about Grub2's complicated-ness, but this setup ends up making everything much cleaner because you can configure and compile Grub2 to load its configuration from TFTP the same way for all architectures. So you can have a setup like this:
Code:/srv/ tftp/ grub-efi/ grub-pc/ grub-ppc/ grub.cfg images/ i386/ kernel initrd.gz ppc/ kernel initrd.gz
grub.cfg
Code:menuentry "Rescue Mode" { #grub_platform is a built-in variable that is set when Grub loads. It represents the architecture. if [ "$grub_platform" = "ppc" ]; then set bootparameters="root=nfs://path/to/ppc/share" else set bootparameters="root=nfs://path/to/i386/share" fi kernel (tftp)/images/$grub_platform/kernel $bootparameters initrd (tftp)/images/$grub_platform/initrd.gz }
I've been searching for ways to exploit Grub2 for all its worth and I would love to build software that uses Grub2 for platform-independent ways of managing clusters of thin clients or offline backups/reimaging.
The point I'm trying to make here is, don't just think of Grub2 as a piece of software for bootstrapping your operating system. It can be used for so much more than just booting your one PC.
Leave a comment:
-
-
Correct me if I'm wrong but could it be that the ones hating Grub for being too bloated are the same ones that hate systemd?
Leave a comment:
-
-
@Grogan
If you manually need to edit your grub.cfg then you do something completely wrong. When you come from grub 1 then you would have noticed that it was a custom script in Debian based systems called update-grub that modified the menu.lst file in a post install trigger. This is now STANDARD, the script name is there on Debian but it just calls:
Code:grub-mkconfig -o /boot/grub/grub.cfg
Code:make INSTALL_MOD_STRIP=1 deb-pkg
Leave a comment:
-
-
Originally posted by schmidtbag View Posthmm the uboot functionality intrigues me, but I'm not entirely sure how that works. Does that mean you need a uEnv to boot to grub, or, are you able to completely place grub over uboot? Because I would love to get rid of uboot - it is so poorly documented and inconsistent.
ARM in general needs a serious overhaul in the booting department. It's an inconvenient mess.
Leave a comment:
-
Leave a comment: