Arch Linux: adjust mkinitcpio parameters
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
committed by
George Melikov
parent
5b8c163e24
commit
2d303ead82
@@ -7,7 +7,9 @@ Preparation
|
|||||||
:local:
|
:local:
|
||||||
|
|
||||||
#. Disable Secure Boot. ZFS modules can not be loaded if Secure Boot is enabled.
|
#. Disable Secure Boot. ZFS modules can not be loaded if Secure Boot is enabled.
|
||||||
#. Download latest `Arch Linux live image <https://archlinux.org/download/>`__ and boot from it.
|
#. Download an older `Arch Linux live image
|
||||||
|
<https://geo.mirror.pkgbuild.com/iso/>`__ and boot from it. Latest
|
||||||
|
image may lack a compatible kernel.
|
||||||
#. Connect to the Internet.
|
#. Connect to the Internet.
|
||||||
#. Set root password or ``/root/.ssh/authorized_keys``.
|
#. Set root password or ``/root/.ssh/authorized_keys``.
|
||||||
#. Start SSH server::
|
#. Start SSH server::
|
||||||
@@ -81,7 +83,7 @@ Preparation
|
|||||||
curl -L https://archzfs.com/archive_archzfs/ \
|
curl -L https://archzfs.com/archive_archzfs/ \
|
||||||
| grep zfs-linux-[0-9] \
|
| grep zfs-linux-[0-9] \
|
||||||
| grep -v src.tar \
|
| grep -v src.tar \
|
||||||
| grep "5.18.7"
|
| grep --color "5.18.7"
|
||||||
# ...<a href="zfs-linux-2.1.5_5.18.7.arch1.1-1-x86_64.pkg.tar.zst">...
|
# ...<a href="zfs-linux-2.1.5_5.18.7.arch1.1-1-x86_64.pkg.tar.zst">...
|
||||||
|
|
||||||
Result: https/.../archive_archzfs/zfs-linux-2.1.5_5.18.7.arch1.1-1-x86_64.pkg.tar.zst
|
Result: https/.../archive_archzfs/zfs-linux-2.1.5_5.18.7.arch1.1-1-x86_64.pkg.tar.zst
|
||||||
@@ -91,8 +93,8 @@ Preparation
|
|||||||
Search ZFS version string (e.g. 2.1.5) in both pages above::
|
Search ZFS version string (e.g. 2.1.5) in both pages above::
|
||||||
|
|
||||||
curl -L https://archzfs.com/archzfs/x86_64/ \
|
curl -L https://archzfs.com/archzfs/x86_64/ \
|
||||||
| grep zfs-utils-2.1.5 \
|
| grep -v src.tar \
|
||||||
| grep -v src.tar
|
| grep --color zfs-utils-2.1.5
|
||||||
# ...<a href="zfs-utils-2.1.5-1-x86_64.pkg.tar.zst">...
|
# ...<a href="zfs-utils-2.1.5-1-x86_64.pkg.tar.zst">...
|
||||||
|
|
||||||
Result: https/.../archzfs/x86_64/zfs-utils-2.1.5-2-x86_64.pkg.tar.zst
|
Result: https/.../archzfs/x86_64/zfs-utils-2.1.5-2-x86_64.pkg.tar.zst
|
||||||
|
|||||||
@@ -29,10 +29,7 @@ System Configuration
|
|||||||
|
|
||||||
#. Configure mkinitcpio::
|
#. Configure mkinitcpio::
|
||||||
|
|
||||||
mv /mnt/etc/mkinitcpio.conf /mnt/etc/mkinitcpio.conf.original
|
sed -i 's|filesystems|zfs filesystems|' /mnt/etc/mkinitcpio.conf
|
||||||
tee /mnt/etc/mkinitcpio.conf <<EOF
|
|
||||||
HOOKS=(base udev autodetect modconf block keyboard zfs filesystems)
|
|
||||||
EOF
|
|
||||||
|
|
||||||
#. Enable internet time synchronisation::
|
#. Enable internet time synchronisation::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user