CN117075927A - Storage method and installation method of Windows operating system image file - Google Patents

Storage method and installation method of Windows operating system image file Download PDF

Info

Publication number
CN117075927A
CN117075927A CN202311110280.7A CN202311110280A CN117075927A CN 117075927 A CN117075927 A CN 117075927A CN 202311110280 A CN202311110280 A CN 202311110280A CN 117075927 A CN117075927 A CN 117075927A
Authority
CN
China
Prior art keywords
image file
storage medium
storage
file
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311110280.7A
Other languages
Chinese (zh)
Inventor
熊为宏
付迪
徐文
冯建东
陈映泽
陈泽鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Chaoyun Beijing Technology Co ltd
Original Assignee
Great Wall Chaoyun Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Chaoyun Beijing Technology Co ltd filed Critical Great Wall Chaoyun Beijing Technology Co ltd
Priority to CN202311110280.7A priority Critical patent/CN117075927A/en
Publication of CN117075927A publication Critical patent/CN117075927A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a storage method and an installation method of a Windows operating system image file, wherein the method comprises the following steps: loading and running a drive file in an ntfs (new technology file system) storage format in a first storage medium in a boot mode of a Unified Extensible Firmware Interface (UEFI); after the drive file of the ntfs storage format is determined to be successfully driven, acquiring an image file from a second storage medium; and installing an image file. After the drive file with the ntfs storage format stored in the first storage medium is driven, the image file is acquired from the second storage medium with the storage format of ntfs and is installed, and the Windows operating system image file can be stored and installed when the occupied space of the image file exceeds the maximum addressing of the Fat32 format.

Description

Storage method and installation method of Windows operating system image file
Technical Field
The application relates to the technical field of Windows operating systems, in particular to a storage method and an installation method of a Windows operating system image file.
Background
In the prior art, when a Windows operating system is installed on a server platform, an image file of the Windows operating system is generally installed through a flash (File Allocation table ) 32-format U disk, so as to install the Windows operating system. However, in order to meet the needs of different users, the Windows operating system is also continuously updated. In the updating iterative process of the Windows operating system, the functional modules incorporated in the Windows operating system are continuously increased and enriched, so that the file named as install. Win in the mirror image file of the Windows operating system is also larger and larger.
The Windows operating system is installed under the boot mode of the unified extensible firmware interface UEFI only supports the Fat32 format, and when the occupied space of the file named as the install.win in the image file exceeds the maximum addressing of the Fat32 format, the U disk in the Fat32 format cannot completely record the file named as the install.win in the image file of the Windows operating system, so that the image file of the Windows operating system cannot be installed on the server platform under the boot mode of the unified extensible firmware interface UEFI.
Disclosure of Invention
Therefore, the present application is directed to a storage method and an installation method for an image file of a Windows operating system, which can store and install the image file of the Windows operating system when the occupied space of the image file exceeds the maximum addressing of the Fat32 format.
In a first aspect, an embodiment of the present application provides a method for storing an image file of a Windows operating system, where the method for storing an image file of a Windows operating system includes:
acquiring the occupied space of a file named as install.win in an image file of a Windows operating system;
judging whether the occupied space is larger than the maximum addressing of the Fat32 format of the file allocation table;
if the occupied space is larger than the maximum addressing of the Fat32 format, storing part of files in the mirror image file into a first storage medium with a storage format of Fat32, wherein a driving file for driving a new technology file system ntfs storage format is stored in the first storage medium;
storing the image file in a second storage medium with a storage format of ntfs.
In one possible implementation, storing the image file in a second storage medium in a storage format of ntfs includes:
and storing contents of the image file except for the storage contents of the first storage medium into the second storage medium.
In one possible implementation, storing the image file in a second storage medium having a storage format of ntfs, further includes:
and storing the whole content in the image file into a second storage medium.
In a second aspect, an embodiment of the present application further provides a method for installing a Windows operating system image file, where the method includes a first storage medium and a second storage medium according to any one of the methods in the first aspect, and the method for installing a Windows operating system image file includes:
loading and running a drive file in an ntfs (new technology file system) storage format in a first storage medium in a boot mode of a Unified Extensible Firmware Interface (UEFI);
after the drive file of the ntfs storage format is determined to be successfully driven, acquiring an image file from a second storage medium;
and installing an image file.
In one possible implementation, if the storage content of the second storage medium is a content other than the storage content of the first storage medium, obtaining the image file from the second storage medium includes:
and acquiring storage contents in the first storage medium and the second storage medium to obtain an image file.
In one possible implementation manner, if the storage content of the second storage medium is the whole content in the image file, obtaining the image file from the second storage medium includes:
and obtaining the storage content in the second storage medium to obtain the mirror image file.
In a third aspect, an embodiment of the present application further provides a storage device for a Windows operating system image file, where the storage device for a Windows operating system image file includes:
the first acquisition module is used for acquiring the occupied space of a file named as install.win in the mirror image file of the Windows operating system;
the judging module is used for judging whether the occupied space is larger than the maximum addressing of the Fat32 format of the file allocation table;
the storage module is used for storing part of files in the image file into a first storage medium with a storage format of Fat32 if the occupied space is larger than the maximum addressing of the Fat32 format, and a driving file for driving a new technology file system ntfs storage format is stored in the first storage medium; the image file is stored in a second storage medium having a storage format of ntfs.
In a possible implementation manner, the storage module is specifically configured to store contents in the image file, which are other than the storage contents of the first storage medium, in the second storage medium.
In a possible implementation manner, the storage module is specifically configured to store the entire content in the image file in the second storage medium.
In a fourth aspect, an embodiment of the present application further provides an installation apparatus of a Windows operating system image file, where the apparatus includes a first storage medium and a second storage medium of any one of the apparatuses in the third aspect, and the installation apparatus of a Windows operating system image file includes:
the loading operation module is used for loading and operating a drive file in a new technology file system ntfs storage format in the first storage medium under a guide mode of a unified extensible firmware interface UEFI;
the second acquisition module is used for acquiring an image file from the second storage medium after the driving of the driving file in the ntfs storage format is determined to be successful;
and the installation module is used for installing the image file.
In one possible implementation manner, if the storage content of the second storage medium is other than the storage content of the first storage medium, the second obtaining module is specifically configured to obtain the image file by obtaining the storage content of the first storage medium and the second storage medium.
In one possible implementation manner, if the storage content of the second storage medium is the entire content in the image file, the second obtaining module is specifically configured to obtain the image file by obtaining the storage content in the second storage medium.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including: the system comprises a processor, a third storage medium and a bus, wherein the third storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the third storage medium through the bus, and the processor executes the machine-readable instructions to execute the steps of the method for storing the Windows operating system image file according to any one of the first aspect or the method for installing the Windows operating system image file according to any one of the second aspect.
In a sixth aspect, an embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor performs a step of a method for storing a Windows operating system image file according to any one of the first aspect, or a method for installing a Windows operating system image file according to any one of the second aspect.
The embodiment of the application provides a storage method and an installation method of a Windows operating system image file, wherein the method comprises the following steps: loading and running a drive file in an ntfs (new technology file system) storage format in a first storage medium in a boot mode of a Unified Extensible Firmware Interface (UEFI); after the drive file of the ntfs storage format is determined to be successfully driven, acquiring an image file from a second storage medium; and installing an image file. After the drive file with the ntfs storage format stored in the first storage medium is driven, the image file is acquired from the second storage medium with the storage format of ntfs and is installed, and the Windows operating system image file can be stored and installed when the occupied space of the image file exceeds the maximum addressing of the Fat32 format.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a flowchart of a method for storing a Windows operating system image file according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating another method for storing a Windows operating system image file according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating an installation method of a Windows operating system image file according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a storage device for a Windows operating system image file according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an installation apparatus for a Windows operating system image file according to an embodiment of the present application;
fig. 6 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for the purpose of illustration and description only and are not intended to limit the scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments are only some, but not all, embodiments of the application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
In order to enable those skilled in the art to use the present disclosure, the following embodiments are provided in connection with a specific application scenario "Windows operating system technology field". It will be apparent to those having ordinary skill in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is described primarily in the context of "Windows operating system technology," it should be understood that this is but one exemplary embodiment.
It should be noted that the term "comprising" will be used in embodiments of the application to indicate the presence of the features stated hereafter, but not to exclude the addition of other features.
Referring to fig. 1, a flow chart of a method for storing a Windows operating system image file according to an embodiment of the present application is shown, where a specific implementation process of the method for storing a Windows operating system image file is as follows:
s101, acquiring the occupied space of a file named as install.win in an image file of a Windows operating system.
S102, judging whether the occupied space is larger than the maximum addressing of the file allocation table Fat32 format.
S103, if the occupied space is larger than the maximum addressing of the Fat32 format, storing part of files in the image file into a first storage medium with the storage format of Fat32, wherein a driving file for driving the new technology file system ntfs storage format is stored in the first storage medium.
S104, storing the image file into a second storage medium with a storage format of ntfs.
The embodiment of the application provides a storage method of a Windows operating system image file, which comprises the following steps: acquiring the occupied space of the mirror image file of the Windows operating system; judging whether the occupied space is larger than the maximum addressing of the Fat32 format of the file allocation table; if the occupied space is larger than the maximum addressing of the Fat32 format, storing part of files in the mirror image file into a first storage medium with a storage format of Fat32, wherein a driving file for driving a new technology file system ntfs storage format is stored in the first storage medium; the image file is stored in a second storage medium having a storage format of ntfs. When the occupied space is larger than the maximum addressing of the Fat32 format, storing partial files containing a driving file for driving the new technology file system ntfs storage format in the mirror image file into a first storage medium with the storage format Fat 32; the image file is stored in a second storage medium with a storage format of ntfs, and when the occupied space of the image file exceeds the maximum addressing of the Fat32 format, the image file of the Windows operating system can be stored.
Exemplary steps of embodiments of the present application are described below:
s101, acquiring the occupied space of the mirror image file of the Windows operating system.
In the embodiment of the application, the occupied space of the file named as the install.win in the mirror image file of the Windows operating system refers to the size of the install.win mirror image file.
Here, the image file is a file similar to the compressed file, and can be identified by specific software and recorded on a storage medium for downloading by a user. The image file of the Windows operating system comprises Windows operating system files, boot files, partition table information and the like, and is used for installing and repairing the Windows operating system. The image file of the Windows operating system may be understood as a clone file for installing all data of the optical disc in the whole Windows operating system, such as microsoft original edition system, or may be a backup file of the Windows operating system partition, such as a ghost system image, and the suffix name of the image file is mostly ". Iso".
S102, judging whether the occupied space is larger than the maximum addressing of the file allocation table Fat32 format.
In the embodiment of the application, the file allocation table Fat32 format is a storage format of a storage medium for storing an image file of a Windows operating system, and the maximum addressing of the file allocation table Fat32 format is used for representing the maximum file which can be stored when the file allocation table Fat32 format is used for storing.
S103, if the occupied space is larger than the maximum addressing of the Fat32 format, storing part of files in the image file into a first storage medium with the storage format of Fat32, wherein a driving file for driving the new technology file system ntfs storage format is stored in the first storage medium.
In the embodiment of the present application, if the occupied space is greater than the maximum addressing in the Fat32 format, it is indicated that the first storage medium storing the Fat32 format cannot store all files named as install.win in the image files of the Windows operating system, so that only a part of the image files except the install.win files are stored in the first storage medium. However, part of the image files stored in the first storage medium must contain a drive file that drives the new technology file system ntfs storage format. The ntfs (New Technology File System ) storage format is another storage format of the storage medium used to store the image file of the Windows operating system, divided by the Fat32 storage format.
Here, obtaining a file identifier to be stored sent by a user, wherein the file identifier to be stored comprises an identifier corresponding to a driving file for driving a new technology file system ntfs storage format; if the occupied space of the install.win file in the image file is smaller than or equal to the maximum addressing in the Fat32 format, storing the file to be stored in the image file, which corresponds to the file identifier to be stored, in a first storage medium in the Fat32 format; and if the occupied space of the install.win file in the image file is larger than the maximum addressing in the Fat32 format, sending storage failure information to the user.
If the occupied space of the data file in the image file is larger than the maximum addressing in the Fat32 format, the total occupied space of the file to be stored is too large, and the file cannot be stored through the Fat32 format, so that the storage failure information is sent to the user.
S104, storing the image file into a second storage medium with a storage format of ntfs.
Specifically, storing contents in the image file except for the storage contents of the first storage medium in the second storage medium; the second storage medium after storage contains a complete file named as install.
Wherein, no matter how large the image file is, all the image files can be stored through the ntfs storage format.
In the embodiment of the application, when the occupied space is larger than the maximum addressing of the Fat32 format, that is, the first storage medium with the storage format of Fat32 cannot store all the image files of the Windows operating system, the user can select to store the contents of the image files except the storage contents of the first storage medium into the second storage medium; for example, the image file includes file 1, file 2, and file 3, and if file 1 and file 2 are stored in the first storage medium, then file 3 is stored in the second storage medium.
The first storage medium and the second storage medium may be a usb disk or the like.
Further, if the occupied space is smaller than or equal to the maximum addressing of the Fat32 format, storing all contents in the image file into a first storage medium with the storage format of Fat 32.
In the embodiment of the application, if the occupied space is less than or equal to the maximum addressing of the Fat32 format, the first storage medium with the storage format of Fat32 is indicated to be capable of storing all the image files of the Windows operating system, so that all the contents in the image files are directly stored in the first storage medium with the storage format of Fat 32.
Optionally, referring to fig. 2, a flowchart of another method for storing an image file of a Windows operating system according to an embodiment of the present application is shown, and the following description describes exemplary steps of the embodiment of the present application:
s201, acquiring the occupied space of a file named as install.win in an image file of the Windows operating system.
In the embodiment of the application, the occupied space of the file named as the install.win in the mirror image file of the Windows operating system refers to the size of the install.win file.
Here, the image file is a file similar to the compressed file, and can be identified by specific software and recorded on a storage medium for downloading by a user. The image file of the Windows operating system comprises Windows operating system files, boot files, partition table information and the like, and is used for installing and repairing the Windows operating system. The image file of the Windows operating system may be understood as a clone file for installing all data of the optical disc in the whole Windows operating system, such as microsoft original edition system, or may be a backup file of the Windows operating system partition, such as a ghost system image, and the suffix name of the image file is mostly ". Iso".
S202, judging whether the occupied space is larger than the maximum addressing of the Fat32 format of the file allocation table.
In the embodiment of the application, the file allocation table Fat32 format is a storage format of a storage medium for storing an image file of a Windows operating system, and the maximum addressing of the file allocation table Fat32 format is used for representing the maximum file which can be stored when the file allocation table Fat32 format is used for storing.
S203, if the occupied space is larger than the maximum addressing of the Fat32 format, storing part of files in the image file into a first storage medium with the storage format of Fat32, wherein a driving file for driving the new technology file system ntfs storage format is stored in the first storage medium.
In the embodiment of the present application, if the occupied space is greater than the maximum addressing in the Fat32 format, it is indicated that the first storage medium storing the Fat32 format cannot store all files named as install.win in the image files of the Windows operating system, so that only a part of the image files except the install.win files are stored in the first storage medium. However, part of the image files stored in the first storage medium must contain a drive file that drives the new technology file system ntfs storage format. The ntfs (New Technology File System ) storage format is another storage format of the storage medium used to store the image file of the Windows operating system, divided by the Fat32 storage format.
Here, obtaining a file identifier to be stored sent by a user, wherein the file identifier to be stored comprises an identifier corresponding to a driving file for driving a new technology file system ntfs storage format; if the occupied space of the install.win file in the image file is smaller than or equal to the maximum addressing in the Fat32 format, storing the file to be stored in the image file, which corresponds to the file identifier to be stored, in a first storage medium in the Fat32 format; and if the occupied space of the install.win file in the image file is larger than the maximum addressing in the Fat32 format, sending storage failure information to the user.
If the occupied space of the data file in the image file is larger than the maximum addressing in the Fat32 format, the total occupied space of the file to be stored is too large, and the file cannot be stored through the Fat32 format, so that the storage failure information is sent to the user.
S204, storing all contents in the mirror image file into a second storage medium.
In the embodiment of the application, the user can also select to store the whole content in the image file into a second storage medium, wherein the storage format of the second storage medium is ntfs; the second storage medium after storage contains a complete file named as install.
The embodiment of the application provides another storage method of Windows operating system image files, which comprises the following steps: acquiring the occupied space of the mirror image file of the Windows operating system; judging whether the occupied space is larger than the maximum addressing of the Fat32 format of the file allocation table; if the occupied space is larger than the maximum addressing of the Fat32 format, storing part of files in the mirror image file into a first storage medium with a storage format of Fat32, wherein a driving file for driving a new technology file system ntfs storage format is stored in the first storage medium; and storing the whole content in the image file into a second storage medium. When the occupied space is larger than the maximum addressing of the Fat32 format, storing partial files containing a driving file for driving the new technology file system ntfs storage format in the mirror image file into a first storage medium with the storage format Fat 32; and storing the whole content of the image file into a second storage medium, wherein the image file of the Windows operating system can be stored when the occupied space of the image file exceeds the maximum addressing of the Fat32 format.
Referring to fig. 3, a flowchart of an installation method of a Windows operating system image file according to an embodiment of the present application is shown, and the following description describes exemplary steps of the embodiment of the present application:
s301, loading and running a drive file of a new technology file system ntfs storage format in a first storage medium in a boot mode of a unified extensible firmware interface UEFI.
In the embodiment of the application, a server platform for installing the mirror image file of the Windows operating system is started, a basic input/output system BIOS (basic input/output system) setting interface of the server platform is provided, and a guide mode of the mirror image file of the Windows operating system is set as a guide mode of a unified extensible firmware interface UEFI; restarting the server platform to finish initialization of UEFI;
if the occupied space is larger than the maximum addressing of the Fat32 format, loading and running the drive file of the new technology file system ntfs storage format in the first storage medium in the boot mode of the unified extensible firmware interface UEFI.
Here, because the occupied space is larger than the maximum addressing of the Fat32 format, it is explained that the installation of the Windows operating system image file needs to be completed through the second storage medium with the storage format of ntfs format; however, in the boot mode of UEFI, the ntfs format is not supported, and only the Fat32 format is supported, so that the driver file running the new technology file system ntfs storage format can be loaded by means of the first storage medium with the storage format being the Fat32 format, so that in the boot mode of UEFI, the Windows operating system image file can be installed.
S302, after the fact that the driving file in the ntfs storage format is successfully driven is determined, the image file is obtained from the second storage medium.
Optionally, if the storage content of the second storage medium is a content other than the storage content of the first storage medium, obtaining the image file from the second storage medium includes: and acquiring storage contents in the first storage medium and the second storage medium to obtain an image file.
In the embodiment of the present application, if the storage content of the second storage medium is a content other than the storage content of the first storage medium, it is explained that the storage content of the first storage medium and the storage content of the second storage medium are both contents in the image file, and therefore, the storage content of the first storage medium and the storage content of the second storage medium are both final image files.
Further, according to a preset installation guide table, guiding and installing the target image files in the first storage medium and the second storage medium; the installation guide table comprises file names of each step of installing image files and storage positions of the file names; the storage location indicates a storage address and index information of a mirror image file in which the file of the file name is stored in the first storage medium or the second storage medium.
Optionally, if the storage content of the second storage medium is the whole content in the image file, obtaining the image file from the second storage medium includes: and obtaining the storage content in the second storage medium to obtain the mirror image file.
In the embodiment of the present application, if the storage content of the second storage medium is the entire content in the image file, it is explained that the storage content in the second storage medium is the entire content of the image file, so that it is only necessary to determine the storage content in the second storage medium as the final image file.
S303, installing an image file.
In the embodiment of the application, the storage position of the Windows system mirror image input by the user is obtained; and loading the running image file at a corresponding position of the storage position.
The embodiment of the application provides a method for installing a Windows operating system image file, which comprises the following steps: loading and running a drive file in an ntfs (new technology file system) storage format in a first storage medium in a boot mode of a Unified Extensible Firmware Interface (UEFI); after the drive file of the ntfs storage format is determined to be successfully driven, acquiring an image file from a second storage medium; and installing an image file. After the drive file with the ntfs storage format stored in the first storage medium is driven, the image file is acquired from the second storage medium with the storage format of ntfs and is installed, and the Windows operating system image file can be stored and installed when the occupied space of the image file exceeds the maximum addressing of the Fat32 format.
Based on the same inventive concept, the embodiment of the present application further provides a storage device for a Windows operating system image file corresponding to the storage method for a Windows operating system image file, and because the principle of solving the problem of the device in the embodiment of the present application is similar to that of the storage method for a Windows operating system image file in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 4, a schematic diagram of a storage device for a Windows operating system image file according to an embodiment of the present application is shown, where the storage device for a Windows operating system image file includes:
the first obtaining module 401 is configured to obtain an occupied space of a file named as install.
A determining module 402, configured to determine whether the occupied space is greater than the maximum addressing in the format of the file allocation table Fat 32.
A storage module 403, configured to store, if the occupied space is greater than the maximum addressing in the Fat32 format, a part of files in the image file into a first storage medium in the Fat32 storage format, where a driving file for driving the new technology file system ntfs storage format is stored in the first storage medium; the image file is stored in a second storage medium having a storage format of ntfs.
In a possible implementation manner, the storage module 403 is specifically configured to store, in the second storage medium, contents in the image file, which are other than the storage contents of the first storage medium.
In a possible implementation, the storage module 403 is specifically configured to store the entire content in the image file in the second storage medium.
The embodiment of the application provides a storage device of a Windows operating system image file, which comprises: a first obtaining module 401, configured to obtain an occupied space of a file named as install.win in an image file of the Windows operating system; a judging module 402, configured to judge whether the occupied space is greater than the maximum addressing in the format of the file allocation table Fat 32; a storage module 403, configured to store, if the occupied space is greater than the maximum addressing in the Fat32 format, a part of files in the image file into a first storage medium in the Fat32 storage format, where a driving file for driving the new technology file system ntfs storage format is stored in the first storage medium; the image file is stored in a second storage medium having a storage format of ntfs. When the occupied space is larger than the maximum addressing of the Fat32 format, storing partial files containing a driving file for driving the new technology file system ntfs storage format in the mirror image file into a first storage medium with the storage format Fat 32; the image file is stored in a second storage medium with a storage format of ntfs, and when the occupied space of the image file exceeds the maximum addressing of the Fat32 format, the image file of the Windows operating system can be stored.
Based on the same inventive concept, the embodiment of the application also provides a device for installing the Windows operating system image file corresponding to the method for installing the Windows operating system image file, and because the principle of solving the problem of the device in the embodiment of the application is similar to that of the method for installing the Windows operating system image file in the embodiment of the application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 5, a schematic diagram of an installation apparatus of a Windows operating system image file according to an embodiment of the present application is shown, where the apparatus includes a first storage medium and a second storage medium of the apparatus shown in fig. 4, and the installation apparatus of a Windows operating system image file includes:
the loading and running module 501 is configured to load and run a driver file in an ntfs storage format of the new technology file system in the first storage medium in a boot mode of the unified extensible firmware interface UEFI.
And the second obtaining module 502 is configured to obtain an image file from the second storage medium after determining that the driving of the driving file in the ntfs storage format is successful.
An installation module 503, configured to install the image file.
In one possible implementation manner, if the storage content of the second storage medium is other than the storage content of the first storage medium, the second obtaining module 502 is specifically configured to obtain the image file by obtaining the storage content of the first storage medium and the second storage medium.
In one possible implementation manner, if the storage content of the second storage medium is the entire content in the image file, the second obtaining module 502 is specifically configured to obtain the image file by obtaining the storage content in the second storage medium.
The embodiment of the application provides a device for installing a Windows operating system image file, which comprises: a loading operation module 501, configured to load and operate a driver file in an ntfs storage format of a new technology file system in a first storage medium in a boot mode of a unified extensible firmware interface UEFI; a second obtaining module 502, configured to obtain an image file from the second storage medium after determining that the driving of the driving file in the ntfs storage format is successful; an installation module 503, configured to install the image file. After the drive file with the ntfs storage format stored in the first storage medium is driven, the image file is acquired from the second storage medium with the storage format of ntfs and is installed, and the Windows operating system image file can be stored and installed when the occupied space of the image file exceeds the maximum addressing of the Fat32 format.
As shown in fig. 6, another electronic device 600 provided in an embodiment of the present application includes: the device comprises a processor 601, a third storage medium 602 and a bus, wherein the third storage medium 602 stores machine-readable instructions executable by the processor 601, and when the electronic device runs, the processor 601 and the third storage medium 602 communicate through the bus, and the processor 601 executes the machine-readable instructions to execute the steps of the method for installing the Windows operating system image file or the method for installing the Windows operating system image file.
Specifically, the third storage medium 602 and the processor 601 can be general-purpose memories and processors, which are not limited herein, and the above-described method for installing a Windows operating system image file or the method for installing a Windows operating system image file can be performed when the processor 601 runs a computer program stored in the third storage medium 602.
Corresponding to the storage method of the Windows operating system image file or the installation method of the Windows operating system image file, the embodiment of the application also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to execute the steps of the storage method of the Windows operating system image file or the installation method of the Windows operating system image file.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the method embodiments, and are not repeated in the present disclosure. In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, and for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the information processing method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily appreciate variations or alternatives within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. The storage method of the Windows operating system image file is characterized by comprising the following steps:
acquiring the occupied space of a file named as install.win in an image file of a Windows operating system;
judging whether the occupied space is larger than the maximum addressing of the Fat32 format of the file allocation table;
if the occupied space is larger than the maximum addressing of the Fat32 format, storing part of files in the image file into a first storage medium with a storage format of Fat32, wherein a driving file for driving a new technology file system (ntfs) storage format is stored in the first storage medium;
storing the image file in a second storage medium with a storage format of ntfs.
2. The method for storing an image file of a Windows operating system according to claim 1, wherein storing the image file in a second storage medium having a storage format of ntfs comprises:
and storing contents of the image file except for the storage contents of the first storage medium into the second storage medium.
3. The method for storing an image file of a Windows operating system according to claim 1, wherein storing the image file in a second storage medium having a storage format of ntfs, further comprises:
and storing all contents in the image file into the second storage medium.
4. A method for installing a Windows operating system image file, wherein the method comprises the first storage medium and the second storage medium of the method according to any one of claims 1 to 3, and the method for installing a Windows operating system image file comprises:
loading and running a drive file of a new technology file system ntfs storage format in the first storage medium in a boot mode of a unified extensible firmware interface UEFI;
after the drive file of the ntfs storage format is determined to be successfully driven, acquiring an image file from the second storage medium;
and installing the mirror image file.
5. The method for installing the mirror file of the Windows operating system according to claim 4, wherein, if the storage content of the second storage medium is a content other than the storage content of the first storage medium, the step of obtaining the mirror file from the second storage medium includes:
and acquiring storage contents in the first storage medium and the second storage medium to obtain an image file.
6. The method for installing the mirror image file of the Windows operating system according to claim 4, wherein if the storage content of the second storage medium is the entire content of the mirror image file, the obtaining the mirror image file from the second storage medium includes:
and obtaining the storage content in the second storage medium to obtain an image file.
7. The storage device for the Windows operating system image file is characterized in that the storage device for the Windows operating system image file comprises:
the first acquisition module is used for acquiring the occupied space of a file named as install.win in the mirror image file of the Windows operating system;
the judging module is used for judging whether the occupied space is larger than the maximum addressing of the Fat32 format of the file allocation table;
the storage module is used for storing part of files in the mirror image file into a first storage medium with a storage format of Fat32 if the occupied space is larger than the maximum addressing of the Fat32 format, wherein a driving file for driving a new technology file system (ntfs) storage format is stored in the first storage medium; storing the image file in a second storage medium with a storage format of ntfs.
8. An installation apparatus of a Windows operating system image file, wherein the apparatus comprises the first storage medium and the second storage medium of the apparatus of claim 7, and the installation apparatus of a Windows operating system image file comprises:
the loading operation module is used for loading and operating the driving file in the new technology file system ntfs storage format in the first storage medium under the guide mode of the unified extensible firmware interface UEFI;
the second acquisition module is used for acquiring an image file from the second storage medium after the driving of the driving file in the ntfs storage format is determined to be successful;
and the installation module is used for installing the image file.
9. An electronic device, comprising: a processor, a third storage medium, and a bus, the third storage medium storing machine-readable instructions executable by the processor, the processor and the third storage medium communicating over the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the method for storing a Windows operating system image file according to any one of claims 1 to 3, or the method for installing a Windows operating system image file according to any one of claims 4 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, performs the steps of the storing method of the Windows operating system image file according to any one of claims 1 to 3, or the installing method of the Windows operating system image file according to any one of claims 4 to 6.
CN202311110280.7A 2023-08-30 2023-08-30 Storage method and installation method of Windows operating system image file Pending CN117075927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311110280.7A CN117075927A (en) 2023-08-30 2023-08-30 Storage method and installation method of Windows operating system image file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311110280.7A CN117075927A (en) 2023-08-30 2023-08-30 Storage method and installation method of Windows operating system image file

Publications (1)

Publication Number Publication Date
CN117075927A true CN117075927A (en) 2023-11-17

Family

ID=88709578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311110280.7A Pending CN117075927A (en) 2023-08-30 2023-08-30 Storage method and installation method of Windows operating system image file

Country Status (1)

Country Link
CN (1) CN117075927A (en)

Similar Documents

Publication Publication Date Title
EP2998861B1 (en) Implementing and deleting method and device for intelligent terminal multi-operation system
US9600369B2 (en) Operating system recovery method and apparatus, and terminal device
US9804832B2 (en) Method, apparatus, and communication device for updating firmware
US20120096252A1 (en) Preparing and preserving a system configuration during a hot upgrade
CN108241550B (en) Backup and restoration method for operating system
JP5951145B2 (en) Operating system recovery method, apparatus, and terminal device
CN101650660A (en) Booting a computer system from central storage
CN105739961B (en) Starting method and device of embedded system
CN110825419B (en) Firmware refreshing method and device, electronic equipment and storage medium
CN113835644B (en) Complete machine migration method, device, equipment and storage medium
TWI450090B (en) Method and system of changing a startup list of programs to determine whether computer system performance increases
CN113760306B (en) Method and device for installing software, electronic equipment and storage medium
CN111433747B (en) Virtual memory for loading operating systems
CN111209080A (en) Transparent transmission method for graphic processor
CN114780019A (en) Electronic device management method and device, electronic device and storage medium
CN108958814B (en) Multimode redundant embedded operating system starting method
CN113687837A (en) Starting mode conversion method and system and virtual machine operation method
CN108647034B (en) Method for installing multiple operating systems on single mobile hard disk
CN112579361B (en) Backup data reconstruction method, device, equipment and storage medium
US9852028B2 (en) Managing a computing system crash
CN117075927A (en) Storage method and installation method of Windows operating system image file
KR102429346B1 (en) Memory Upgrade System And Method
US20160041782A1 (en) Storage Device Copying of a larger system to a smaller system
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
EP1710697A1 (en) Method and apparatus for executing application in system having NAND flash memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination