版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2004/04/05/000430.html
cdimage - the internal ISO tool of Microsoft -----> demo cdimage -lWindows01 -d -h -n -o -m -bloader.bin F:\ISO-n-in-1\2000_tree e:\windows01.v0.003.iso
-----> autorun.inf [AutoRun] icon=autorun.ico open=autorun.exe
-----> cdimage usage CDIMAGE 2.39 CD-ROM Premastering Utility Copyright (C) Microsoft, 1993-1997. All rights reserved. For Microsoft internal use only.
Usage: CDIMAGE [options] sourceroot targetfile
-l volume label, no spaces (e.g. -lMYLABEL) -t time stamp for all files and directories, no spaces, any delimiter (e.g. -t12/31/91,15:01:00) -g encode GMT time for files rather than local time -h include hidden files and directories -n allow long filenames (longer than DOS 8.3 names) -nt allow long filenames, restricted to NT 3.51 compatibility (-nt and -d cannot be used together) -d don't force lowercase filenames to uppercase -c use ANSI filenames versus OEM filenames from source -j1 encode Joliet Unicode filenames AND generate DOS-compatible 8.3 filenames in the ISO-9660 name space (can be read by either Joliet systems or conventional ISO-9660 systems, but some of the filenames in the ISO-9660 name space might be changed to comply with DOS 8.3 and/or ISO-9660 naming restrictions) -j2 encode Joliet Unicode filenames without standard ISO-9660 names (requires a Joliet operating system to read files from the CD) When using the -j1 or -j2 options, the -n, -nt, and -d options do not apply and cannot be used. -js non-Joliet "readme.txt" file for images encoded with -j2 option (e.g. -jsc:\location\readme.txt). This file will be visible as the only file in the root directory of the disc on systems that do not support the Joliet format (Windows 3.1, NT 3.x, etc). -u1 encode "UDF" file system along with mirror ISO-9660 file system (-n, -nt, -d, -c, or -j1, -j2 options apply to ISO-9660 portion) -u2 encode "UDF" file system without a mirror ISO-9660 file system (requires a UDF capable operating system to read the files) -us non-UDF "readme.txt" file for images encoded with -u2 option (e.g. -usc:\location\readme.txt). This file will be visible as the only file in the root directory of the disc on systems that do not support the UDF format. -b "El Torito" boot sector file, no spaces (e.g. -bc:\location\cdboot.bin) -s sign image file with digital signature (no spaces, provide RPC server and endpoint name like -sServerName:EndPointName) -x compute and encode "AutoCRC" values in image -o optimize storage by encoding duplicate files only once -oc slower duplicate file detection using binary comparisons rather than MD5 hash values -oi ignore diamond compression timestamps when comparing files -os show duplicate files while creating image (-o options can be combined like -ocis) -w warning level followed by number (e.g. -w4) 1 report non-ISO or non-Joliet compliant filenames or depth 2 report non-DOS compliant filenames 3 report zero-length files 4 report each file name copied to image -y test option followed by number (e.g. -y1), used to generate non-standard variations of ISO-9660 for testing purposes: 1 encode trailing version number ';1' on filenames (7.5.1) 2 round directory sizes to multiples of 2K (6.8.1.3) 5 write \i386 directory files first, in reverse sort order 6 allow directory records to be exactly aligned at ends of sectors (ISO-9660 6.8.1.1 conformant but breaks MSCDEX) 7 warn about generated shortnames for 16-bit apps under NT 4.0 b blocksize 512 bytes rather than 2048 bytes d suppress warning for non-identical files with same initial 64K -k (keep) create image even if fail to open some of the source files -m ignore maximum image size of 681,984,000 bytes -a allocation summary shows file and directory sizes -q scan source files only, don't create an image file
NOTE: Many of these options allow you to create CD images that are NOT compliant with ISO-9660 and may also NOT be compatibile with one or more operating systems. If you want strict ISO and DOS compliance, use the -w2 warning level and correct any discrepencies reported. YOU are responsible for insuring that any generated CDs are compatible with all appropriate operating systems. Also note that Microsoft company information is placed in the image volume header, so don't use this program to generate CDs for companies other than Microsoft.
-----> mkisofs by ClearMind @ Thu Oct 11 18:18:43 2001
光盘基本刻录支持和基本命令 ========================== 1. mkisofs的使用 mkisofs -b images/boot.img -c boot.cat -J -r -T \ -p "光盘标识号" -P "光盘制作人" -A "长光盘标识号" -V "短光盘标识号" \ . -o 光盘映象ISO
2. cdrecord刻录 cdrecord -v -dev=刻录机设备 -speed=刻录速度 -eject -fs=4m -data 光盘映象ISO
3. 多启动光盘映象光盘(multi-boot-image bootable CDROM)的制作 mkisofs -J -r -T -R -relaxed-filenames -c boot.cat \ -p "光盘标识号" -P "光盘制作人" -A "长光盘标识号" -V "短光盘标识号" \ -b image1.img -eltorito-alt-boot \ -b image2.img -eltorito-alt-boot \ -b image3.img -eltorito-alt-boot \ -b image4.img -eltorito-alt-boot \ -hide-rr-moved -max-iso9660-filenames \ -o 光盘映象ISO 光盘内容目录/
-----> mkisofs win32 GBK md5 by Wwashington @ NewSoftware-7-11
它比微软的 CDImage 多了 Unix RockRidge 和 Apple HFS 格式的支持。 在制作系统安装与维护光盘的时候,它可以发挥出超乎想象的巨大作用。
当我们采用 RockRidge 格式来做 ISO 的时候,最典型的应用例子就是 支持硬盘配置(linux fdisk).再利用 DiskEmu 增加一项 NT/2K 密码的 恢复(Bd011022.ima),就是很强的 Rescue Cdrom 了。使用前必须把你 做好的 ISO 镜象用刻录工具写到光盘里。下载后请仔细阅读说明文件。
...
基于 RockRidge+GBK+MD5 的 MultiBoot+Multi Windows Xp+NTPwd+Mandrake Rescue 光盘 ISO
...
好处太大了,cdimage -o 如果要做 3 Xp 合一的话,需要大约 2G 的实际空间,做完后再删重复链接,很土。而 mkisofs -O 则是扫描目录结构就用 MD5 判断文件链接,也就是说做多少个 Xp 合一都好,最后优化出来需要大多空间工作过程就需要多大。
关于这一点,是 COMMAN 完成的,你去感谢他吧,偶只管 MD5。
Product: mkisofs 1.15a23 +gbk +md5 (DEBUG version) Author : Wwashington @ SMTH , Release: 2002/06/14
[推荐] mkisofs win32 GBK 版-V1.15a23 @ Wed May 29 04:40:58 2002 [公告] mkisofs 1.15a23 +gbk +md5 完成 @ Thu May 30 20:08:54 2002 [总结] mkisofs +gbk +md5 howto @ Sat Jun 1 05:53:09 2002 [注意] ISO Maker 1.22 build 11 发布 @ Mon Jun 10 17:20:38 2002 [大好消息] 超酷 mkisofs 的 md5 优化搞定 @ Fri Jun 14 11:16:07 2002 [测试版本] 超酷 mkisofs 的 md5 优化搞定 @ Fri Jun 14 20:16:11 2002
--------------------------------------------------------------------------------- /*********** Howto build the latest mkisofs with gbk and md5 support ***********/ /************ Written by Wwashington in www.smth.edu.cn, 2002/06/01 ************/ ---------------------------------------------------------------------------------
[A] File List.
(1) Type = Full Sources. What = The original files from joerg.schilling (A great man). Link = http://natural.chonnam.ac.kr/linux/mkisofs/mkisofs-1.12b5.tar.gz Link = ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/cdrtools-1.11a23.tar.gz
(2) Type = Full Sources. What = v1.12b5, The 1st GBK made by dfbb, and 2nd Md5 made by COMMAN, Link = http://wwashington.51.net/files/friend/mkisofs/mkisofs-1.12b5.rar
(3) Type = Full Sources + Patches + Tools. What = v1.15a23, The 1st GBK made by Wwashington (learn from dfbb) Link = http://www.mesky.net/SoftDown/SoftView.Asp?SoftID=1271
(4) Type = Patches + Documents. What = v1.12b5, The 1st GBK patch by dfbb, and 2nd Md5 patch by COMMAN, What = v1.15a23, The 1st & 2nd patches by Wwashington, (learn from dfbb & COMMAN, add 2 new features, fix a GBK bug which forces lowercase.) Link = http://wwashington.51.net/files/myprod/mkisofs/mkisofs-gbk.md5.rar
(5) Type = Binary + Shell Program. (by Wwashington) What = ISO Maker 1.20 b10 including mkisofs 1.15a23 +gbk +md5 Link = http://www.mesky.net/SoftDown/SoftView.Asp?SoftID=1280
(6) Type = Folders Introduction. (100% working, need to upgrade step by step) What = 1.12.b5_gbk, 1.12.b5_md5, 1.15.a23_gbk, 1.15.a23_md5 Doc1 = Original --> 1.12.b5_gbk --> 1.12.b5_md5 Doc2 = Original --> 1.15.a23_gbk --> 1.15.a23_md5 Fix1 = 1.12 old --> 1.12 gbk (dfbb) --> 1.12 md5 (COMMAN) Fix2 = 1.15 old --> 1.15 gbk (wwashington) --> 1.15 md5 (wwashington) ---------------------------------------------------------------------------------
[B] Some Tips.
(1) Type = Preparation What = Install Cygwin to compile gnu win32 program. Link = http://www.cygwin.com Link = http://www.mesky.net/SoftDown/SoftView.Asp?SoftID=1270
(2) Type = Preparation What = Install smake for better compiling performance. Link = ftp://ftp.fokus.gmd.de/pub/unix/smake/alpha/smake-1.2a16.tar.gz Link = http://www.mesky.net/SoftDown/SoftView.Asp?SoftID=1271 (binary)
(3) Type = Compiling What = mkisofs 1.12b5 Help = As Below. 1> tar -zxvf *.*gz 2> cd mkisofs-1.12b5 3> ./configure 4> make (notes: smake also OK, make fit old format) 5> make clean 6> cp ?? . (notes: copy patches to mkisofs, old->gbk) 7> make (notes: then you can see the exe result) 8> .... (notes: do step 5 to 7 again, gbk->md5)
(4) Type = Compiling What = mkisofs 1.15a23 Help = As Below. 1> tar -zxvf *.*gz (winzip or winrar will lose filelink) 2> cd cdrtools-1.11 (mkisofs1.15 is inside cdrtools1.11) 3> smake (notes: make can also work but not reliable) 4> cd mkisofs 5> smake clean 6> cp ?? . (notes: copy patches to mkisofs, old->gbk) 7> smake (notes: then you can see the exe result) 8> .... (notes: do step 5 to 7 again, gbk->md5)
|
|