Re: booting a debootstraped filesystem?
On Sat, Jun 07, 2003 at 01:52:04PM -0400, Matt Zimmerman wrote:
> On Sat, Jun 07, 2003 at 01:22:04PM +0200, Henning Moll wrote:
>
> > I used a debootstraped/chrooted sarge filesystem to build a binary-deb
> > package, which i also installed there (also under chroot). Now i want
> > test(execute) that package. For that purpose i think of booting that
> > filesystem.
> >
> > I know how to use debootstrap/chroot to setup a debian system on _another_
> > partition. But how to go if root of the debootstraped file hirachy is not
> > the root of the partitions filesystem?
> >
> > Any suggestions?
>
> I think you are looking for user-mode-linux and rootstrap. This lets you
> boot the system with a separate (UML) kernel, its own init, processes,
> network, etc.
Or, come to think of it, you could use your existing chroot with UML as
well:
linux root=/dev/root rootflags=/path/to/chroot rootfstype=hostfs rw
and away you go. See the documentation for information about the various
ways to configure networking, consoles, etc.
--
- mdz
Reply to: