From: Sven Joachim on
On 2010-07-22 19:42 +0200, Paul Chany wrote:

> I'm trying to follow
> http://wiki.debian.org/Migrate32To64Bit
>
> but can't to run the
> 'chroot /chroot64'
>
> command because I get an error message:
> bash: chroot: command not found

Did you do this as an ordinary user? You have to be root for chroot to
work.

> I can run command 'man chroot' and get a man page.
> I have installed 'fakechroot' deb package.

Irrelevant.

> Why can't I run the 'chroot' command?

If running it as root fails, check your PATH and your coreutils
installation.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/87fwzb5r96.fsf(a)turtle.gmx.de
From: Erwan David on
Le Thu 22/07/2010, Paul Chany disait
> Sven Joachim <svenjoac(a)gmx.de> writes:
>
> > On 2010-07-22 19:42 +0200, Paul Chany wrote:
> >
> >> I'm trying to follow
> >> http://wiki.debian.org/Migrate32To64Bit
> >>
> >> but can't to run the
> >> 'chroot /chroot64'
> >>
> >> command because I get an error message:
> >> bash: chroot: command not found
> >
> > Did you do this as an ordinary user? You have to be root for chroot
> > to work.
>
> Yes, I did but now I tried it as root user too:
> # chroot /chroot64/
> chroot: cannot run command `/bin/bash': No such file or directory

is there a /chroot64/bin/bash ?

--
Erwan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100722182915.GC2156(a)rail.eu.org
From: Sven Joachim on
On 2010-07-22 20:35 +0200, Paul Chany wrote:

> I think that the problem is that that I have not reboot yet with the
> installed new kernel: vmlinuz-2.6.26-2-amd64

You have to do that _first_, before you run debootstrap to populate the
/chroot64 directory.

> but try that command when run the older kernel: vmlinuz-2.6.26-2-686,
> right?

You won't be able to run amd64 binaries with that kernel.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/874ofr5lef.fsf(a)turtle.gmx.de
From: Onur Aslan on
On Thu, Jul 22, 2010 at 08:43:43PM +0200, Paul Chany wrote:
> No, it isn't there.
> $ ls /chroot64/
> debootstrap var

Looks like your 64-bit installation with debootstrap isn't complete.
Try to install new one with this command and make sure your installation is
done without any error (lenny is your choice):

debootstrap --arch=amd64 lenny /chroot64/

--
.''`. Debian GNU/Linux
: :' : Onur Aslan <onur(a)0nur.net> 0x900CB80C
`. `' web: http://0nur.net/
`- gpg --keyserver subkeys.pgp.net --recv-keys 0x900CB80C