mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Since NVME devices end with a digit that indicates the node index we cannot simply append a partition index. Instead, there will be a "p" character as separator, e.g. /dev/nvme0n1p3 for the 3rd partition. So, if the early device name ends in a digit we need to add this separater before matching for the partition index. If the partition index is omitted (as is the default) the root file system is on a disk without any partition table (e.g. using QEMU). This enables booting from the correct partition on an NVMe drive by setting the command line variable root to e.g. root=/dev/nvme0n1p1
9.9 KiB
9.9 KiB