Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2438

Raspberry Pi OS • Booting from zfs root

$
0
0
Hi

I installed pi os onto a sd, cloned it to nvme. I'm in the process of trying to migrate over to zfs. the 2nd nvme has rpool setup with lots of mount points. one being rpool/ROOT/pios.

I have all of the other mount points working through a reboot. last step was to get ROOT/pios working

I made changes to my /boot/firmware/cmdline.txt

Code:

console=serial0,115200 console=tty1 root=ZFS=rpool/ROOT/pios fsck.repair=yes rootwait cfg80211.ieee80211_regdom=AU
and also updated my /etc/fstab

Code:

proc            /proc           proc    defaults          0       0PARTUUID=d7ed9a08-01  /boot/firmware  vfat    defaults          0       2# mounting root fs via zfs#PARTUUID=d7ed9a08-02  /               ext4    defaults,noatime  0       1# a swapfile is not a swap partition, no line here#   use  dphys-swapfile swap[on|off]  for that

but when i reboot it still comes up with the old ext4 root partition...

I changed cmdline.txt, but do I need to rebuild something initramfs or something - i'm unclear on this

Statistics: Posted by KeyzerSuze — Mon Jul 22, 2024 1:29 pm



Viewing all articles
Browse latest Browse all 2438

Trending Articles