da3f3cd426
Do not add 1:1 dm-linear when root.img (/dev/xvda) is read-write. This was to always have root device at /dev/mapper/dmroot, but unfortunately grub can't parse it properly (fails at looking for partition number of /dev/xvda1). There was a hack specifically for this, but it caused other partitions on xvda unavailable. On the other hand, symlink is enough to be able to mount always the same device. Now, grub detect that root fs is on /dev/xvda1, which is enough to have grub2-install working. Unfortunate effect is that it puts root=/dev/xvda1 at kernel command line, which breaks AppVMs based on this TemplateVM. But it's easier to fix kernel command line, than grub device detection logic. Fixes "initramfs: add support for root.img with partition table" QubesOS/qubes-issues#2557 |
||
---|---|---|
.. | ||
init.sh | ||
Makefile | ||
module-setup.sh |