Raspberry 2 - bsdtar > 3.3 isn't enough anymore?

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

Raspberry 2 - bsdtar > 3.3 isn't enough anymore?

Postby Astorek86 » Thu Jun 27, 2019 1:59 pm

Hello,

I'm pretty sure you read about it: "Archlinux-rpi-2"-Image needs bsdtar > 3.3 , otherwise the SD-Card won't work. On Raspbian Stretch, it was enough to compile a newer libarchive for yourself and use it to create the SD-Card. But it seems that's not working on the newest Raspbian "Buster" anymore.

Steps to Reproduce:
- Initial Situation: You have an Raspberry Pi 4 that runs the newest Raspbian "Buster".
- Download and Compile libarchive from https://github.com/libarchive/libarchive/releases (doesn't matter if 3.3 or 3.4)
- Download "ArchLinuxARM-rpi-2-latest.tar.gz" (I've checked with md5sum, it's correct)
- try to modify the SD-Card, as described in the Wiki-Page: https://archlinuxarm.org/platforms/armv ... stallation
- On the "bsdtar"-Step, it reproduced the typical errors while extracting, like:
$this->bbcode_second_pass_quote('', '
')./usr/bin/rcp: Cannot restore extended attributes on this file system
./usr/bin/ping: (null)
./usr/bin/rsh: (null)
./usr/bin/rlogin: (null)


Additional Information:
$this->bbcode_second_pass_quote('', '
')$ bsdtar --version
bsdtar 3.3.1 - libarchive 3.3.1 zlib/1.2.11


Yea... I have no idea what can I do next. I don't want to set up a completely new Archlinux-VM on my PC just to get an Image for my Raspberry Pi... Any help is appreciated^^.
Astorek86
 
Posts: 3
Joined: Thu Jun 27, 2019 1:48 pm

Re: Raspberry 2 - bsdtar > 3.3 isn't enough anymore?

Postby graysky » Thu Jun 27, 2019 10:59 pm

I might not be understanding you... are you are unable to write to an sd card with an Arch ARM from another distro due to an older libarchive/bsdtar/whatever provided by that distro?
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry 2 - bsdtar > 3.3 isn't enough anymore?

Postby Astorek86 » Fri Jun 28, 2019 7:40 am

I am unable to write to an sd card, no matter which bsdtar-Version I use.

Even on bsdtar-Version 3.4.0 (the latest Stable-Release as far as I know) it does not work; it show the same Errors as shown on my first Post, and the sd card won't boot...
Astorek86
 
Posts: 3
Joined: Thu Jun 27, 2019 1:48 pm

Re: Raspberry 2 - bsdtar > 3.3 isn't enough anymore?

Postby Astorek86 » Sun Jun 30, 2019 9:12 am

Really? Nobody else have the same Problem?

How can I write a bootable ArchlinuxARM onto a SD-Card? I got the newest bsdtar-Version, but it still doesn't work. Are there other Prerequisites that I don't know? If so, what are these Prerequisites?
Astorek86
 
Posts: 3
Joined: Thu Jun 27, 2019 1:48 pm

Re: Raspberry 2 - bsdtar > 3.3 isn't enough anymore?

Postby graysky » Sun Jun 30, 2019 9:35 am

Do you have an x86_64 box around? If so, boot to an Arch live image and try the steps on the link you provided.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry 2 - bsdtar > 3.3 isn't enough anymore?

Postby ufo6000 » Sun Jun 30, 2019 5:06 pm

@Astorek86:
Since you didn't post the complete commands/logs, I will ask to be sure:

boot partition is FAT, and / partition is Ext4 ? bsdtar is run as root ?
ufo6000
 
Posts: 117
Joined: Fri Jan 22, 2016 7:54 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 12 guests