You are not logged in.

#1 2024-01-07 01:10:54

user90882542
Member
Registered: 2023-08-30
Posts: 8

[Solved] initramfs problems

I set up systemd boot with UKI's and it drops me into rootfs saying

"/dev/nvme0n1p5: clean, 16/6556300 files, 558364/26214400 blocks
ERROR: Root device mounted succesfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck.

sh: can't access tty; job control turned off"

/sbin/init does exist and I am using everything default.
what do I do?

Last edited by user90882542 (2024-01-07 01:51:56)


What do i put here?

Offline

#2 2024-01-07 01:39:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [Solved] initramfs problems

That usually means you have the wrong partition specified with the root= parameter. Or, if you're on btrfs, the wrong subvol.

It's looking for /sbin/init *on the root filesystem*, not inside the initramfs. Check that (/new_root or /sysroot, depending on your setup).

Last edited by Scimmia (2024-01-07 01:40:37)

Offline

#3 2024-01-07 01:50:40

user90882542
Member
Registered: 2023-08-30
Posts: 8

Re: [Solved] initramfs problems

Oh your right thank you so much I used the wrong uuid!


What do i put here?

Offline

Board footer

Powered by FluxBB