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

Re: chroot in /usr and initrd booting



On Fri, 7 Jun 2002, Andreas Bombe wrote:

> On Thu, Jun 06, 2002 at 08:45:13PM -0500, Steve Langasek wrote:
> > On Fri, Jun 07, 2002 at 03:32:57AM +0200, Andreas Bombe wrote:
> > > In short, when booting an initrd, after the pivot_root a chroot has to
> > > be done into the new root.  If /usr is on a separate partition, chroot
> > > isn't available, boot fails.
> >
> > With what kernels must you do a chroot after pivot_root?  On systems
> > where I'm using pivot_root + Linux 2.4.18, I only have to do 'cd /'.

AFAIK the i386 version still has ext2 in the kernel and ext3 as a module
with forces you to do something like pivot_root if you want to have a
ext3 rootfs.

> Anyway, can you umount the initrd if you only did a 'cd /'?

AFAIK not.
*t

----------------------------------------------------------------------------
             Tomas Pospisek
	     SourcePole   -  Linux & Open Source Solutions
	     http://sourcepole.ch
	     Elestastrasse 18, 7310 Bad Ragaz, Switzerland
	     Tel: +41 (81) 330 77 11
----------------------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: