proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« Sophos sweep IDE update script - Download the IDE file - demo | Main | 我爱网络 »

April 19, 2004

mkisofs demo

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2004/04/19/000479.html

-----> demo

# sample of mkisofs-1.15a40.tgz (mkisofs 1.15a40 +gbk +md5)

mkisofs -o /cdr/dsk3.iso -no-emul-boot -eltorito-boot loader.bin -hide-rr-moved -hide loader.bin -hide-joliet loader.bin -hide boot.catalog -hide-joliet boot.catalog -V "WinXPPro" -copyright "Microsoft China" -J -O -R -N -l -relaxed-filenames -gbk4dos-filenames -gbk4win-filenames /cdr/boot /cdr/root /cdr/dsk1 /cdr/dsk2 /cdr/dsk3

# mine
mkisofs -o e:\windows01.v0.004.iso -no-emul-boot -eltorito-boot LOADER.BIN -hide-rr-moved -hide LOADER.BIN -hide-joliet LOADER.BIN -hide boot.catalog -hide-joliet boot.catalog -V "Windows3in1" -copyright "Microsoft China" -J -O -R -N -l -relaxed-filenames -gbk4dos-filenames -gbk4win-filenames -p "WindowsOS" -P "windtear" -A "Windows 3 in 1" e:\ISO-n-in-1\2000_tree

# then file00->06 dir02->06  @priv8bytes after 20

# unix of 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 光盘内容目录/

-----> help

序号\项目开关名称(Option)英文含义(English)中文含义(Chinese)
01-o  Set output file name 设置输出文件名
02-no-emul-boot

Boot image is 'no emulation' image

 非模拟模式启动
03-eltorito-boot  Set El Torito boot image name 设置EL启动文件
04-hide-rr-movedRename RR_MOVED to .rr_moved in Rock Ridge tree 隐藏 Unix RR 目录
05-hide  Hide ISO9660/RR file 隐藏 ISO9660 文件
06-hide-joliet  Hide Joliet file 隐藏 Joliet 文件
07-VSet Volume ID 设置文件卷标信息
08-copyright  Set Copyright filename 设置文件版本信息
09-J

Generate Joliet directory information

 支持 Joliet 格式
10-OOptimize for iso space(md5 technology) 采用 MD5 空间优化
11-RGenerate Rock Ridge directory information 支持Rock Ridge格式
12-NOmit version number from ISO9660 filename (violates ISO9660)

忽略版本号(如果使用DiskEmu必须选用)

13-lAllow full 31 character filenames for ISO9660 names 允许长文件名
14-relaxed-filenamesAllow 7 bit ASCII except lower case characters (violates ISO9660) 扩展的文件名
15-gbk4dos-filenamesAllow 8 bit ASCII GBK standard code characters (violates ISO9660) DOS下支持中文
16-gbk4win-filenamesAllow 8 bit ASCII GBK standard code characters (violates ISO9660) WIN下支持中文

E:\ISO-n-in-1\mkisofs>Mkisofs.exe --help
Usage: mkisofs [options] file...
Options:
  -nobak                      Do not include backup files
  -no-bak                     Do not include backup files
  -abstract FILE              Set Abstract filename
  -A ID, -appid ID            Set Application ID
  -biblio FILE                Set Bibliographic filename
  -cache-inodes               Cache inodes (needed to detect hard links)
  -no-cache-inodes            Do not cache inodes (if filesystem has no unique u
nides)
  -check-oldnames             Check all imported ISO9660 names from old session
  -check-session FILE         Check all ISO9660 names from previous session
  -copyright FILE             Set Copyright filename
  -debug                      Set debug flag
  -b FILE, -eltorito-boot FILE
                              Set El Torito boot image name
  -eltorito-alt-boot          Start specifying alternative El Torito boot parame
ters
  -B FILES, -sparc-boot FILES Set sparc boot image names
  -G FILE, -generic-boot FILE Set generic boot image name
  -sparc-label label text     Set sparc boot disk label
  -c FILE, -eltorito-catalog FILE
                              Set El Torito boot catalog name
  -C PARAMS, -cdrecord-params PARAMS
                              Magic paramters from cdrecord
  -d, -omit-period            Omit trailing periods from filenames (violates ISO
9660)
  -dir-mode mode              Make the mode of all directories this mode.
  -D, -disable-deep-relocation
                              Disable deep directory relocation (violates ISO966
0)
  -file-mode mode             Make the mode of all plain files this mode.
  -f, -follow-links           Follow symbolic links
  -gid gid                    Make the group owner of all files this gid.
  -graft-points               Allow to use graft points for filenames
  -help                       Print option help
  -hide GLOBFILE              Hide ISO9660/RR file
  -hide-list FILE             File with list of ISO9660/RR files to hide
  -hidden GLOBFILE            Set hidden attribute on ISO9660 file
  -hidden-list FILE           File with list of ISO9660 files with hidden attrib
ute
  -hide-joliet GLOBFILE       Hide Joliet file
  -hide-joliet-list FILE      File with list of Joliet files to hide
  -hide-joliet-trans-tbl      Hide TRANS.TBL from Joliet tree
  -hide-rr-moved              Rename RR_MOVED to .rr_moved in Rock Ridge tree
  -gui                        Switch behaviour for GUI
  -i ADD_FILES                No longer supported
  -input-charset CHARSET      Local input charset for file name conversion
  -output-charset CHARSET     Output charset for file name conversion
  -iso-level LEVEL            Set ISO9660 conformance level (1..3)
  -J, -joliet                 Generate Joliet directory information
  -joliet-long                Allow Joliet file names to be 103 Unicode characte
rs
  -jcharset CHARSET           Local charset for Joliet directory information
  -l, -full-iso9660-filenames Allow full 31 character filenames for ISO9660 name
s
  -max-iso9660-filenames      Allow 37 character filenames for ISO9660 names (vi
olates ISO9660)
  -L, -allow-leading-dots     Allow ISO9660 filenames to start with '.' (violate
s ISO9660)
  -log-file LOG_FILE          Re-direct messages to LOG_FILE
  -m GLOBFILE, -exclude GLOBFILE
                              Exclude file name
  -exclude-list FILE          File with list of file names to exclude
  -pad                        Pad outout to a multiple of 32k (default)
  -no-pad                     Do not pad output to a multiple of 32k
  -M FILE, -prev-session FILE Set path to previous session to merge
  -N, -omit-version-number    Omit version number from ISO9660 filename (violate
s ISO9660)
  -new-dir-mode mode          Mode used when creating new directories.
  -force-rr                   Inhibit automatic Rock Ridge detection for previou
s session
  -no-rr                      Inhibit reading of Rock Ridge attributes from prev
ious session
  -no-split-symlink-components
                              Inhibit splitting symlink components
  -no-split-symlink-fields    Inhibit splitting symlink fields
  -o FILE, -output FILE       Set output file name
  -O, -optimize               Optimize for iso space(md5 technology)
  -path-list FILE             File with list of pathnames to process
  -p PREP, -preparer PREP     Set Volume preparer
  -print-size                 Print estimated filesystem size and exit
  -P PUB, -publisher PUB      Set Volume publisher
  -quiet                      Run quietly
  -r, -rational-rock          Generate rationalized Rock Ridge directory informa
tion
  -R, -rock                   Generate Rock Ridge directory information
  -sort FILE                  Sort file content locations according to rules in
FILE
  -split-output               Split output into files of approx. 1GB size
  -sysid ID                   Set System ID
  -T, -translation-table      Generate translation tables for systems that don't
 understand long filenames
  -table-name TABLE_NAME      Translation table file name
  -ucs-level LEVEL            Set Joliet UCS level (1..3)
  -udf                        Generate UDF file system
  -dvd-video                  Generate DVD-Video compliant UDF file system
  -uid uid                    Make the owner of all files this uid.
  -U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - vio
lates ISO9660). Forces -l, -d, -L, -N, -relaxed-filenames, -allow-lowercase, -al
low-multidot
  -relaxed-filenames          Allow 7 bit ASCII except lower case characters (vi
olates ISO9660)
  -gbk4dos-filenames          Allow 8 bit ASCII GBK standard code characters (vi
olates ISO9660)
  -gbk4win-filenames          Allow 8 bit ASCII GBK standard code characters (vi
olates ISO9660)
  -no-iso-translate           Do not translate illegal ISO characters '~', '-' a
nd '#' (violates ISO9660)
  -allow-lowercase            Allow lower case characters in addition to the cur
rent character set (violates ISO9660)
  -allow-multidot             Allow more than one dot in filenames (e.g. .tar.gz
) (violates ISO9660)
  -use-fileversion LEVEL      Use file version # from filesystem
  -v, -verbose                Verbose
  -version                    Print the current version
  -V ID, -volid ID            Set Volume ID
  -volset ID                  Set Volume set ID
  -volset-size #              Set Volume set size
  -volset-seqno #             Set Volume set sequence number
  -x FILE, -old-exclude FILE  Exclude file name(depreciated)
  -hard-disk-boot             Boot image is a hard disk image
  -no-emul-boot               Boot image is 'no emulation' image
  -no-boot                    Boot image is not bootable
  -boot-load-seg #            Set load segment for boot image
  -boot-load-size #           Set numbers of load sectors
  -boot-info-table            Patch boot image with info table
  -z, -transparent-compression
                              Enable transparent compression of files
  -hfs-type TYPE              Set HFS default TYPE
  -hfs-creator CREATOR        Set HFS default CREATOR
  -g, -apple                  Add Apple ISO9660 extensions
  -h, -hfs                    Create ISO9660/HFS hybrid
  -H MAPPING_FILE, -map MAPPING_FILE
                              Map file extensions to HFS TYPE/CREATOR
  -magic FILE                 Magic file for HFS TYPE/CREATOR
  -probe                      Probe all files for Apple/Unix file types
  -mac-name                   Use Macintosh name for ISO9660/Joliet/RockRidge fi
le name
  -no-mac-files               Do not look for Unix/Mac files (depreciated)
  -boot-hfs-file FILE         Set HFS boot image name
  -part                       Generate HFS partition table
  -cluster-size SIZE          Cluster size for PC Exchange Macintosh files
  -auto FILE                  Set HFS AutoStart file name
  -no-desktop                 Do not create the HFS (empty) Desktop files
  -hide-hfs GLOBFILE          Hide HFS file
  -hide-hfs-list FILE         List of HFS files to hide
  -hfs-volid HFS_VOLID        Volume name for the HFS partition
  -icon-position              Keep HFS icon position
  -root-info FILE             finderinfo for root folder
  -input-hfs-charset CHARSET  Local input charset for HFS file name conversion
  -output-hfs-charset CHARSET Output charset for HFS file name conversion
  -hfs-unlock                 Leave HFS Volume unlocked
  -hfs-bless FOLDER_NAME      Name of Folder to be blessed
  -hfs-parms PARAMETERS       Comma separated list of HFS parameters
  -prep-boot FILE             PReP boot image file -- up to 4 are allowed
  --cap                       Look for AUFS CAP Macintosh files
  --netatalk                  Look for NETATALK Macintosh files
  --double                    Look for AppleDouble Macintosh files
  --ethershare                Look for Helios EtherShare Macintosh files
  --exchange                  Look for PC Exchange Macintosh files
  --sgi                       Look for SGI Macintosh files
  --macbin                    Look for MacBinary Macintosh files
  --single                    Look for AppleSingle Macintosh files
  --ushare                    Look for IPT UShare Macintosh files
  --xinet                     Look for XINET Macintosh files
  --dave                      Look for DAVE Macintosh files
  --sfm                       Look for SFM Macintosh files
  --osx-double                Look for MacOS X AppleDouble Macintosh files
  --osx-hfs                   Look for MacOS X HFS Macintosh files

E:\ISO-n-in-1\mkisofs>

-----> orig articles of mine

Windows Integrated & Combination Installation - Nin1 - QChain.exe/Qfecheck.exe

[ISO] readme.txt of v0.003 (windows01.v0.003.iso)

cdimage v.s. mkisofs (+gbk+md5) - 挑战多启动ISO

 
本blog WWW

Posted by windtear at April 19, 2004 11:35 PM

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2024 Windtear. All rights reserved.