Hard disk file method structure
There is absolutely no direct technique to make use of the newly purchased difficult disk. You should partition and format it, and then set up the operating technique ahead of it is possible to use it. Take the Win9x / Me / 2000 / XP series that we've been using till now, we commonly divide the hard disk into five components: key boot sector, operating method boot sector, FAT table, DIR directory region and Information data location. What
SanDisk SD Card Video recovery call the key boot sector MBR is special in a challenging disk, the content material of the MBR area is only study when the really hard disk begins, and then resides in memory. Several other products differ based on the number of partitions in your difficult disk.
Master Boot Sector (MBR). The principle boot sector is located in track 0 cylinder 0 cylinder 1 sector on the entire difficult disk, like the tough disk most important boot record MBR (MainBootRecord) and partition table DPT (DiskPartitionTable). The role with the master boot record will be to check whether or not the partition table is appropriate and identify which partition can be a bootable partition, and at the end on the system, the startup system in the partition (that is definitely, the operating technique boot sector) is transferred to memory for execution.
Partition Table (DPT). In the most important boot area, the contents of the 64 bytes in the address BE for the finish of your FD will be the so-called partition tables.
https://en.wikipedia.org/wiki/Video begins with 80H or 00H and ends with 55AAH. Every partition occupies 16 bytes. A tough disk can only be divided into 4 primary partitions at most, plus the extended partition can also be a most important partition. With the rapid expansion of hard disk capacity, the introduction of extended partitions might be extended to Z without being restricted by the four major partitions. It is actually worth mentioning that the MBR is generated by a partition program (like DOS's Fdisk.exe). Diverse operating systems might have different content material codes for this sector, but there's only 1 function implemented, which makes one of the active partitions. Acquire the handle location and start off the program typically.
Master Boot Sector (MBR). The principle boot sector is situated on track 0 cylinder 0 cylinder 1 sector in the whole hard disk, which includes the really hard disk main boot record MBR (MainBootRecord) and partition table DPT (DiskPartitionTable). The function in the master boot record is always to check whether or not the partition table is right and determine which partition is often a bootable partition, and in the end on the system, the startup system with the partition (which is, the operating program boot sector) is transferred to memory for execution.
Major partition and extended partition. The primary partition is often a comparatively basic partition, ordinarily positioned within the frontmost region of the challenging disk, forming a logical C disk. In the key partition, no other logical disks are allowed. You may also use the partition software program to make a main partition at the end with the partition, or perhaps a key partition in the middle of the disk. The idea of extended partitions is more difficult, and can also be the key result in of confusion amongst partitions and logical disks. Since the hard disk only reserves 64 bytes of storage space for the partition table, and the parameters of each partition occupy 16 bytes, the total information of four partitions could be stored in the key boot sector. The operating system only permits four partitions of data to be stored. If a logical disk is actually a partition, the method only permits as much as four logical disks. For certain applications, 4 logical disks often cannot meet actual wants. In an effort to create additional logical disks for use by the operating technique, the system introduced the idea of extended partitions. The so-called extended partition, strictly speaking, it is actually not a sensible partition, it truly is just a pointer to the subsequent partition, this pointer structure will kind a singly linked list. Within this way, furthermore towards the most important partition, only one partition information referred to as an extended partition needs to be stored inside the primary boot sector, as well as the beginning location from the subsequent partition (in reality, the following logical disk) is often located by means of the data from the extended partition , And each of the partitions is usually found by analogy with this beginning position. Regardless of how many logical disks are developed inside the system, each logical disk might be found 1 by 1 by means of the parameters of an extended partition in the most important boot sector.
Operating technique boot sector (OBR). OBR (OSBootRecord) will be the boot sector of the operating program, commonly located in track 0 cylinder 1 cylinder 1 sector on the hard disk (this is for DOS, for those systems that happen to be booted in several boot mode are situated in the corresponding most important partition / extended partition Could be the initial sector that the operating system can directly access. In addition, it includes a boot program as well as a partition parameter record table known as BPB (BIOSParameterBlock). In fact, every single logical partition has an OBR, and its parameters differ according to the size on the partition plus the style of operating method. The principle job of your boot system is to discover the program files IO.SYS, MSDOS.SYS and WINBOOT.SYS in the root directory. If it exists, read the IO.SYS file in to the memory and transfer manage towards the file. Inside the WIN98 program, without having the MSDOS.sys file, the method can get started typically, but can't enter the desktop; if there is absolutely no COMMAND.COM file, it can typically boot towards the desktop, but can't enter the DOS character mode. BPB parameter block: records the get started sector, finish sector on the partition, file storage format, difficult disk media descriptor, root directory size, FAT number, allocation unit (AllocationUnit, also known as cluster) size, and so on. Vital parameters. OBR is generated by an advanced formatter (eg Format.com for DOS).
File Allocation Table (FAT). FAT (FileAllocationTable) will be the file allocation table, that is the file addressing technique of DOS / Win9x method. To be able to avoid accidental damage, FAT frequently do two (also can be set to one), the second FAT would be the backup from the very first FAT, the FAT region is straight away soon after the OBR (for FAT32 format, the location would be the 32nd from the boot sector A sector will be the location of your 1st FAT table), and its size is determined by the size of your partition along with the size of your file allocation unit. Using the speedy improvement of challenging disk capacity, Microsoft's DOS and Windows have also adopted the familiar FAT12, FAT16 and FAT32 formats. Nonetheless, Windows NT, OS / two, UNIX / Linux, Novell, and so forth. have their very own file management strategies, that are different from the FAT file format. FAT12 utilizes 12BIT to represent the location with the cluster, the maximum capacity is 32M, FAT16 makes use of two bytes of 16BIT bits to represent the location from the cluster, the maximum capacity on the partition is 2G, and FAT32 makes use of 4 bytes to represent the place on the cluster, the maximum capacity with the partition 65G.
Directory location (DIR). DIR could be the abbreviation of Directory, that's, the root directory region. In
SD Card deleted Video recovery and FAT16 formats, DIR is immediately soon after the second FAT table, though in FAT32 format, the place of your root directory area is usually anywhere in the partition, and its starting position It truly is given by the boot sector. The FAT table alone can't figure out the precise location from the file on the disk. Only the FAT table and DIR region is usually used together to accurately find the precise location of your file. DIR records the file name and extension of every single file (directory), regardless of whether it supports extended files, the starting unit (this is one of the most crucial), file attributes, size, creation date, modification date, and so on. When the operating system reads and writes files, based on the starting unit in the DIR, combined together with the FAT table, you can know the particular place of the file on the disk, after which study the contents of every cluster in sequence.
Data region (Information). Following the DIR area, it really is the genuine data storage area, namely the Data region. Though Data occupies most of the space on the tough disk, it doesn't possess the preceding components. For us, it could only be some boring binary code, which tends to make no sense. Note: The formatter we commonly refer to (refers to advanced formatting, which include the Format plan under DOS), does not clear the data inside the Data region, but only rewrites the FAT table, unless you use the FormatX: / U command , Force to create F6 for every sector. As for the really hard disk partition, only the MBR and OBR happen to be modified. Most of the information within the Information area has not been changed, which can be why a lot of difficult disk data is usually repaired. But even so, if one of MBR, OBR, FAT, DIR is destroyed, our data can't be study usually.
Information recovery principle
The principle of data recovery, several people are unfamiliar with information recovery, a lot of people are afraid of information loss, but in some cases it really is not as terrible as imagined, for those who can look down from above, in the event you understand the structure from the tough disk, you will discover , Our data is saved to a disc having a storage medium, when we save the information, we are going to make bumps on the disc to save the information. If we deleted the file, we did not erase each of the uneven media, but erased its address, and let the operating technique not come across the file, but assume it has disappeared, you can Create data somewhere to overwrite the original bumpy data facts, so the principle of data recovery is that if it is actually not overwritten, we can use application to break via the addressing and addressing strategies of the operating method and rediscover those which are not The data from the covered location is combined into a file. If several compact regions are covered, you could make use of the error check bit to appropriate it. If you overwrite as well much, there is absolutely no strategy to recover.