|
楼主 |
发表于 2014-11-27 13:57:34
|
显示全部楼层
gcd0318 发表于 2014-11-25 17:43
我在cb2上用archlinux
http://archlinuxarm.org/platforms/armv7/allwinner/cubieboard-2
cb1也有一版
这个cb2也只能卡刷是吧。
Replace sdX in the following instructions with the device name for the SD card as it appears on your computer.
1.Start fdisk to partition the SD card:
fdisk /dev/sdX
2.At the fdisk prompt, delete old partitions and create a new one:
a.Type o. This will clear out any partitions on the drive.
b.Type p to list partitions. There should be no partitions left.
c.Now type n, then p for primary, 1 for the first partition on the drive, 2048 for the first sector, and then press ENTER to accept the default last sector.
d.Write the partition table and exit by typing w.
3.Create and mount the ext4 filesystem:
mkfs.ext4 /dev/sdX1
mkdir mnt
mount /dev/sdX1 mnt
4.Download and extract the root filesystem:
wget http://archlinuxarm.org/os/ArchLinuxARM-sun7i-latest.tar.gz
bsdtar -xpf ArchLinuxARM-sun7i-latest.tar.gz -C mnt
sync
5.Install the U-Boot bootloader:
dd if=mnt/boot/u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
umount mnt
sync
6.Insert the micro SD card into the Cubieboard 2, connect ethernet, and apply 5V power.
7.Use the serial console or SSH to the IP address given to the board by your router. The default root password is 'root'.
|
|