You are not logged in.

#1 2012-10-15 06:18:36

vikrang
Member
Registered: 2010-10-07
Posts: 67

unable to chroot - fresh install

i am just following the wiki -install guide

I have booted the system from live USB, set up internet. , storage drive is also prepared and kept ready . (I have formatted a logical drive /dev/sda6).

Next I mount /dev/sda6 in /mnt

When i run arch-chroot /mnt

first it gave me the error that /mnt/proc does not exist , so I created that directory,
Next , I ran the command , it gave the error /mnt/dev does not exist . So manually created.
Then , I ran the command , it gave the error /mnt/sys does not exist , so manually created
Then , I ran the command , /mnt/tmp , so created , next /dev/run , created....

I manually created the tree structure based on the errors

i also created /mnt/etc and copied resolv.conf

Finally when I gave the arch-chroot , I get /bin/sh  not found....

Should I follow traditional chroot

mount --bind /dev /mnt/dev
mount -t proc none /mnt/proc
mount --bind /sys /mnt/sys

or something similar?!!!

Pl help...This is a killer way to install...Sucking up all of my patience!!

Last edited by vikrang (2012-10-15 06:22:13)

Offline

#2 2012-10-15 06:24:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: unable to chroot - fresh install

Did you actually set anything up in the chroot (ie with pacstrap) before running arch-chroot? Sounds like you missed a HUGE part of the install guide.

https://wiki.archlinux.org/index.php/In … ase_system

Last edited by Scimmia (2012-10-15 06:25:44)

Offline

#3 2012-10-15 06:33:12

vikrang
Member
Registered: 2010-10-07
Posts: 67

Re: unable to chroot - fresh install

Well , the first ime around i had done pacstrap /mnt base base-devel after mounting /dev/sda6 (empty ext4 partition)...It seemed to install all the packages from base and base-devel pulling in 150 odd MB from the server. . I chrooted as mentioned and it went in fine.

But If I tried to execute anything inside the chroot , like say pacman -Syy , it would say , cannot run the command in a chrooted environment

So, I rebooted ,loading the kernel manually from grub prompt ,I was presented with root shell  but to my surprise none of the commands worked ..It seemed to be like a read only system ..

So I thought , first I have to chroot and then install the files and then reboot

That's when the above happened!

Seems to go over me!

Last edited by vikrang (2012-10-15 06:44:05)

Offline

#4 2012-10-15 06:53:37

plustwo
Member
From: South Africa, ZA
Registered: 2012-09-13
Posts: 32

Re: unable to chroot - fresh install

hi,
have a look at this post;
https://bbs.archlinux.org/viewtopic.php?id=147272&p=11
might help

Offline

#5 2012-10-15 07:07:20

vikrang
Member
Registered: 2010-10-07
Posts: 67

Re: unable to chroot - fresh install

The link frankly seems to be greek and Latin to me , I am sorry ...I am not a techie... But like arch nevertheless.


Please bring back /arch/setup!! );

We want easier installs!!

Last edited by vikrang (2012-10-15 07:09:18)

Offline

#6 2012-10-15 07:10:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: unable to chroot - fresh install

Speak for yourself. There are a lot of us that prefer the new method over the AIF.

As for why you couldn't run anything inside the chroot, did you use any options when mounting sda6?

Offline

#7 2012-10-15 07:12:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: unable to chroot - fresh install

vikrang wrote:

The link frankly seems to be greek and Latin to me , I am sorry ...I am not a techie... But like arch nevertheless.


Please bring back /arch/setup!! );

We want easier installs!!


Are you really expecting the community to help you if you express those sorts of sentiments?

The install works; take your time, read the documentation and remember as you do it that all of it is created and maintained by volunteers.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-10-15 07:14:43

vikrang
Member
Registered: 2010-10-07
Posts: 67

Re: unable to chroot - fresh install

Ok ...Will give it a shot..Thx for the encouraging words

Offline

#9 2012-10-15 07:20:37

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: unable to chroot - fresh install

vikrang,

Did you ever get your wireless USB dongle working:

https://bbs.archlinux.org/viewtopic.php?id=150557

?

If so, why are you back at reinstalling Arch?  And in your other thread you mentioned that you installed firmware from another distro - is that why you are reinstalling?

I don't mean to sound harsh but the installation guide is very straight-forward.  If you are having issues in these very base steps then you will likely be frustrated later when it comes to maintaining your Arch system.

Offline

#10 2012-10-15 07:22:24

vikrang
Member
Registered: 2010-10-07
Posts: 67

Re: unable to chroot - fresh install

Well the USB issue with my Desktop... In this i am yet to come to the chroot part!! I will come back on that in some time and update on the suggestion givrn by strike0. The current issue is with my laptop,

Last edited by vikrang (2012-10-15 07:23:43)

Offline

#11 2012-10-15 07:34:55

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: unable to chroot - fresh install

Since you're posting I'm going to assume you have at least one functional operating system at your disposal.  Do not let that number go down to zero or you will find yourself well and truly screwed for accessing help and documentation.

Arch is an "advanced user" distribution.  You really are expected, no - need to understand the basics of Linux or you will be lost.  Perhaps another more forgiving distribution such as Ubuntu, Fedora, or Debian would be a gentler approach to learning Linux for you?  I went through many distributions before I settled on Arch.  I'm not a wizard in any sense of the word, but, I do know my way "around the block."  And without that experience Arch is very difficult to pick up.  Ubuntu is the friendliest Linux, Fedora is pretty good, and Debian is so stable it never changes.. wink

Offline

#12 2012-10-15 08:00:22

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: unable to chroot - fresh install

headkase wrote:

vikrang,

[snip]

I don't mean to sound harsh but the installation guide is very straight-forward.  If you are having issues in these very base steps then you will likely be frustrated later when it comes to maintaining your Arch system.

Looking at his registration date, I am positive he has used arch before. Maybe not very proficient.

Offline

#13 2012-10-15 08:02:39

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: unable to chroot - fresh install

x33a wrote:
headkase wrote:

vikrang,

[snip]

I don't mean to sound harsh but the installation guide is very straight-forward.  If you are having issues in these very base steps then you will likely be frustrated later when it comes to maintaining your Arch system.

Looking at his registration date, I am positive he has used arch before. Maybe not very proficient.

Good point.  I'm registered in 2011 and I only seriously started with Arch within the last 3 months.  A virtual machine here and there, dual booting for a bit with my Windows machine, and now on a new machine specifically purchased just for Arch/Linux.

Offline

Board footer

Powered by FluxBB