Chinaunix

标题: 用mkisofs在windows下定制SCO Openserver安装光盘 [打印本页]

作者: unixboot    时间: 2005-01-19 19:57
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
我急需1.5.9.1版的cygwin1.dll文件,哪位兄弟有,给我一个,不要1.5.12.1版的
mailto:chinaleeyc@sina.com

制作方法见后帖。
作者: Crazy土匪    时间: 2005-01-19 20:42
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
我有不过没有装
作者: unixboot    时间: 2005-01-19 22:18
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
终于用1.5.12.1版的cygwin1.dll搞定了在windows下制作sco openserver加应用软件的集成安装光盘镜像,制作的集成安装光盘和sco原装光盘基本上是一模一样。
楼上的兄弟谢了,你也算有心,还保留了1.5.9.1版的cygwin。
作者: sdccf    时间: 2005-01-20 10:17
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
说一下经验?
作者: unixboot    时间: 2005-01-20 19:22
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote]原帖由 "sdccf"]说一下经验?[/quote 发表:


1、下载mkisofs for  windows,下载地址:http://www.geoshock.com/cdrtools ... .01.01a01-win32.zip
2、将下载的压缩包解压至mkisofs文件夹,在该文件夹下再新建一sco506目录
3、将sco506光盘启动镜像文件拷贝至mkisofs\sco506\boot目录,将原版安装文件和应用软件拷贝至mkisofs\sco506\root目录
4、在mkisofs目录下新建一build.bat,文件内容为:
mkisofs -o sco506.iso -v -b boot.img -iso-level 4 -l -allow-leading-dots -ldots -N -relaxed-filenames -no-iso-translate -allow-lowercase -allow-multidot -hide boot.img -hide boot.catalog -dir-mode 755 -file-mode 644 -gid 3 -uid 0 -r -V "SCO_OPENSERVER_PRODUCTS" -publisher "THE SANTA CRUZ OPERATION, INC" -sysid "SCO OPENSERVER SYSTEMS" -volset "OPEN_SERVER_DISTRIBUTION_FILES_AND_ARCHIVES" -A "OPEN_SERVER_DISTRIBUTION_FILES_AND_ARCHIVES" -p "SCO PRODUCTIZATION" sco506/boot sco506/root
5、运行build.bat,即可生成sco506集成应用软件安装光盘

用本方法制作的集成安装光盘,用isobuter和ultraiso查看,光盘信息和原版光盘完全一样,在sco506下mount后查看,文件属主和权限也基本上一模一样。
作者: unixboot    时间: 2005-01-20 20:40
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
mkisofs  for  windows 参数

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 unides)
  -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 parameters
  -B FILES, -sparc-boot FILES Set sparc boot image names
  -sunx86-boot FILES          Set sunx86 boot image names
  -G FILE, -generic-boot FILE Set generic boot image name
  -sparc-label label text     Set sparc boot disk label
  -sunx86-label label text    Set sunx86 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 ISO9660)
  -dir-mode mode              Make the mode of all directories this mode.
  -D, -disable-deep-relocation
                              Disable deep directory relocation (violates ISO9660)
  -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
  -root DIR                   Set root directory for all new files and directories
  -old-root DIR               Set root directory in previous session that is searched for files
  -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 attribute
  -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) or 4 for ISO9660 version 2
  -J, -joliet                 Generate Joliet directory information
  -joliet-long                Allow Joliet file names to be 103 Unicode characters
  -jcharset CHARSET           Local charset for Joliet directory information
  -l, -full-iso9660-filenames Allow full 31 character filenames for ISO9660 names
  -max-iso9660-filenames      Allow 37 character filenames for ISO9660 names (violates ISO9660)
  -allow-leading-dots         Allow ISO9660 filenames to start with '.' (violates ISO9660)
  -ldots                      Allow ISO9660 filenames to start with '.' (violates ISO9660)
  -L, -allow-leading-dots     OLD Pre-POSIX.1-2001 option - don't use -L
  -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 output 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
  -dev SCSIdev                Set path to previous session to merge
  -N, -omit-version-number    Omit version number from ISO9660 filename (violates ISO9660)
  -new-dir-mode mode          Mode used when creating new directories.
  -force-rr                   Inhibit automatic Rock Ridge detection for previous session
  -no-rr                      Inhibit reading of Rock Ridge attributes from previous 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
  -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
  -publisher PUB              Set Volume publisher
  -P PUB, -publisher PUB      OLD Pre-POSIX.1-2001 option - don't use -P
  -quiet                      Run quietly
  -r, -rational-rock          Generate rationalized Rock Ridge directory information
  -R, -rock                   Generate Rock Ridge directory information
  -s TYPE, -sectype TYPE      Set output sector type to e.g. data/xa1/raw
  -sort FILE                  Sort file content locations according to rules inFILE
  -split-output               Split output into files of approx. 1GB size
  -stream-file-name FILE_NAME Set the stream file ISO9660 name (incl. version)
  -stream-media-size #        Set the size of your CD media in sectors
  -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 - violates ISO9660).
                              Forces -l, -d, -N, -allow-leading-dots, -relaxed-filenames,
                              -allow-lowercase, -allow-multidot
  -relaxed-filenames          Allow 7 bit ASCII except lower case characters (violates ISO9660)
  -no-iso-translate           Do not translate illegal ISO characters '~', '-' and '#' (violates ISO9660)
  -allow-lowercase            Allow lower case characters in addition to the current 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
  -XA                         Generate XA directory attruibutes
  -xa                         Generate rationalized XA directory attruibutes
  -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
  -map MAPPING_FILE           Map file extensions to HFS TYPE/CREATOR
  -H MAPPING_FILE, -map MAPPING_FILE
                              OLD Pre-POSIX.1-2001 option - don't use -H
  -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 file 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
  -chrp-boot                  Add CHRP boot header
  --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
作者: 老查    时间: 2005-01-20 21:29
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
sco 5.05也可以吗?这样的话,就可以把sco unix /中文平台/informix放到一张光盘上了。
作者: 老查    时间: 2005-01-20 21:37
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
http://www.geoshock.com/cdrtools/files/cdrtools-2.01.01a01-win32.zip

下载不了。可以提供一个吗?

zerozha@yahoo.com.cn
作者: unixboot    时间: 2005-01-20 22:05
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote]原帖由 "老查"]sco 5.05也可以吗?这样的话,就可以把sco unix /中文平台/informix放到一张光盘上了。[/quote 发表:


当然可以,只要不超出光盘容量。
mkisofs下载页面:http://www.geoshock.com/cdrtools/
作者: hljnjxh    时间: 2005-01-21 08:22
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
写的很好,很详细,试试看
作者: yutian    时间: 2005-01-21 10:49
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
谢谢
作者: 老查    时间: 2005-01-21 15:12
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
boot.img  是光盘的引导区,还是images下面的install.img
作者: sdccf    时间: 2005-01-21 15:27
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
既然都是mkisofs,那UNIX下的应该同样支持这些参数.
作者: sunlan    时间: 2005-01-21 15:33
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote]原帖由 "sdccf"]既然都是mkisofs,那UNIX下的应该同样支持这些参数.[/quote 发表:


是的。的确可以直接在unix下做。
作者: 老查    时间: 2005-01-21 15:49
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
有以下几点疑问:

1、 楼主讲的文件位置好像不对。build.bat应该放到哪?“在mkisofs\sco506目录下新建一build.bat” 如果这样,就无法正常运行了。因为mkisofs程序在上级目录。build.bat应该在mkisofs目录才对。
2、 boot.img是提取的光盘的引导区,还是images下面的install.img
3、boot.catalog从何而来,我知道linux的光盘上有这个文件,但是sco下面没有啊。
4、sco506/boot 下面是什么文件?文中没有提到。
作者: unixboot    时间: 2005-01-21 16:16
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote]原帖由 "sdccf"]既然都是mkisofs,那UNIX下的应该同样支持这些参数.[/quote 发表:


unix下mkisofs的最高版本只有1.8a22,但windows下最高版本已是2.01.01a01,所以有2.01.01a01版的好多参数unix下的mkisofs并不支持,这是我试验过的,这也是我不用unix下的mkisofs定制sco安装光盘的原因。
作者: unixboot    时间: 2005-01-21 16:24
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
原帖由 "老查" 发表:
有以下几点疑问:

1、 楼主讲的文件位置好像不对。build.bat应该放到哪?“在mkisofs\sco506目录下新建一build.bat” 如果这样,就无法正常运行了。因为mkisofs程序在上级目录。build.bat应该在mkisofs目录才对。..........


1、build.bat确实不应该在mkisofs\sco506目录下,这是我的笔误,应该在mkisofs目录下
2、两个都可以,但最好是提取的原版光盘引导文件,如果是images下面的install.img文件,那么必须拷贝一个install.img到boot这个目录
3、boot.catalog是制作光盘时mkisofs自动生成的,如果不加-hide boot.catalog参数,光盘根目录下就会比原版光盘多一个boot.catalog文件
4、mkisofs\sco506\boot目录下应该存放从原版光盘提取的光盘引导文件
作者: xianren    时间: 2005-01-21 18:39
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
如果是就为加入一些软件,ultraiso就可简单的实现,要是能在sco的安装程序里定制那就好啦!
作者: unixboot    时间: 2005-01-21 21:15
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote]原帖由 "xianren"]如果是就为加入一些软件,ultraiso就可简单的实现,要是能在sco的安装程序里定制那就好啦![/quote 发表:


用ultraiso制作的文件的权限不对,全部为755。
作者: 老查    时间: 2005-01-21 21:41
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote]原帖由 "xianren"]如果是就为加入一些软件,ultraiso就可简单的实现,要是能在sco的安装程序里定制那就好啦![/quote 发表:


好像ultraISO编辑过,就不能安装了。
作者: 老查    时间: 2005-01-21 23:22
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
根据搂主的方法,的确可以制作sco的安装光盘。但是,安装有问题。见图片。

请问:如何将光盘版的cyber制作成 VOL.000.000的形式??
我只有光盘版的,想把它放到sco光盘上来。informix已经放上来了。

Snap1.gif (3.82 KB, 下载次数: 47)

出错

出错

作者: sdccf    时间: 2005-01-22 06:51
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
光盘版的cyber本来不是VOL格式的,不能作成VOL格式的。
作者: jxlchch    时间: 2005-01-22 13:21
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
首先谢谢各位楼上的。
本人非常想做一张 UNIX光盘,市面上很难买到UNIX光盘。
我试一试。THKS!
作者: unixboot    时间: 2005-01-22 16:28
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
原帖由 "老查" 发表:
根据搂主的方法,的确可以制作sco的安装光盘。但是,安装有问题。见图片。

请问:如何将光盘版的cyber制作成 VOL.000.000的形式??
我只有光盘版的,想把它放到sco光盘上来。informix已经放上来了。



我提供的制作方法是经过多次验证过的,绝对没有问题,你可以检查一下你的制作过程,看是不是拷贝原版文件的时候有错。
作者: pxlh    时间: 2005-01-22 16:54
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
请问如何提取光盘的BOOT.IMG(启动文件),我用ULTRISO程序提取的是.BIF文件,,


另,我按楼上的做了,生成的SCO505.ISO文件只有34K大小,不知为何
如下图所示:[img][/img]

未命名.JPG (70.14 KB, 下载次数: 44)

未命名.JPG

作者: sdccf    时间: 2005-01-22 17:04
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
ultraiso就可以提取。
作者: jxlchch    时间: 2005-01-22 18:09
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
制作solaris光盘也可以吗?试过吗?
作者: sdccf    时间: 2005-01-22 18:36
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
道理是一样的,应该可以.
作者: pxlh    时间: 2005-01-22 19:25
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
已经做好了,,

就是不知如何把那个赛博光盘加进去
作者: unixboot    时间: 2005-01-22 19:37
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
原帖由 "pxlh" 发表:
已经做好了,,

就是不知如何把那个赛博光盘加进去


先将赛博做成ISO镜像,然后将ISO文件集成到sco光盘里,在sco里直接用ISO文件安装软件的方法论坛里有,搜索一下就能找到。
作者: jxlchch    时间: 2005-01-23 12:04
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
请问谁ultraiso注册码!!
作者: jxlchch    时间: 2005-01-23 12:10
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
请问谁ultraiso注册码!!
作者: sdccf    时间: 2005-01-23 15:56
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
注册码没有,有注册机
作者: pxlh    时间: 2005-01-23 18:38
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote="老查"]根据搂主的方法,的确可以制作sco的安装光盘。但是,安装有问题。见图片。



我做成的SCO 505安装时也出现如上错误,,不知为何
作者: sdccf    时间: 2005-01-23 19:05
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
可能是拷贝文件的时候有问题.
作者: wwashington    时间: 2005-01-24 10:00
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
原帖由 "老查" 发表:


好像ultraISO编辑过,就不能安装了。

原帖由 "jxlchch" 发表:
首先谢谢各位楼上的。
本人非常想做一张 UNIX光盘,市面上很难买到UNIX光盘。
我试一试。THKS!


虽然 UltraISO 提供了对 RockRidge 格式的支持,但我看了
不少人反馈说不太好用,会丢文件或者权限不对,而且 MD5
优化没做好,碰到 symbol link 多的就浪费空间了。

RockRdige 是 Unix 光盘的格式,某些系统把它叫做 hsfs。
我以前写过一个 mkisofs +gbk +md5,是 Win32 平台的。
如果大家需要,请看这里:http://mkisofs.126.com

BTW:把注册码、注册机、Informix 等常用的资料或软件也
刻到安装盘里,确实是个好主意,但是要反复测试。期待ing。
作者: sdccf    时间: 2005-01-24 10:44
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
其实在SCO下做很方便,也不会有文件权限等各方面的问题,主要是操作方便.

http://unix-cd.com/unixcd/article_view.asp?id=469
作者: jxlchch    时间: 2005-01-24 17:55
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
有注册机,  请给我下载或E-MAIL TO ME:HCHHPL@SOHU.COM
作者: sdccf    时间: 2005-01-24 19:48
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
你的是哪个版本的?
作者: xinmba    时间: 2005-01-25 05:05
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
[quote]原帖由 "sdccf"]可能是拷贝文件的时候有问题.[/quote 发表:

试了两次还是没用
作者: jxlchch    时间: 2005-01-25 09:12
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
我的UltraISO版本是7.5.0.956,thks!
作者: sdccf    时间: 2005-01-25 09:27
标题: 用mkisofs在windows下定制SCO Openserver安装光盘
那我这里的这个破解可能不适合你的版本,我这个是7.2版本的。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2