FS#18370 - [mkinitcpio] PXE nfs boot fail with busybox
Attached to Project:
Arch Linux
Opened by Cedric Bellegarde (gnumdk) - Wednesday, 17 February 2010, 12:32 GMT
Last edited by Thomas Bächler (brain0) - Friday, 19 February 2010, 17:30 GMT
Opened by Cedric Bellegarde (gnumdk) - Wednesday, 17 February 2010, 12:32 GMT
Last edited by Thomas Bächler (brain0) - Friday, 19 February 2010, 17:30 GMT
|
Details
Since migration to busybox, i can't get arch to boot with
nfs root.
The conf is the same that klibc one. Here logs: connect: Network is unreachable connect: Network is unreachable NFS over TCP no available from 194.254.144.4 BusyBox v1.15.3 (2010-02-11 ...) ... Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS] Kernel panic - not syncing: Attempt to kill init! |
This task depends upon
Closed by Thomas Bächler (brain0)
Friday, 19 February 2010, 17:30 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in upcoming 0.6.3.
Friday, 19 February 2010, 17:30 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in upcoming 0.6.3.
HOOKS="base net udev autodetect pata scsi sata filesystems"
This works if i downgrade mkinitcpio (klibc) and fail with current package.
This incompatibility to the old versions is a minor problem, but should probably be documented somewhere, suggestions?
But i can now see some others errors ;)
ipconfig: dhcp: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
Ip-Config: /
Ip-Config: gw: dns0: dns1:
NFS-Mount: 194.254.144.4:/var/lib/tftpboot/clone
$ ipconfig 192.168.0.133
ipconfig: 192.168.0.133: SIOCGIFINDEX: No such device
I fix the problem editing net hooks and replace ipconfig {$ip} with:
ipconfig -c dhcp eth0
So, net hooks should:
- detect available network interface
- configuration type (dhcp, static, bootp)
and run ipconfig -c $proto $interface for dhcp
or run ipconfig $interface $ip for static
ipconfig "ip=$ip"
instead of
ipconfig "$ip"
Can you test this?
However, the way it is documented is: ip=:::::eth0:dhcp