Open xiaozefeng opened 5 years ago
Linux 下烧制系统启动盘就简单很多了
sudo fdisk -l
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors Disk model: SanDisk SD8TN8U2 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: gpt Disk identifier: 1F62D7CF-0EF1-453C-A0DB-C0E13E3D6C24 Device Start End Sectors Size Type /dev/sda1 2048 125831167 125829120 60G Linux filesystem /dev/sda2 125831168 126445567 614400 300M EFI System /dev/sda3 126445568 466184191 339738624 162G Linux filesystem /dev/sda4 466184192 500118158 33933967 16.2G Linux swap Disk /dev/sdb: 28.7 GiB, 30752000000 bytes, 60062500 sectors Disk model: Ultra USB 3.0 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: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sdb1 32 60062499 60062468 28.7G c W95 FAT32 (LBA)
/dev/sdb1 则是我的U盘
sudo umount /dev/sdb1
sudo dd bs=4M if=镜像路径 of=U盘盘符 status=progress oflag=sync
使用dd命令直接将将iso文件数据写入U盘,所以U盘不包含一个标准的分区表,从而导致系统无法正常的识别其大小,也无法正常使用,使用它安装系统后,如果不需要U盘安装盘了, 可以回复它, 具体的恢复方法有需要再总结一下
Linux 下烧制系统启动盘就简单很多了
1. U盘位置
/dev/sdb1 则是我的U盘
如果U盘被自动挂载,使用umount 先卸载它
开始烧制
使用dd命令直接将将iso文件数据写入U盘,所以U盘不包含一个标准的分区表,从而导致系统无法正常的识别其大小,也无法正常使用,使用它安装系统后,如果不需要U盘安装盘了, 可以回复它, 具体的恢复方法有需要再总结一下