树莓派入门教程–第十一课–8G/16G/32G卡刷系统后为何只有区区55M,如何还原空间?

第一次玩树莓派的新手,用读卡器自己刷好系统后。windows上会看到一个boot分区。但是boot分区只有区区55M左右。这是为什么呢?我的卡明明是8G、16G、32G 其他空间去哪里了呢?

其实我们进入终端,输入df 查看分区就明了了。

其中boot分区1k-block显示57288个,57288/1024 约等于55M+。注意其他还有root根大约占用了3G多。笔者这里用的是8G卡,未作任何配置,也没有扩展过root闲置的空间。

我们知道在windows上只能识别fat ntfs等微软常用os分区格式。而在linux下,巨大的root分区是用ext3格式,这就导致了windows上无法识别root,但是可以识别fat格式的boot分区。(为何要留这个后门呢?lz认为基金会让pi更简单的被新手用起来。比如你要在pi上交互一些小体积文件,可以直接在winows上copy到boot分区,然后回到linux上,再从boot分区copy到你的工作目录下。这是没有网络情况下,交互文件的最简便方法!)

现在小伙伴们知道了55M的由来。 我们在进一步提出2个问题:

问题1:如果我以后要换pi其他的系统,是否需要把55M恢复到8G,然后在用USB Image Tool.exe 来刷系统呢?
答:不用那么麻烦,USB Image Tool这个软件类似于windows上的ghost软件。它是直接对卡的物理地址进行刷写。跳过了分区的概念。也就是你加载的IMG文件后,他就老老实实的把你的卡,直接刷成了IMG里面的内容。是对卡底层的彻底覆盖刷写。所以刷出来的卡,直接可以用了。不需要提前格式化,提前分区等等操作。



问题2:pi的系统卡,我不想在用于pi上了。我需要恢复全部空间?该怎么办?
答:    先下载sd format绿色版程序 SD Formatter (210.66 KB, 下载次数: 184)

drive选择好 tf卡的盘符,这里不要选错了。   最后点击 format ,大约几秒钟,你的卡就变成新卡了。空间是不是全部恢复出来了??

6 Comments

  • Laverne

    2016年4月30日 at 下午1:58 回复

    This design is spectacular! You definitely know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Great job.
    I really loved what you had to say, and more than that, how you presented
    it. Too cool!

  • Viola

    2016年4月30日 at 下午5:55 回复

    We stumbled over here from a different page and thought I
    should check things out. I like what I see so now i am
    following you. Look forward to looking at your web page for a second time.

  • Penney

    2016年4月30日 at 下午7:34 回复

    Greate post. Keep posting such kind of information on your site.
    Im really impressed by your blog.
    Hello there, You’ve performed a great job. I’ll certainly digg it and for my part recommend to my friends.
    I am sure they’ll be benefited from this web site.

  • garcinia cambogia yahoo answers

    2016年4月30日 at 下午11:54 回复

    This is a great tip particularly to those fresh to the blogosphere.

    Simple but very accurate info… Thank you for sharing this one.
    A must read post!

  • Kathleen

    2016年5月1日 at 上午5:40 回复

    It’s really a nice and helpful piece of information. I’m happy that you
    simply shared this useful info with us. Please stay us informed like this.
    Thanks for sharing.

  • Tyler

    2016年5月1日 at 下午1:30 回复

    Simply wish to say your article is as surprising. The clearness to your put up is just excellent and i could suppose you’re
    an expert in this subject. Fine with your permission allow me to grasp your RSS feed to stay up
    to date with imminent post. Thanks 1,000,000 and please carry on the gratifying work.

Post a Comment