Re: [PATCH 2.6.24] chroot= as a new kernel parameter
From: H. Peter Anvin
Date: Fri Mar 07 2008 - 07:29:24 EST
Bernd Petrovitsch wrote:
On Don, 2008-03-06 at 13:30 -0800, H. Peter Anvin wrote:
Pavel Machek wrote:
This really should be in kernel, I should not have to partition my
disk to get booting to few different distros.
Use a small initramfs. That's the Right Thing to do in the first place.
... or use a statically linked chroot program (not necessarily to be
found in /working_distro). Shouldn't be too large anyways ....
For what it's worth:
: tazenda 102 ; ls -l ~/klibc/klibc/usr/utils/static/chroot
-rwxrwxr-x 1 hpa hpa 8488 2008-03-06 14:04
/home/hpa/klibc/klibc/usr/utils/static/chroot*
(compiled for x86-64)
-hpa
--
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/