I'm working on a Debian Live lenny image to use as a netboot rescue image on
failed machines.

I'm using live-helper 2.0~a7-1:

lh config -a amd64 -d lenny -b net --hostname lenny-live-amd64 \
        --net-root-server 172.16.5.212 \
        --net-root-path /vol/misc/debian-livecd-root/lenny-amd64

with this PXELINUX stanza:

LABEL lenny-live
        kernel debian-live/amd64/vmlinuz-2.6.26-2-amd64
        append debug=y initrd=debian-live/amd64/initrd.img-2.6.26-2-amd64 
boot=live hostname=lenny-live-amd64 union=aufs netboot=nfs 
nfsroot=172.16.5.212:/vol/misc/debian-livecd-root/lenny-amd64

Machines TFTP the kernel and initrd just fine, but the kernel panics during
the attempt to mount the root filesystem:

set_usplash_timeout
[ -x /sbin/usplash_write ]
[ -x /sbin/splashy_update ]
[ ! -z nfs ]
do_netmount
rc=1
modprobe -q af_packet
[ -x /sbin/udevadm ]
udevadm trigger
udevadm settle
[    4.694059] Kernel panic - not syncing: Attempted to kill init!

I can mount the nfsroot= filesystem just fine, and it contains
live/filesystem.squashfs:

[[email protected]:pts/0 ~> mkdir r
[[email protected]:pts/0 ~> sudo mount 
172.16.5.212:/vol/misc/debian-livecd-root/lenny-amd64 r
[[email protected]:pts/0 ~> ls -l r
total 12
drwxr-xr-x 3 root root 4096 2010-02-19 16:01 doc
drwxr-xr-x 2 root root 4096 2010-02-19 16:01 live
-rw-r--r-- 1 root root 2585 2010-02-19 16:01 md5sum.txt
[[email protected]:pts/0 ~> ls -l r/live
total 92692
-rw-r--r-- 1 root root 94699520 2010-02-19 16:00 filesystem.squashfs
-rw-r--r-- 1 root root    16664 2010-02-19 16:01 packages.txt
-rw-r--r-- 1 root root     2556 2010-02-19 16:01 parameters.txt

The same 'lh config' invocation (with '-b iso' instead of '-b net') produces
a working ISO image that will boot.

Perhaps 'udevadm settle' in /scripts/live is failing and the errexit
('set -e') is causing /init to exit? What am I missing?

john
-- 
John Morrissey          _o            /\         ----  __o
[email protected]        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to