kisslinux / init

KISS Linux - Init Framework
https://kisslinux.github.io
MIT License
90 stars 27 forks source link

Boot goes to emergency shell #22

Closed quisys closed 4 years ago

quisys commented 4 years ago

At the "checking filesystems" portion of init, I get

/dev/sdb3: clean, 12/29048832 files, [more numbers] blocks
fsck.fat 4.2 (2017-01-24)
open: No such file or directory
/dev/sda2: clean, [numbers] files, [even more numbers] blocks
=> Init system encountered an error, starting emergency shell.
=> When ready, type 'exit' to continue the boot

I am using default init and have dosfstools installed. It's trying to check /dev/sdb3 (fat32) but failing for some reason.

quisys commented 4 years ago

Fixed by using /dev/sdXX in fstab instead of UUIDs, still a weird issue through.

dylanaraps commented 4 years ago

This is working as intended, fsck failed which drops you into an emergency shell.

Now, according to busybox's sources whenUUIDis used it'll try to executefsck.auto`. This executable doesn't exist which causes the open error I believe.

Will look into this.

dylanaraps commented 4 years ago

Swapping from busybox's utilities to util-linux's will allow you to use UUIDs. busybox is rather barebones.