I figured this out for Ubuntu, but it will work for Debian too. Just replace "breezy" with the name of your branch.

$ cd ~
$ dd if=/dev/zero of=breezy.rootfs bs=1M seek=5000 count=0
$ chgrp uml breezy.rootfs
$ chmod 660 breezy.rootfs
$ mkfs.ext3 breezy.rootfs
$ mkdir tmp
# mount -o loop breezy.rootfs tmp/
# debootstrap breezy tmp http://fishbowl.marlboro.edu/ubuntu

That will set you up with a basic 5GB rootfs. Change the seek time for dd to get different sizes.

I've also had great success with installing a very basic debian, booting into knoppix and copying all the files (cp -a /*) to another partition. Then replace the debootstrap part of the above instructions with copying those files into the mounted rootfs. The advantage here is that the installation is a bit more complete than the debootstrap one, but this likely will not be important in a situation different than my own.

HTH,
Ian

Guy Heatley wrote:
Hello,
I have:
1) A debian host kernel with the SKAS patch (built the "debian way"
using kernel-package) version 2.6.8 built from sources and patches
retrieved via APT.
2) The sid version of the U-ML kernel (version 2.4.26-3um-1: i386)

These two things seem to work together OK. i.e. When U-ML boots the
SKAS patch is detected.

I am struggling to find a filesystem image that works out of the box.
I tried Matt Zimmerman's old woody image but have run into problems
(tty's respawning too fast).
Does anyone out there have a filesystem image known to work with the
above setup, without hours of tweaking?

Could you put it somewhere where I could download it?

Are there any good online resources covering building ones own debian
filesystem image?

I am interested to know the most popular "off the self" filesystem
images that people are using.

Cheers!
--
Guy Heatley


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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