fahadkalis
Posts: 109
Joined: Wed Oct 22, 2014 8:55 pm

Install Arch Linux for RaspberryPi

Tue May 05, 2015 7:10 pm

Hi,

I am trying to download and install ArchLinux for RaspberryPi through windows environment.
But can anybody suggest me, from where I can download ArchLinux because it is not available on https://www.raspberrypi.org/downloads/
Thank you

mikerr
Posts: 2774
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Install Arch Linux for RaspberryPi

Tue May 05, 2015 7:40 pm

Last edited by mikerr on Thu Jun 11, 2015 3:05 pm, edited 1 time in total.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

fruitoftheloom
Posts: 20485
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Install Arch Linux for RaspberryPi

Tue May 05, 2015 7:47 pm

The official download requires a Linux Machine, the Arch developers decided last June to stop offering images:

Raspberry Pi ARMv6 http://archlinuxarm.org/platforms/armv6/raspberry-pi

Raspberry Pi 2 B ARMv7 http://archlinuxarm.org/platforms/armv7 ... berry-pi-2
Retired disgracefully.....

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Install Arch Linux for RaspberryPi

Thu May 07, 2015 5:27 am

Note that if you have installed any Linux OS on your Raspberry Pi, you can use that to create the SD card with Arch Linux on it, following the instructions provided earlier in this thread. You certainly can download the files needed for your Pi with your Windows machine, but the final creation of the OS for your Pi will need to take place on a Linux system.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

fruitoftheloom
Posts: 20485
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Install Arch Linux for RaspberryPi

Thu May 07, 2015 8:41 am

Retired disgracefully.....

User avatar
DougieLawson
Posts: 35805
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Install Arch Linux for RaspberryPi

Thu May 07, 2015 11:03 am

fruitoftheloom wrote:
The June 2014 image is to old for ARMv7 RPi2 B
It may be hackable by updating it with new stuff (including a kernel7.img) in /boot and matching new stuff in /lib/modules. I've done that to "freshen" an old image for my 2B.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Install Arch Linux for RaspberryPi

Thu May 07, 2015 2:50 pm

I think that hacking an image created for armv6 for an armv7 device would be much more work for someone not familiar with Linux than just working with the appropriate, up to date tar file.

Furthermore, if all they have is a Windows machine, they will have no ability to read or write in anything other than the boot partition, and in Arch, the binaries in the root partition will not run on a Pi 2 from what I understand.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

mikerr
Posts: 2774
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Install Arch Linux for RaspberryPi

Thu May 07, 2015 9:29 pm

fruitoftheloom wrote:The official download requires a Linux Machine, the Arch developers decided last June to stop offering images:

Raspberry Pi ARMv6 http://archlinuxarm.org/platforms/armv6/raspberry-pi

Raspberry Pi 2 B ARMv7 http://archlinuxarm.org/platforms/armv7 ... berry-pi-2
..which makes it harder than it should be to get started on Pi with arch :cry:

I've uploaded an unaltered image created from those instructions, verified and working with pi-2

https://sourceforge.net/projects/archlinux-rpi2 [pi2 -version]

https://sourceforge.net/projects/archlinuxrpi [B+ version]

that can be burned to a microSD card with Win32DiskImager
Android app - Raspi Card Imager - download and image SD cards - No PC required !

wanwari
Posts: 34
Joined: Tue Mar 10, 2015 5:59 pm

Re: Install Arch Linux for RaspberryPi

Tue May 12, 2015 5:08 pm

mikerr wrote:
fruitoftheloom wrote:The official download requires a Linux Machine, the Arch developers decided last June to stop offering images:

Raspberry Pi ARMv6 http://archlinuxarm.org/platforms/armv6/raspberry-pi

Raspberry Pi 2 B ARMv7 http://archlinuxarm.org/platforms/armv7 ... berry-pi-2
..which makes it harder than it should be to get started on Pi with arch :cry:

I've uploaded an unaltered image created from those instructions, verified and working with pi-2

https://sourceforge.net/projects/archlinux-rpi2 [pi2 -version]

https://sourceforge.net/projects/archlinuxrpi [B+ version]

that can be burned to a microSD card with Win32DiskImager
Thank you very much for this, very helpful as the NOOBS installer with Arch doesn't work on the RPI 2, and on that note nor does Pidora.

User avatar
dliloch
Posts: 168
Joined: Wed Jun 27, 2012 6:28 pm
Location: cleveland, ohio usa

Re: Install Arch Linux for RaspberryPi

Fri May 22, 2015 12:16 pm

I downloaded noobs 1.4.1 and then simply asked for arch linux from the panel after putting noobs on an sd card in windows.

It had to download the arch image from somewhere I guess since it was not on the noobs image I got.
note that the python, gcc are not there but install under their normal names. python comes in at 3.4.3 ... I don't know
how to get python 2.7 but 3 is fine for me ..

maybe you did not want the overhead of having the raspbian image on the sd card too..
-do

fruitoftheloom
Posts: 20485
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Install Arch Linux for RaspberryPi

Fri May 22, 2015 12:23 pm

dliloch wrote:I downloaded noobs 1.4.1 and then simply asked for arch linux from the panel after putting noobs on an sd card in windows.

It had to download the arch image from somewhere I guess since it was not on the noobs image I got.
note that the python, gcc are not there but install under their normal names. python comes in at 3.4.3 ... I don't know
how to get python 2.7 but 3 is fine for me ..

maybe you did not want the overhead of having the raspbian image on the sd card too..
-do
The Arch install for the RPi2 B has recently been added to NOBS, if you install NOBS Lite you will not have Raspbian ;)
Retired disgracefully.....

wanwari
Posts: 34
Joined: Tue Mar 10, 2015 5:59 pm

Re: Install Arch Linux for RaspberryPi

Wed Jun 03, 2015 1:43 am

fruitoftheloom wrote:The Arch install for the RPi2 B has recently been added to NOBS
fruitoftheloom wrote: if you install NOBS Lite you will not have Raspbian ;)
Wait, has it been added to NOOBS or not? Not sure what you meant.

User avatar
DougieLawson
Posts: 35805
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Install Arch Linux for RaspberryPi

Wed Jun 03, 2015 8:25 am

wanwari wrote:
fruitoftheloom wrote:The Arch install for the RPi2 B has recently been added to NOBS
fruitoftheloom wrote: if you install NOBS Lite you will not have Raspbian ;)
Wait, has it been added to NOOBS or not? Not sure what you meant.
NOOBS and NOOBS lite are fundamentally identical. The only difference is that NOOBS carries a copy of Raspbian for offline installation as part of the installer. NOOBS lite needs a network connection to install anything.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

mikerr
Posts: 2774
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Install Arch Linux for RaspberryPi

Wed Jun 03, 2015 8:40 am

Glad to see arch made its way back to official rpi via NOOBS.

But - the NOOBS arch install needs an ethernet internet connection on the pi itself for install.

My images above can be done with no pi internet connection, or to a model A+
Android app - Raspi Card Imager - download and image SD cards - No PC required !

plugh
Posts: 41
Joined: Sun Dec 02, 2012 6:58 pm

Re: Install Arch Linux for RaspberryPi

Thu Jun 11, 2015 2:01 pm

mikerr wrote:I've uploaded an unaltered image created from those instructions, verified and working with pi-2

https://sourceforge.net/projects/archlinux-rpi2 [pi2 -version]

https://sourceforge.net/projects/archlinuxrpi [B+ version]

that can be burned to a microSD card with Win32DiskImager
Many Thanks.

For completeness sake, could you post the release date of the 'latest' used to build the images?
(both here and on the sourceforge summary page, too)

The current-as-I-write-this bits for rpi&2 on http://os.archlinuxarm.org/os/ are dated 07-june-2015

mikerr
Posts: 2774
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Install Arch Linux for RaspberryPi

Thu Jun 11, 2015 2:53 pm

Hmm, it was the latest as at 2015-05-07.

So I've added a line to that effect on sourceforge.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
glsmaxx
Posts: 16
Joined: Sun Apr 26, 2015 6:13 pm
Location: Kenbtucky, USA

Re: Install Arch Linux for RaspberryPi

Sat Jun 27, 2015 11:18 pm

I saw the video where one of you used gparted to partition the card. I do not even have the option to use FAT32 when partitioning the 100M partition. I swear Regular ARCH was easier than the ARM install : ?

I used fdisk and the got to the mkfs.vfat /dev/sdX1 [sdb1] and it says it cannot do it. I need that to be a FAT 32 Also.

I ama running Arch as I type and am getting my butt kicked by this install.

Would appreciate some help.

Thank You!

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Install Arch Linux for RaspberryPi

Sun Jun 28, 2015 4:47 am

Post the output of "fdisk /dev/sdb -l" with copy, paste, so we can make sure your fdisk did what you wanted it to.

Next, if you typed /devsdX1, the command definitely will not work. It was shown in the install instructions where you would change the X to the proper device identifier for your card. So, the command should have been the following, is that what you typed?

Code: Select all

mkfs.vfat /dev/sdb1
Now, of course the mkfs will not work if the partition was not created properly, that is why I asked for the output of the above fdisk command.

I did just finish following the instructions myself within the last few days, and it all went just fine. If your first partition was created properly and you entered the mkfs.vfat command as I typed it above, then we really need to see the error message rather than have you just say it could not be done.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

plugh
Posts: 41
Joined: Sun Dec 02, 2012 6:58 pm

Re: Install Arch Linux for RaspberryPi

Fri Aug 07, 2015 11:48 am

If y'all don't mind using the NOOBS_lite installer, I posted this, which always installs the latest Arch version...

User avatar
DougieLawson
Posts: 35805
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Install Arch Linux for RaspberryPi

Fri Aug 07, 2015 2:03 pm

plugh wrote:If y'all don't mind using the NOOBS_lite installer, I posted this, which always installs the latest Arch version...
You should create a pull request at https://github.com/raspberrypi/noobs to get your changes built in as a permanent part of NOOBS.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
Snoop05
Posts: 14
Joined: Mon Mar 30, 2015 8:45 pm

Re: Install Arch Linux for RaspberryPi

Tue Aug 25, 2015 3:06 pm

I've sent pm to higher posts on archlinux arm forum. [pepedog WarheadsSE moonman]
Hello,
i found some people in this thread complaining about missing image file for Raspberry Pi boards. They dont have a Linux machine, drivers for OS X or spare microsd card and reader. I will make script that will build the disk image to make it possible to deploy ALARM on their Pi's even from Windows or OS X machines. I'm just asking if you can host built images and keep the script working on your servers.

Thank's for your replies.
I got this reply from WarheadsSE:
Officially: NO.

If we wanted to distribute images any more, we could and would.
So the ALARM will not release official images.

Why is Arch Linux ARM not in RPi Downloads section?

There should be links at least to official ALARM site. I know that they dont provide .img anymore so it cant be flashed on sdcard from Windows or OS X (without ext4 driver).

Also, you should give links for prebuilt images that are NOT supplied by Arch Linux ARM project or Raspberry Pi Foundation with some big warning. I have script for building images (my own, not from pepedog), or can foundation at least host built images? If not then at least give some link with big "Unofficial" in head, and i can upload them to some hosting.

This will ease instalation process for people without running Linux box or spare sdcard.
Raspberry Pi 3, Raspberry Pi 2
32GB Samsung EVO Class 10 UHS-I
Arch Linux ARM, LibreELEC, RuneAudio

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Install Arch Linux for RaspberryPi

Tue Aug 25, 2015 11:28 pm

There is free webspace around, some folks have created github or sourceforge pages for images or scripts. If your signature line includes a link to such a site with an explanation of what it is, it will appear at the bottom of all your posts here.

Or, look around for unofficial (i.e., not ArchLInuxArm or the Foundation) forums that have Raspberry Pi subforums, and PM the administration of one of those, if it looks like they might be willing to host. If you are wanting a server that will automatically build a new image when a new one appears at the offical ArchLinuxArm download site, that might be tougher to locate. You could try setting up a website at http://sdf.org, but you would have to be able to write your own code and monitor whether it was performing as desired, might be easier to just set up a github or sourceforge or place like that page, and redo the image by hand every month or two, when new tarballs appear.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Return to “Arch”