File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 为 Proxmox VE 定制 Debian Cloud 系统镜像与创建虚拟机模板
2+
3+ https://blog.skk.moe/post/proxmox-ve-customize-debian-cloud-image/
Original file line number Diff line number Diff line change 1+ 查询硬盘列表
2+ ``` shell
3+ fdisk -l
4+ ```
5+
6+ 运行分区工具
7+ ``` shell
8+ fdisk /dev/sdb
9+ # n 创建新分区
10+ # w 保存并退出
11+ ````
12+
13+ 创建文件系统
14+ ` ` ` shell
15+ mkfs.ext4 /dev/sdb1
16+ ` ` `
17+
18+
19+ 临时挂载
20+ ` ` ` shell
21+ mount /dev/sdb1 /mnt/new_disk
22+ ` ` `
23+
24+ 永久挂载
25+ ` ` ` shell
26+ # 查询分区id
27+ blkid /dev/sdb1
28+
29+ # 编辑配置文件
30+ nano /etc/fstab
31+ # 添加如下配置
32+ # UUID=xxx /mnt/new_disk ext4 defaults 0 2
33+
34+ ` ` ` " 349bd129-9089-4da7-ac66-94f23bd0f731"
35+
36+ 查看挂载状态
37+ ` ` ` shell
38+ df -h
39+ ` ` `
40+
41+
42+ 迁移数据
43+ ` ` ` shell
44+ rsync -av /data/ /mnt/new_disk/data/
45+ ` ` `
Original file line number Diff line number Diff line change 1+ ##
2+
3+ * [ 制作一个自己的linux] ( https://popovicu.com/posts/making-a-micro-linux-distro/ )
4+ * [ 使用代码管理dns记录] ( https://blog.skk.moe/post/dns-as-code-via-dnscontrol/ )
5+ * 无盘系统
6+ * https://fogproject.org/
7+ * https://theopenem.com/
8+ * [ SOLANA] ( https://accu.cc/content/solana/foreword/ )
You can’t perform that action at this time.
0 commit comments