From: geoffrey <geo...@ti...> - 2004-12-28 17:29:09
|
I have found the easiest way to build a rootfs for guest systems on Gentoo is to make a directory, unpack the stage1 system into the directory, copy over your resolv.conf, chroot into the directory and follow the initial Gentoo build sequence to get a basic system - without adding a kernel or bootloader, of course. When you have done, exit the chroot, tar up the directory from it's root level, then use dd and mkfs to make a rootfs filesystem. Mount your rootfs filesystem on loopback and untar the previous build directory onto it. Voila, a gentoo rootfs! I believe the current usermode docs at the gentoo.org website suggest something similar. Now, does anyone know of a simple way to make an FC3 rootfs? geoffrey |
From: Jason C. <ja...@ja...> - 2004-12-28 18:45:38
|
Their are two current docs, one in gentoo devel and one that I wrote. The one in gentoo devel details the setup you just described. The one that I wrote details building from inside a UML. The devel docs are obviously much faster, but building from inside a UML sure was fun. I havent tried FC3, but I'll give it a spin. Jason We the willing, led by the unknowning, are doing the impossible, for the ungrateful. We have done so much, for so long, with so little. We are now qualified to do anything with nothing. On Tue, 28 Dec 2004, geoffrey wrote: > I have found the easiest way to build a rootfs for guest systems on Gentoo is > to make a directory, unpack the stage1 system into the directory, copy over > your resolv.conf, chroot into the directory and follow the initial Gentoo > build sequence to get a basic system - without adding a kernel or bootloader, > of course. When you have done, exit the chroot, tar up the directory from > it's root level, then use dd and mkfs to make a rootfs filesystem. Mount your > rootfs filesystem on loopback and untar the previous build directory onto it. > Voila, a gentoo rootfs! I believe the current usermode docs at the gentoo.org > website suggest something similar. Now, does anyone know of a simple way to > make an FC3 rootfs? > > geoffrey > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > |
From: Frank S. <fr...@tu...> - 2004-12-29 07:16:39
|
Jason Clark wrote: > Their are two current docs, one in gentoo devel and one that I wrote. > The one in gentoo devel details the setup you just described. The one > that I wrote details building from inside a UML. The devel docs are > obviously much faster, but building from inside a UML sure was fun. I > havent tried FC3, but I'll give it a spin. <snip> >> Now, does anyone know of a simple >> way to make an FC3 rootfs? >> >> geoffrey I just finished putting together an FC3 rootfs the other day. I didn't customize it much, and can't guarantee anything, but I managed to get it to boot... You can download it from: super-ultra-minimal FC3 filesystem (60 MB download-> 259 MB install) - http://uml.tuxrocks.com/Filesystems/FC3_ultra_minimal.tar.bz2 somewhat-minimal FC3 filesystem (120 MB download-> 484 MB install) - http://uml.tuxrocks.com/Filesystems/FC3_minimal.tar.bz2 I generated this using apt on a regular FC3 system using this script which I wrote: http://uml.tuxrocks.com/Filesystems/MakeFilesystem And the package list here: http://uml.tuxrocks.com/Filesystems/FC3.packages I welcome comments and suggestions... Frank --------------------------------------------------------------------------- Frank Sorenson - KD7TZK Systems Manager, Computer Science Department Brigham Young University fr...@tu... |