ChimeraOS / frzr

A deployment and automatic update mechanism for operating systems
MIT License
59 stars 14 forks source link

Installation on nvme drive fails because of wrong partition name. #5

Closed Brunfunstudios closed 5 years ago

Brunfunstudios commented 5 years ago

If installed on a nvme drive mkfs fails because the partition contains another p in front of the numer.

e.g. lsblk /dev/nvme0n1

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
nvme0n1     259:0    0 232,9G  0 disk 
└─nvme0n1p1 259:1    0 232,9G  0 part 

frzr-bootstrap asumes ${DISK}1

mkfs.btrfs -L frzr_root -f ${DISK}1
mount -t btrfs -o nodatacow ${DISK}1 ${MOUNT_PATH}
alkazar commented 5 years ago

Thanks for reporting, nice find! Should be fixed now.