On Tuesday 09 January 2007 17:05, Sten Heinze wrote:
> if  I try to boot into an UML guest (the standard debian guest from
> user-mode-linux package) with
Sorry, post at least the output of linux --version (i don't have an idea if it 
is a 2.4 or 2.6 one).

> $ rootstrap root_fs
>
> or after creating the fs with
>
> $ linux single con0=fd:0,fd:1 con=pts root=/dev/root rootflags=/
> rootfstype=hostfs ubd1=root_fs init=/usr/lib/rootstrap/builder
> devfs=nomount
>
> the boot process of tInitialized stdio console driver
> [...]
> Console initialized on /dev/tty0
> Initializing software serial port version 1
>  ubda: unknown partition table
>  ubdb: unknown partition table
> VFS: Mounted root (hostfs filesystem) readonly.he guest stops after
>
> without a login prompt. But I'm able to connect to the guest via
> uml_mconsole and it seems that there is no connection to the host except
> from con0 (which is connected to fd:0,fd:1)
> $ config con1
> OK pts
>
> Additionally to that the guest uses 100% of my host cpu until I stop it
> with a halt from uml_mconsole.
This means it is hung. However, the command line you post may make sense to 
create the root fs, not to get a login prompt. So for me it's unclear whether 
the root fs was created (you can give a look by loop-mounting the rootfs, 
after rootstrap finished), or not.

To boot it, then, the command line should be like:
linux con0=fd:0,fd:1 con=pts ubd0=root_fs devfs=nomount
or even 
linux ubd0=root_fs 
if you can accept the defaults.

For a start, http://uml.nagafix.co.uk/ can be a good site. It includes both 
binary kernels and pre-built images of various sizes.
-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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