|
|
@ -25,12 +25,12 @@ unset root_pwd
|
|
|
|
chroot=/mnt/root-unlocked
|
|
|
|
chroot=/mnt/root-unlocked
|
|
|
|
|
|
|
|
|
|
|
|
# root device
|
|
|
|
# root device
|
|
|
|
mkfs.ext4 -f /dev/mapper/root-unlocked
|
|
|
|
mkfs.ext4 /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.ext4 -f "$boot"
|
|
|
|
mkfs.ext4 "$boot"
|
|
|
|
mkdir "$chroot/boot"
|
|
|
|
mkdir "$chroot/boot"
|
|
|
|
mount "$boot" "$chroot/boot"
|
|
|
|
mount "$boot" "$chroot/boot"
|
|
|
|
|
|
|
|
|
|
|
|