grub: override GRUB_DEVICE with /dev/mapper/dmroot
Grub scripts are very persistent in trying to use what is currently mounted as /. Even if currently (TemplateVM) /dev/xvda3 is mounted directly, all the configuration should use /dev/mapper/dmroot, to work also in AppVM. GRUB_DEVICE is used in various places as root device (including constructing root= parameter in some versions). Force it to /dev/mapper/dmroot QubesOS/qubes-issues#6174
This commit is contained in:
parent
75ffdf6a53
commit
aa50b2fedc
@ -1,5 +1,6 @@
|
||||
# make sure to use /dev/mapper/dmroot, not /dev/xvda directly - both have the
|
||||
# same fs, including UUID
|
||||
GRUB_DEVICE=/dev/mapper/dmroot
|
||||
GRUB_DISABLE_LINUX_UUID=true
|
||||
GRUB_DISABLE_OS_PROBER=true
|
||||
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX root=/dev/mapper/dmroot console=tty0 console=hvc0"
|
||||
|
Loading…
Reference in New Issue
Block a user