CN100405322C - Method for starting operation system and testing by USB carry-on disk - Google Patents

Method for starting operation system and testing by USB carry-on disk Download PDF

Info

Publication number
CN100405322C
CN100405322C CNB2005100838289A CN200510083828A CN100405322C CN 100405322 C CN100405322 C CN 100405322C CN B2005100838289 A CNB2005100838289 A CN B2005100838289A CN 200510083828 A CN200510083828 A CN 200510083828A CN 100405322 C CN100405322 C CN 100405322C
Authority
CN
China
Prior art keywords
operating system
usb
carry
dish
windowspe
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.)
Expired - Fee Related
Application number
CNB2005100838289A
Other languages
Chinese (zh)
Other versions
CN1896967A (en
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.)
Huaibei Shanda Intellectual Property Operation Co., Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2005100838289A priority Critical patent/CN100405322C/en
Publication of CN1896967A publication Critical patent/CN1896967A/en
Application granted granted Critical
Publication of CN100405322C publication Critical patent/CN100405322C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for testing operation system by utilizing USB carry-on disc includes setting USB carry-on disc inserted in USB interface to be mode being able to start up, implanting Windows PE onto USB carry-on disc, setting content to automatically start up Windows PE and setting USB carry-on disc to be primary driving mode then activating operation system and carrying out test on it.

Description

The method of utilizing USB carry-on dish initiating task system and testing
Technical field
The present invention relates to a kind of computer system safety maintenance technology, particularly concern carry-on dish initiating task system of a kind of USB of utilization (USB (universal serial bus)) and the method for testing.
Background technology
Because computing machine usually is applied to storage, handles some important affairs, in people's daily life and work, be in consequence, therefore more and more be subjected to computer user's attention about computer system routine safety maintenance technology.
Maintenance technology commonly used at present is to move trace routine on the platform of computer operating system, thereby realizes the detection to computer system and hard disk thereof.Obviously when utilizing above-mentioned trace routine to detect, Windows or the (SuSE) Linux OS that the user installed must use a computer.
But, enter operating system of user and just might destroy preservation data on the hard disk, thereby bring certain trouble and inconvenience for the computer user.In addition, the computing machine that need detect for a part, the situation that may also exist operating system to damage also, even perhaps operating system is not damaged, the situation that also may exist drive installation third party software incorrect or that install to cause trace routine normally not move.At this moment just need to change an other hard disk and reinstall operating system and corresponding driving program, so not only lose time, and then also need to operate more than the repetition for other computing machine with the problems referred to above.Therefore, at the above-mentioned problem of utilizing os starting COMPUTER DETECTION program, Microsoft has released the operating system of a kind of window WindowsPE by name (Windows PE), this operating system plays important effect in the computing machine daily servicing, even can solve very thorny fault.Occur damaging for the operating system that the computer user installed, can not enter system, or the system of can only resetting just can solve under the situation of fault, need at first be saved in other dish for the vital document file, and such instrument form of command line often, but command line is difficult problems for a lot of users, and at this moment window WindowsPE operating system (Windows PE) just can use.But because window WindowsPE operating system (WindowsPE) is directly moved on CD, therefore when using window WindowsPE operating system (WindowsPE) optical disk start-up computing machine to detect, need CD-ROM drive to read dish repeatedly, thereby make CD-ROM drive have very heavy load, cause occurring need longer start-up time problem.The problems referred to above have all restricted the common trace routine of institute of computer user installing operating system platform and the service efficiency of window WindowsPE operating system (Windows PE) to a certain extent, for the computer user makes troubles.
Summary of the invention
In view of above problem, fundamental purpose of the present invention is to provide a kind of USB of utilization method that carry-on dish starts the operating system and tests, not only service efficiency height, application program launching speed are fast, security performance is good and the testing process full automation, use solving the above-mentioned shortcoming of existing in prior technology.
For achieving the above object, the carry-on dish of a kind of USB of utilization proposed by the invention (claims USB flash disk again, or flash disk) method that starts the operating system and test, system is applied in the computing machine, one operating system is installed in this computing machine, and have at least one USB (USB (universal serial bus)) interface, this method includes the following step:
But the carry-on dish of USB that inserts one of described USB interface is set is start-up mode;
One window WindowsPE operating system (Windows PE) is transplanted on the carry-on dish of this USB, is wherein more comprised the following steps:
To start the required basic document of this window WindowsPE operating system (Windows PE) is copied on the carry-on dish of this USB; And
Whole application files of this window WindowsPE operating system (Windows PE) are copied on the carry-on dish of this USB;
Start this window WindowsPE operating system by the carry-on dish of this USB.
The above-mentioned method of utilizing the carry-on dish of USB to start the operating system and test, wherein these basic document comprise:
The file of the font when providing this window WindowsPE operating system (Windows PE) to start;
In order to call the file of this operating system kernel program;
In order to required driver is copied to the file of this computing machine;
In order to add the file of user's specific data; And
In order to the file of an application program to be installed from source file.
The above-mentioned method of utilizing the carry-on dish of USB to start the operating system and test, wherein these basic document also comprise:
In order to set the program file that this window WindowsPE operating system (Windows PE) starts content automatically.
The above-mentioned method of utilizing the carry-on dish of USB to start the operating system and test more comprises the following steps:
Set the content that starts this window WindowsPE operating system (Windows PE) automatically.
The above-mentioned method of utilizing the carry-on dish of USB to start the operating system and test more comprises the following steps:
Setting the carry-on dish startup of this USB is a primary drive pattern.
The above-mentioned method of utilizing the carry-on dish of USB to start the operating system and test more comprises the following steps:
Marking off a part of space virtual in internal memory is a hard disk drive.
The above-mentioned method of utilizing the carry-on dish of USB to start the operating system and test more comprises the following steps:
Start this window WindowsPE operating system (Windows PE) by a hibernation file.
Therefore, the present invention can neither use the hard disk in the subscriber computer, do not need again the lastblock hard disk is installed in addition and start the normal operations system, also need not take a long time in optical disk start-up window WindowsPE operating system (Windows PE), only the window WindowsPE operating system (Windows PE) on the carry-on dish of needs startup USB can reach the purpose of detection.The present invention also can be implemented on the computing machine that does not have a hard disk and use this operating system, has therefore avoided the mechanical drive of hard disk and all changes the data transmission of chip chamber into, thereby improved operating speed greatly.And the carry-on dish of USB itself is not fragile, is convenient to preserve.
In addition, by setting automatic startup content, and set the carry-on dish of USB and start and be primary drive pattern, directly start the carry-on dish of USB thereby can start shooting, and human window WindowsPE operating system (Windows PE) automatically; Start window WindowsPE operating system (Windows PE) by hibernation file, can make operating system reach toggle speed faster.The present invention can also be a hard disk drive by mark off a part of space virtual in internal memory, guarantee content on the carry-on dish of USB can be because of UNICOM's network the data rewriting of infected virus or other form.
Relevant characteristics and implementation of the present invention, conjunction with figs. is described in detail as follows as most preferred embodiment now.
Description of drawings
The method flow diagram that Fig. 1 starts the operating system and tests for the carry-on dish of the USB of utilization of the present invention; And
Fig. 2 starts the operating system for the carry-on dish of the USB of utilization of the present invention and the hibernation file of the method for testing starts process flow diagram.
The primary clustering symbol description:
But step 102 is provided with and inserts one of the USB interface carry-on dish of USB is start-up mode
Step 104 will start the required basic document of window WindowsPE operating system (Windows PE) and be copied on the carry-on dish of USB
Step 106 is copied to whole application files of this window WindowsPE operating system (Windows PE) on the carry-on dish of USB
Step 108 starts window WindowsPE operating system by hibernation file
Step 110 marks off a part of space virtual in internal memory be a hard disk drive
It is a primary drive pattern that step 112 is set the carry-on dish startup of this USB
Step 114 is set the content that starts this window WindowsPE operating system (Windows PE) automatically
The write-protect that step 202 setting is equipped with the carry-on dish of USB of window WindowsPE operating system is can write state
Step 204 is inserted the carry-on dish of USB the window WindowsPE operating system that starts on the computing machine on it
Step 206 makes the dormancy of window WindowsPE operating system after loading the expection driver fully
Step 208 window WindowsPE operating system is with in the data writing system dish one specific file in the current internal memory
Step 210 window WindowsPE operating system is written to the data in the specific file in the internal memory when recovering to start again
Step 212 is provided with the write-protect of the carry-on dish of USB for forbidding write state
Embodiment
With reference to figure 1, this figure is the method flow diagram that the carry-on dish of the USB of utilization of the present invention starts the operating system and tests.As shown in the figure, but the carry-on dish of USB that inserts one of described USB interface at first be set be start-up mode (step 102).The startup dish production process that can utilize the carry-on dish of USB to carry is made a carry-on dish of actuated type USB.If be not activated the dish production process, but then can utilize common Windows format software that the carry-on dish of USB is formatted as start-up mode.Can also use clone's hard disk restore softwares such as (ghost) that bootable fdisk is made an image file, image file be reverted on the carry-on dish of USB then.But the carry-on dish of USB of this moment is start-up mode.A window WindowsPE operating system (Windows PE) is transplanted on the carry-on dish of this USB subsequently, in step 104, at first will start the required basic document of window WindowsPE operating system (Windows PE) and be copied on the carry-on dish of USB.Starting the required basic document of window WindowsPE operating system (Windows PE) comprises: the file of the font when being responsible for providing window WindowsPE operating system (Windows PE) to start; The operating system of being responsible for calling on the computing machine and being installed, the file of kernel program such as Windows, Linux for example, because behind computer starting, processor will move Basic Input or Output System (BIOS) (BIOS) earlier, be Main Boot Record (MBR) then, then being boot sector, has been exactly the file of calling system kernel program subsequently; Be responsible for required driver is copied to the file of this computing machine; Be responsible for adding the file of user's specific data; And responsible file from the source file set up applications.By above-mentioned basic document being copied on the carry-on dish of USB, just possessed the precondition that starts window WindowsPE operating system (WindowsPE) on the carry-on dish of USB.In step 106, whole application files of this window WindowsPE operating system (Windows PE) are copied on the carry-on dish of USB, whole application files described here comprise the executable file that window WindowsPE operating system is installed, and the associated documents of other human window WindowsPE operating system etc.At this moment just can start window WindowsPE operating system (Windows PE), carry out the hard-disk system fault test and repaired by the carry-on dish of USB.
When needs enter the window WindowsPE operating system of the carry-on dish of USB, can start window WindowsPE operating system (step 108) by hibernation file, thereby improve the travelling speed of window WindowsPE operating system.Utilizing hibernation file to start is to realize according to dormancy-recovery principle that Windows operating system provides.Below in conjunction with Fig. 2, the method for utilizing hibernation file to start window WindowsPE operating system is described.
Fig. 2 starts the operating system for the carry-on dish of the USB of utilization of the present invention and the hibernation file of the method for testing starts process flow diagram.As shown in Figure 2, the write-protect that the carry-on dish of USB that window WindowsPE operating system is housed at first is set is inserted the window WindowsPE operating system (step 204) that starts on the computing machine on it with the carry-on dish of USB then for can write state (step 202).After loading the expection driver fully, make window WindowsPE operating system dormancy (step 206), and with in the data writing system dish one specific file in the current internal memory (step 208).Window WindowsPE operating system is written to (step 210) in the internal memory again with the data in the specific file when recovering to start, be provided with the write-protect of the carry-on dish of USB for forbidding write state (step 212) this moment.Just can normally use the carry-on dish of USB then.For the computing machine of a large amount of same configurations, by making the window WindowsPE operating system (Windows PE) on the carry-on dish of USB recover dormancy, thereby can reach toggle speed faster, the several seconds then can enter system fully generally speaking.This system can be called the system of " pure " in addition, because any program can not stay the vestige of execution therein, can use on multiple computers repeatedly.
Simultaneously, as shown in Figure 1, window WindowsPE operating system (Windows PE) can be in start-up course, and marking off a part of space virtual in internal memory is a hard disk drive (step 110), and window WindowsPE operating system is write all contents that will write on this virtual hard disk.The carry-on dish of USB can write-protect be set to forbid write state, and the content that so just can guarantee the window WindowsPE operating system (Windows PE) on the carry-on dish of USB can not cause changing or destroying because of virus or other form.
In addition, the carry-on dish of the USB of utilization of the present invention starts the operating system and the method for testing can also start and is primary drive pattern (step 112) by setting the carry-on dish of this USB, thereby the carry-on dish of USB can at first move after start, and in step 114, by setting the content that starts this window WindowsPE operating system (Windows PE) automatically, thereby can behind the carry-on dish of operation USB, start window WindowsPE operating system (Windows PE) immediately, realize the full automation of test process.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (7)

1. a method of utilizing the carry-on dish of USB to start the operating system and test is applied in the computing machine, an operating system is installed in this computing machine, and has at least one USB interface, it is characterized in that this method includes the following step:
But being set, the carry-on dish of USB is start-up mode, in order to provide this computer booting required relevant information;
One window WindowsPE operating system transplantation to the carry-on dish of this USB, is wherein more comprised the following steps:
(a) will start the required basic document of this window WindowsPE operating system is copied on the carry-on dish of this USB; And
(b) the whole application files with this window WindowsPE operating system are copied on the carry-on dish of this USB;
Start this window WindowsPE operating system by the carry-on dish of this USB.
2. the method that starts the operating system and test according to the carry-on dish of the described USB of utilization of claim 1 is characterized in that these basic document comprise:
The file of the font when this window WindowsPE os starting to be provided;
In order to call the file of this window WindowsPE operating system kernel program;
In order to required driver is copied to the file of this computing machine;
In order to add the file of user's specific data; And
In order to the file of an application program to be installed from source file.
3. the method that the carry-on dish of the USB of utilization according to claim 2 starts the operating system and tests is characterized in that these basic document also comprise:
In order to set the program file that this window WindowsPE operating system starts content automatically.
4. the method that the carry-on dish of the USB of utilization according to claim 1 starts the operating system and tests is characterized in that, more comprises the following steps:
Set the content that starts this window WindowsPE operating system automatically.
5. the method that the carry-on dish of the USB of utilization according to claim 4 starts the operating system and tests is characterized in that, more comprises the following steps:
Setting the carry-on dish startup of this USB is a primary drive pattern.
6. the method that the carry-on dish of the USB of utilization according to claim 1 starts the operating system and tests is characterized in that, more comprises the following steps:
Marking off a part of space virtual in internal memory is a hard disk drive.
7. the method that the carry-on dish of the USB of utilization according to claim 1 starts the operating system and tests is characterized in that, more comprises the following steps:
Start this window WindowsPE operating system by a hibernation file.
CNB2005100838289A 2005-07-12 2005-07-12 Method for starting operation system and testing by USB carry-on disk Expired - Fee Related CN100405322C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100838289A CN100405322C (en) 2005-07-12 2005-07-12 Method for starting operation system and testing by USB carry-on disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100838289A CN100405322C (en) 2005-07-12 2005-07-12 Method for starting operation system and testing by USB carry-on disk

Publications (2)

Publication Number Publication Date
CN1896967A CN1896967A (en) 2007-01-17
CN100405322C true CN100405322C (en) 2008-07-23

Family

ID=37609497

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100838289A Expired - Fee Related CN100405322C (en) 2005-07-12 2005-07-12 Method for starting operation system and testing by USB carry-on disk

Country Status (1)

Country Link
CN (1) CN100405322C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976077B (en) * 2010-08-13 2012-11-21 株洲南车时代电气股份有限公司 Loading method of test program of drive control unit
CN105183521A (en) * 2015-09-21 2015-12-23 浪潮电子信息产业股份有限公司 Method for installing computing operation system and USB port storage device
CN107069369B (en) * 2016-12-30 2019-06-18 温州明衡电子科技有限公司 A kind of USB test machine
CN108470014B (en) * 2018-02-26 2021-05-04 广东思派康电子科技有限公司 Method for awakening intelligent voice assistant application by USB TYPE-C connector

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5715456A (en) * 1995-02-13 1998-02-03 International Business Machines Corporation Method and apparatus for booting a computer system without pre-installing an operating system
US6094531A (en) * 1997-08-25 2000-07-25 Hewlett-Packard Company Method and apparatus for automatically installing operating systems machines
US6105130A (en) * 1997-12-23 2000-08-15 Adaptec, Inc. Method for selectively booting from a desired peripheral device
CN1529475A (en) * 2003-10-10 2004-09-15 复旦大学 Local area network based on mobile operating system configuration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5715456A (en) * 1995-02-13 1998-02-03 International Business Machines Corporation Method and apparatus for booting a computer system without pre-installing an operating system
US6094531A (en) * 1997-08-25 2000-07-25 Hewlett-Packard Company Method and apparatus for automatically installing operating systems machines
US6105130A (en) * 1997-12-23 2000-08-15 Adaptec, Inc. Method for selectively booting from a desired peripheral device
CN1529475A (en) * 2003-10-10 2004-09-15 复旦大学 Local area network based on mobile operating system configuration

Also Published As

Publication number Publication date
CN1896967A (en) 2007-01-17

Similar Documents

Publication Publication Date Title
US7606946B2 (en) Removable device and program startup method
US7962739B2 (en) Recovering from hard disk errors that corrupt one or more critical system boot files
TWI582791B (en) Method and computer storage media for booting an electronic device using flash memory and a limited function memory controller
CN1241120C (en) Method for backing up and recovering data in hard disk of computer
US7694123B2 (en) Storing files for operating system restoration
US20060224794A1 (en) Using USB memory device to recover operating system
US20030229768A1 (en) Process, apparatus, and system for passing data between partitions in a storage device
CA2444685A1 (en) System and method for improving the efficiency, comfort, and/or reliability in operating systems, such as for example windows
US11157349B2 (en) Systems and methods for pre-boot BIOS healing of platform issues from operating system stop error code crashes
US20100037092A1 (en) System and method for backup, reboot, and recovery
CN114222975A (en) Data preservation using memory aperture flush sequence
US20050289382A1 (en) System and method for recovering a device state
US10514972B2 (en) Embedding forensic and triage data in memory dumps
CN100405322C (en) Method for starting operation system and testing by USB carry-on disk
US20030182527A1 (en) Write Protection State Change Initiation Sequence
US20060041740A1 (en) Boot methods, computer systems, and production methods thereof
CN101901171B (en) Using method of computer data backup and restore software
CN105678160A (en) System and method for providing access to original routines of boot drivers
US7565524B2 (en) Computer backup system at BIOS level
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
US9852029B2 (en) Managing a computing system crash
US8572742B1 (en) Detecting and repairing master boot record infections
US7024493B1 (en) Bootable CD for transferring files independently of computer operating systems
EP1630668A1 (en) Boot method based on hibernation files for preventing unauthorized modifications
CN102831032A (en) Repair system and method for master boot record of hard disc

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191212

Address after: Room 103, building 1, Nanhu Yayuan, Yangzhuang street, Lieshan District, Huaibei City, Anhui Province

Patentee after: Huaibei Shanda Intellectual Property Operation Co., Ltd

Address before: Taipei City, Taiwan, China

Patentee before: Yingda Co., Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080723

Termination date: 20190712

CF01 Termination of patent right due to non-payment of annual fee