Bug#355074: [Yaird-devel] Bug#355074: yaird fails to load /dev/console for luks cryptoroot

Mark Hedges hedges at ucsd.edu
Fri Mar 3 20:41:34 UTC 2006


On Fri, 3 Mar 2006, Mark Hedges wrote:
>>> 
>>> EXT3-fs: mounted filesystem with ordered data mode.
>>> Switching root ...
>>> /usr/lib/yaird/exec/run_init: opening console: No such file or
>>> directory Kernel panic - not syncing: Attempted to kill init!
>>> 
>>> It would appear that yaird is not putting the console device in?
>> 
>> When manually creating a boot environment, you need also to manually
>> copy/create the needed device nodes. It is too complicated for yaird to
>> deal with device nodes (could be udev, could be udev now but not at
>> next boot, could be... Just too complicated).
>
> Sorry for being ignorant -- how do I do that?


I tried putting 'mkcdev /dev/console tty/console' in the 
cryptsetup_luks template.  But when it boots, it warns that the 
file already exists, but gives the same error:

   /usr/lib/yaird/exec/run_init: opening console: No such file or directory
   Kernel panic - not syncing: Attempted to kill init!

So, which file does not exist that needs to be created manually
before run_init?  (I tried tty0 too, got the same thing.)

Mark




More information about the Yaird-devel mailing list