In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about how to use the Oscdimg command line options. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Oscdimg command line options
Last updated: may 2009
Apply to: Windows 7
Oscdimg is a command-line tool for creating custom 32-bit or 64-bit versions of Windows (R) PE image files (.iso). You can then burn the .iso file to CD-ROM or DVD-ROM. Oscdimg supports ISO 9660, Joliet, and Common disk format (UFD) file systems.
Remarks
To create a bootable CD-ROM, you must use CD burning software, which unpacks .iso files and burns them to CD-ROM. Copying only .iso files to CD-ROM will not work.
Itanium-based computers running Windows Server 2003 do not support the Oscdimg tool.
Oscdimg command line options
The following command line options are available for Oscdimg.
Oscdimg [options] SourceLocationTargetFile
Option description
-a
Displays a summary of the allocation of files and directories.
-b location
Specifies the location of the El Torito boot sector file. You cannot use any spaces, for example,-bC:\ Directory\ Etfsboot.com
-c
Specifies that the ANSI file name is used instead of the OEM file name.
-d
Conversion of lowercase file names to uppercase letters is not forced.
-e
This option disables floppy disk emulation in the El Torito catalog. This option can only be used for a single boot item image and cannot be used with any multi-boot item switch.
-g
Use Universal coordinated time (UCT) instead of local time for all files.
-h
Includes hidden files and directories.
-J1
Encode the Joliet Unicode filename and generate an DOS-compatible 8.3 filename in the ISO 9660 namespace. These file names can be read by Joliet systems or traditional ISO 9660 systems, but Oscdimg may change some file names in the ISO 9660 namespace to comply with DOS 8.3 and / or ISO 9660 naming restrictions.
When using the-J1,-j2, or-js options, the-d,-n, and-nt options are not applied and cannot be used.
-J2
Encode the Joliet Unicode file name without a standard ISO 9660 name. (the Joliet operating system is required to read files from CD-ROM. )
When using the-J1,-j2, or-js options, the-d,-n, and-nt options are not applied and cannot be used.
-js
Overwrite the default text file for the-j2 option, for example,-jsc:\ Readme.txt
When using the-J1,-j2, or-js options, the-d,-n, and-nt options are not applied and cannot be used.
-k
Even if it cannot open some source files, it still creates an image.
-l labelname
Specify the volume label. You cannot use spaces between l and labelname.
For example,-lMYLABEL
-m
Ignore the maximum size limit for the image.
-maxsize: limit
Overrides the default maximum size of the image. The default size is 74 minutes of CD, unless UDF is used, in which case the default value is no maximum size. The limit value is specified in megabytes (MB). For example,-maxsize:4096 limits the image to 4096 MB.
The-m option cannot be used with this option.
-n
Long file names are allowed.
-nt
Long filenames compatible with Windows NT 3.51 are allowed.
-o
Optimize storage by comparing files using the MD5 hash algorithm to encode duplicate files only once.
-oc
The storage is optimized by using a binary comparison of each file to encode the duplicate file only once. This option is slower than-o.
-oi
Optimize storage by encoding duplicate files only once. The diamond compression timestamp is ignored when comparing files.
-os
Optimize storage by encoding duplicate files only once. Displays duplicate files when the image is created.
-ois
Optimize storage by encoding duplicate files only once. The diamond compression timestamp is ignored when comparing files. Displays duplicate files when the image is created.
-p
Specifies the value to use for the platform ID in the El Torito catalog. The default value is 0x00, which represents the x86 platform. This option can only be used for a single boot item image and cannot be used with any multi-boot item switch.
-Q
Scan only the source file; this command does not create an image.
-t mm/dd/yyyy,hh:mm:ss
Specify a timestamp for all files and directories. Do not use any spaces. Use American date format and 24-hour system. You can use any delimiter between projects.
For example,
-t12According 31Compact 2000 Magne15Rose 01VOUR 00
-U1
Generate an image that contains the UFD file system and the ISO 9660 file system. The ISO 9660 file system is written using the DOS-compatible 8.3filename. The UFD file system is written using the Unicode file name. This option cannot be combined with the-n,-nt, or-d options.
-U2
Generate an image that contains only the UFD file system. Any system that cannot read UFD will see only one default text file, warning users that the image is only available on computers that support UDF. This option cannot be combined with the-n,-nt, or-d options.
-ur
Overrides the default text file for the-U2 option. For example:-urc:\ Readme.txt
This option cannot be combined with the-n,-nt, or-d options.
-us
Create sparse files when available. This option can only be used with the-U2 option. This option cannot be combined with the-n,-nt, or-d options.
-ue
Create an embedded file. This option can only be used with the-U2 option. This option cannot be combined with the-n,-nt, or-d options.
-uf
Embedded UFD file identifier entries. This option can only be used with the-U2 option. This option cannot be combined with the-n,-nt, or-d options.
-uv
During DVD video / audio disk creation, specify UDF video area compatibility. This means that UDF 1.02 and ISO 9660 will be written to disk. In addition, all files in the VIDEO_TS, AUDIO_TS, and JACKET_P directories are written first. These directories take precedence over all other collations used for this image. This option cannot be combined with the-n,-nt,-d,-J1,-J2,-js,-U1,-U2,-ur,-us,-ue,-uf, or-yl options.
-ut
Truncate the ISO 9660 portion of the image during DVD video / audio disk creation. When using this option, only the VIDEO_TS, AUDIO_TS, and JACKET_P directories are visible from the ISO 9660 file system. This option cannot be combined with the-n,-nt,-d,-J1,-J2,-js,-U1,-U2,-ur,-us,-ue,-uf, or-yl options.
-W1
Report all file names and depths that are not compatible with ISO or Joliet.
-W2
Report all file names that are not compatible with DOS.
-W3
Report all zero-length files.
-W4
Reports each file name copied to the image.
-x
Calculates and encodes the AutoCRC value in the image.
-yd
Cancels warnings for different files with the same initial 64000 bytes.
-yl
Specify a long allocation description instead of a short allocation description. This option cannot be combined with the-n,-nt, or-d options.
-Y5
Specifies the file layout on disk. This option first writes all files in the i386 directory in reverse order.
-Y6
Specifies the directory records that should be fully aligned at the end of the sector.
-yo
Specifies the file layout on disk. This option specifies a text file that contains the layout of the file that will be placed in the image. The rules for this file are listed below.
The sequence file must be ANSI.
The sequential file must end with a new line.
Sequential files must contain one file per line.
Each file must be specified relative to the root of the image.
You must specify a long file name for each file. Short names are not allowed.
The length of each file path cannot exceed MAX_PATH, including the volume name.
Note that not all files must be listed in a sequential file. If you do not sort files, all files that are not listed in this file should be sorted in the default order.
Important matters
The-yo option takes priority over the-Y5 option.
-yw
Open source files and can write and share.
SourceLocation
Necessary. Specify the location of the file you want to create into the .iso image.
TargetFile
Specifies the name of the .iso image file.
Create a DVD Ima
For images above 4.5 GB, you must create a boot sequence file (Bootorder.txt) to ensure that the boot files are at the beginning of the image. For example,
Oscdimg-m-n-yoC:\ temp\ bootorder.txt-bC:\ winpe_x86\ etfsboot.com
The location of the following files in bootorder.txt.
Boot\ bcd
Boot\ boot.sdi
Boot\ bootfix.bin
Boot\ bootsect.exe
Boot\ etfsboot.com
Boot\ memtest.efi
Boot\ memtest.exe
Boot\ en-us\ bootsect.exe.mui
Boot\ fonts\ chs_boot.ttf
Boot\ fonts\ cht_boot.ttf
Boot\ fonts\ jpn_boot.ttf
Boot\ fonts\ kor_boot.ttf
Boot\ fonts\ wgl4_boot.ttf
Sources\ boot.wim
Thank you for reading! This is the end of this article on "how to use Oscdimg command line options". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.