如何通过SD给BeagleboneBlack安装ubuntu操作系统
来源:互联网 发布:微博上网络红猫 编辑:程序博客网 时间:2024/06/09 22:21
BeagleBone Black microSD Card Installation
- Insert the microSD Card into your computer and observe which device it registers as by typing
ls /dev/sd*
. If you are uncertain, remove the microSD Card and the entry should go away. Once you know which device your microSD Card is, follow the instructions below replacing/dev/sdX
with the name of the microSD Card in your system. - Begin partitioning the microSD Card by typing
fdisk /dev/sdX
- Initialize a new partition table by selecting o, then verify the partition table is empty by selecting p.
- Create a boot partition by selecting n for ‘new’, then p for ‘primary’, and 1 to specify the first partition. Press enter to accept the default first sector and specify 4095 for the last sector.
- Change the partition type to FAT16 by selecting t for ‘type’ and e for ‘W95 FAT16 (LBA)’.
- Set the partition bootable by selecting a then 1.
- Next, create the data partition for the root filesystem by selecting n for ‘new’, then p for ‘primary’, and 2 to specify the second partition. Accept the default values for the first and last sectors by pressing enter twice.
- Press p to ‘print’ the partition table. It should look similar to the one below.
Disk /dev/sdb: 7948 MB, 7948206080 bytes255 heads, 63 sectors/track, 966 cylinders, total 15523840 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0xafb3f87b Device Boot Start End Blocks Id System/dev/sdb1 * 2048 4095 1024 e W95 FAT16 (LBA)/dev/sdb2 4096 15523839 7759872 83 Linux
- Finally, commit the changes by selecting w to ‘write’ the partition table and exit fdisk.
- Format the Partitions
- Format partition 1 as FAT by typing
mkfs.vfat /dev/sdX1
- Format partition 2 as ext4 by typing
mkfs.ext4 /dev/sdX2
- Format partition 1 as FAT by typing
- Install u-boot to the microSD Card
wget http://s3.armhf.com/dist/bone/bone-uboot.tar.xzmkdir bootmount /dev/sdX1 boottar xJvf bone-uboot.tar.xz -C bootumount boot
- Install the desired root filesystem to the microSD Card (ubuntu trusty in this example)
wget http://s3.armhf.com/dist/bone/ubuntu-trusty-14.04-rootfs-3.14.4.1-bone-armhf.com.tar.xzmkdir rootfsmount /dev/sdX2 rootfstar xJvf ubuntu-trusty-14.04-rootfs-3.14.4.1-bone-armhf.com.tar.xz -C rootfsumount rootfs
- The microSD Card is now ready to boot. Note that for ubuntu installations, the login userid is ubuntu and the password is ubuntu. Likewise for debian installations, the login userid is debian and the password is debian.
Tip: The package cache has been flushed to reduce the size of the images. Run apt-get update
after boot to update the package cache, then run apt-get upgrade
to ensure the latest updates are installed.
阅读全文
0 0
- 如何通过SD给BeagleboneBlack安装ubuntu操作系统
- ubuntu操作系统下面给eclipse安装 adt
- beagleboneblack ubuntu 配置无线网络
- 制作BeagleBoneBlack的ubuntu系统
- 如何给Ubuntu 安装Vmware Tools
- 如何给Ubuntu 安装Vmware Tools
- 如何给Ubuntu 安装Vmware Tools
- 如何给Ubuntu 安装Vmware Tools
- 如何给ubuntu安装vmware tools
- 如何给Ubuntu 安装Vmware Tools
- 如何给Ubuntu 安装Vmware Tools
- 如何给Ubuntu 安装Vmware Tools_
- 如何给Ubuntu 安装Vmware Tools
- 如何给Ubuntu 安装Vmware Tools
- 如何给Ubuntu 安装Vmware Tools
- 如何通过U盘安装Ubuntu系统
- BeagleBoneBlack上通过nfs/ramdisk加载linux
- 如何通过VMware Player中的XP虚拟操作系统连Ubuntu虚拟操作系统下的MySQL
- ButterKnife使用报错问题
- Unity3D 游戏贴图(法线贴图,漫反射贴图,高光贴图)
- 线程池的使用
- http 缓存分为客户端缓存和服务端缓存
- PHP面向对象错误处理笔记
- 如何通过SD给BeagleboneBlack安装ubuntu操作系统
- Python笔记 NO.1
- 分答项目_技能点:json字符串
- 从request获取各种路径总结
- 一般人的不知道的Java 的四种引用类型
- BASE64基本使用
- NOIP 2017 Day2 题3:队列 线段树
- oracle with as
- Java四种线程池的示例