[SOLVED] Creating Arch SD for RP2 with Raspbian

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[SOLVED] Creating Arch SD for RP2 with Raspbian

Postby Ixigaxi » Mon Sep 07, 2015 9:06 pm

Hello, everyone!
WARNING: Newbie here!

I want to install Arch on my Raspberry Pi 2, but there aren't any images available for the Pi 2 nor does Noobs support Arch install for ARM7.
Since I don't have a x82_64 Linux system I was trying to create an Arch microSD card with Raspbian following the guide at http://archlinuxarm.org/platforms/armv7 ... berry-pi-2

(I connected the microSD card with Pi through an sd to usb adapter. fdisk recognized it and I was able to find the device in the file manager at /media)
I was able to format the microSD card with fdisk and rebooted the system afterwards. (It said in the terminal that the card was busy and that I'd have to reboot to use it.)

However I got bashed ;) with a bunch of error messages once I proceeded with the filesystems:

1. #mkfs.vfat
mkfs.vfat 3.0.13 (30 Jun 2012)
/dev/sda1 contains mounted filesystem
2. #mkdir boot
mkdir: cannot create directory 'boot:file exists
3. #mkfs.ext4 /dev/sda2
/dev/sda2 is mounted; will not create filesystem here!
4. #mkdir root
mkdir: cannot create directory 'boot:file exists

PS: I added a su password in Raspbian, so it's not because I was using sudo.
Downloading the file worked and I installed bsdtar.

I hope someone can help me as I'd really like to get Arch started!
Last edited by Ixigaxi on Thu Sep 10, 2015 7:20 pm, edited 1 time in total.
Ixigaxi
 
Posts: 3
Joined: Mon Sep 07, 2015 8:30 pm

Re: Creating Arch SD for RP2 with Raspbian

Postby mortdeus » Mon Sep 07, 2015 9:48 pm

You can't partition a disk from within an OS stored on said disk.
mortdeus
 
Posts: 1
Joined: Thu Sep 03, 2015 11:05 pm

Re: Creating Arch SD for RP2 with Raspbian

Postby Ixigaxi » Tue Sep 08, 2015 7:47 am

I didn't try to.
I have the sd I want to install Arch onto connected via a sd to USB adapter and formating worked just fine.
Ixigaxi
 
Posts: 3
Joined: Mon Sep 07, 2015 8:30 pm

Re: Creating Arch SD for RP2 with Raspbian

Postby moonman » Tue Sep 08, 2015 6:25 pm

Is it mounted automatically in raspbian? Check 'mount'
umount /dev/sdX
Then partition and format
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Creating Arch SD for RP2 with Raspbian

Postby Ixigaxi » Thu Sep 10, 2015 7:18 pm

Thank you for you quick answers! :)
I finally figured out that my directories were messed up, because I had already tried it multiple times, so I just deleted all of them and started from the beginning.
Ixigaxi
 
Posts: 3
Joined: Mon Sep 07, 2015 8:30 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 12 guests