On Wed, Jul 17, 2024, 19:09 Vitaly Zdanevich wrote:
> My script in the chroot folder:
>
> ```
> mount --rbind /dev dev
> mount --make-rslave dev
> mount -t proc /proc proc
> mount --rbind /sys sys
> mount --make-rslave sys
> mount --rbind /tmp tmp
> mount --bind /run run
>
> mount -o bind /var/db
Hi Vitaly,
On Wednesday, 17 July 2024 18:08:08 BST Vitaly Zdanevich wrote:
> Hi, I did a chroot according to
> https://wiki.gentoo.org/index.php?title=Chroot
>
> My script in the chroot folder:
>
> ```
> mount --rbind /dev dev
> mount --make-rslave dev
> mount -t proc /proc proc
> mount --rbind
Hi, I did a chroot according to
https://wiki.gentoo.org/index.php?title=Chroot
My script in the chroot folder:
```
mount --rbind /dev dev
mount --make-rslave dev
mount -t proc /proc proc
mount --rbind /sys sys
mount --make-rslave sys
mount --rbind /tmp tmp
mount --bind /run run
mount -o bind /
On Sunday 04 January 2009 06:41:31 Zhang Weiwu wrote:
> Hello. Sorry for stupid newbie question:
>
> # cp /bin/sh /usr/local/bin/sh
> # chroot /usr/local /bin/sh
> chroot: cannot run command `/bin/sh': No such file or directory
>
> In theory it should work, right? This is the first time I run chroo
Hello. Sorry for stupid newbie question:
# cp /bin/sh /usr/local/bin/sh
# chroot /usr/local /bin/sh
chroot: cannot run command `/bin/sh': No such file or directory
In theory it should work, right? This is the first time I run chroot not
for rescuing a broken system (which means /dev/ and /proc/ a
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
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
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
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
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
-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
-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
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
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
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
-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
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
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
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
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
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
Dan Farrell wrote:
> On Tue, 20 Nov 2007 21:33:15 -0600
> "Anthony E. Caudel" <[EMAIL PROTECTED]> wrote:
>
>
>> I have an AMD64 chip and have separate Gentoo x86 and x86_64 distros.
>> Gentoo has a "32Bit Chroot Guide for Gentoo/AMD64" but this guide only
>> discusses setting up a separate 32bi
On Tue, 20 Nov 2007 21:33:15 -0600
"Anthony E. Caudel" <[EMAIL PROTECTED]> wrote:
> I have an AMD64 chip and have separate Gentoo x86 and x86_64 distros.
> Gentoo has a "32Bit Chroot Guide for Gentoo/AMD64" but this guide only
> discusses setting up a separate 32bit environment within the 64bit
>
Anthony E. Caudel wrote:
> I have an AMD64 chip and have separate Gentoo x86 and x86_64 distros.
> Gentoo has a "32Bit Chroot Guide for Gentoo/AMD64" but this guide only
> discusses setting up a separate 32bit environment within the 64bit
> Gentoo. I was wondering if it could be used, suitably mo
I have an AMD64 chip and have separate Gentoo x86 and x86_64 distros.
Gentoo has a "32Bit Chroot Guide for Gentoo/AMD64" but this guide only
discusses setting up a separate 32bit environment within the 64bit
Gentoo. I was wondering if it could be used, suitably modified, to
chroot from my x86_64
On Friday 15 December 2006 01:54, Bertram Scharpf wrote:
> Hi,
>
> I try to chroot to a brand new environment, freshly unpacked
> from stage 3:
>
> kyle # chroot /mnt/hdb/ /bin/bash
> FATAL: kernel too old
> kyle # uname -a
> Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Li
On 12/14/06, Bertram Scharpf <[EMAIL PROTECTED]> wrote:
Hi,
I try to chroot to a brand new environment, freshly unpacked
from stage 3:
kyle # chroot /mnt/hdb/ /bin/bash
FATAL: kernel too old
kyle # uname -a
Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux
After tha
Bertram Scharpf wrote:
> I try to chroot to a brand new environment, freshly unpacked
> from stage 3:
>
> kyle # chroot /mnt/hdb/ /bin/bash
> FATAL: kernel too old
> kyle # uname -a
> Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686
2.6.8? That's old. Why not upgrade the kernel
Hi,
I try to chroot to a brand new environment, freshly unpacked
from stage 3:
kyle # chroot /mnt/hdb/ /bin/bash
FATAL: kernel too old
kyle # uname -a
Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux
After that, I unpacked stage 1. The boostrap worked fine until
durin
On 9/20/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:
On Thursday 21 September 2006 05:06, Drew wrote:
> > You need a 64 bit kernel with CONFIG_IA32_EMUL enabled.
>
> Uh no. A 32bit chroot can be run on a 64bit kernel with IA32_EMUL
> enabled however a 64bit chroot can *NOT* be run from a 32b
On Thursday 21 September 2006 05:06, Drew wrote:
> > You need a 64 bit kernel with CONFIG_IA32_EMUL enabled.
>
> Uh no. A 32bit chroot can be run on a 64bit kernel with IA32_EMUL
> enabled however a 64bit chroot can *NOT* be run from a 32bit kernel.
Err..., which differs from what I stated exactly
You need a 64 bit kernel with CONFIG_IA32_EMUL enabled.
Uh no. A 32bit chroot can be run on a 64bit kernel with IA32_EMUL
enabled however a 64bit chroot can *NOT* be run from a 32bit kernel.
-Drew
--
gentoo-user@gentoo.org mailing list
On Wednesday 20 September 2006 22:07, S. M. Ibrahim (Lavlu) wrote:
> how can i chroot to gentoo amd64 from 32 bit Linux ??
You need a 64 bit kernel with CONFIG_IA32_EMUL enabled. See [1] for more
details...
[1]
http://groups.google.com/group/linux.gentoo.user/browse_frm/thread/e4629ea8751a9ab4/
On 9/20/06, S. M. Ibrahim (Lavlu) <[EMAIL PROTECTED]> wrote:
how can i chroot to gentoo amd64 from 32 bit Linux ??
You would be trying to run 64 bit programs on a 32 bit operation
system? That doesn't sound like it will work too well ;) If you need
to chroot, use a 64 bit live cd (unless you ca
how can i chroot to gentoo amd64 from 32 bit Linux ??-- S. M. Ibrahim (Lavlu)Home page: http://lavluda.tripod.comBlog: http://lavluda.tk
Yahoo!! ID: lavluda MSN ID: lavluda Skype : lavluda
Hi,
William Kenworthy napisał(a):
so bash needs glibc!
Sure :)
Your best bet would be to locate a glibc bin package (from the
livecd?)and untar it in / of your system, then it should work enough to
rebuild properly. You could just copy in the missing libs as you
discover them, but thats p
Hi oskar,
on Saturday, 2006-07-22 at 13:45:01, you wrote:
> chroot: cannot run command `/bin/bash': No such file or directory
>
> of course file is present, executable, and I'm doing it as su...
You should be fine if ou follow William's instructions. The reason for
this is the error the linker re
moriah ~ # ldd /bin/bash
linux-gate.so.1 => (0xe000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7f28000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f23000)
libc.so.6 => /lib/libc.so.6 (0xb7dec000)
/lib/ld-linux.so.2 (0xb7f84000)
moriah ~ # equery belongs /lib/l
Hi,
I unmerged glibc, I know it's stupid, by I did it. I know how to solve
the problem, but sth is wrong with chroot:
I boot from liveCD 2006.0 (my arch is x86) and:
mount all my filesytem into /mnt/gentoo as a new root
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chro
On Wed, Mar 29, 2006 at 03:44:02PM +0200, Arnau Bria Ram??rez wrote
> Maybe I don't understand the benefits of your action, but what
> advantages do you get doing so? I always do a emerge -uD world,
> so package and its dependency... I do not care if dependency it's
> in world or not...
>
> Pleas
On Wed, 29 Mar 2006 12:05:35 -0500, JimD wrote:
> I like that idea. Though it doesn't always work. For example, last
> night I did an emerge -vb gnome and woke up to find that it died only
> 30 minutes into the build. I was expecting to have a full gnome
> desktop today, but I am still building
On Wed, 29 Mar 2006 01:55:43 -0500
"Walter Dnes" <[EMAIL PROTECTED]> wrote:
> That's not necessary. I regularly...
> - start off with a basic text-console-only install
> - and then I fire up "emerge gimp" before heading off to work
I need those apps installed so I can get mail and serve my
El Wed, 29 Mar 2006 01:55:43 -0500
Walter Dnes dijo:
Hi!
> That's not necessary. I regularly...
> - start off with a basic text-console-only install
> - and then I fire up "emerge gimp" before heading off to work
>
> By the time I get home from work, Portage has pulled in and built the
>
Walter Dnes wrote:
>
> That's not necessary. I regularly...
> - start off with a basic text-console-only install
> - and then I fire up "emerge gimp" before heading off to work
>
> By the time I get home from work, Portage has pulled in and built the
>approximately 40 packages necessary to ge
On Mon, Mar 27, 2006 at 06:14:32PM -0500, JimD wrote
> Is is safe to continue to build in a chroot? The handbook say to boot
> into my new gentoo system. However, I would like to continue to build
> in the chroot (from another Gentoo 2006.0) until I have X, Fluxbox,
> Firefox, Postfix, Apache, My
On Monday 27 March 2006 23:21, Boyd Stephen Smith Jr. wrote:
> > "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> > > Yes, that's an option to, although with more than ~768K of ram it's
> > > not ideal.
Maybe not ideal (especially on 64-bit processors) it is more than possible to
address a lo
On Monday 27 March 2006 20:43, JimD <[EMAIL PROTECTED]> wrote
about 'Re: [gentoo-user] chroot':
> On Mon, 27 Mar 2006 19:56:22 -0600
> "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> > Yes, that's an option to, although with more than ~76
On Mon, 27 Mar 2006 19:56:22 -0600
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> Yes, that's an option to, although with more than ~768K of ram it's
> not ideal.
Why is that? I thought 32-bit should have no problems addressing
2GB?
> emerge crossdev
> crossdev -s2 -t x86_64
> make ARCH=
On Monday 27 March 2006 19:20, JimD <[EMAIL PROTECTED]> wrote
about 'Re: [gentoo-user] chroot':
> On Mon, 27 Mar 2006 18:55:46 -0600
>
> "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> > How much RAM do you have? <4G, you might just go
On Mon, 27 Mar 2006 18:55:46 -0600
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> How much RAM do you have? <4G, you might just go with a full 32-bit
> userland and only a 64-bit kernel.
I have 2G. Couldn't I do 32-bit userland and 32-bit kernel? The
reason for a 32-bit kernel is becau
On Monday 27 March 2006 18:30, JimD <[EMAIL PROTECTED]> wrote
about 'Re: [gentoo-user] chroot':
> On Mon, 27 Mar 2006 18:16:31 -0600
>
> "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> > There /could/ be issues if you booted from a livecd that
On Mon, 27 Mar 2006 18:16:31 -0600
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> There /could/ be issues if you booted from a livecd that has a
> different CHOST than you are building the system for, but if you are
> doing something that crazy, I'd hope you'd tell us in your initial
> emai
On Monday 27 March 2006 17:14, JimD <[EMAIL PROTECTED]> wrote
about '[gentoo-user] chroot':
> Is is safe to continue to build in a chroot? The handbook say to boot
> into my new gentoo system. However, I would like to continue to build
> in the chroot (from another Gent
Is is safe to continue to build in a chroot? The handbook say to boot
into my new gentoo system. However, I would like to continue to build
in the chroot (from another Gentoo 2006.0) until I have X, Fluxbox,
Firefox, Postfix, Apache, Mysql and Courier built. This way I will
have the minimal I ne
On Friday 24 February 2006 06:56, Bo Andresen <[EMAIL PROTECTED]> wrote
about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
format error [SOLVED]':
> Actually I guess I could just download the the amd64 livecd, mount it,
> copy its kernel to the ha
On Friday 24 February 2006 06:18, Boyd Stephen Smith Jr. wrote:
> > via linux # make ARCH=x86_64 CC="gcc -m64"
> > CHK include/linux/version.h
> > UPD include/linux/version.h
> > SPLIT include/linux/autoconf.h -> include/config/*
> > CC arch/x86_64/kernel/asm-offsets.s
> > cc
On Thursday 23 February 2006 19:07, Bo Andresen <[EMAIL PROTECTED]>
wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
format error':
> On Friday 24 February 2006 01:56, Boyd Stephen Smith Jr. wrote:
> > So, why don't you give it a go
On Friday 24 February 2006 01:56, Boyd Stephen Smith Jr. wrote:
> So, why don't you give it a go with:
> make ARCH=x86_64 CC="gcc -m64" menuconfig
> make ARCH=x86_64 CC="gcc -m64"
> make ARCH=x86_64 CC="gcc -m64" modules_install
> make ARCH=x86_64 CC="gcc -m64" install
>
> and let me know how it go
On Thursday 23 February 2006 18:32, "Boyd Stephen Smith Jr."
<[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] chroot: cannot run
command `bin/bash': Exec format error':
> Try:
> make ARCH=x86_64 CFLAGS=-m64
Nah, don't. It won't help, the kernel&
On Thursday 23 February 2006 18:16, Bo Andresen <[EMAIL PROTECTED]>
wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
format error':
> On Friday 24 February 2006 01:12, Bo Andresen wrote:
> > On Friday 24 February 2006 00:52, Boyd Stephen S
On Friday 24 February 2006 01:12, Bo Andresen wrote:
> On Friday 24 February 2006 00:52, Boyd Stephen Smith Jr. wrote:
> > So, it's starting from your i686 config, and trying to use it to assign
> > as many symbols as possible to the new x86_64 kernel. Some of the
> > symbols just won't exist.
> >
On Friday 24 February 2006 00:52, Boyd Stephen Smith Jr. wrote:
> So, it's starting from your i686 config, and trying to use it to assign as
> many symbols as possible to the new x86_64 kernel. Some of the symbols
> just won't exist.
>
> When you 'make ARCH=x86_64 menuconfig', can you find the IA3
On Thursday 23 February 2006 17:25, Bo Andresen <[EMAIL PROTECTED]>
wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
format error':
> On Thursday 23 February 2006 23:33, Boyd Stephen Smith Jr. wrote:
> > On Thursday 23 February 2006
On Thursday 23 February 2006 23:33, Boyd Stephen Smith Jr. wrote:
> On Thursday 23 February 2006 15:56, Bo Andresen <[EMAIL PROTECTED]>
> > > A 64-bit kernel will run 32-bit binaries fine... Um, there may be a
> > > needed kernel option though... CONFIG_IA32_EMUL? Anyone?
> >
> > I cannot seem to f
On Thursday 23 February 2006 15:56, Bo Andresen <[EMAIL PROTECTED]>
wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
format error':
> > > Will a 64 bit kernel be able to run a 32 bit bash?
> >
> > A 64-bit kernel will run
On Thursday 23 February 2006 22:40, Boyd Stephen Smith Jr. wrote:
> On Thursday 23 February 2006 15:31, Bo Andresen <[EMAIL PROTECTED]>
> wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
>
> format error':
> > On Thursday 23 Feb
On Thursday 23 February 2006 15:31, Bo Andresen <[EMAIL PROTECTED]>
wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
format error':
> On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote:
> > > livecd gentoo # chroot /mnt/gen
On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote:
> > livecd gentoo # chroot /mnt/gentoo bin/bash
> > chroot: cannot run command `bin/bash': Exec format error
>
> Your 32-but kernel can't run the 64-bit bash. You'll have to use a 64-bit
> kernel (or as 32-bit stage3, and then gradu
On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote:
> Your 32-but kernel can't run the 64-bit bash. You'll have to use a 64-bit
> kernel (or as 32-bit stage3, and then gradually recompile)
Thanks for explaining that.
> If you have a little bit of free space, do a 32-bit install to
On Wednesday 22 February 2006 17:03, Bo Andresen <[EMAIL PROTECTED]>
wrote about '[gentoo-user] chroot: cannot run command `bin/bash': Exec
format error':
> I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
> processor. I am installing it following
2006/2/23, Bo Andresen <[EMAIL PROTECTED]>:
> Hi
>
Hi,
> I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
> processor. I am installing it following the gentoo handbook of the amd64
> architecture - only I am using the x86 minimal livecd (2005-r1) and the
> stage3-amd64-2005.1-
On 2/22/06 5:03 PM, "Bo Andresen" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
> processor. I am installing it following the gentoo handbook of the amd64
> architecture - only I am using the x86 minimal livecd (2005-r1) and the
> sta
Hi
I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
processor. I am installing it following the gentoo handbook of the amd64
architecture - only I am using the x86 minimal livecd (2005-r1) and the
stage3-amd64-2005.1-r1.tar.bz2 tarball. Shouldn that be a problem?
When I ge
73 matches
Mail list logo