(1)安装Arch系统 - 树莓派Raspberry Pi - Arch Linux(转载)
2015-05-20 09:16
1051 查看
直接复制过来的英文操作步骤,非常简单明了,在树莓派B+上面安装Arch Linux ARM,不想装官方推荐的Debian系统的可以参考本文。
Raspberry Pi
SD Card Creation
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:
1. Type o. This will clear out any partitions on the drive.
2. Type p to list partitions. There should be no partitions left.
3. Type n, then p for primary, 1 for the first partition on the drive, press ENTER to accept the default first sector, then type +100M for
the last sector.
4. Type t, then c to set the first partition to type W95 FAT32 (LBA).
5. Type n, then p for primary, 2 for the second partition on the drive, and then press ENTER twice to accept the default first and last sector.
6. Write the partition table and exit by typing w.
3. Create and mount the FAT filesystem:
mkfs.vfat /dev/sdX1 mkdir boot mount /dev/sdX1 boot
4. Create and mount the ext4 filesystem:
mkfs.ext4 /dev/sdX2 mkdir root mount /dev/sdX2 root
5. Download and extract the root filesystem (as root, not via sudo):
wget http://archlinuxarm.org/os/ArchLinuxARM-rpi-latest.tar.gz bsdtar -xpf ArchLinuxARM-rpi-latest.tar.gz -C root sync
6. Move boot files to the first partition:
mv root/boot/* boot
7. Unmount the two partitions:
umount boot root
8. Insert the SD card into the Raspberry Pi, connect ethernet, and apply 5V power.
9. Use the serial console or SSH to the IP address given to the board by your router. The default root password is 'root'.
archlinux软件包管理pacman,pacman -S --needed xxx安装。更换软件源vi /etc/pacman.d/sourcelist 添加Server = http://mirrors.hustunique.com/archlinuxarm/armv6h/$repo 然后pacman -Sy更新本地数据库,-u更新软件
Raspberry Pi
SD Card Creation
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:
1. Type o. This will clear out any partitions on the drive.
2. Type p to list partitions. There should be no partitions left.
3. Type n, then p for primary, 1 for the first partition on the drive, press ENTER to accept the default first sector, then type +100M for
the last sector.
4. Type t, then c to set the first partition to type W95 FAT32 (LBA).
5. Type n, then p for primary, 2 for the second partition on the drive, and then press ENTER twice to accept the default first and last sector.
6. Write the partition table and exit by typing w.
3. Create and mount the FAT filesystem:
mkfs.vfat /dev/sdX1 mkdir boot mount /dev/sdX1 boot
4. Create and mount the ext4 filesystem:
mkfs.ext4 /dev/sdX2 mkdir root mount /dev/sdX2 root
5. Download and extract the root filesystem (as root, not via sudo):
wget http://archlinuxarm.org/os/ArchLinuxARM-rpi-latest.tar.gz bsdtar -xpf ArchLinuxARM-rpi-latest.tar.gz -C root sync
6. Move boot files to the first partition:
mv root/boot/* boot
7. Unmount the two partitions:
umount boot root
8. Insert the SD card into the Raspberry Pi, connect ethernet, and apply 5V power.
9. Use the serial console or SSH to the IP address given to the board by your router. The default root password is 'root'.
archlinux软件包管理pacman,pacman -S --needed xxx安装。更换软件源vi /etc/pacman.d/sourcelist 添加Server = http://mirrors.hustunique.com/archlinuxarm/armv6h/$repo 然后pacman -Sy更新本地数据库,-u更新软件
相关文章推荐
- 为树莓派(Raspberry pi 2)安装raspbian系统,并用windows自带的远程桌面连接登录
- 树莓派(raspberry pi) 系统安装WiFi网卡
- 为树莓派(Raspberry pi 2)安装raspbian系统,并用windows自带的远程桌面连接登录
- [树莓派(raspberry pi)] 01、在linux环境下给树莓派安装系统及入门各种资料
- 树莓派(raspberry pi) 系统在SD卡上安装Linux
- raspberry pi树莓派系统快速安装
- Mac OSX下给树莓派安装Raspbian系统
- 深入点评联想 Yoga 900 笔记本安装 Arch Linux 系统
- 在树莓派2代B型/3代 上安装Fedora23 - Installing Fedora 23 on Raspberry Pi 2 model B or Raspberry Pi 3
- 小白指南:在 VirtualBox 中安装 Arch Linux 系统
- win2003系统下apache、php、mysql安装以及虚拟主机和目录权限设置(转载)
- 树莓派(Raspberry Pi 3 Model B)安装Wordpress和花生壳
- Raspberry Pi(树莓派)上从零开始构建Linux系统(简称PiLFS)(一)
- 树莓派(raspberry pi)学习16: 安装VNC,远程管理Raspberry Pi
- 树莓派 Raspberry-Pi 折腾系列:系统安装及一些必要的配置
- windows和linux下安装树莓派系统及wifi配置
- ubuntu下安装raspberry pi系统
- 树莓派瞎玩~1~系统的安装.md
- 树莓派 系统的 启动与安装
- 树莓派3B, 安装win10 IOT系统