I had a similar problem.
Here's how I fixed it:

1) Boot your UML with this option added on the command line: init=/bin/sh
2) That should allow you to poke around in /dev.  Check for terminals (eg.
tty0, tty1, tty/0, tty/1).
3) If there are none, and if you are using DevFS - which I suspect you are -
you could use the vc/0, vc/1, etc. terminals, but I would recommend this:
4) Recompile UML without DevFS.
5) If you recompiled, go back to step 2 and poke around again.  Either way,
find which terminals you should be using, then halt the VM.
6) mount -o loop root_fs /mnt           # or whatever you call it.
7) vi /mnt/etc/inittab
8) scroll down to the section that looks something like:
1:2345:/sbin/mingetty tty1
9) comment those entries out and make a new entry for the terminal you
picked in /dev.  For instance, if I discovered that tty0 was available and
decided that I wanted to call this entry c1, my entry would look something
like this:
c1:2345:/sbin/mingetty tty0
10) unmount and boot, should work now.  If you get problems with loading the
filesystem, you might need to go tweak around in the guest filesystem's
/etc/fstab.

Hope it helps, worked for me,

Ernie


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to