Hello!

I installed i386 Hurd in a virtual machine of VirtualBox with
Debian LiveCD.[1] The installation succeeded. I rebooted to start
the new system.

After vm was powered on and grub passed, the screen printed a lot
of logs like another vm I created with pre-installed image.
The logs stopped at getty failed to control tty. It tried tty1
and failed with permission denied. Then it tried tty2, tty3, ...
The dev files did not exist so getty failed as well. After a
while it started a re-try but still failed, again and again.

I couldn't input anything with my keyboard (it could be used normally
in tui of LiveCD installation), but the screen kept print logs (the
getty failure).

After research, I found the solution. I have to follow the instructions
written in Hurd docs.[2] What I did was,

1. Boot the vm with LiveCD again and enter a shell of the live os.
2. Mount /dev/hd0s1 (the root partition) to /mnt. Then chroot into it.
3. cd /dev and ./MAKEDEV vcs tty1 tty2 tty3 tty4 tty5 tty6 as described
   in the docs.
4. Reboot to real system.
5. I get into tty2 and everything works now. I can log in normally.

Another strange thing is when I reboot several times and I enter the login
tui, the tty number seems to change every time, tty1-tty3. There is no
obvious rule of it.

I wonder whether the missing tty is just my special case. If not, should we
make tty creation as one of the installation steps?

Thanks!

[1] https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/debian-sid-hurd-i386-NETINST-1.iso
[2] https://www.gnu.org/software/hurd/hurd/console.html

--
Yuqian Yang <crup...@crupest.life>

Reply via email to