[syslinux] network booting initrd -mount: error 6 mounting ext3

pankaj takawale pankaj_takawale at yahoo.com
Mon Jan 15 07:07:12 PST 2007


Hi all,

Im network booting initrd-2.6.9-22.EL.img from
pxelinux.
<snip from init script>

echo Creating root device
mkrootdev /dev/root
umount /sys
echo Mounting root filesystem 
mount -o defaults --ro -t ext3 /dev/root /sysroot
mount -t tmpfs --bind /dev /sysroot/dev
echo Switching to new root
switchroot /sysroot
echo UMOUNTING initrd-dev
umount /initrd/dev

</snip>

I receive error while mounting :
mount -o defaults --ro -t ext3 /dev/root /sysroot

mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
UNMOUNTING initrd-dev
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!

My pxelinux configuration looks like
kernel vmlinuz-2.6.9-22.EL
append initrd=initrd-2.6.9-22.EL.img root=/dev/ram
keeppxe

I can see that ext3 modul was successfully loaded
using insmod utility.

Please advice how to make initrd n/w booting.


pankaj





 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited




More information about the Syslinux mailing list