1 |
On Sat, Apr 9, 2016 at 1:32 AM, <waltdnes@××××××××.org> wrote: |
2 |
> |
3 |
> now - an arbitrary decree comes down that *EVERYBODY* who wants a |
4 |
> separate /usr needs to have initramfs. |
5 |
> |
6 |
|
7 |
The "decree" wasn't some kind of law that the Gentoo police will come |
8 |
out to your house and arrest you for violating. |
9 |
|
10 |
It was simply a recognition that we were already in a state where |
11 |
booting a system without /usr mounted early can cause problems. There |
12 |
isn't really any solution to these problems (other than moving most of |
13 |
/usr into /, which I doubt is the desire of anybody who puts /usr on a |
14 |
separate filesystem), and it probably will only get worse. |
15 |
|
16 |
The intent of the resolution was to not burden package maintainers to |
17 |
have to cater to a use case that was already failing. |
18 |
|
19 |
And the wording of the resolution doesn't mention the word "initramfs" |
20 |
at all, precisely because we recognized that there were many ways to |
21 |
work around the problem. |
22 |
|
23 |
If you have concerns about the decision being arbitrary you might want |
24 |
to read the original summary: |
25 |
https://projects.gentoo.org/council/meeting-logs/20130813-summary.txt |
26 |
|
27 |
and log: |
28 |
https://projects.gentoo.org/council/meeting-logs/20130813.txt |
29 |
|
30 |
And of course you can read the list archives from the time where the |
31 |
issue was extensively discussed. |
32 |
|
33 |
> * IT DOES NOT MAKE THINGS ANY EASIER FOR THE ORIGINAL 5% EDGE CASES *. |
34 |
> But the other 95% who could run separate /usr are now being told they |
35 |
> must run initramfs "just because". What does it accomplish? |
36 |
|
37 |
I never really got the mentality that using an initramfs is a burden. |
38 |
|
39 |
You can boot a kernel as an EFI program, but the reality is that many |
40 |
if not most users of linux on EFI use a secondary bootloader. Heck, |
41 |
back in the old days you could actually boot linux directly from the |
42 |
BIOS without any secondary bootloader, but this was so impractical |
43 |
that even Linus now tells people to: |
44 |
bugger_off_msg: |
45 |
.ascii "Use a boot loader.\r\n" |
46 |
.ascii "\n" |
47 |
.ascii "Remove disk and press any key to reboot...\r\n" |
48 |
.byte 0 |
49 |
(and I must say that I admire the man with the guts to not insert a |
50 |
carriage return when the carriage is already on the first column) |
51 |
|
52 |
An initramfs is just a secondary bootloader for userspace. I almost |
53 |
always use them even if I'm just booting a VM with a single partition |
54 |
on it. If something goes wrong you can fall back to a shell in the |
55 |
initramfs and it is like having a rescue disk built into your system |
56 |
disk. For a more complex setup it is much more robust than relying on |
57 |
the kernel to find your root, and it also lets you build with a more |
58 |
module-based kernel, which has some benefits as well even if you build |
59 |
kernels tailored to each host. |
60 |
|
61 |
|
62 |
-- |
63 |
Rich |