You are not logged in.

#1 2006-06-01 09:00:28

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

[Rubix/Slack/Arch] Cannot chroot, "bash does not exist&

This isn't probably the best place to ask, but since you all are so friendly and ever helpful I thought I just might. smile

I'm actually trying to install Rubix (Arch based) on an old laptop. I'm using Rubix because it's i486 and it uses pacman! The laptop doesn't have a CD or USB drive, just floppy and PCMCIA LAN.  I'm using the Slackware boot- and rootdisks (bare.i, install.1, install.2, pcmcia.dsk)
So far I've managed to extract the Rubix base install using tar.

That probably didn't generate an appropriate pacman db so now I'm trying to chroot into the new installation and reinstall the packages using pacman. However, when I try to chroot I keep getting this error:

root@slackware:/# chroot /mnt /mnt/bin/bash
chroot: cannot execute /mnt/bin/bash: No such file or directory

I don't get it because /mnt/bin/bash most certainly exists and it's got +x permissions.

I can't use pacman.static either: "warning: cannot find chroot binary - unable to run scriptlets".

Any help is greatly appreciated. Sorry for the thread not really being Arch related.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#2 2006-06-01 10:41:52

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [Rubix/Slack/Arch] Cannot chroot, "bash does not exist&

is the partition mounted with the noexec flag? if it isnt specified, try mounting it with the 'exec' flag.

Offline

#3 2006-06-01 11:19:34

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: [Rubix/Slack/Arch] Cannot chroot, "bash does not exist&

That didn't help. However, it gave me an idea: I tried executing /mnt/bin/bash and it crapped out on me saying it couldn't load libtermcap.so.2. I only untarred the files from the "a" repository. It contains the base packages, but no libraries. I have to install the appropriate ones I think.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#4 2006-06-01 11:28:09

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: [Rubix/Slack/Arch] Cannot chroot, "bash does not exist&

Wooohooo! I had to install the libtermcap package. I'm chrooted!


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#5 2006-06-03 22:21:05

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: [Rubix/Slack/Arch] Cannot chroot, "bash does not exist&

I may be wrong but the problem may be due to bash being located in the mount point being chrooted ( /mnt/bin/bash in /mnt ) .

Offline

Board footer

Powered by FluxBB