You are not logged in.

#1 2019-01-10 18:03:52

slackbridge
Member
Registered: 2019-01-10
Posts: 1

Install on USB ("block" in mkinitcpio)

I'm installing Arch on a USB-stick.

On this page https://wiki.archlinux.org/index.php/In … ion_tweaks it says:

Before creating the initial RAM disk # mkinitcpio -p linux, in /etc/mkinitcpio.conf add the block hook to the hooks array right after udev. This is necessary for appropriate module loading in early userspace.

However, in my mkinitcpio.conf there was already a "block" in the HOOKS-array, but it is not after "udev" it's after "modconf", should I add a second occurrence of "block" in the hooks-array or should I delete the existing "block" and write it after udev instead?

Offline

#2 2019-01-12 02:25:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,517
Website

Re: Install on USB ("block" in mkinitcpio)

That section may be a bit out dated.  What are your current hooks?  Do not add a second instance of block, just ensure they are ordered appropriately.  Udev is provided now by systemd, so if you have a systemd hook before block you should be fine.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB