Hey guys,

here it is:

ERROR : Root device mounted successfully, but /sbin/init does not exist.

so what did i do so far?

  • Set up KaOs via the latest live-iso
  • took the KaOs GUI-Installer to set the partitions manually:
    • /boot => fat 32 | 550mb |esp - flag (running UEFI-System)
    • / => btrfs | 15GB |root - flag
    • /home => btrfs | 97 GB |no flag
    • SWAP | 6 GB

after "successful" installation => reboot after that, that error occurred

i already did ad the rootflags=subvol=*_*
into the esp/loader/entries/KaOs*.conf via the EFI-Shell. as described here

https://wiki.archlinux.org/index.php/Systemd-boot#btrfs_subvolume_root_installations

I ended the line with various arguments: "@";"ROOT";"root";"sda2"
but that did not change anything.

if i ad the "@" the following screen appears:
screen that appears when adding "@"

so do you have any advice? Would appreciate it when you would try to make it easy for me what to do, as that kernel and UEFI stuff is totally out of my knowledge as it took me hours to even just get that EFI-Shell running 😃

Thank you !

P.S. I actually did add the "@" into that kernel-line but i don't know what i did with that. What does the "@" stand for?


I ditched the UEFI partition on my laptop after a couple of tries, it was to messy to get it running (and I'm lacking knowledge of how to use and configure it). I don't really have any use for it, so there was no point to keep it.

If you don't really have to use it, just repartition your hard drive and remove it. Then just create root, home and swap (if you want swap). Also look in your bios, think you have to enable boot to legacy mode to boot it correctly.

I think your problems are not UEFI-related.
I don't know how the calamares installer works, because I converted my installation manually to btrfs. One usually does not install root to the btrfs root subvolume, which has the subvolid=5 and is the default subvolume at start, but to a different subvolume '@'. The root subvolume cannot be deleted or moved if needed.

Please. start your live system and mount your btrfs root filesystem and provide the output of

# mount /dev/sdax /mnt

# btrfs subvolume list /mnt

# btrfs subvolume get-default /mnt

# ls -l /mnt

Best regards
Bequimão

Hey,
thank you so far!
Here it is:

[live@localhost ~]$ sudo btrfs subvolume list /mnt 
ID 257 gen 28 top level 5 path @ 
ID 258 gen 23 top level 5 path @home 
[live@localhost ~]$ sudo btrfs subvolume get-default /mnt
ID 5 (FS_TREE)
[live@localhost ~]$ sudo ls -l /mnt
total 0                                                                                                                                                                                                     
drwxr-xr-x 1 root root 196 Jan  3 18:27 @ 
drwxr-xr-x 1 root root   8 Feb 18  2018 @home 

thank you verry mouch !

edit: meanwile i set up my system in a different way: just one root partition where the /home is located either. dint help anyting. the commands r executed with that setup.

Thank you!

The kernel parameter must read now rootflags=subvol=@ (without " ").
/home inside the same partition is ok, but we need now the information how it is mounted in fstab.

Please post also

# cat /mnt/@/etc/fstab

Greetings,
Bequimão

Hello @bequimão , thank you so mouch for supporting!

here is the output:

[live@localhost ~]$ sudo cat /mnt/@ 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>                           <mount point>  <type>  <options>  <dump>  <pass>
UUID=1565-D9F3                            /boot          vfat    defaults,noatime 0       2
UUID=6cff182e-4506-428a-9857-bb3cd2ec5cd1 swap           swap    defaults,noatime,discard 0       0
UUID=22e48f51-09ce-4aeb-969e-10a33b2513d0 /              btrfs
subvol=@,defaults,noatime,space_cache,autodefrag,discard,compress=lzo 0       1
UUID=22e497b7-721a-43af-b1fb-1fe7c2b85a4d /home          btrfs
defaults,noatime,space_cache,autodefrag,discard,compress=lzo 0       2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0       0

If you put your home on a separate subvolume @home you should mount it accordingly to your filesystem.

UUID=22e497b7-721a-43af-b1fb-1fe7c2b85a4d /home  btrfs subvol=@home,defaults,noatime,space_cache,autodefrag,discard,compress=lzo 0       2

It makes sense, since you don't want to loose any data, when you take a snapshot of /root and rollback to a snapshot. btrfs snapshots work on subvolumes. One might discuss the other options. I won't set compression as a default option, and let away filesystem check at boot. That is the last number "2" in the line.

Please post also the kernel and initramfs line of the config file of systemd-boot.

Greetings
Bequimão

@bequimão#10011 Please post also the kernel and initramfs line of the config file of systemd-boot.

you are talking about that line in the Kaos-xy.conf accesed via the UEFI-Shell right ?

@bequimão#10011 I won't set compression as a default option, and let away filesystem check at boot. That is the last number "2" in the line.

Ill do what you say, if you would tell me how to do that... sorry for that its just me being noob and dont really know - do i have do access any files for changing that parameters or is there a gui for it?

anyway: thank you so much for filling your brain with that issues im struggling with 🙂

ps: dont know if i mentioned it correctly or you r actually about it but on the picture above you can see what happens if i add the @ to the systemd-kernel line in KaOs-xy.conf