Alpine: Use ZFS for /boot, updated bootloader instructions
Signed-off-by: Maurice Zhou <ja@apvc.uk>
This commit is contained in:
committed by
George Melikov
parent
82988571d1
commit
b35065b4fc
@@ -118,7 +118,8 @@ System Installation
|
||||
|
||||
Create boot dataset::
|
||||
|
||||
zfs create -o canmount=on -o mountpoint=/boot bpool/nixos
|
||||
zfs create -o canmount=off -o mountpoint=none bpool/nixos
|
||||
zfs create -o canmount=on -o mountpoint=/boot bpool/nixos/root
|
||||
|
||||
#. Format and mount ESP::
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@ System Configuration
|
||||
|
||||
#. Disable cache, stale cache will prevent system from booting::
|
||||
|
||||
mkdir -p /mnt/state/etc/zfs/
|
||||
rm -f /mnt/state/etc/zfs/zpool.cache
|
||||
touch /mnt/state/etc/zfs/zpool.cache
|
||||
chmod a-w /mnt/state/etc/zfs/zpool.cache
|
||||
chattr +i /mnt/state/etc/zfs/zpool.cache
|
||||
mkdir -p /mnt/etc/zfs/
|
||||
rm -f /mnt/etc/zfs/zpool.cache
|
||||
touch /mnt/etc/zfs/zpool.cache
|
||||
chmod a-w /mnt/etc/zfs/zpool.cache
|
||||
chattr +i /mnt/etc/zfs/zpool.cache
|
||||
|
||||
#. Generate initial system configuration::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user