Re: [gentoo-user] chroot problem

2008-06-02 Thread Peter Humphrey
On Sunday 01 June 2008 20:10:22 Neil Bothwick wrote: > On Sun, 1 Jun 2008 18:51:02 +0100, Peter Humphrey wrote: > > * Is there a way to find out what USE flags a package has been compiled > > with when it's not the current system but a rescue system mounted > > temporarily in it? Anyone? > > Look i

Re: [gentoo-user] chroot problem

2008-06-01 Thread Neil Bothwick
On Sun, 1 Jun 2008 18:51:02 +0100, Peter Humphrey wrote: > * Is there a way to find out what USE flags a package has been compiled > with when it's not the current system but a rescue system mounted > temporarily in it? Anyone? Look in var/db/pkg/cate-gory/pkgname-version/USE -- Neil Bothwick

Re: [gentoo-user] chroot problem

2008-06-01 Thread Peter Humphrey
On Saturday 31 May 2008 21:09:52 Alexander Meinke wrote: > However, I think this problem is [neither] mount nor bash related. Try > > # mount -tproc proc /mnt/rescue/proc > # mount -obind /dev /mnt/rescue/dev > # chroot /mnt/rescue /bin/bash That's almost exactly what I did. To be certain, I trie

Re: [gentoo-user] chroot problem

2008-06-01 Thread Duane Griffin
2008/5/29 Peter Humphrey <[EMAIL PROTECTED]>: > I have no problem chrooting into a system on the hard disk if I've booted > from an installation CD, but every time I try it after booting from another > HD partition I get e.g. this: > > # chroot /mnt/rescue /bin/bash > chroot: cannot run command `/b

Re: [gentoo-user] chroot problem

2008-05-31 Thread Alexander Meinke
Wolf Canis wrote: # mount -tproc proc /mnt/rescue/proc # mount -obind /dev /mnt/rescue/dev Ooops, I overlooked your cd command. Therefore the mount command is of course correct. :-[ Hi, I think this is, although the 'cd' command is executed, necessary as the mount command looks at /etc/fsta

Re: [gentoo-user] chroot problem

2008-05-31 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wolf Canis wrote: > Peter Humphrey wrote: > [...] >> # cd /mnt/rescue >> # mount -tproc proc proc >> # mount -obind /dev dev > > I mean that the mount commands should be: > > # mount -tproc proc /mnt/rescue/proc > # mount -obind /dev /mnt/rescue/dev

Re: [gentoo-user] chroot problem

2008-05-31 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Humphrey wrote: [...] > # cd /mnt/rescue > # mount -tproc proc proc > # mount -obind /dev dev I mean that the mount commands should be: # mount -tproc proc /mnt/rescue/proc # mount -obind /dev /mnt/rescue/dev I just build a mini chroot environ

Re: [gentoo-user] chroot problem

2008-05-31 Thread Peter Humphrey
On Thursday 29 May 2008 10:28:40 Dirk Heinrichs wrote: > Am Donnerstag, 29. Mai 2008 schrieb ext Peter Humphrey: > > What am I doing wrong? > > Just a wild guess: /mnt/rescue mounted with noexec? No, that isn't it. -- Rgds Peter -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] chroot problem

2008-05-31 Thread Peter Humphrey
On Thursday 29 May 2008 10:50:59 [EMAIL PROTECTED] wrote: > Wolf Canis <[EMAIL PROTECTED]> > > Only for verification, have you under /mnt/rescue /bin/bash? > > Or with other words have this /mnt/rescue/bin/bash? > > And with the appropriate permissions? Yes, I said so the first time. > > W. Canis

Re: [gentoo-user] chroot problem

2008-05-29 Thread tecnic5
Wolf Canis <[EMAIL PROTECTED]> 29/05/2008 11:38 Por favor, responda a gentoo-user Para: gentoo-user@lists.gentoo.org cc: Asunto: Re: [gentoo-user] chroot problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Humphrey wrote: > I have no problem chrooti

Re: [gentoo-user] chroot problem

2008-05-29 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Humphrey wrote: > I have no problem chrooting into a system on the hard disk if I've booted > from an installation CD, but every time I try it after booting from another > HD partition I get e.g. this: > > # chroot /mnt/rescue /bin/bash > chro

Re: [gentoo-user] chroot problem

2008-05-29 Thread Justin
Dirk Heinrichs schrieb: Am Donnerstag, 29. Mai 2008 schrieb ext Justin: # cd /mnt/rescue # mount -tproc proc proc # mount -obind /dev dev ...first. What am I doing wrong? # cd /mnt/rescue # mount -t proc proc proc # mount -o bind /dev dev You forgot some spaces! They're ir

Re: [gentoo-user] chroot problem

2008-05-29 Thread Dirk Heinrichs
Am Donnerstag, 29. Mai 2008 schrieb ext Peter Humphrey: > I have no problem chrooting into a system on the hard disk if I've booted > from an installation CD, but every time I try it after booting from > another HD partition I get e.g. this: > > # chroot /mnt/rescue /bin/bash > chroot: cannot run c

Re: [gentoo-user] chroot problem

2008-05-29 Thread Dirk Heinrichs
Am Donnerstag, 29. Mai 2008 schrieb ext Justin: > > # cd /mnt/rescue > > # mount -tproc proc proc > > # mount -obind /dev dev > > > > ...first. > > > > What am I doing wrong? > > # cd /mnt/rescue > # mount -t proc proc proc > # mount -o bind /dev dev > > > You forgot some spaces! They're irreleva

Re: [gentoo-user] chroot problem

2008-05-29 Thread Justin
Peter Humphrey schrieb: I have no problem chrooting into a system on the hard disk if I've booted from an installation CD, but every time I try it after booting from another HD partition I get e.g. this: # chroot /mnt/rescue /bin/bash chroot: cannot run command `/bin/bash': Permission denied

[gentoo-user] chroot problem

2008-05-29 Thread Peter Humphrey
I have no problem chrooting into a system on the hard disk if I've booted from an installation CD, but every time I try it after booting from another HD partition I get e.g. this: # chroot /mnt/rescue /bin/bash chroot: cannot run command `/bin/bash': Permission denied Ls shows the same permissi