今天换个玩法,不继续深入探索Raspbian系统了,研究一下官网推荐的另一种安装方法NOOBS。

那么什么是NOOBS呢?它是专为Raspberry pi打造的简单易用的图形界面的操作系统管理工具。全称为:New Out Of the Box Software

官方截图如下:

本工具的初衷就是简化Raspberry pi安装系统的繁琐,因为Raspberry pi的板子买来是不带系统的,我们需要额外购买SDCard来安装系统。对很多新手来说,命令行的东西肯定是没有图形界面来得简单易懂。正是由于每个sdcard上面代表着安装好的系统,我们可以通过多买几个sdcard就可以持续性的体验不同的系统,只需通过换个sdcard搞定,真是特别方便。下面来说说我是如果在另一张8G卡用NOOBS安装系统Raspbian的。

第一步,下载NOOBS

官网链接,记得自己是在Ubuntu下用Firefox浏览器下载的,可以断点续传。

第二步,格式化SDCard

如果你的SDCard本来就是FAT32文件系统,那么跳过这一步。不要被这一步吓到,如果不用格式化,那么NOOBS安装只需要三步:下载解压、在Raspberry pi上启动

Linux下将SDCard格式化成Fat32文件系统。用fdisk命令,需要root权限,或者sudo。插上SDCard卡,执行如下命令:

#fdisk -l
Disk /dev/sdb: 8054 MB, 8054112256 bytes
49 heads, 29 sectors/track, 11070 cylinders, total 15730688 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: 0x00000000Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            8192    15730687     7861248    b  W95 FAT32

看来我的8G卡现在已经是FAT32系统了,而且就这一个分区。不要紧,过程我还是要执行一遍。

#fdisk /dev/sdb1
Command (m for help): d
No partition is defined yet!Command (m for help): pDisk /dev/sdb1: 8049 MB, 8049917952 bytes
248 heads, 62 sectors/track, 1022 cylinders, total 15722496 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: 0x00000000Device Boot      Start         End      Blocks   Id  SystemCommand (m for help): n
Partition type:p   primary (0 primary, 0 extended, 4 free)e   extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-15722495, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-15722495, default 15722495):
Using default value 15722495

Tips:回车(Enter)键选择默认项。
Tips:Enter is means you select default option.

上面创建了一个主分区,1号分区。并且设置了启动和结束的扇区值。我们再来看看创建的情况:

Command (m for help): pDisk /dev/sdb1: 8049 MB, 8049917952 bytes
248 heads, 62 sectors/track, 1022 cylinders, total 15722496 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: 0x00000000Device Boot      Start         End      Blocks   Id  System
/dev/sdb1p1            2048    15722495     7860224   83  Linux

好的,我们的分区类型是linux,下面我们再把它转换成FAT32.

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): l //attention!This is L! Not number 1.0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris        1  FAT12           27  Hidden NTFS Win 82  Linux swap / So c1  DRDOS/sec (FAT-2  XENIX root      39  Plan 9          83  Linux           c4  DRDOS/sec (FAT-3  XENIX usr       3c  PartitionMagic  84  OS/2 hidden C:  c6  DRDOS/sec (FAT-4  FAT16 <32M      40  Venix 80286     85  Linux extended  c7  Syrinx         5  Extended        41  PPC PReP Boot   86  NTFS volume set da  Non-FS data    6  FAT16           42  SFS             87  NTFS volume set db  CP/M / CTOS / .7  HPFS/NTFS/exFAT 4d  QNX4.x          88  Linux plaintext de  Dell Utility   8  AIX             4e  QNX4.x 2nd part 8e  Linux LVM       df  BootIt         9  AIX bootable    4f  QNX4.x 3rd part 93  Amoeba          e1  DOS access     a  OS/2 Boot Manag 50  OnTrack DM      94  Amoeba BBT      e3  DOS R/O        b  W95 FAT32       51  OnTrack DM6 Aux 9f  BSD/OS          e4  SpeedStor      c  W95 FAT32 (LBA) 52  CP/M            a0  IBM Thinkpad hi eb  BeOS fs        e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a5  FreeBSD         ee  GPT            f  W95 Ext'd (LBA) 54  OnTrackDM6      a6  OpenBSD         ef  EFI (FAT-12/16/
10  OPUS            55  EZ-Drive        a7  NeXTSTEP        f0  Linux/PA-RISC b
11  Hidden FAT12    56  Golden Bow      a8  Darwin UFS      f1  SpeedStor
12  Compaq diagnost 5c  Priam Edisk     a9  NetBSD          f4  SpeedStor
14  Hidden FAT16 <3 61  SpeedStor       ab  Darwin boot     f2  DOS secondary
16  Hidden FAT16    63  GNU HURD or Sys af  HFS / HFS+      fb  VMware VMFS
17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fc  VMware VMKCORE
18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fd  Linux raid auto
1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid fe  LANstep
1c  Hidden W95 FAT3 75  PC/IX           be  Solaris boot    ff  BBT
1e  Hidden W95 FAT1 80  Old Minix
Hex code (type L to list codes): b
Changed system type of partition 1 to b (W95 FAT32)Command (m for help): pDisk /dev/sdb1: 8049 MB, 8049917952 bytes
248 heads, 62 sectors/track, 1022 cylinders, total 15722496 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: 0x00000000Device Boot      Start         End      Blocks   Id  System
/dev/sdb1p1            2048    15722495     7860224    b  W95 FAT32

此时需要将新的分区写入到sdcard,使用w命令:

Command (m for help): w
The partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.mkfs.vfat /dev/sdb1
mkfs.vfat 3.0.12 (29 Oct 2011)
mkfs.vfat: /dev/sdb1 contains a mounted file system.

值得注意的是,我上面的format操作貌似没有成功。因为在sdcard中还可以看到原有文件,
也许是因为写保护?还是什么别的原因?好像我的一系列操作都没有成功似的。

第三步,将NOOBS文件解压到SDCard

如果SDCard本来就是FAT32系统,那么直接就可以做这一步,这也就是用NOOBS工具安装系统的方便之所在。

解压过程:
此时我在sdcard的目录下,直接执行unzip。

unzip ~/raspberrypi/NOOBS_v1_3_10.zip
Archive:  ~/raspberrypi/NOOBS_v1_3_10.zipinflating: BUILD-DATA              inflating: INSTRUCTIONS-README.txt  extracting: RECOVERY_FILES_DO_NOT_EDIT  inflating: bootcode.bin            creating: defaults/creating: defaults/slides/inflating: defaults/slides/A.png   creating: os/creating: os/Raspbian/inflating: os/Raspbian/root.tar.xz  inflating: os/Raspbian/boot.tar.xz  inflating: os/Raspbian/partition_setup.sh  extracting: os/Raspbian/Raspbian.png  creating: os/Raspbian/slides_vga/inflating: os/Raspbian/slides_vga/G.png  inflating: os/Raspbian/slides_vga/B.png  inflating: os/Raspbian/slides_vga/C.png  inflating: os/Raspbian/slides_vga/D.png  inflating: os/Raspbian/slides_vga/E.png  inflating: os/Raspbian/slides_vga/F.png  inflating: os/Raspbian/slides_vga/A.png  inflating: os/Raspbian/partitions.json  inflating: os/Raspbian/flavours.json  extracting: os/Raspbian/Raspbian_-_Boot_to_Scratch.png  inflating: os/Raspbian/os.json     inflating: os/Raspbian/release_notes.txt  creating: os/Data_Partition/extracting: os/Data_Partition/Data_Partition.png  inflating: os/Data_Partition/partitions.json  inflating: os/Data_Partition/os.json  extracting: os/Data_Partition/data.tar.xz  inflating: recovery.cmdline        inflating: recovery.elf            inflating: recovery.img            inflating: recovery.rfs            inflating: riscos-boot.bin         

第四步,启动

现在可以把SDCard从电脑上退下来,插到板子上,加电启动。如下图所示:

在安装中,拷贝速度是1.4MB/s,明显比直接用dd命令将img拷贝到sdcard中慢。

经过漫长的安装过程,终于成功了。启动画面与上一季完全一样。

参考:

官方安装文档:http://www.raspberrypi.org/documentation/installation/noobs.md

Raspberry pi,一个好玩的派:第四季 NOOBS相关推荐

  1. Raspberry pi,一个好玩的派 第四季 NOOBS

    今天换个玩法,不继续深入探索Raspbian系统了,研究一下官网推荐的另一种安装方法NOOBS. 那么什么是NOOBS呢?它是专为Raspberry pi打造的简单易用的图形界面的操作系统管理工具.全 ...

  2. Raspberry Pi 3使用IoT Dashboard和NOOBS 安装 windows IoT以及Raspbian 系统

    Raspberry Pi 3使用IoT Dashboard和NOOBS 安装 windows IoT以及Raspbian 系统 主要介绍Raspberry的两个主要系统win10 IoT和Raspbi ...

  3. Raspberry pi,一个好玩的派:第一季 开源硬件

    开源之风从软件吹到了硬件,三个比较有代表性的是Raspberry Pi(树梅派).Arduino(阿尔杜伊诺,好吧,原谅我的发音)和BeagleBone Black.所谓的开源精神,有人总结为四种维度 ...

  4. noobs_如何通过NOOBS享受死的简单Raspberry Pi设置

    noobs If you're looking for the simplest way to get started with your new Raspberry Pi, look no furt ...

  5. Raspberry Pi NOOBS setup

    为什么80%的码农都做不了架构师?>>>    NOOBS SETUP To get started with Raspberry Pi you need an operating ...

  6. raspberry pi_我如何使用Raspberry Pi与孙辈联系

    raspberry pi 我非常喜欢Raspberry Pi计算机,因为它是一种学习和使用计算机的有趣方式. 我希望我小时候有类似的感觉,但是我尽了最大的努力,用滑尺和当地大学的大型机. 我还发现Ra ...

  7. Raspberry Pi 4和 Raspberry Pi 4B的区别_用树莓派搭建私人简易网盘 2/5 树莓派4B初始设置...

    配件到齐后,TF卡先格式化一遍,文件系统选FAT32,以便树莓派能识别到. 系统方面,树莓派能支持的系统有很多,咱因为初来乍到,就先从官网上下载了.在这里我遇到了第一个坑.之前在网上找的资料,都推荐直 ...

  8. Raspberry Pi 3 入门 安装Raspbian系统 使用NOOBS傻瓜工具 超超超超超简单

    刚开始折腾树莓派了, 玩树莓派让我这种英文小白提高了不少 介绍一下 我手头上的是Raspberry Pi 3 Model B,现在也是主要用这个版本, 而树莓派的型号有以下这些: (总结一句,目前为止 ...

  9. 基于 Raspberry Pi 构建一个飞机观察器

    此项目使用带超低成本软件无线电 (SDR) 硬件的 Raspberry Pi,来接收数百万里之外的机载 S 模式应答器发送的跟踪信息.Raspberry Pi 配备了灵巧的 3.5 英寸 TFT 显示 ...

最新文章

  1. 系统时间、时区、字符集
  2. 2015.07.20MapReducer源码解析(笔记)
  3. java中http解析url,java url 编码(解析http请求汉语言地址 )
  4. C语言setjmp函数使用
  5. centos安装vsftp后的虚拟用户设置
  6. [html] 说说你对abbr标签的理解,它有什么含义?
  7. linux c 将虚拟地址转化为物理地址_面试不懂 Linux 内存管理?我用 20 张图给你讲明白...
  8. 程序员过关斩将:小小的分页引发的加班血案
  9. 重新配对_最容易旧情复燃的星座配对,念念不忘,重新在一起
  10. DayDayUp:2021年的自我总结
  11. ie浏览器跳不出下一个页面怎么回事_用户现在可以在微软Edge Chromium中启动IE模式访问传统老旧网站...
  12. python 二分类的实例_Python深度学习案例1--电影评论分类(二分类问题)
  13. ActiveMQ使用教程
  14. python做语音识别
  15. ajax加载图片使用,Lightbox–Ajax加载下图片灯箱的使用
  16. Qt开发 — WindowType详解
  17. 如何用课件制作工具验证三角形内角和
  18. 最新唯美520表白纪念网页HTML源码+UI超级好看
  19. 向量的外积(outer product)与克罗内克积(Kronecker)
  20. 让机器学习助力医疗领域

热门文章

  1. vue项目中集成layerUI
  2. 街景字符编码识别之模型集成
  3. linux软件卸载及清理
  4. MySQL高级部分( 二: MySQL架构、引擎、索引)
  5. htc x920e刷android7.0,“刷机党”眼中的一代神机,从WM系统一路刷到安卓7.0
  6. 易宝点评网络游戏交易排行榜
  7. pycharm安装Open3D库失败解决小全笔记--Could not find a version that satisfies the requirement
  8. VMware安装android 使用蓝牙连接智能手环
  9. java分布式(分布式架构)
  10. 注册Google 谷歌注册的两种方法