Re: [PATCH] chroot= as a new kernel parameter
From: Guillaume Chazarain
Date: Mon Mar 03 2008 - 10:19:50 EST
On Mon, Mar 3, 2008 at 3:12 PM, Pavel Machek <pavel@xxxxxx> wrote:
> On Sun 2008-03-02 20:09:03, Pawel Plociennik wrote:
> > so I thing that my patch is *unnecessary* now :-(
>
> Actually I disagree here. This means that if distro in / breaks, you
> will not be able to boot in ditstro in /foo any more :-(.
For this case, you can boot with something like:
init=/working_distro/lib/ld-linux.so.2 --library-path
/working_distro/lib /working_distro/usr/sbin/chroot /working_distro/
/sbin/init
And that's actually how you should setup your grub.conf to avoid
depending on the distro in /.
--
Guillaume
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/