You are not logged in.

#1 2016-10-30 16:22:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Adding network support to initramfs

Tried to use 'net' hook but it failed to create initramfs. Am thinking along the lines of a way of adding network support to a failed boot.

Not really sure what to add to mkinitcpio.conf to get over this problem... my first thought was to add required modules for network.

https://wiki.archlinux.org/index.php/Mk … mmon_hooks does show a 'net' hook...

Is there a way to add network support?


Mr Green

Offline

#2 2016-10-30 18:03:53

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: Adding network support to initramfs

As the table in that wiki page shows, the “net” hook is for installing support for an NFS root. It's provided by the mkinitcpio-nfs-utils package.

If you don't configure the NFS root on the kernel command line you'll have latent support in the initramfs. That package also provides a tool “ipconfig” for setting up the network. So you can use that tool in the emergency shell.

Offline

Board footer

Powered by FluxBB