Grant Edwards wrote:
> Apparently they're going to try to pry grub-0.97 from my cold dead
> fingers...
>
> Is there any documentation on how to do a basic minimal grub:2
> install?
>
> I really don't want any of the auto-magical, devs know better than I
> do what I want, os-probing, hide all the details from the stupid user,
> config file generator stuff installed.  I just want the bare minimum
> required to boot using a hand-edited grub.conf file.
>
> There doesn't seem to be a USE flag...
>


I made the switch a good while back.  Even for me, it has been fairly
easy.  I don't recall it ever breaking or giving me trouble.  When I
build a new kernel and get the init thingy in /boot, I run this command
to update grub.

grub2-mkconfig -o /boot/grub2/grub.cfg

I put it in a little script and just run the script, so I don't have to
remember the thing.  ;-)  The only thing I recall it being picky on, the
names of the kernel and the init thingy.  If they don't match correctly,
it won't match them up when you run the above.  A little sample of my
naming that works. 


-rw-------  1 root root 5038915 Feb 27  2015 initramfs-3.18.7-1.img
-rw-------  1 root root 7675107 Feb 16  2018 initramfs-4.14.19-gentoo.img
-rw-------  1 root root 7752134 Oct 15 00:16 initramfs-4.18.12-1.img
-rw-------  1 root root 8233752 Dec 21 16:22 initramfs-4.19.8-1.img
-rw-------  1 root root 5377395 May 20  2016 initramfs-4.5.2-1.img
-rw-------  1 root root 7752249 Oct 15 00:14 initramfs-4.5.2-gentoo.img
-rw-------  1 root root 6488176 Apr 22  2017 initramfs-4.9.22-1.img
-rw-------  1 root root 6479446 Aug 21  2017 initramfs-4.9.34-1.img
-rw-r--r--  1 root root 5387680 Feb 27  2015 kernel-3.18.7-1
-rw-r--r--  1 root root 6848464 Feb 16  2018 kernel-4.14.19-gentoo
-rw-r--r--  1 root root 7061552 Oct 14 23:53 kernel-4.18.12-1
-rw-r--r--  1 root root 7110704 Dec 21 15:59 kernel-4.19.8-1
-rw-r--r--  1 root root 5858496 Jun 17  2016 kernel-4.5.2-1
-rw-r--r--  1 root root 6983664 Aug 21  2017 kernel-4.9.34-1


To your real desire, I don't think there is a minimal grub2 install. 
While bigger than the old Grub, it isn't to bad, given the size of
drives nowadays. 

root@fireball / # equery s grub
 * sys-boot/grub-2.02-r1
         Total files : 1207
         Total size  : 50.85 MiB
root@fireball / #

If the old grub isn't being maintained anymore, from what I've read it
isn't, you will have to switch at some point.  If grub2 works for me, it
should work great for you.  I'm pretty good at finding problems. lol 

Dale

:-)  :-) 

Reply via email to