[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian.rpm



>>>>> "Russell" == Russell Coker <russell@coker.com.au> writes:

    Russell> On Sat, 5 Jan 2002 00:27, Karl M. Hegbloom wrote:

    >> I think you can probably boot to it with a carefully crafted
    >> initrd that performs a pivot_root into the debootstrapped
    >> chroot.

    Russell> I believe that pivot_root only works on mounted file
    Russell> systems, so unless your chroot environment is at the root
    Russell> directory of a different file system that won't work.

 Hmm.  You are probably right.

    Russell> Why not use busybox-static to move the directories
    Russell> around?

 If you try this, be aware that the "cp" in Busybox 0.60 does NOT
 preserve hard links.  (It used to; the one used by the potato boot
 floppies when they were first released did - I know because I coded
 it.  They've changed the implementation of cp again.)  If you use
 Busybox to perform recursive copy, use "busybox tar" since it DOES
 preserve hard links.  (I checked the source to be certain.)

    >> Or, perhaps you could run a UML kernel there?  Has anyone tried
    >> that?

    Russell> That's not as much fun.  We want to totally replace the
    Russell> old system...

 Right.  But for development or trial purposes, a UML setup might be
 kind of nice to have.

-- 
mailto: (Karl M. Hegbloom) karlheg@microsharp.com
http://www.microsharp.com
phone://USA/WA/360-260-2066
jabber: karlheg@jabber.org



Reply to: