I'm an idiot--help!

Ask questions about Arch Linux ARM. Please search before making a new topic.

I'm an idiot--help!

Postby RaspiNewb » Mon Jun 22, 2020 1:56 am

Okay, as subject notes. Here's my devices:

Disk /dev/sdb: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Disk model: MassStorageClass
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9b543f12

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 207048 205001 100.1M c W95 FAT32 (LBA)
/dev/sdb2 208896 31116287 30907392 14.8G 83 Linux

I'm trying to install Arch Linux on a Raspberry Pi 4. I created two partitions as says, and I don't know what's happening after I download the tar. The bsdtar command wasn't found, so I installed it, did the command, and it seems to extract somewhere, but neither partition?

So, I just extracted the file myself with terminal to a folder, but what files from ArchLinuxARM-rpi-4-latest.tar.gz do I put in each partition? I put every folder from the tar --except-- boot into sdb2/16 GB Volume and put the boot folder in sdb1/105 MB folder but that doesn't work when I put the SD card in.
RaspiNewb
 
Posts: 3
Joined: Mon Jun 22, 2020 1:40 am

Re: I'm an idiot--help!

Postby moonman » Mon Jun 22, 2020 5:27 am

Which guide are you following? The official one here https://archlinuxarm.org/platforms/armv ... berry-pi-4 ?

The guide tells you to create 2 directories: "boot" and "root" where you subsequently mount the partitions from the SD card.
You then later extract the tarbal and "-C root" tells bsdtar to use "root" directory (mountpoint of sdX2 above) for extraction.

Extracting somewhere else may work if you are copying everything properly and persevering permissions etc. I would not recommend going this route.
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: I'm an idiot--help!

Postby RaspiNewb » Mon Jun 22, 2020 3:33 pm

Yeah, that guide.

Is it because the two partitions aren't called boot/root? Or is it because I'm supposed to move the boot files directly into the 100 M partition and not the folder... I think it was the same case with installing NOOBS. I'll try that later.
RaspiNewb
 
Posts: 3
Joined: Mon Jun 22, 2020 1:40 am

Re: I'm an idiot--help!

Postby RaspiNewb » Tue Jun 23, 2020 12:52 am

Yes, that seems to work. It says it has 44 kauditd_printk_skb callbacks suppressed, though.
RaspiNewb
 
Posts: 3
Joined: Mon Jun 22, 2020 1:40 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 16 guests