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
@@ -36,8 +36,21 @@ Preparation
|
||||
|
||||
ssh root@192.168.1.19
|
||||
|
||||
#. Configure NTP client for time synchronization::
|
||||
|
||||
setup-ntp chrony
|
||||
|
||||
#. Pick a mirror from `Alpine Mirrors <https://mirrors.alpinelinux.org/>`__
|
||||
and add it to package manager configuration::
|
||||
|
||||
tee -a /etc/apk/repositories <<EOF
|
||||
https://dl-5.alpinelinux.org/alpine/latest-stable/community/
|
||||
https://dl-5.alpinelinux.org/alpine/latest-stable/main/
|
||||
EOF
|
||||
|
||||
#. Throughout this guide, we use predictable disk names generated by udev::
|
||||
|
||||
apk update
|
||||
apk add eudev
|
||||
setup-udev
|
||||
|
||||
@@ -59,21 +72,8 @@ Preparation
|
||||
|
||||
DISK='/dev/disk/by-id/disk1'
|
||||
|
||||
#. Configure NTP client for time synchronization::
|
||||
|
||||
setup-ntp chrony
|
||||
|
||||
#. Pick a mirror from `Alpine Mirrors <https://mirrors.alpinelinux.org/>`__
|
||||
and add it to package manager configuration::
|
||||
|
||||
tee -a /etc/apk/repositories <<EOF
|
||||
https://dl-5.alpinelinux.org/alpine/latest-stable/community/
|
||||
https://dl-5.alpinelinux.org/alpine/latest-stable/main/
|
||||
EOF
|
||||
|
||||
#. Install ZFS support and partition tool::
|
||||
|
||||
apk update
|
||||
apk add zfs zfs-lts sgdisk e2fsprogs
|
||||
modprobe zfs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user