|
|
@ -25,12 +25,12 @@ unset root_pwd
|
|
|
|
chroot=/mnt/root-unlocked
|
|
|
|
chroot=/mnt/root-unlocked
|
|
|
|
|
|
|
|
|
|
|
|
# root device
|
|
|
|
# root device
|
|
|
|
mkfs.btrfs /dev/mapper/root-unlocked
|
|
|
|
mkfs.btrfs -f /dev/mapper/root-unlocked
|
|
|
|
mkdir /mnt/root-unlocked
|
|
|
|
mkdir /mnt/root-unlocked
|
|
|
|
mount /dev/mapper/root-unlocked /mnt/root-unlocked
|
|
|
|
mount /dev/mapper/root-unlocked /mnt/root-unlocked
|
|
|
|
|
|
|
|
|
|
|
|
# boot device
|
|
|
|
# boot device
|
|
|
|
mkfs.btrfs "$boot"
|
|
|
|
mkfs.btrfs -f "$boot"
|
|
|
|
mkdir "$chroot/boot"
|
|
|
|
mkdir "$chroot/boot"
|
|
|
|
mount "$boot" "$chroot/boot"
|
|
|
|
mount "$boot" "$chroot/boot"
|
|
|
|
|
|
|
|
|
|
|
|