On Fri, Jan 26, 2024 at 01:44:44PM +0100, Paul Menzel wrote:
$ grep UUID /etc/default/grub
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
GRUB_DISABLE_LINUX_UUID=true
I am now able to boot the VM image without an initrd, editing
`/boot/grub/grub.cfg`, which saves a little time, as the initrd does not
need to be loaded by GRUB and later dealt with (unpack/run) by the Linux
kernel.
Sou you already have all the infrastructure to create initrd. Please
use virtiofs for this case.
Am 01.04.24 um 22:29 schrieb Bastian Blank:
On Fri, Jan 26, 2024 at 01:44:44PM +0100, Paul Menzel wrote:
$ grep UUID /etc/default/grub
# Uncomment if you don't want GRUB to pass "root=UUID=xxx"
parameter to Linux
GRUB_DISABLE_LINUX_UUID=true
I am now able to boot the VM image without an initrd, editing
`/boot/grub/grub.cfg`, which saves a little time, as the initrd does not >>> need to be loaded by GRUB and later dealt with (unpack/run) by the Linux >>> kernel.
Sou you already have all the infrastructure to create initrd. Please
use virtiofs for this case.
Sorry, I have the feeling we talk past each other. I do not want to
create an initrd. I want to boot *without* an initrd, and the only
missing piece is building VIRTIO_BLK into the Linux kernel.
Ubuntu also builds this into their “kvm” flavour [1].
If you think, that is unnecessary, could you please elaborate, how I
would achieve the goal with virtiofs?
[1]: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/tree/debian.master/config/annotations#n611[2]: https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-kvm/+git/jammy/tree/debian.kvm/config/annotations?h=master-next#n476
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 96:40:15 |
Calls: | 6,699 |
Calls today: | 4 |
Files: | 12,232 |
Messages: | 5,349,334 |