centos6.x使用dd命令制作u盘启动

简介:

第一步,取得一个centos6.x的iso镜像,假设我当前的ios镜像在/iso/CentOS-6.6-x86_64-bin-DVD1.iso


第二步,插入u盘并查看u盘在当前系统下的代号
# fdisk -l


Disk identifier: 0x273e7463

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        4418     4524032   17  Hidden HPFS/NTFS

Disk /dev/sdb1: 4467 MB, 4467982336 bytes
64 heads, 32 sectors/track, 4261 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x273e7463

     Device Boot      Start         End      Blocks   Id  System
/dev/sdb1p1   *           1        4418     4524032   17  Hidden HPFS/NTFS

第三步,卸载u盘,


# umount /dev/sdb1


第四步,使用dd命令

# dd if=/iso/CentOS-6.6-x86_64-bin-DVD1.iso of=/dev/sdb


 (记住这里of是输出设备,应该是/dev/sdb而不是/dev/sdb1)


第五步,制作成功之后出现如下画面

 

注:dd命令运行后不显示复制状态,要查看复制状态可以再打开一个终端,输入“while killall -USR1 dd; do sleep 5; done”查看复制状态。

while killall -USR1 dd; do sleep 5;done


5216736+0 records out
2670968832 bytes (2.7 GB) copied, 391.29 s, 6.8 MB/s
5317833+0 records in
5317833+0 records out
2722730496 bytes (2.7 GB) copied, 396.297 s, 6.9 MB/s
5418209+0 records in
5418208+0 records out
2774122496 bytes (2.8 GB) copied, 401.319 s, 6.9 MB/s
5519217+0 records in
5519217+0 records out
2825839104 bytes (2.8 GB) copied, 406.326 s, 7.0 MB/s
5618913+0 records in
5618912+0 records out
2876882944 bytes (2.9 GB) copied, 411.356 s, 7.0 MB/s
5619585+0 records in
5619585+0 records out
2877227520 bytes (2.9 GB) copied, 416.413 s, 6.9 MB/s
5619961+0 records in
5619961+0 records out
2877420032 bytes (2.9 GB) copied, 421.431 s, 6.8 MB/s
5673785+0 records in
5673785+0 records out
2904977920 bytes (2.9 GB) copied, 426.377 s, 6.8 MB/s




Linux运维的自我修养-ywliyq

  • 技术交流,请加QQ群:256172681

  • 给我写信:ywliyq@163.com

  • 我的技术博客:http://ywliyq.blog.51cto.com/

本文转自    蜗牛远途   51CTO博客,原文链接:http://blog.51cto.com/ywliyq/1770543
相关文章
|
23天前
|
Linux 网络安全
Centos 防火墙端口控制命令
Centos 防火墙端口控制命令
29 3
|
6月前
|
Linux Windows
Centos和Windows进程相关命令
Centos 杀死同名的全部进程命令:ps -efww|grep 进程名 |grep -v grep|cut -c 9-15|xargs kill -9 Centos 查看同名的全部进程数命令:ps -ef | grep 进程名 | wc -l Windows杀死同名进程命令:taskkill /F /IM chrome.exe Windows查看同名进程命令:tasklist /fi "...
51 0
|
5月前
|
存储 关系型数据库 Linux
Linux之centos7安装配置及Linux常用命令
Linux之centos7安装配置及Linux常用命令
219 0
|
16天前
|
网络协议 应用服务中间件 Linux
centos7 Nginx Log日志统计分析 常用命令
centos7 Nginx Log日志统计分析 常用命令
29 2
|
1月前
|
监控 网络协议 Linux
Linux 命令大全 & CentOS常用运维命令
Linux 命令大全 & CentOS常用运维命令
154 0
|
1月前
|
关系型数据库 MySQL 数据库
虚拟机Linux-Centos系统网络配置常用命令+Docker 的常用命令
虚拟机Linux-Centos系统网络配置常用命令+Docker 的常用命令
43 0
|
5月前
|
安全 Unix Linux
Centos虚拟机安装配置与MobaXterm工具及Linux常用命令(下)
Centos虚拟机安装配置与MobaXterm工具及Linux常用命令(下)
138 0
|
5月前
|
Unix Linux 开发工具
【Linux】centos7安装配置及Linux常用命令
【Linux】centos7安装配置及Linux常用命令
170 1
|
5月前
|
关系型数据库 MySQL Linux
CentOS mysql常用命令
CentOS mysql常用命令
57 0
|
3月前
|
消息中间件 Java Kafka
Apache Kafka-初体验Kafka(02)-Centos7下搭建单节点kafka_配置参数详解_基本命令实操
Apache Kafka-初体验Kafka(02)-Centos7下搭建单节点kafka_配置参数详解_基本命令实操
58 0