Re: NFSROOT with NFS Version 3

From: Joe Korty
Date: Mon Nov 20 2006 - 09:15:54 EST


On Mon, Nov 20, 2006 at 12:07:50PM +0100, Christoph Pleger wrote:
> Warning: Unable to open an initial console

This usually means /dev/console doesn't exist. With many of
today's distributions, this means you didn't boot with a
initrd properly set up to run with your newly built kernel.

If you don't want to create an initrd just to get yourself
a properly set up /dev, then you need to put on the root's
true /dev those few tmpfs /dev entries that might be used
during the boot process:

mount --bind / /mnt
cd /mnt/dev
mknod null c 1 3
mknod console c 5 1
for i in $(seq 0 9); do mknod tty$i c 4 $i; done
cd /
umount /mnt

Joe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/