apparent failure to mount /root during boot of netboot image
Hi folks,
I'm trying to build a netboot debian-live image for amd64 systems with a
serial console. This is using live-helper 1.0.1-1 on an amd64 debian testing
system. So far, I have the system booting the kernel ok, but failling during
the initrd, as shown below. It seems that something has gone wrong with /root
(I couldn't figure out where this is supposed to be mounted from, but I assume
it would be some sort of RAM disk?).
Any suggestions would be appreciated...
Thanks,
Andrew
[ 6.138945] Freeing unused kernel memory: 392k freed
Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ...
(lots of kernel output here from drivers, ACPI, etc.)
done.
Begin: Mounting root file system ... [ 17.401145] ide_generic: please use
"probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
[ 17.415029] ide_generic: I/O resource 0x1F0-0x1F7 not free.
[ 17.420405] ide_generic: I/O resource 0x170-0x177 not free.
Begin: Running /scripts/live-premount ... done.
IP-Config: eth0 hardware address 00:e0:81:b1:a7:a8 mtu 1500 DHCP RARP
[ 19.324326] RPC: Registered udp transport module.
[ 19.334064] RPC: Registered tcp transport module.
IP-Config: eth0 guessed broadcast address 192.168.53.127
IP-Config: eth0 complete (from 192.168.53.66):
address: 192.168.53.70 broadcast: 192.168.53.127 netmask:
255.255.255.192
gateway: 192.168.53.65 dns0 : 192.168.53.66 dns1 : 0.0.0.0
host : gruyere
domain : in.barrelfish.org
rootserver: 192.168.53.66 rootpath:
filename : tftpboot.gruyere
Begin: Trying netboot from 192.168.53.66:/local/debian-live/binary/live ...
Begin: Trying nfsmount -o nolock -o ro 192.168.53.66:/local/debian-
live/binary/live /live/image ... done.
done.
Begin: Running /scripts/live-bottom ... Begin: Copying config on real root fs
... cp: cannot create '/root/etc/live.conf': Path does not exist
done.
Begin: Setting timezone ... chroot: cannot execute debconf-communicate: No
such file or directory
cp: cannot stat '/root/usr/share/zoneinfo/UTC': No such file or directory
done.
Begin: Moving mount points ... done.
Begin: Setting hostname ... /scripts/live-bottom/06hostname: line 34: cannot
create /root/etc/hostname: nonexistent directory
/scripts/live-bottom/06hostname: line 37: cannot create /root/etc/hosts:
nonexistent directory
done.
Begin: Adding live session user ... chroot: cannot execute debconf-
communicate: No such file or directory
chroot: cannot execute /usr/bin/env: No such file or directory
chroot: cannot execute debconf-communicate: No such file or directory
grep: /root/etc/passwd: No such file or directory
The default user (user) is not present,
grep: /root/etc/passwd: No such file or directory
no other valid users found, disabling autologin.
done.
Begin: Configuring fstab ... /scripts/live-bottom/12fstab: line 36: cannot
create /root/etc/fstab: nonexistent directory
done.
Begin: Setting up locales ... awk: can't open
'/root/usr/share/i18n/SUPPORTED': No such file or directory
awk: can't open '/root/usr/share/i18n/SUPPORTED': No such file or directory
Warning: Locale 'en_US.UTF-8' is unsupported.
/scripts/live-bottom/14locales: line 1: cannot create
/root/etc/default/locale: nonexistent directory
/scripts/live-bottom/14locales: line 1: cannot create /root/etc/environment:
nonexistent directory
/scripts/live-bottom/14locales: line 1: cannot create /root/etc/locale.gen:
nonexistent directory
chroot: cannot execute /usr/sbin/locale-gen: No such file or directory
done.
Begin: Setting up console keyboard ... chroot: cannot execute
/usr/sbin/install-keymap: No such file or directory
chroot: cannot execute /usr/bin/debconf-communicate: No such file or directory
chroot: cannot execute /usr/bin/debconf-communicate: No such file or directory
chroot: cannot execute /usr/bin/debconf-communicate: No such file or directory
chroot: cannot execute /usr/bin/debconf-communicate: No such file or directory
done.
Begin: Configuring gnome-panel-data ... done.
Begin: Configuring screensaver ... done.
Begin: Preconfiguring /etc/modules ... done.
Begin: Preconfiguring networking ... /scripts/live-bottom/23networking: line
44: cannot create /root/etc/network/interfaces: nonexistent directory
cp: cannot create '/root/var/log/': Path does not exist
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev
failed: No such file or directory
done.
moun[ 20.727509] Kernel panic - not syncing: Attempted to kill init!
t: mounting /sys
Reply to: