Messages in this thread | | | From | Rob Landley <> | Subject | Re: initramfs for /dev/console with udev? | Date | Wed, 2 Nov 2005 21:40:24 -0600 |
| |
On Wednesday 02 November 2005 16:20, Robert Schwebel wrote: > Hi, > > If I understand Documentation/early-userspace/README correctly it should > be possible to solve the "unable to open an initial console" problem by > using a file like > > dir /dev 0755 0 0 > nod /dev/console 0600 0 0 c 5 1 > nod /dev/null 0600 0 0 c 1 3 > dir /root 0700 0 0 > > and let CONFIG_INITRAMFS_SOURCE point to that file. The gpio archive is > built correctly with that, but my kernel doesn't seem to use it.
1) You have no init in initramfs, so it goes ahead and mounts whatever root= points to over it. I'm guessing that's where it's looking for /dev/console from.
2) What's the directory /root for?
> Is anything else needed to use an initrd, like a command line argument? > My kernel boots from a nfs partition, so it sets nfsroot=...
Note that initramfs and initrd and very different things.
> As I still get the "unable to open an initial console" message it looks > like the initramfs is not extracted, mounted or however that works. > > Robert
Rob - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |