Answer the question
In order to leave comments, you need to log in
How to run arch linux on beaglebone black?
I'm trying to run arch on the above device, I'm doing everything according to the instructions ( https://archlinuxarm.org/platforms/armv7/ti/beagle... ), but BBB does not see the card, I tried to make a separate section for the bootloader and format it in vfat , then the bootloader starts, but he swears that he could not find the kernel, respectively. Maybe I'm missing something from the instructions?
Answer the question
In order to leave comments, you need to log in
#!/usr/bin/env bash
set -o xtrace
set -o errexit
MicroSD="/dev/sdX"
DIR="/tmp/bbb"
MNT="$DIR/mnt"
rm -rf $DIR
mkdir -p "$MNT"
dd if=/dev/zero of=$MicroSD bs=2M count=1 conv=fsync oflag=direct status=progress
echo -e "label:dos\nstart=2M" | sfdisk $MicroSD
yes | mkfs.ext4 -O '^metadata_csum,^64bit' -m1 ${MicroSD}1
mount ${MicroSD}1 "$MNT"
am33x=ArchLinuxARM-am33x-latest.tar.gz
curl -L -o $DIR/$am33x "http://os.archlinuxarm.org/os/$am33x"
bsdtar -xpf "$DIR/$am33x" -C "$MNT" && sync
dd if=$MNT/boot/MLO of=$MicroSD bs=128k count=1 seek=1 conv=notrunc,fsync oflag=direct status=progress
dd if=$MNT/boot/u-boot.img of=$MicroSD bs=384k count=2 seek=1 conv=notrunc,fsync oflag=direct status=progress
umount "$MNT"
exit
BBB does not see the card
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question