You are not logged in.

#1 2020-03-06 07:35:17

Hwaiting
Member
Registered: 2019-08-30
Posts: 6

systemd-boot and multidevice bcachefs; how do you specify the rootfs?

In general, is it possible to use bcachefs as your root device with systemd-boot?

I'm mostly having issues specifying the root partition in the loader/entry file. The example the Arch wiki gives is:

options root=LABEL=arch_os rw

I've tried

options root=/dev/sda2:/dev/sdb2:/dev/sdc rootfstype=bcachefs

Which does 'boot', but all my services fail leaving me with a broken system forcing a hard reboot. I can't find a log about this boot using `journalctl` so I think a remount as ro is used.

If however I specify a wrong root location, (e.g. `root=/dev/asdf`) and then manually mount the bcachefs drive in the recovery mode under `/new_root/`, the system boots flawlessly.

Anyone have ideas?

Offline

#2 2020-03-06 07:44:31

Hwaiting
Member
Registered: 2019-08-30
Posts: 6

Re: systemd-boot and multidevice bcachefs; how do you specify the rootfs?

Oke so turns out I answered my own question. I appended 'rw' to the options line and now it seems to work.

Can be closed.

Offline

Board footer

Powered by FluxBB