收起左侧

OES PLUS 飞牛根目录安装至 sata 固态硬盘

4
回复
99
查看
[ 复制链接 ]

3

主题

7

回帖

0

牛值

江湖小虾

OES PLUS 飞牛根目录安装至 sata 固态硬盘
1、在 60 G的固态硬盘建立 sda1 分区作为迁移飞牛系统用
root@cat:~# fdisk /dev/sda

顺序输入 n p 1 默认回车 +18G y w (18G按需调整)

2、迁移飞牛系统盘到 sata 固态硬盘

root@cat:~# sudo dd if=/dev/mmcblk2p2 of=/dev/sda1 bs=4M status=progress
root@cat:~# sync

3、删除原飞牛系统分区 /dev/mmcblk2p2
root@cat:~# fdisk /dev/sda
顺序输入 d 2 w 注意是第2个系统分区,不要删除第1个引导分区;

4、扩容根分区大小
root@cat:~# sudo btrfs filesystem resize max /

root@cat:~# fdisk /dev/sda
Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-117231407, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-117231407, default 117231407): +18G

Created a new partition 1 of type 'Linux' and of size 18 GiB.
Partition #1 contains a btrfs signature.

Do you want to remove the signature? [Y]es/[N]o: y

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

收藏
送赞 1
分享

1

主题

2

回帖

0

牛值

江湖小虾

这个方案会占用一个sata口吧,这样,只能raid0或raid1

2

主题

18

回帖

0

牛值

江湖小虾

就问32G或者64G emmc 想把系统分区划分出一部分来作为空间1, 这个怎么操作,, 现在很多盒子都可以刷社区版飞牛, 他们emmc有的32 偶的64G, 全给系统分区 就太浪费 ,而且 如果不能接外置硬盘的话, 所以必须分出一点来 装软件

Alu
我有个思路你试试,把emmc第2个分区的系统备份出来,然后删了第2个分区,重建第2个分区,然后分配大小,多出来的再创建第3个分区格式化好挂载。  详情 回复
5 小时前

3

主题

7

回帖

0

牛值

江湖小虾

5 小时前 楼主 显示全部楼层
witchsman 发表于 2026-1-11 05:22
就问32G或者64G emmc 想把系统分区划分出一部分来作为空间1, 这个怎么操作,, 现在很多盒子都可以刷社区 ...

我有个思路你试试,把emmc第2个分区的系统备份出来,然后删了第2个分区,重建第2个分区,然后分配大小,多出来的再创建第3个分区格式化好挂载。

0

主题

8

回帖

0

牛值

江湖小虾

我来学习了

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则