[Uml-devel] Re: Bug#128506: user-mode-linux: "linux ubd0=/some/path/emdebian/rootfs/" does not work

Matt Zimmerman mdz at debian.org
Wed Jan 9 16:11:01 UTC 2002


On Wed, Jan 09, 2002 at 11:49:55PM +0100, Michael Vogt wrote:

> Package: user-mode-linux
> Version: 2.4.17.4um-1
> Severity: wishlist
> 
> 
> Booting into a directory does not work with the debian UML package, but it
> works with the deb-package provided from 
> http://user-mode-linux.sourceforge.net/dl-sf.html
> (like: "linux ubd0=/some/path/emdebian/rootfs/")
> 
> Maybe the hostfs option is not set?

For this to work, I believe hostfs must be statically linked into UML
(unless there is some way to use an initrd type mechanism).  I build the
user-mode-linux package using the default kernel configuration, which builds
hostfs as a loadable module.  A copy of the kernel config is in
/usr/share/doc/user-mode-linux/config.gz:

CONFIG_HOSTFS=m

You can build a UML package with a different configuration by following the
instructions in /usr/share/doc/user-mode-linux/README.Debian.

uml-devel folks: is there a recommended configuration that I should use for
the Debian packages, other than the default?  Specifically, should hostfs be
compiled in?

Jeff: things have been going swimmingly with the official Debian packages
for UML.  Do you want to continue distributing separate Debian packages, or
use the official ones?

-- 
 - mdz




More information about the umbrello-devel mailing list