1 |
On 2019-07-19 20:58, Adam Carter wrote: |
2 |
|
3 |
> I experimented found the following worked in /etc/default/grub; |
4 |
> |
5 |
> GRUB_DEVICE="PARTUUID=d3554d49-02" |
6 |
> |
7 |
> Which writes grub.cfg as; |
8 |
> linux /vmlinuz-5.2.0-gentoo root=PARTUUID=d3554d49-02 ro |
9 |
> init=/usr/lib/systemd/systemd iommu=pt raid=noautodetect |
10 |
> |
11 |
> PARTUUID looked up with blkid. No initramfs required :) |
12 |
|
13 |
I don't get this. blkid is userspace. The _kernel_ needs to know what |
14 |
the root fs device is, before it even starts pid 1. |
15 |
|
16 |
With initramfs, this egg/chicken problem is hidden: the initramfs itself |
17 |
is the initial root fs, and during the pivot to the real root fs |
18 |
userspace programs [1] are already available. |
19 |
|
20 |
[1] |
21 |
Well, usually just 1 of them: busybox. |
22 |
|
23 |
-- |
24 |
Please don't Cc: me privately on mailing lists and Usenet, |
25 |
if you also post the followup to the list or newsgroup. |
26 |
To reply privately _only_ on Usenet and on broken lists |
27 |
which rewrite From, fetch the TXT record for no-use.mooo.com. |