Debootstrap works just fine.  I use that exact procedure to create
        ubuntu images all the time.  Note that you probably want
        something
        larger than a 750 MB filesystem, as a large Ubuntu install can
        grow to
        be a couple GB over several years.
        
        Also, you will need to edit several things in the resulting etc
        directory before the filesystem will boot properly.  You need to
        create
        a tty0 in event.d (copy over and modify from tty1), you need to
        add tty0
        to securetty, and you need to modify network/interfaces to be
        appropriate for your setup.  Note that recent versions of ubuntu
        try to
        be smart about MAC addresses, which will cause problems if you
        don't
        pass a constant MAC address on the command line.  If the MAC
        address
        does change, you will probably need to go into
        etc/udev/rules.d/70-persistent-net.rules and clean out the old
        interfaces, or you will find that eth0 is no longer active.
        
        Jonas
        
        On Fri, 2008-03-21 at 16:15 +0100, Benedict Verheyen wrote:
        > Brendan McNally wrote:
        > > Hi All
        > > 
        > > Just wondering if anyone has any experience of build OS
        filesystems on 
        > > Ubuntu.  I've downloaded the UMLBuilder application but it's
        only 
        > > available as an RPM.
        > > 
        > > Would you recommend using a pre-created FS and just
        modifying it for my 
        > > own needs?
        > > 
        > > Brendan
        > 
        > Hi,
        > 
        > it depends on what you're after. If you want to proceed
        quickly and have 
        > something up and running fast, go for a prebuilt FS. It's also
        an easy 
        > way of getting into UML.
        > Otherwise you can just build a new one.
        > 
        > Isn't debootstrap available on Ubuntu? That's what i use to
        install 
        > debian into a file container.
        > 
        > Something like this:
        > 
        > dd if=/dev/zero of=root_fs bs=1M count=1 seek=750
        > mkfs.ext3 -F root_fs
        > mount -o loop root_fs /mnt/debinst
        > debootstrap etch /mnt/debinst
        > 
        > 
        > Regards,
        > Benedict
        > 
        > 
        >
        
-------------------------------------------------------------------------
        > This SF.net email is sponsored by: Microsoft
        > Defy all challenges. Microsoft(R) Visual Studio 2008.
        > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
        > _______________________________________________
        > User-mode-linux-user mailing list
        > User-mode-linux-user@lists.sourceforge.net
        >
        https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
        


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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