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

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Mon Jan 15 08:11:17 PST 2007


On Mon, Jan 15, 2007 at 07:07:12AM -0800, pankaj takawale wrote:
> 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

Well, you're trying to boot /dev/ram, what did you expect?

root=/dev/ram represents initrd, but you're not using initrd, but the
new initramfs format.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20070115/c31ad295/attachment.sig>


More information about the Syslinux mailing list