Go to file
Marek Marczykowski-Górecki da3f3cd426
initramfs: use symlink for rw root.img, instead of dm-linear
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
2017-06-12 13:02:31 +02:00
archlinux Add python-setuptools to build depends 2017-04-08 13:58:33 +02:00
debian version 4.0.1 2017-05-18 01:54:46 +02:00
dracut initramfs: use symlink for rw root.img, instead of dm-linear 2017-06-12 13:02:31 +02:00
imgconverter imgconverter: use core3 API in get_from_vm() 2017-05-18 01:03:06 +02:00
initramfs-tools debian: introduce qubes-kernel-vm-support package 2015-11-11 05:10:59 +01:00
kernel-modules Merge remote-tracking branch 'qubesos/pr/9' 2017-03-17 13:46:55 +01:00
pkgs archlinux: created build scripts 2013-04-17 01:48:28 +02:00
qmemman qmemman-meminfo-writer: send simplified meminfo value 2017-04-08 13:58:33 +02:00
qrexec-lib Fix include header syntax 2017-06-09 04:45:38 +05:30
rpm_spec rpm: add missing build requires 2017-05-18 01:23:23 +02:00
udev udev: use DM ignore device flag only for DM devices 2016-11-23 03:40:37 +01:00
.gitignore gitignore 2014-07-26 03:36:31 +02:00
.travis.yml travis: drop fc23 vm packages building 2017-04-10 11:01:46 +02:00
Makefile Package imgconverter as separate Python module 2017-04-08 13:58:32 +02:00
Makefile.builder Add VM kernel related files as qubes-core-vm-kernel-support package 2015-03-25 23:25:33 +01:00
version version 4.0.1 2017-05-18 01:54:46 +02:00