ash: Can't access tty problems (initramfs)

Denis Vlasenko vda.linux at googlemail.com
Thu May 17 23:49:05 UTC 2007


On Friday 18 May 2007 01:28, Denis Vlasenko wrote:
> Boot with init=/bin/ash, and you will get "Can't access tty" message.
> That's because fd# 0,1,2 are opened to /dev/console.
> Now execute this in ash:
> 
> # exec /bin/ash </dev/tty1 >/dev/tty1 2>&1
> 
> This one will work ok, because fds are opened to /dev/tty0,
> which can be a controlling tty.

:(  please s/tty0/tty1/ above...

--
vda



More information about the busybox mailing list