如何在Linux操作系统下创建ISO镜像文件

1、用dd命令

#dd if=/dev/cdrom of=/***/目的文件.iso

上面的命令是在将光盘作成iso文件

2、用mkisofs 命令

#mkisofs -r -J -V 卷标名 -o 目的文件.iso 源文件

上面的命令是将 “源文件” 文件及目录作成 “目的文件.iso”。

例子 :

# mkisofs -r -J -V widebright -o widebright.iso /widebright

在linux系统上建了一个iso文件,然后放到windows xp上,结果winrar能够正确解压,使用DAEMON Tools 作为虚拟光盘加载之后,也很正常。

NAME

mkisofs - create an hybrid ISO9660/JOLIET/HFS filesystem

with optional Rock Ridge attributes.

SYNOPSIS

mkisofs [ options ] [ -o filename ] pathspec [pathspec...]

注:

-J Generate Joliet directory records in addition to regular iso9660 file names.

主要是为了兼容windows系统。

卷标名——指所做成iso文件后插入虚拟光盘时所显示的名字。

-R Generate SUSP and RR records using the Rock Ridge

protocol to further describe the files on the iso9660 filesystem.

-r This is like the -R option, but file ownership and

modes are set to more useful values.The uid and

gid are set to zero, because they are usually only

useful on the author's system, and not useful to

the client.All the file read bits are set true,

so that files and directories are globally readable

on the client.If any execute bit is set for a

file, set all of the execute bits, so that executa­

bles are globally executable on the client. If any

search bit is set for a directory, set all of the

search bits, so that directories are globally

searchable on the client.All write bits are

cleared, because the CD-Rom will be mounted read-

only in any case.If any of the special mode bits

are set, clear them, because file locks are not

useful on a read-only file system, and set-id bits

are not desirable for uid 0 or gid 0. When used on

Win32, the execute bit is set on all files. This is

a result of the lack of file permissions on Win32

and the Cygwin POSIX emulation layer.See also

-uid -gid, -dir-mode, -file-mode and -new-dir-mode.

更多的选项可以用 man mkisofs 查看

本文作者:相关阅读:

保障Web服务器Apache安全的几项措施

js Form.elements[i]的使用实例

IE8的一些有趣的新功能

mYsql日期和时间函数不求人

jquery 问答知识整理

ASP.NET日期操作常用操作代码

javascript 和 Java 的区别

WordPress插件:中文标题自动转换拼音

BAT 解 密 工 具

详解Oracle建立用户和对用户的管理

用Ajax读取XML格式的数据

组合算法的PHP解答方法

Oracle缓冲块(data block)状态类型

Oracle 常见问题解答

dd指令打包iso文件 linux_Linux_如何在Linux操作系统下创建ISO镜像文件,1、用dd命令#dd if=/dev/cdrom - phpStudy...相关推荐

  1. Linux中光驱设备如何使用,如何在Linux操作系统下使用虚拟光驱

    如何在Linux操作系统下使用虚拟光驱: 在Linux下使用虚拟光驱 其实根本不需要什么虚拟光驱软件,用mount命令就可以完成. 1. 把光盘制作成iso文件 $cp /dev/cdrom XXXX ...

  2. Linux环境下创建运行.java文件

    1.下载安装jdk. 一条yum指令就可以搞定了,也可以自己从windows上共享文件进行操作,有些复杂,这里不做详细描述. 以后熟练了,可能进行二更. yum install java-1.8.0- ...

  3. linux图片什么格式文件怎么打开,解决Linux平台下无法打开jpg文件(提示: “Not a JPEG file: starts with 0x89 0x50”)的方法...

    1.我们经常从网上下载各种jpg图片,有时候某些jpg图片在ubuntu14.04平台下无法显示缩略图,如下图中的vim_logo.jpg. 某些jpg图片在ubuntu14.04平台下无法显示缩略图 ...

  4. linux怎样将文件夹设置共享,Linux操作系统下共享文件夹设置方法介绍

    首先当然是要安装samba了,呵呵: sudo apt-get install samba sudo apt-get install smbfs 下面我们来共享群组可读写文件夹,假设你要共享的文件夹为 ...

  5. linux系统 exe文件怎么打开方式,linux操作系统下,exe文件为什么打不开?

    跃然一笑 linux下默认是无法打开exe文件,需要下载wine支持exe,但并非所有exe都可以运行的.Wine ("Wine Is Not an Emulator" 的首字母缩 ...

  6. linux看电视系统,教你如何在Linux操作系统下观看电视节目

    下面是一段shell脚本拷贝到path 路径下运行即可,原版本来自何勃亮,我增加了提示功能方便输入. #! /bin/sh case \$1 in cctv0 ) mplayer mms://live ...

  7. linux电脑系统投到电视,教你如何在Linux操作系统下观看电视节目

    下面是一段shell脚本拷贝到path 路径下运行即可,原版本来自何勃亮,我增加了提示功能方便输入. #! /bin/sh case $1 in cctv0 ) mplayer mms://live. ...

  8. 如何看linux有没有网络电视,教你如何在Linux操作系统下观看电视节目

    下面是一段shell脚本拷贝到path 路径下运行即可,原版本来自何勃亮,我增加了提示功能方便输入. #! /bin/sh case $$1 in cctv0 ) mplayer mms://live ...

  9. 在linux操作系统下,将文件打包成ISO

    在linux操作系统下,将文件打包成ISO 示例: mkisofs -l -v -r -J -o ./kylin-monitor.iso Kylin-Monitor-x86_64_V1.0/ -l 允 ...

最新文章

  1. [ZJOI2018]历史
  2. 数据科学+python+R+数据库+机器学习+(速查表)cheat sheets大全
  3. Dynamics Ax 2012 – AIF Import CSV File
  4. 计算机所在网络最多可实际分配,网络技术应用1
  5. 实习日记7.13-7.14
  6. Python_List对象内置方法详解
  7. Precision Helper:最佳免费 CHM 制作软件
  8. redis数据结构详解之Hash(四)
  9. Ubuntu:成功解决ubuntu使用su切换root出现Authentication failure用户时认证失败
  10. Linux命令行模式下的复制和粘贴以及停止命令刷新
  11. centos下git clone报401错误解决办法
  12. zynq中mgtx应用_基于ZYNQ的UCOS移植(TCP通讯)
  13. 推荐算法-关联分析(关联规则)
  14. 什么是JSON处理(JSON-P API)?
  15. uva 104 Arbitrage (DP + floyd)
  16. 代码阅读工具-global
  17. 初探内联方式的 onload=doSomething()为何要加()?而js代码的 onload=doSomething 和 addEventListener 为何不加()?...
  18. 链表的基本操作(单链表)
  19. python读取qq客户端消息_使用 Python 读取 QQ 消息
  20. c语言中lookup函数功能,Lookup函数以及0/的用法

热门文章

  1. Simulink仿真示波器波形出现小圆圈
  2. win10搜索计算机中所有excel,win10系统无法搜索到word、excel等文件内容的处理技巧...
  3. 操作系统核心知识与重难点
  4. 360浏览器怎样清除缓存
  5. PHP 递归和递推思想
  6. ffmpeg入门篇-ffmpeg是怎么转码的?
  7. 【金融风险管理】python进行股票标准差、方差、均值、离散系数、标准化、对数收益率
  8. 二手车交易价格预测——数据分析
  9. 【源码】基于心电图的数据分析
  10. 你必须知道的家庭急救常识