Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple query




you still need things like the /dev directory.  The kernel is looking for 
/dev/console.  Look at the bookdisk-HOWTO.  You need the same things in your 
filesystem that are in a boot disk.

Also, make sure init is executable.

-Matt

> I am booting my diskless Linux using etherboot. I get the following messsage.
> ..
> 
> ...
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem)
> Freeing unused kernel memory: 48K freed
> Warning: unable to open an initial console
> Kernel panic: No init found. Try passing init= option to kernel
> 
> I used the following command to build the tagged image:
> 
> linux-mknbi -d ram  -r ram_image.gz -k zImage -o bootImage
> 
> I even tried -a init=/bin/sh in the above command but the same problem remain
> s.
> 
> I have the following files in the ramdisk image:
> 
> /sbin/init
> /etc/inittab
> /bin/sh
> 
> Thanks,
> Piyush
> 
> 
> ===========================================================================
> This Mail was sent to netboot mailing list by:
> pagarwal@hss.hns.com
> To get help about this list, send a mail with 'help' as the only string in
> it's body to majordomo@baghira.han.de. If you have problems with this list,
> send a mail to netboot-owner@baghira.han.de.
> 


===========================================================================
This Mail was sent to netboot mailing list by:
Matt Hortman <mbhortman@ibm.net>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.