Manage Linux ISO image files.
2011-08-11 11:09
239 查看
Mount ISO image file:
https://help.ubuntu.com/community/MountIso
~/temp$ mkdir test
~/temp$ sudo mount -o loop cd.iso ./test/
~/temp$ sudo umount ./test
_______________________________________________________________________________
Create ISO image from DVD/CD or directory:
Reference to:
http://ubuntuforums.org/archive/index.php/t-6509.html
To make an ISO from your CD/DVD, place the media in your drive but do not mount
it. If it automounts, unmount it.
dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi
To make an ISO from files on your hard drive, create a directory which holds
the files you want. Then use the mkisofs command.
mkisofs -o /tmp/cd.iso /tmp/directory/
This results in a file called cd.iso in folder /tmp which contains all the
files and directories in /tmp/directory/.
For more info, see the man pages for mkisofs, losetup, and dd, or see the
CD-Writing-HOWTO at http://www.tldp.org.
_______________________________________________________________________________
Create ISO images with genisoimage
~$ genisoimage -o test.iso ./test/
Note: genisoimage cannot create ISO file from mounted DVD folder directly.
_______________________________________________________________________________
http://tldp.org/HOWTO/CD-Writing-HOWTO.html
https://help.ubuntu.com/community/MountIso
~/temp$ mkdir test
~/temp$ sudo mount -o loop cd.iso ./test/
~/temp$ sudo umount ./test
_______________________________________________________________________________
Create ISO image from DVD/CD or directory:
Reference to:
http://ubuntuforums.org/archive/index.php/t-6509.html
To make an ISO from your CD/DVD, place the media in your drive but do not mount
it. If it automounts, unmount it.
dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi
To make an ISO from files on your hard drive, create a directory which holds
the files you want. Then use the mkisofs command.
mkisofs -o /tmp/cd.iso /tmp/directory/
This results in a file called cd.iso in folder /tmp which contains all the
files and directories in /tmp/directory/.
For more info, see the man pages for mkisofs, losetup, and dd, or see the
CD-Writing-HOWTO at http://www.tldp.org.
_______________________________________________________________________________
Create ISO images with genisoimage
~$ genisoimage -o test.iso ./test/
Note: genisoimage cannot create ISO file from mounted DVD folder directly.
_______________________________________________________________________________
http://tldp.org/HOWTO/CD-Writing-HOWTO.html
相关文章推荐
- Mount an ISO image under Linux
- mount iso image in linux
- How to use logrotate to manage log files in Linux
- How to use logrotate to manage log files in linux(如何在Linux中使用logrotate去管理日志文件)
- How to: Mount an ISO image under Linux(Linux 下 mount .iso 镜像文件)
- 15 Linux Split and Join Command Examples to Manage Large Files--reference
- How to: Mount an ISO image under Linux
- Tips: 使用autotools生成动态.so库文件 / Generate .so library files using autotools in Solaris and Linux
- Linux Directory Structure and Important Files Paths Explained
- Linux内核源码分析--内核启动之(2)Image内核启动(汇编部分)(Linux-3.0 ARMv7) 【转】
- linux 挂载 ISO 文件
- Working with Linux Files and Folders in Bash
- Linux中的错误:too many open files
- linux 加载ISO
- linux中ISO文件运用
- How Linux creates device files under /dev
- Linux系统下python Image.show()无反应的解决办法
- linux下ISO的定制实现
- RHEL64 缺少ISO 9660图像 安装程序试图挂载映像#1,在硬盘上无法找到该映像 分类: arm-linux-Ubuntu 2015-01-20 16:47 644人阅读 评论(0) 收藏
- Linux-centos-kickstart-无人值守自动安装-ISO镜像制作