From: Alister H. <ali...@sy...> - 2009-07-08 05:10:15
|
> Please check the image, that the file /sbin/init exist, is executable and that it is an "ELF" file for 32 bit systems. It is a link to /bin/busybox, which is that. > Alternatively use "init=/bin/sh" to get a shell directly. Even that way I still get the same message. -----Original Message----- From: Henry Nestler [mailto:hen...@ar...] Sent: Tuesday, 7 July 2009 8:53 p.m. To: Alister Hood; col...@li... Subject: Re: [coLinux-users] Warning: unable to open an initial console. H. Nestler wrote: > Alister Hood wrote: >> Warning: unable to open an initial console. > > This means your directory "/dev" is empty. > > Mount your image from any other running Linux (for example Knoppix), mount the image as loop, and create this devices: > > # mknod -m 600 dev/console c 5 1 > # mknod -m 666 dev/null c 1 3 > # mknod -m 666 dev/zero c 1 5 > > Or try to use "initrd=initrd.gz". Our initrd does this also for you. > Oh, sorry, have not seen your mail completely. :-( You had that checked alright. Please check the image, that the file /sbin/init exist, is executable and that it is an "ELF" file for 32 bit systems. mount -o loop,ro YourImageName /mnt file /mnt/sbin/init That should be an ELF 32-bit LSB executable, and a statically linked file. *NOT* 64 bit. Alternatively use "init=/bin/sh" to get a shell directly. -- Henry N. |