On Fri, Feb 10, 2006 at 02:26:45PM -0700, Yu Yang wrote:
> The problem with me is that when I use
> 
> dd if=/dev/zero of=my_filesystem seek=100 count=1 bs=1M
> 
> to create my_filesystem, I cannot boot  UML with it.

Can you boot a physical machine on an empty disk?  That's pretty much
what you're trying to do.

> I always got some error information like what I got in the
> previous email.  How can I create a filesystem just like those downloadable
> from  sourceforge?

It varies by distro.  The coolest way is to actually run the distro
install procedure (by booting from the distro's initrd and installing
into a blank ubd device), but that's tricky and is probably only for
people with too much spare time.

An easier way is to loop-mount the image on the host and install into
it.

Debian has debootstrap (I think), which will do the trick.

I made my first x86_64 filesystem with busybox.

I got tired of busybox, and installed yum on it from the host, and
from there upgraded into FC4.

                                Jeff


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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