Noob question: installing Arch linux arm on raspberry pi 3

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

Noob question: installing Arch linux arm on raspberry pi 3

Postby SkyboyLP » Fri Mar 25, 2016 9:53 am

[SOLVED]
So i tried to use this thread https://archlinuxarm.org/platforms/armv … berry-pi-3 to install arch linux
to my sd card.
Aaaand my Issue is that i get stuck after partitioning the sd card.
My lsblk looks like this (tell me whats wrong with that if there is something wrong)
$this->bbcode_second_pass_code('', '
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 29G 0 disk
├─sda1 8:1 1 200M 0 part
└─sda2 8:2 1 28.8G 0 part
mmcblk0 179:0 0 7.4G 0 disk
├─mmcblk0p1 179:1 0 60M 0 part /boot
└─mmcblk0p2 179:2 0 7.4G 0 part /
')
The sda is the disk i want to install arch linux on
The article says that you have to execute mkfs.vfat /dev/sdX1 (mkfs.vfat /dev/sda1). After that the article states
that you have to run mkdir boot.
1. In wich directory do i have to run this?
2. Besides later on in the article you have to mv root/boot/* boot and i dont get what do you have to move where.
3. Can someone explain the procedure after point 2 to me please its pretty unclear (or im just stupid)?
Thanks for helping a Noob out :D
Last edited by SkyboyLP on Fri Mar 25, 2016 7:28 pm, edited 1 time in total.
SkyboyLP
 
Posts: 6
Joined: Fri Mar 25, 2016 9:49 am

Re: Noob question: installing Arch linux arm on raspberry pi

Postby Abzie » Fri Mar 25, 2016 11:03 am

1. It doesn't matter where you create root / boot folders, as long as you use the dir when mounting the partitions. Best place would be
$this->bbcode_second_pass_code('', 'mkdir -p /mnt/{root,boot}')
then
$this->bbcode_second_pass_code('', 'mount /dev/sdX1 /mnt/boot
mount /dev/sdX2 /mnt/root')

2. Continuing on from point 1...
$this->bbcode_second_pass_code('', 'cd /mnt')

Then use the mv command.

3. You download the alarm image and extract it to the root partition, move the kernel etc to the boot partition. Sync to ensure cached files are saved to the sd card then put it in the pi, connect the pi up and go.
Abzie
 
Posts: 29
Joined: Tue Mar 15, 2016 6:05 pm

Re: Noob question: installing Arch linux arm on raspberry pi

Postby SkyboyLP » Fri Mar 25, 2016 1:33 pm

So i got it installed but when i connect to the pi via ssh and type in root with the password root it says access denied.
can someone tell me the default username+password
EDIT: also it doesnt say alarmpi in my router connected ips if thats important
SkyboyLP
 
Posts: 6
Joined: Fri Mar 25, 2016 9:49 am

Re: Noob question: installing Arch linux arm on raspberry pi

Postby Abzie » Fri Mar 25, 2016 1:41 pm

Abzie
 
Posts: 29
Joined: Tue Mar 15, 2016 6:05 pm

Re: Noob question: installing Arch linux arm on raspberry pi

Postby syg00 » Fri Mar 25, 2016 1:42 pm

From the install guide:$this->bbcode_second_pass_quote('', 'U')se the serial console or SSH to the IP address given to the board by your router.

Login as the default user alarm with the password alarm.
The default root password is root.
Root is usually precluded from ssh
syg00
 
Posts: 15
Joined: Sat Mar 12, 2016 1:30 am

Re: Noob question: installing Arch linux arm on raspberry pi

Postby SkyboyLP » Fri Mar 25, 2016 2:13 pm

Thanks guys but i already did it myself by connecting a Monitor and a keyboard to the pi and adding a new user ^^

One last question can i backup the sd card via win32 diskmanager?
SkyboyLP
 
Posts: 6
Joined: Fri Mar 25, 2016 9:49 am


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 9 guests