note
After the first boot, we must change the /etc/fstab file
so :
mount -o rw,remount / vi /etc/fstab
comment the mmcblk0p1 line and add the below lines:
/dev/sda1 /boot/ vfat defaults 0 0 /dev/sda2 / auto defaults 0 0
Some other notes !
wget -c http://files.velocix.com/c1410/images/archlinuxarm/archlinux-hf-2013-02-11/archlinux-hf-2013-02-11.zip unzip archlinux-hf-2013-02-11.zip
$ fdisk -l archlinux-hf-2013-02-11.img Disk archlinux-hf-2013-02-11.img: 1939 MB, 1939865600 bytes, 3788800 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0004f23a Device Boot Start End Blocks Id System archlinux-hf-2013-02-11.img1 * 2048 186367 92160 c W95 FAT32 (LBA) archlinux-hf-2013-02-11.img2 186368 3667967 1740800 83 Linux
$ file archlinux-hf-2013-02-11.img archlinux-hf-2013-02-11.img: ; partition 1: ID=0xc, active, starthead 64, startsector 2048, 184320 sectors; partition 2: ID=0x83, starthead 0, startsector 186368, 3481600 sectors
$ sudo losetup -f --show archlinux-hf-2013-02-11.img /dev/loop0 $ losetup -a /dev/loop0: []: (/home/ebal/dnl/RaspberryPi/archlinux-hf-2013-02-11.img)
$ qemu-system-arm -cpu ? Available CPUs: arm1026 arm1136 arm1136-r2 arm1176 arm11mpcore arm926 arm946 cortex-a15 cortex-a8 cortex-a9 cortex-m3 pxa250 pxa255 pxa260 pxa261 pxa262 pxa270 pxa270-a0 pxa270-a1 pxa270-b0 pxa270-b1 pxa270-c0 pxa270-c5 sa1100 sa1110 ti925t any
$ qemu-system-arm -M ? Supported machines are: none empty machine collie Collie PDA (SA-1110) nuri Samsung NURI board (Exynos4210) smdkc210 Samsung SMDKC210 board (Exynos4210) connex Gumstix Connex (PXA255) verdex Gumstix Verdex (PXA270) highbank Calxeda Highbank (ECX-1000) integratorcp ARM Integrator/CP (ARM926EJ-S) (default) kzm ARM KZM Emulation Baseboard (ARM1136) mainstone Mainstone II (PXA27x) musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S) n800 Nokia N800 tablet aka. RX-34 (OMAP2420) n810 Nokia N810 tablet aka. RX-44 (OMAP2420) sx1 Siemens SX1 (OMAP310) V2 sx1-v1 Siemens SX1 (OMAP310) V1 cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310) realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S) realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore) realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8 realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9 akita Akita PDA (PXA270) spitz Spitz PDA (PXA270) borzoi Borzoi PDA (PXA270) terrier Terrier PDA (PXA270) lm3s811evb Stellaris LM3S811EVB lm3s6965evb Stellaris LM3S6965EVB tosa Tosa PDA (PXA255) versatilepb ARM Versatile/PB (ARM926EJ-S) versatileab ARM Versatile/AB (ARM926EJ-S) vexpress-a9 ARM Versatile Express for Cortex-A9 vexpress-a15 ARM Versatile Express for Cortex-A15 xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9 z2 Zipit Z2 (PXA27x)
$ qemu-img info archlinux-hf-2013-02-11.img image: archlinuxarm.img file format: raw virtual size: 1.8G (1939865600 bytes) disk size: 1.8G