This commit is contained in:
hackrobot
2024-08-03 14:18:12 +08:00
parent b723533755
commit 5bcc3a51fd
40 changed files with 0 additions and 0 deletions

25
微信AI/dd-img.md Normal file
View File

@@ -0,0 +1,25 @@
```
sudo fdisk -u -l
```
Disk /dev/mmcblk0: 232.96 GiB
需要使用ubuntu 图形系统,用gparted对硬盘进行挂载,分区
```
sudo fdisk -u -l /dev/mmcblk0
```
Device Start End Sectors Size Type
/dev/mmcblk0p1 61440 2158591 2097152 1G Linux extended boot
/dev/mmcblk0p2 2158592 483655679 481497088 229.6G Linux filesystem
最大的 end数量+1
483655679+1=483655680
bs一定要=512
```
dd bs=512 count=2158592 if=/dev/mmcblk0 of=/ghost.img status=progress
```