missing /dev/console in debootstrap --foreign, a bug or not ?

Oliver Grawert ogra at ubuntu.com
Tue Jan 20 15:34:56 GMT 2009

Am Dienstag, den 20.01.2009, 16:12 +0100 schrieb Oliver Grawert:
> hi,
> Am Dienstag, den 20.01.2009, 16:04 +0100 schrieb Loïc Minier:
> > On Tue, Jan 20, 2009, Oliver Grawert wrote:
> > > What we found during work on this script is that the first stage of
> > > debootstrap --foreign does not create a /dev/console node, so qemu
> > > panics during boot if you ise it with a bare kernel image (it might be
> > > different if you use an initramfs that spawns udev though, which we
> > > currently not do for bootstrapping)
> > 
> >  What does exactly "panic"?  Can we fix some early userspace to not
> >  require /dev/console until the regular boot (without initramfs) starts
> >  udev which would create it?
> the kernel wants it to write output to it ... the only area where i
> could imagine such a creation would be upstart to create teh device if
> it doesnt find it ... not sure thats feasable or even remotely sane
one issue here that Scott just pointed out on IRC is indeed that the FS
is readonly at this point, so running mknod is no option at this
point ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20090120/fc860d16/attachment.pgp 

More information about the ubuntu-devel mailing list