09-19-2020, 06:56 AM
(09-18-2020, 02:56 PM)wdt Wrote: From your blkid paste,,, did you forget to change label for rootfs?? /dev/sda2 if booted SD,,
/dev/mmcblk2p2 when emmc booted (and I would change on SD)
e2label /dev/sda2 your_chosen_label
You do understand??,, manjaro is on 2 partitions, "/" and boot,, / is ext4,,, boot is vfat
fstab will mount both of these, with correct data
the fstab on emmc is for emmc partitions, fstab on SD is for SD partitions
I couldn't set the label on sda2. I get an error: "Logical sector is zero".
Not sure what that means.
Code:
[admin@pbp ~]$ sudo blkid
[sudo] password for admin:
/dev/zram0: LABEL="zram0" UUID="30fcf278-b652-47b1-8dc2-d7f2971e4ee8" TYPE="swap"
/dev/mmcblk2p1: SEC_TYPE="msdos" LABEL_FATBOOT="BOOT_MNJRO" LABEL="BOOT_MNJRO" UUID="70C6-B789" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="4d0c1911-01"
/dev/mmcblk2p2: LABEL="ROOT_MNJRO" UUID="06302dbe-5c26-4e88-8501-caf1fe26b3e5" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4d0c1911-02"
/dev/sda1: SEC_TYPE="msdos" LABEL_FATBOOT="BOOT_XXXXXX" LABEL="BOOT_XXXXXX" UUID="70C6-B789" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="4d0c1911-01"
/dev/sda2: LABEL="ROOT_MNJRO" UUID="06302dbe-5c26-4e88-8501-caf1fe26b3e5" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4d0c1911-02"
[admin@pbp ~]$ sudo dosfslabel /dev/sda2 ROOT_XXXXXX
Logical sector size is zero.
[admin@pbp ~]$