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

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

被折叠的 条评论
为什么被折叠?



