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
I can run command 'man chroot' and get a man page.
I have installed 'fakechroot' deb package.
Why can't I run the 'chroot' command?
--
Regards, Paul Chany
http://csanyi-pal.info
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87vd875s7n.fsf@gmail.com">http://lists.debian.org/87vd875s7n.fsf@gmail.com
07-22-2010, 05:49 PM
Jordon Bedwell
bash: chroot: command not found
On 7/22/10 12:42 PM, Paul Chany wrote:
Hi,
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
I can run command 'man chroot' and get a man page.
I have installed 'fakechroot' deb package.
Why can't I run the 'chroot' command?
--
Regards, Paul Chany
http://csanyi-pal.info
Did you make sure to install debootstrap?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> but can't to run the
>> 'chroot /chroot64'
>>
>> command because I get an error message:
>> bash: chroot: command not found
>>
>> I can run command 'man chroot' and get a man page.
>> I have installed 'fakechroot' deb package.
>>
>> Why can't I run the 'chroot' command?
> Did you make sure to install debootstrap?
I have installed debootstrap:
$ aptitude search debootstrap
i cdebootstrap
p cdebootstrap-static
i A debootstrap
--
Regards, Paul Chany
You can freely correct me in my English.
http://csanyi-pal.info
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87ocdz5rhq.fsf@gmail.com">http://lists.debian.org/87ocdz5rhq.fsf@gmail.com
07-22-2010, 06:02 PM
Sven Joachim
bash: chroot: command not found
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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87fwzb5r96.fsf@turtle.gmx.de">http://lists.debian.org/87fwzb5r96.fsf@turtle.gmx.de
07-22-2010, 06:24 PM
Paul Chany
bash: chroot: command not found
Sven Joachim <svenjoac@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
>> Why can't I run the 'chroot' command?
>
> If running it as root fails, check your PATH and your coreutils
> installation.
--
Regards, Paul Chany
You can freely correct me in my English.
http://csanyi-pal.info
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 877hkn5q8c.fsf@gmail.com">http://lists.debian.org/877hkn5q8c.fsf@gmail.com
07-22-2010, 06:29 PM
Erwan David
bash: chroot: command not found
Le Thu 22/07/2010, Paul Chany disait
> Sven Joachim <svenjoac@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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100722182915.GC2156@rail.eu.org">http://lists.debian.org/20100722182915.GC2156@rail.eu.org
07-22-2010, 06:35 PM
Paul Chany
bash: chroot: command not found
Erwan David <erwan@rail.eu.org> writes:
> Le Thu 22/07/2010, Paul Chany disait
>> Sven Joachim <svenjoac@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 ?
I think that the problem is that that I have not reboot yet with the
installed new kernel: vmlinuz-2.6.26-2-amd64
but try that command when run the older kernel: vmlinuz-2.6.26-2-686,
right?
--
Regards, Paul Chany
You can freely correct me in my English.
http://csanyi-pal.info
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 871vav5pqq.fsf@gmail.com">http://lists.debian.org/871vav5pqq.fsf@gmail.com
07-22-2010, 06:43 PM
Paul Chany
bash: chroot: command not found
Erwan David <erwan@rail.eu.org> writes:
> Le Thu 22/07/2010, Paul Chany disait
>> Sven Joachim <svenjoac@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 ?
No, it isn't there.
$ ls /chroot64/
debootstrap var
--
Regards, Paul Chany
You can freely correct me in my English.
http://csanyi-pal.info
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87wrsn4asg.fsf@gmail.com">http://lists.debian.org/87wrsn4asg.fsf@gmail.com
07-22-2010, 08:09 PM
Sven Joachim
bash: chroot: command not found
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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 874ofr5lef.fsf@turtle.gmx.de">http://lists.debian.org/874ofr5lef.fsf@turtle.gmx.de
07-25-2010, 01:54 AM
Onur Aslan
bash: chroot: command not found
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):