Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6507972
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: LINUX

2013-02-10 19:05:47


http://blog.chinaunix.net/uid-10449864-id-2956771.html


linux下制作ISO文件有几种方法,分别如下:

1,从光盘中制作ISO文件

cp /dev/cdrom 路径/ISO 文件名

例子:cp /dev/cdrom /opt/mycd.iso,也可以用 dd if=/dev/cdrom of=/opt/mycd.iso


2,使用目录文件制作ISO文件

mkisofs -r -o 路径/ISO 文件名 目录文件路径

例子:mkisofs -r -o /opt/mycd.iso /home


制作完ISO文件后,如何挂载呢?

mount -o loop ISO文件名  挂载点路径

例子:mount -o loop /opt/mycd.iso /mnt/cdrom


将制作完的ISO文件刻录到光盘上:

检测刻录机:

cdrecord -scanbus

会出现这样的信息:

[root@localhost ~]# cdrecord -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J枚rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c        1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
        1,0,0   100) 'DVDRW   ' 'IDE1004         ' '0043' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *


光盘刻录机在linux下识别为SCSI设备,我们必须在结果中收集刻录机的SCSI设备识别号,才能在刻录命令中使用,可以看到cdrom的设备号是:1,0,0


cdrecord -v speed=刻录速度 dev=刻录机设备号 ISO文件名

例子:cdrecord -v speed=16 dev=1,0,0 /opt/mycd.iso





阅读(1665) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~