Problem Getting Started with SD Card booting

This forum is for discussion about general software issues.

Problem Getting Started with SD Card booting

Postby ernanirst » Thu Dec 22, 2016 11:30 pm

Hi, I'm a beginner with the ARCHLINUX. I just got a UDOO QUAD board and I'm trying to install an ARCHLINUX on the SD CARD to boot with it. I found this tutorial (https://archlinuxarm.org/platforms/armv7/freescale/udoo) online, however, I can't complete Step 6, where I'm suppose to extract the files to the mnt folder like this: bsdtar -xpf ArchLinuxARM-armv7-latest.tar.gz -C mnt

This command generates a lot of errors like this:
./usr/share/file/misc/: Can't create 'usr/share/file/misc'

And eventually stop with an error message. I searched online and saw other people suggesting to use tar instead, like this: sudo tar -xzvf ArchLinuxARM-armv7-latest.tar.gz -C mnt/

However, this gives me a bunch of other errors that I have no idea why is it appearing:
tar: ./usr/bin/groups: Cannot open: No such file or directory
./usr/bin/krb5kdc
tar: ./usr: Cannot mkdir: Input/output error

So, I'm stuck here. Can someone point me to the right direction?

Best Regards, Ernani
ernanirst
 
Posts: 2
Joined: Thu Dec 22, 2016 11:25 pm

Re: Problem Getting Started with SD Card booting

Postby summers » Fri Dec 23, 2016 10:14 am

try using df. I suspect that mnt doesn't have the SD card mounted on it RW. If so you'll need to mount it, so something like:

Code: Select all
sudo mount /dev/sdb1 /tmp
summers
 
Posts: 509
Joined: Sat Sep 06, 2014 12:56 pm

Re: Problem Getting Started with SD Card booting

Postby ernanirst » Sat Dec 24, 2016 7:37 pm

Thanks for the reply summers,

I did mounted the card with
Code: Select all
sudo mount /dev/sdb1 mnt/
before posting here. About df, I currently use df for listing only, with
Code: Select all
df -h
, what are you suggesting me to use df for?

Best Regards, Ernani
ernanirst
 
Posts: 2
Joined: Thu Dec 22, 2016 11:25 pm

Re: Problem Getting Started with SD Card booting

Postby summers » Sun Dec 25, 2016 6:21 pm

Meant use df just to check the filesystem is mounted correctly. Could also be the some file systems don't take all properties, eg IIRC vfat has problems with group ownership.
summers
 
Posts: 509
Joined: Sat Sep 06, 2014 12:56 pm

Re: Problem Getting Started with SD Card booting

Postby WarheadsSE » Mon Dec 26, 2016 5:11 pm

"vfat as problems with" ==> "vfat does not support"
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6799
Joined: Mon Oct 18, 2010 2:12 pm


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests