[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    Re: [Cooker] rebuild an initrd under rescue cdrom
From:       Per =?iso-8859-1?q?=D8yvind=20Karlsen?= <dvalin () sintrax ! net>
Date:       2003-04-02 10:24:49
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 02 April 2003 12:21, Neil Bothwick wrote:
> Guillaume Cottenceau said,
>
> >> I tried the following but to no avail (maybe because of using the
> >> freshly installed system by means of a chroot on /mnt) :
> >>
> >> boot rescue cd1
> >> mount all FS on /mnt
> >> go to console
> >> chroot /mnt
> >>
> >> First I was to mount /proc  because mkinitrd _does not check_ that /proc
> >> is available and thus we end in a loop at the step it scans for
> >> /proc/mounts FS.
> >
> > I don't consider that to be a bug. Many (all?) of our system
> > tools rely very much on /proc being available. I'm not even sure
> > the system will boot without a /proc filesystem mounted.
>
> Isn't the problem that /proc disappears when you chroot to /mnt? Could
> you solve this doing "mount --bind /proc /mnt/proc" when mounting
> filesystems on /mnt, then /proc is still available after chrooting.
>
>
> Cheers
>
> Neil
it should work just fine to mount /proc after chrooting, worked for me:)
- -- 
Regards,
Per Øyvind Karlsen
Sintrax Solutions
http://www.sintrax.net - +47 41681061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+irpzv8F7V9JOSuURAqKLAKCULAag8kAvkgyo1ixY5LY9CiO09QCgyiSD
hBwvdqr2qpGVs8sMs/lHMK8=
=vIHP
-----END PGP SIGNATURE-----



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic