1 |
Grant Edwards wrote: |
2 |
> Apparently they're going to try to pry grub-0.97 from my cold dead |
3 |
> fingers... |
4 |
> |
5 |
> Is there any documentation on how to do a basic minimal grub:2 |
6 |
> install? |
7 |
> |
8 |
> I really don't want any of the auto-magical, devs know better than I |
9 |
> do what I want, os-probing, hide all the details from the stupid user, |
10 |
> config file generator stuff installed. I just want the bare minimum |
11 |
> required to boot using a hand-edited grub.conf file. |
12 |
> |
13 |
> There doesn't seem to be a USE flag... |
14 |
> |
15 |
|
16 |
|
17 |
I made the switch a good while back. Even for me, it has been fairly |
18 |
easy. I don't recall it ever breaking or giving me trouble. When I |
19 |
build a new kernel and get the init thingy in /boot, I run this command |
20 |
to update grub. |
21 |
|
22 |
grub2-mkconfig -o /boot/grub2/grub.cfg |
23 |
|
24 |
I put it in a little script and just run the script, so I don't have to |
25 |
remember the thing. ;-) The only thing I recall it being picky on, the |
26 |
names of the kernel and the init thingy. If they don't match correctly, |
27 |
it won't match them up when you run the above. A little sample of my |
28 |
naming that works. |
29 |
|
30 |
|
31 |
-rw------- 1 root root 5038915 Feb 27 2015 initramfs-3.18.7-1.img |
32 |
-rw------- 1 root root 7675107 Feb 16 2018 initramfs-4.14.19-gentoo.img |
33 |
-rw------- 1 root root 7752134 Oct 15 00:16 initramfs-4.18.12-1.img |
34 |
-rw------- 1 root root 8233752 Dec 21 16:22 initramfs-4.19.8-1.img |
35 |
-rw------- 1 root root 5377395 May 20 2016 initramfs-4.5.2-1.img |
36 |
-rw------- 1 root root 7752249 Oct 15 00:14 initramfs-4.5.2-gentoo.img |
37 |
-rw------- 1 root root 6488176 Apr 22 2017 initramfs-4.9.22-1.img |
38 |
-rw------- 1 root root 6479446 Aug 21 2017 initramfs-4.9.34-1.img |
39 |
-rw-r--r-- 1 root root 5387680 Feb 27 2015 kernel-3.18.7-1 |
40 |
-rw-r--r-- 1 root root 6848464 Feb 16 2018 kernel-4.14.19-gentoo |
41 |
-rw-r--r-- 1 root root 7061552 Oct 14 23:53 kernel-4.18.12-1 |
42 |
-rw-r--r-- 1 root root 7110704 Dec 21 15:59 kernel-4.19.8-1 |
43 |
-rw-r--r-- 1 root root 5858496 Jun 17 2016 kernel-4.5.2-1 |
44 |
-rw-r--r-- 1 root root 6983664 Aug 21 2017 kernel-4.9.34-1 |
45 |
|
46 |
|
47 |
To your real desire, I don't think there is a minimal grub2 install. |
48 |
While bigger than the old Grub, it isn't to bad, given the size of |
49 |
drives nowadays. |
50 |
|
51 |
root@fireball / # equery s grub |
52 |
* sys-boot/grub-2.02-r1 |
53 |
Total files : 1207 |
54 |
Total size : 50.85 MiB |
55 |
root@fireball / # |
56 |
|
57 |
If the old grub isn't being maintained anymore, from what I've read it |
58 |
isn't, you will have to switch at some point. If grub2 works for me, it |
59 |
should work great for you. I'm pretty good at finding problems. lol |
60 |
|
61 |
Dale |
62 |
|
63 |
:-) :-) |