If you already know how to make a file distribution and boot it in User-Mode Linux (see building filesystems), then packaging it into a base distribution for SBUML is easy. Simply take all the file systems and put them into one directory. Then add a file named basecmdline that has all the necessary parameters to pass to UML for a successful boot except for the tun/tap networking parameter. Here is the basecmdline for the toms distribution, for example: ubd0=tomsfs The one for rh72c is a bit longer, but still identical to what UML would use on its command line: umid=rh72a ubd0=rootfs200megs root=/dev/ubd0 ubd4=onegig_fs ubd1=usr_fs ubd5=fiftymeg_fs ubd6=halfgig_fs ubd7=swapfs Here are a few hints:
In addition, it is possible to put a dash followed by an arbitrary hexadecimal string at the end of the base distribution name. The purpose of this is merely to ward off name clashes for cases where two people give a distribution the same obvious name (e.g. "debian" or "redhat"). My convention has been to start appending the md5sum of all the files in the base distribution. Thus if you do the following, you can have some confidence that the toms distribution is intact:
[(sbumldemo subshell) sbumldemo]$ cd bases/toms-dcbb7d918c4814b7184f90d1a846ecd5/ |