Timeline for Using Label in grub on Debian 9
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 22, 2019 at 14:22 | history | edited | Noob | CC BY-SA 4.0 |
grub.cfg
|
| Mar 22, 2019 at 8:12 | comment | added | Noob | My /etc/fstab already contains a valid LABEL. But the label is not added to my /boot/grub/grub.cfg file. If I update my grub with update-grub it contains /dev/sda1 instead of LABEL=root. | |
| Mar 22, 2019 at 8:09 | history | edited | Noob | CC BY-SA 4.0 |
Update
|
| Mar 21, 2019 at 20:07 | comment | added | telcoM |
Seems to me it's about how to use the LABEL syntax to specify the root filesystem in the kernel command line. According to the /etc/fstab example in the question, @Noob already knows how to use it there. The suggested duplicate includes examples and mentions the caveat that the LABEL syntax is really parsed by the initramfs, not the kernel itself; so it will only work if initramfs is being used.
|
|
| Mar 21, 2019 at 17:35 | review | Close votes | |||
| Mar 22, 2019 at 23:27 | |||||
| Mar 21, 2019 at 17:18 | comment | added | telcoM | Possible duplicate of Pass root file system by label to linux kernel | |
| Mar 21, 2019 at 16:34 | answer | added | GAD3R | timeline score: 5 | |
| Mar 21, 2019 at 16:06 | history | asked | Noob | CC BY-SA 4.0 |