I just installed KaOS and wanted to try the Btrfs system file.
The boot partition is a pre-existing system parition from win10 install that I decided to keep.

Now I cannot boot in the fresh install because of the following error :

:: running early hook [udev]
starting version 232
:: running hook [udev]
:: Triggering uevents...
:: running hook [keymap]
:: Loading keymap...done.
:: running hook [resume]
:: mounting '/dev/nvme0n1p5' on real root
:: running cleanup hook [udev]
ERROR : Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck.
sh: can't access tty: job control turned off

I tried to add some "init" values in the kernel line based on some answers elsewhere such as init=/bin/systemd. But it's not working and using rootfs, the path seems incorrect anyway.

I read in some posts that I may need to add the btrfs libraries to initrd, but I cannot tell which one and if these are even present in the boot partition.

a month later

Hey, im having the same issue here.

As a pretty noob it took me even some hours to geht into that efi-shell.

now im struggeling with that entry: what do i have to type at the end of that

rootflag=subvol=*_*

phrase?

i tried with "ROOT"; "root"; "sda2"; "@"

but it does not work anyway.

Some advice?

If i end with the "@" and restart into system that screen appears

here

Please open a separate topic. Please explain how you did prepare the btrfs partition.

Bequimão

I didn't have to make any additional changes when installing my system, and I use btrfs on both / and /home. If I run sudo btrfs subvolume list / i only get ID 264 gen 18 top level 5 path var/lib/machines, so it seems that I don't use it for root. Maybe try a different option when installing?

Try checking what partition table you are using, most commonly msdos is used. Easiest way is with parted -l.

Also, when I install a new system I always delete and recreate the partition table for the drive to minimize potential problems.

OP had the issue solved, new topic opened for new comment, closing.

demm locked the discussion .