You are not logged in.
Hi
I'm trying to upgrade my diskless PXE system, but it seems like the mkinitcpio "net" hook is broken?
# mkinitcpio -p kernel26
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [net]
which: no ipconfig in (/lib/initcpio)
ERROR: '/lib/initcpio/ipconfig' is not a file
which: no nfsmount in (/lib/initcpio)
ERROR: '/lib/initcpio/nfsmount' is not a file
:: Parsing hook [udev]
:: Parsing hook [autodetect]
error: /dev/sr0: No medium found
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [net]
which: no ipconfig in (/lib/initcpio)
ERROR: '/lib/initcpio/ipconfig' is not a file
which: no nfsmount in (/lib/initcpio)
ERROR: '/lib/initcpio/nfsmount' is not a file
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS
The two errors in the net-hook, makes my system unbootable:
/init: line 113: nfsmount: not found
ERROR: Failed to mount the real root device.
Bailing out, you are on your own. Good luck.
/bin/sh: can't access tty; job control turned off
[ramfs /]#
The system gets stuck now and doesn't accept any input from my keyboard.
I'm using the following hooks within my mkinitcpio.conf:
MODULES="nfs"
HOOKS="base net udev autodetect pata scsi sata filesystems"
System is up to date as of today:
# pacman -Q kernel26 mkinitcpio
kernel26 2.6.32.9-1
mkinitcpio 0.6.3-1
# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
local database is up to date
Anyone?
Offline
there was a big update to mkinitcpio not long ago. i would suggest to file a bug report.
Offline
You need mkinitcpio-nfs-utils
Offline
You need mkinitcpio-nfs-utils
Thanks, I missed that one in the news...
Problem solved
Offline