香橙派sd卡扩容

本文详细记录了香橙派Zero SD卡从2GB扩容到16GB的全过程,包括使用fdisk调整分区大小及使用resize2fs释放额外空间的具体步骤。

1. 香橙派sd卡扩容

最近购买了香橙派zero,发现烧写完程序后,sd卡的容量只有2G不到,可是我用的sd卡是16G,经过网上查阅资料,和测试,并把扩容过程记录下来。

2. orangepizero扩容

  • 环境烧写的是orangepizero的ubuntu系统
  • sd卡为16G

以下为扩容记录:

orangepi@orangepizero:~$ sudo fdisk /dev/mmcblk0
[sudo] password for orangepi:

Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p  #查看当前容量
Disk /dev/mmcblk0: 14.4 GiB, 15502147584 bytes, 30277632 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
Disklabel type: dos
Disk identifier: 0xdf942937

Device         Boot  Start     End Sectors  Size Id Type
/dev/mmcblk0p1       40960  143359  102400   50M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      143360 2416639 2273280  1.1G 83 Linux

Command (m
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

GeekFong

记录不易,坚持更新

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值