You are not logged in.

#1 2006-06-16 13:00:32

hypermegachi
Member
Registered: 2004-07-25
Posts: 311

i cannot get arch into a chroot environment

i have everything for arch under /archlinux....i.e. i have
/archlinux/usr
/archlinux/opt
/archlinux/bin
/archlinux/boot
etc...

i chroot into that directory, and nothing appears to work.

$:/ ls
ls: unrecognized prefix: su
ls: unparsable value for LS_COLORS environment variable

$:/ pacman -Syu
:: Synchronizing package databases...
warning: failed to get filesize for current.db.tar.gz
warning: failed to get mtime for current.db.tar.gz
 current                  [################] 64355%      11K     0.0K/s  00:00:0
 current                  [################] 128711%      22K     0.0K/s  00:00:
 current                  [################] 193066%      33K     0.0K/s  00:00:
 current                  [################] 257422%      45K     0.0K/s  00:00:
 current                  [################] 321777%      56K     0.0K/s  00:00:
 current                  [################] 378950%      66K     0.0K/s  00:00:
 current                  [################] 100%       0K     0.0K/s  00:00:00

$:/ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin

ubuntu is the host os, if that helps.

Offline

#2 2006-06-16 16:05:31

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: i cannot get arch into a chroot environment

I have it working perfeclty inside chroot. Do you have all necessary base packages installed (including glibc, bash and filesystem)?

Offline

#3 2006-06-16 16:36:57

hypermegachi
Member
Registered: 2004-07-25
Posts: 311

Re: i cannot get arch into a chroot environment

brain0 wrote:

I have it working perfeclty inside chroot. Do you have all necessary base packages installed (including glibc, bash and filesystem)?

it's a complete working system.

Offline

#4 2006-06-19 04:36:48

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: i cannot get arch into a chroot environment

hyper, a complete working ubuntu system (right from the cd )doesnt have build utils. So check if they are there!


Be yourself, because you are all that you can be

Offline

#5 2006-06-19 09:30:52

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: i cannot get arch into a chroot environment

ScriptDevil wrote:

hyper, a complete working ubuntu system (right from the cd )doesnt have build utils. So check if they are there!

I've chrooted from an ubuntu livecd (5.10) into my arch install multiple times without problem.

Offline

#6 2006-06-20 14:19:18

hypermegachi
Member
Registered: 2004-07-25
Posts: 311

Re: i cannot get arch into a chroot environment

ScriptDevil wrote:

hyper, a complete working ubuntu system (right from the cd )doesnt have build utils. So check if they are there!

i'm not sure i understand...why would the chrooted arch depend on anything from the host distro?

Offline

#7 2006-06-22 12:32:06

hypermegachi
Member
Registered: 2004-07-25
Posts: 311

Re: i cannot get arch into a chroot environment

alright...i moved /archlinux into its own partition.  it works fine now.

Offline

Board footer

Powered by FluxBB