From: Jeff Dike <jdike@ka...> - 2002-01-27 02:57:16
> mount -o loop /mnt/md0/sandbox /mnt/disk
> cp -ax / /mnt/disk
> umount /mnt/disk
> linux ubd0=/mnt/md0/sandbox
You can't just boot off a copy of your host filesystem. There are a few files
that you will need to fix up to use UML device names.
If you're new to UML, grab one of the filesystems off the UML site.
If you've been there and done that, then go back into your new filesystem
and make fstab use UML device names and make inittab use whatever tty names
That should fix up most of the problems.
Is there a small UML Image in the world ;-)
I would like to try to create such an jail-image like the dns-images from
I like to create one image for domain-services (DNS and DHCP) and another
image for gateway-services (proxy, firewall and antivir).
From: Jeff Dike <jdike@ka...> - 2002-01-29 00:09:24
> I would like to try to create such an jail-image like the dns-images
> from Chris Reahard. I like to create one image for domain-services
> (DNS and DHCP) and another image for gateway-services (proxy,
> firewall and antivir).
You probably want to play with gbootroot (http://gbootroot.sf.net), mkrootfs
(whose URL I don't remember offhand), or umlbuilder (http://umlbuilder.sf.net
I think). They all build UML filesystem images from media.
I think tomsrtbt is probably the wrong starting point for something like this
because of the stuff it does to stay small (i.e. old libc).