ubuntu 制作U盘启动盘


fdisk -l查看 U盘 分区号

$ sudo fdisk -l
设备           Start      末尾      扇区   Size 类型
/dev/sda1       2048   1050623   1048576   512M EFI System
/dev/sda2    1050624 452331519 451280896 215.2G Linux filesystem
/dev/sda3  452331520 468860927  16529408   7.9G Linux swap

Disk /dev/sdb: 7.5 GiB, 8022654976 bytes, 15669248 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

取消U盘挂载 (卸载)

$ sudo umount /dev/sdb

dd命令, 将 iso写入U盘

写入过程是没有数据显示的,只要输出和输入路径没错,耐心等待即可

# if=后面跟要刻录到u盘的iso文件路径
# of=后面是u盘设备号(不需要带分区号)
$ sudo dd if=/home/itaken/cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso of=/dev/sdb
记录了6680776+0 的读入
记录了6680776+0 的写出
3420557312 bytes (3.4 GB, 3.2 GiB) copied, 1398.89 s, 2.4 MB/s

参考文档


Author: Itaken
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source Itaken !
  TOC目录