You are not logged in.

#1 2013-06-02 14:02:39

garabombo
Member
Registered: 2013-06-02
Posts: 3

Install from existing linux: cannot start pacman

I have been trying to install Arch from within my Kubuntu 12.04 64bit system following the guide at https://wiki.archlinux.org/index.php/In … ting_Linux using the method 2.
I launched the script and it created all the folders and everything went fine in the script until the last 2 lines:

chroot $CHROOT_DIR /usr/bin/pacman -Sy
chroot $CHROOT_DIR /bin/bash

(I launched the script from within terminal)

These are the errors that I got:

chroot: failed to run command `pacman': No such file or directory
chroot: failed to run command `bash': No such file or directory

And I am stuck, I checked the folders and both exist.

I searched the forums but I cannot find any help... sorry if maybe I've skipped something.

Anybody can help?

Offline

#2 2013-06-03 10:27:08

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,166

Re: Install from existing linux: cannot start pacman

maybe you hadn't set CHROOT_DIR in that terminal ?

echo $CHROOT_DIR

is an easy way to verify what the terminal you're typing that command in thinks it's set to.

Last edited by Lone_Wolf (2013-06-03 10:27:19)


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

#3 2013-06-04 17:11:10

garabombo
Member
Registered: 2013-06-02
Posts: 3

Re: Install from existing linux: cannot start pacman

Thank you for your help @Lone_Wolf, I'll try as soon as I am back home.

Offline

Board footer

Powered by FluxBB