You are not logged in.
Pages: 1
Topic closed
Hello,
I am trying to install archlinux from the 2012.08.04 Installation medium. For this I am following the new installation guide (https://wiki.archlinux.org/index.php/Beginners%27_Guide), starting with the installation-heading. Until I reach the part install the base system.
When I want to execute the pacstrap-Command, the shell tells me that it cannot find the command. What am I doing wrong?
Thank you in advance
Last edited by Nagian (2012-08-16 15:37:59)
Offline
There is no such thing as "pacstrap-Command". The correct syntax is:
# pacstrap /mnt base base-devel
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Sorry for my ambigous expression, but as i already said, i was exactly following the guide and i get "pacstrap: command not found" when typing exactly that command. Maybe it has to be called in an specific folder? Or is the image really missing this script?
Last edited by Nagian (2012-08-16 05:53:52)
Offline
so you were following the guide exactly... which guide and what *exactly* were you tying? be a bit more specific and maybe someone can better help you.
Offline
As I already said I am following the Beginner's guide, starting with the installation heading (https://wiki.archlinux.org/index.php/Be … stallation).
Then I changed the keymap, and set up my wireless network. Everything is working fine until here. Afterwards I partitioned my hard drive using cfdisk. After configuring the block devices with mkfs.ext4 and mkswap (and swapon), I mounted the partition with "mount /dev/sda1 /mnt". Then I selected the wished mirror with editing the /etc/pacman.d/mirrorlist file, which means I have only one mirror remaining in this file.
Now the problem appears: I am trying to install the base system (https://wiki.archlinux.org/index.php/Be … ase_system), but if I execute "pacstrap /mnt base base-devel", the shell tells me that this command cannot be found.
I have already tried to setup the system with the aif (/arch/setup), but due to the many changes in the last few weeks, this tool also seems not to work anymore. After configuring the system (editing all the system files), I get an error that /sbin/mkinitcpio cannot be found.
EDIT:
I don't think that this is interesting for the problem, but for the case that I am wrong: I am using a Lenovo T420s.
And maybe it could be useful if someone can tell me where the file should be located, so that I can check its existence today evening...
Last edited by Nagian (2012-08-16 06:59:27)
Offline
[root@archiso ~] # which pacstrap
/usr/bin/pacstrap
Is this the latest Arch install media?
http://www.archlinux.org/download/
Try burning it to a different disc or writing it to a different USB stick, maybe even using a different method.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Yeah, i just downloaded it yesterday (Release 2012.08.04). I gonna check in the evening if this file is existing, and if not (what I am assuming...) I will try to load it from a different mirror, and burn it a second time, or use a usb-stick, if i can find one at home.
And I think that it's not advisable to just copy the file from github, make it executable, and run this one, as the disc/iso seems to be corrupted, isn't it?
Last edited by Nagian (2012-08-16 07:23:43)
Offline
Instead of using a mirror to download it, why no use a bittorrent client? Its hash tree will be checked and there will be no need to check the MD5 after the download is finished. I can't say the same for a direct download link.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
To be honest: I was too lazy, because I didn't have a bittorent client installed. But you're right, I will try this.
Last edited by Nagian (2012-08-16 07:34:38)
Offline
First you should check the MD5 for the ISO that you already burned. It could save you the trouble of installing a bittorrent client (or maybe the disc was just bad, write speed needed to be slower, I don't know... I haven't burned a disc since 2007 or so).
$ cd "/media/Backup/Software/Operating Systems/Linux/"
$ wget https://www.archlinux.org/iso/2012.08.04/md5sums.txt
$ md5sum -c md5sums.txt
archlinux-2012.08.04-dual.iso: OK
My advice is to use a USB stick. They're dirt cheap.
And don't forget to mark the topic as solved (by editing the first post), so that other people (including yourself sometimes) may find useful.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I have already tried to setup the system with the aif (/arch/setup), but due to the many changes in the last few weeks, this tool also seems not to work anymore.
If /arch/setup in on your media, it's an old one, and not the new one you just downloaded.
Offline
Hm, is it possible that the mirror I used has an old, wrong versioned label? I am quite sure that it was labeled 2012.08.04, but I gonna check it when I am at home again.
EDIT:
Ok, I've downloaded the iso from the hosteurope mirror, and it is really labeled as archlinux-2012.08.04-dual.iso, but it doesn't seem to be this release. Now I have downloaded the image using torrent, and already the boot menu has some other entries, and the pacstrap command is also existing. So it seems to be the guilt of the mirror, and my problem is solved. Thank you!
Last edited by Nagian (2012-08-16 15:37:45)
Offline
Could you tell us which mirror has the broken iso image if that is even true? This seems to be a serious problem then.
Offline
I now this thread is quite old. But I am having the same problem on my raspberry pi 2.
I followed this (http://archlinuxarm.org/platforms/armv7 … berry-pi-2) guide. Does this mean there's something wrong with this mirror (http://archlinuxarm.org/os/...) ?
"which pacstrap" returns
"which: no pacstrap in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)"
Similar to what has already been asked (but not answered) by the author of this thread: Can I copy this (https://projects.archlinux.org/arch-ins … acstrap.in) and paste it into say "usr/local/bin" ?
Here is where the problem occured:
"pacstrap -i /mnt base base-devel"
"-bash: pacstrap: command not found"
After that I tried changing the mirror in "/etc/pacman.d/mirrorlist" and then running "pacman -Syyu" but the outcome is still the same.
Please help or tell me if I have to open a new thread.
Offline
Arch ARM is a separate distribution -- please ask on their boards: https://bbs.archlinux.org/viewtopic.php?id=153431
Closing
Offline
Pages: 1
Topic closed