CN102135926A - Data storing method capable of protecting hard disc from clearing or low level - Google Patents
Data storing method capable of protecting hard disc from clearing or low level Download PDFInfo
- Publication number
- CN102135926A CN102135926A CN2011100656483A CN201110065648A CN102135926A CN 102135926 A CN102135926 A CN 102135926A CN 2011100656483 A CN2011100656483 A CN 2011100656483A CN 201110065648 A CN201110065648 A CN 201110065648A CN 102135926 A CN102135926 A CN 102135926A
- Authority
- CN
- China
- Prior art keywords
- partition
- hard disc
- hard disk
- bios
- information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000005192 partition Methods 0.000 claims abstract description 38
- 238000011084 recovery Methods 0.000 claims description 7
- 239000002775 capsule Substances 0.000 claims description 3
- 238000000638 solvent extraction Methods 0.000 abstract 1
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 239000003607 modifier Substances 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a data storing method capable of protecting hard disc from clearing or low level, belonging to the field of restoring data of a hard disc protection region. The method comprises the following steps: A, modifying the number of cylinders or sectors of a hard disc; B, dividing the hard disc into three main partitions once again, and using up whole volume of the hard disc; C, restoring the original number of cylinders or sectors of the hard disc, and partitioning the rest volume of the hard disc by the main partition mode; D, storing important information in the fourth main partition; and E, backing up the partition table information of the fourth partition, and forming the partition information and an automatic recovery program into a standard isa module which can be identified by a basic input / output system (BIOS), modifying and adding bios into the isa module, and refreshing the modified bios. The method provided by the method can store data permanently, and prevent low-level formatting or clearing.
Description
Technical field
The present invention relates to recover data field, hard disk protection district, specifically a kind of data save method of preventing hard disk zero clearing or low lattice.
Background technology
The hard-disk capacity of PC is increasing now, and the hard disk of the above capacity of 2TB has appeared in the PC at present, and the multi-medium data of hard-disc storage is also more and more because of the diversity of personal digital product.But after in a single day hard disk meets with virus damage or situation about causing because of logic lock reason need do low lattice or zero clearing, user's data will not exist, and will cause great loss to the user.Though recover software certain restore data ability is arranged, waste time and energy, and be difficult to guarantee complete reservation, the disk recovery ability of zero clearing or low lattice is not repeatedly almost had.
In case this invention is exactly can to utilize the partition information that backs up among the BIOS, easily the data in the recovery and protection subregion for after hard disk is cleared or hangs down lattice.This subregion can't normally be visited after being set to protection, even zero clearing or low lattice program can not be wiped the data of protection subregion.
Summary of the invention
The purpose of this invention is to provide a kind of data save method of preventing hard disk zero clearing or low lattice.This method comprises:
A, hard disk are revised cylinder or sector number;
B, all use up again with 3 main partitions of hard disk partition, and with hard-disk capacity;
C, with former cylinder of disk recovery or sector number, and the residual capacity of hard disk carried out a subzone again, still use the main partition pattern;
D, capsule information are stored in the 4th subregion;
The partition table information of E, backup the 4th subregion generates the discernible standard isa module of BIOS with partition information and automatic recovery program, and revises bios and add this isa module, more amended bios is refreshed;
F, removing the 4th partition information, revising hard disk once more is employed cylinder of steps A or sector number.
1) partition table information of preservation specified partition in bios.
Because among the bios standard I SA module is had the size restriction, therefore general disk mirroring can't use.In view of the maximum 64KB restriction of ISA module, therefore disc format to be turned to 64K or littler capacity.And the Free DOS system that adopts assembly language to write, the less 42KB that is no more than usually of the guiding of this system and kernel program.Copy in the disk into sector-level running program diskrw, and identify totally 18 bytes with 16 bytes of partition information and the fdisk of this program backup the 4th subregion.Use during in order to recovery.The erasing of information of subregion also needs the empty file of 16 bytes, in order to will will be protected behind the partition protecting.
2) generate the ISA module that comprises guiding and recover the specified partition mirror image
Tool using software generates image file with above disk.And image file is compiled as standard I SA module, the romos.asm source code that program compiler can use romos to provide.And the module that generates is integrated in the rom file of bios.
The present invention compares with prior art has following characteristics:
1) can forever preserve data at the hard disk assigned address.
2) data of specified location can prevent by low-level formatting or zero clearing.
3) this position can cannot not be set to openly.
4) open mode can be controlled by the user in the self check stage with open mode not.
5) partition table of specified location is stored by bios, and is survivable.
Description of drawings
Accompanying drawing 1 is the system flowchart of A.
Embodiment
The method is used for ease of the operator, recommends to use third party software:
Hard disk cylinder or sector modifiers FTOOL, fdisk instrument PQmagic, sector Reading and writing instrument diskrw, ISA module compiles instrument romos.
With the 160G hard disk is example.
1) use FTOOL to revise the capacity of hard disk
At first start pure DOS environment; the above version of MS-DOS7 is used in suggestion; and at C:〉(or use the floppy disk guiding A: to occur 〉) input " ftool " will move Hitachi Feature Tool software; and select software after " IAgree " approval agreement will scan all hard disk accesses of this TV station main frame; and providing the information that all can discern hard disk, the cursor control key up and down of use keyboard can therefrom select to set up the hard disk of protected location.
Behind the selected hard disk that needs to revise, press the ALT+F Macintosh, and with cursor control key selection " ChangeCapacity " function and carriage return confirm that FTOOL software will require the user to import hard-disk capacity this moment up and down.In also " OK " affirmation modification of " NewCapacity " input " 100 ".
The BIOS detection capacity of hard disk will become 100G this moment, set up the protection zone of (160G-100G=) 60G.The user can restart main frame and whether successfully go forward side by side bios setup affirmation modification.
Behind 160G hard disk modification cylinder number, will become the 100G capacity, can obtain the protection storage area of 60G this moment.
2) the PQmagic instrument divides 3 main partitions with the 100G hard disk, and uses up all told
Still starting main frame advances the DOS pattern and C: occurring〉(or use the floppy disk guiding A: to occur 〉) input pqmagic can start PowerQuest PartitionMagic.
The back, zone of selected " unallocated " is pressed Macintosh " ALT+O " and is selected " foundation "
" being established as " and please selecting " mainly cutting apart the magnetic region " is the main partition.
" cut apart the magnetic region type " and please can use " FAT, FAT32, NTFS, Linux etc. " according to user's demand.
" size " please divides desired volume according to user's demand.
Please, divide second, third main partition, and present all told is used up once more by above operation.
3) with former cylinder of disk recovery or sector number, and the residual capacity of hard disk carried out a subzone again, still use the main partition pattern.
Please refer to " 1) " start Hitachi Feature Tool software once more, behind the selected hard disk that needs to revise, press the ALT+F Macintosh, and with cursor control key selection " Change Capacity " function and carriage return are confirmed up and down.Import the raw capacity of this hard disk, i.e. 160G at " New Capacity ".And " OK " confirms.Advance bios setup and can verify that this moment, hard disk reverted to raw capacity.
Start PowerQuest PartitionMagic and can see that hard disk till now has the unallocated capacity of 60G capacity, the method according to before " 2) " are divided is divided into the main partition with remaining 60G capacity.
4) capsule information can be stored in the 4th subregion this moment.
5) partition table information of backup the 4th subregion generates the discernible standard isa module of BIOS with partition information and automatic recovery program, and revises bios and add this isa module, refreshes amended BIOS again.
With 16 bytes before the 55AA is that the partition information of protected location need back up, and last 55AA is the subregion sign, also will back up in the lump.Amount to 18 bytes, use during in order to recovery.
Enter DOS environment input " diskrw 00 494/b 18bak.bin ".Will generate the bak.Bin file of 18 bytes, this file is the partition table information of the 4th subregion and the subregion sign of last two bytes.
The disk mirroring that uses romos to provide only keeps kernel.sys, and command.Com gets final product.And with diskrw.com, bak.Bin, zero.Bin copies into disk, is compiled as the isa module by romos.
This isa module is added the bios mirror image, is example with award bios: input " cbrom bios.Bin/isarom.Isa newbin.bin ".
Refresh the bios of mainboard.This moment, mainboard BIOS possessed the ability of reduction the 4th subregion.
6) removing the 4th partition information revises hard disk once more and is " 1) " employed cylinder or sector number.
Entering DOS environment input " diskrw 00 494/r 16zero.bin " can remove hard disk the 4th partition table information.
Begin the FTOOL instrument once more hard-disk capacity is revised as 100G.The 4th subregion of hard disk shields fully at this moment, even zero clearing or low lattice hard disk also can't be wiped the sector data of conductively-closed, has reached the described requirement of preamble.
" time, guarantee to open the mirror drive that the Scrolllock lamp can enter 64K, the partition information of 18 bytes by diskrw and backup can recover the 4th partition data.
Claims (2)
1. the data save method that can prevent hard disk zero clearing or low lattice is characterized in that, this method comprises:
A, hard disk are revised cylinder or sector number;
B, all use up again with 3 main partitions of hard disk partition, and with hard-disk capacity;
C, with former cylinder of disk recovery or sector number, and the residual capacity of hard disk carried out a subzone again, still use the main partition pattern;
D, capsule information are stored in the 4th subregion;
The partition table information of E, backup the 4th subregion generates the discernible standard isa module of BIOS with partition information and automatic recovery program, and revises bios and add this isa module, more amended bios is refreshed;
F, removing the 4th partition information, revising hard disk once more is employed cylinder of steps A or sector number.
2. data save method according to claim 1 is characterized in that the fdisk instrument adopts PQmagic, and the sector Reading and writing instrument adopts diskrw, and ISA module compiles instrument adopts romos.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100656483A CN102135926A (en) | 2011-03-18 | 2011-03-18 | Data storing method capable of protecting hard disc from clearing or low level |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100656483A CN102135926A (en) | 2011-03-18 | 2011-03-18 | Data storing method capable of protecting hard disc from clearing or low level |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102135926A true CN102135926A (en) | 2011-07-27 |
Family
ID=44295714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100656483A Pending CN102135926A (en) | 2011-03-18 | 2011-03-18 | Data storing method capable of protecting hard disc from clearing or low level |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102135926A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104199750A (en) * | 2014-08-26 | 2014-12-10 | 上海天脉聚源文化传媒有限公司 | File recovery method and device of linux system |
CN105244050A (en) * | 2014-07-07 | 2016-01-13 | 佳能株式会社 | Image forming apparatus and method for controlling image forming apparatus |
CN109739437A (en) * | 2018-12-19 | 2019-05-10 | 国云科技股份有限公司 | A method of based on cloud platform Linux virtual machine dilatation root partition |
CN113473195A (en) * | 2021-05-31 | 2021-10-01 | 青岛海尔科技有限公司 | Multimedia data storage method and system, storage medium and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1419196A (en) * | 2001-11-12 | 2003-05-21 | 联想(北京)有限公司 | Hard disk data backup and restore method |
US20050015652A1 (en) * | 2001-08-31 | 2005-01-20 | Dong Han | Method for backing up and recovering data in the hard disk of a computer |
CN101727371A (en) * | 2010-01-04 | 2010-06-09 | 浪潮电子信息产业股份有限公司 | Method for adding and running memory testing tool in BIOS |
-
2011
- 2011-03-18 CN CN2011100656483A patent/CN102135926A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050015652A1 (en) * | 2001-08-31 | 2005-01-20 | Dong Han | Method for backing up and recovering data in the hard disk of a computer |
CN1419196A (en) * | 2001-11-12 | 2003-05-21 | 联想(北京)有限公司 | Hard disk data backup and restore method |
CN101727371A (en) * | 2010-01-04 | 2010-06-09 | 浪潮电子信息产业股份有限公司 | Method for adding and running memory testing tool in BIOS |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105244050A (en) * | 2014-07-07 | 2016-01-13 | 佳能株式会社 | Image forming apparatus and method for controlling image forming apparatus |
US9979838B2 (en) | 2014-07-07 | 2018-05-22 | Canon Kabushiki Kaisha | Image forming apparatus and method for controlling image forming apparatus |
US10154156B2 (en) | 2014-07-07 | 2018-12-11 | Canon Kabushiki Kaisha | Image forming apparatus and method for controlling image forming apparatus |
CN105244050B (en) * | 2014-07-07 | 2020-11-06 | 佳能株式会社 | Image forming apparatus and control method of image forming apparatus |
CN104199750A (en) * | 2014-08-26 | 2014-12-10 | 上海天脉聚源文化传媒有限公司 | File recovery method and device of linux system |
CN109739437A (en) * | 2018-12-19 | 2019-05-10 | 国云科技股份有限公司 | A method of based on cloud platform Linux virtual machine dilatation root partition |
CN109739437B (en) * | 2018-12-19 | 2022-04-01 | 国云科技股份有限公司 | Method for expanding root partition based on cloud platform Linux virtual machine |
CN113473195A (en) * | 2021-05-31 | 2021-10-01 | 青岛海尔科技有限公司 | Multimedia data storage method and system, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101840362B (en) | Method and device for achieving copy-on-write snapshot | |
US8150851B2 (en) | Data processing apparatus and method of processing data | |
US7363540B2 (en) | Transaction-safe FAT file system improvements | |
KR101115486B1 (en) | Apparatus and method for controlling booting of computer system | |
KR101301828B1 (en) | Method and apparatus for power-off recovery in flash memory-based solid state drive | |
US7873600B2 (en) | Storage control device to backup data stored in virtual volume | |
US7174420B2 (en) | Transaction-safe FAT file system | |
CN102779080B (en) | Method for generating snapshot, method and device for data recovery by using snapshot | |
CN102096561B (en) | Hierarchical data storage processing method, device and storage equipment | |
KR20080008419A (en) | Flash memory management method that is resistant to data corruption by power loss | |
US20060112221A1 (en) | Method and Related Apparatus for Data Migration Utilizing Disk Arrays | |
CN107943414A (en) | The file partition of built-in Linux and data read-write method | |
CN106294007B (en) | Data recovery method and device | |
CN101853275A (en) | Data management method of FAT file system and system | |
CN103544110A (en) | Block-level continuous data protection method based on solid-state disc | |
CN102073560A (en) | Data backup method and device | |
CN112035294B (en) | Security log file system and implementation method and medium thereof | |
CN101140542A (en) | Method for copying snapshot writing response time in the time of shortening writing time | |
US8019953B2 (en) | Method for providing atomicity for host write input/outputs (I/Os) in a continuous data protection (CDP)-enabled volume using intent log | |
CN109086078A (en) | Android system upgrade method, device, server and mobile terminal | |
CN102135926A (en) | Data storing method capable of protecting hard disc from clearing or low level | |
CN102096613B (en) | Method and device for generating snapshot | |
CN102508743B (en) | Multi-point backup and real-time protection method for Linux file system | |
CN106502830A (en) | A kind of method for restoring system backup based on Btrfs file system | |
CN104156175A (en) | Virtual disk size smooth expansion method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110727 |