View Single Post

   
  #3 (permalink)  
Old 02-19-2008, 12:45 PM
An Metet
 
Posts: n/a
Default Re: installing in chroot

NOTE: This message was sent thru a mail2news gateway.
No effort was made to verify the identity of the sender.
--------------------------------------------------------

pgp trash troll delete

Alan Hicks <alan@lizella.network> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1


> In alt.os.linux.slackware, /dev/rob0 dared to utter,
> > Someone here recently talked about chroot'ing to a loop-mounted initrd
> > and running the setup therein. Has anyone done this? Is anything other
> > than having /proc mounted in the chroot necessary for this?


> Gentoo's install does something similar. As I recall, the instructions
> are:
> mount proc -o bind
> cat /etc/resolv.conf > newresolv.conf
> chroot /bin/bash /newdir
> source /etc/profile


> I can't imagine much more else that would be needed.


> - --
> It is better to hear the rebuke of the wise,
> Than for a man to hear the song of fools.
> Ecclesiastes 7:5
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)


> iD8DBQFA3HTGlKR45I6cfKARAjuQAJ0TgLkxEWVgXNPUumeR9d S24mC9cgCfXve3
> k/2Av/DTlUg8ZGq2xTpmaIU=
> =25ei
> -----END PGP SIGNATURE-----












Reply With Quote