Main boot SectorThe main boot sector is located on the entire hard disk 0 cylinder 0 Head 1 Sector {(cylinder, head, Sector) | ( 0,0,1)},bios will jump to the first instruction in the MBR after executing its own inherent program. Take control of the system to the MBR. The main boot sector consists mainly of three parts: the M
Main Boot Record), the hard disk partition table DPT (Disk Partition Table), and the ending flag.
For a hard disk, the possible number of bytes in a sector is 128 x 2n (n = ). In most cases, take n = 2, that is, the size of a single sector (sector) is 512 bytes. In the master
Linux manual backup restore HDD Master boot record MBR with hard disk partition Table DPT Tutorialtwo Cow Linux, Ubuntu, Windows 1,885 views View comments Recently cows have been tossing Linux grub and GRUB2, because the former ghost restore Windows when the error occurred, causing the
;
Cylinder number--2nd byte high 2 bit + 3rd byte 8 bit.
4th byte
The partition type character. 00h--indicates that the partition is unused (that is, not specified);
06h--fat16 basic partition;
0bh--fat32 basic partition;
05h--extended
storage address
Error message: cf = 1 Ah = Error Code
You can use DEBUG to read data from the zero-cylinder, zero-head, and one-sector disks on the hard disk as follows:
A> debug
-A 100
XXXX: XXXX mov ax, 0201 (read 1 sector with function number 2)
XXXX: XXXX mov BX, 1000 (put read data into the buffer address Cs: 1000)
XXXX: XXXX mov CX, 0001 (read 0 cylindrical, 1 sector)
XXXX: XXXX mov dx, 0080 (specify the 0 head of the first physical disk)
XXXX: xxxx int 13
XXXX: xxxx int 3
XXXX: xxxx (Pre
Https://en.wikipedia.org/wiki/Master_boot_recordhttps://zh.wikipedia.org/wiki/Master Boot RecordA master boot record (MBR) is a special type of boot sector at the very beginning of partitioned compute R mass storage devices like f
situation, my win7 installed in the C drive, that is my Windows folder on the C drive, so the C drive is the boot partition, but I put grub to Z disk, which is the boot program NTLDR. Boot. ini or something, so Z disk is the system partition ..... Since I am currently booti
=" Qq20160919152818.png "alt=" Wkiom1ffk77t-nkvaaadiaiktus132.png-wh_50 "/>Kernel line does not show full, followed by Volgroup-lv_root, that is, the path of the root partition, and enforcing=0 (not likely to boot boot)When you are done, enter:BootStart650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/70/wKiom1fflBygaCiVAAAlOyiKdr8113.png-wh_500x0-wm
+ ELOS-M_0100
; Go to m_014b to display the string, but it will die when the display is complete.
JMP m_014b
M_0178:
Haha, although there is no health check, I will first prepare the location of the error prompt string, saving me the trouble of waiting for a while and then busy.
There are so many scammers, so be careful :)
MoV Si, 0600 H + MOS-M_0100
; Check to see if the two bytes in the 7c00h + vsig position are 55 AA
MoV Di, 7c00h + VSIG-M_0100
CMP word PTR [di], 0aa55h
If the DOS
The BIOS has self-test and bootstrap program, after the machine power up, the CPU automatically calls the program in the BIOS, the system hardware initialization and hardware failure check, including the various boards. After checking, the BIOS transfers control to the hard drive master boot record (MBR), the BIOS transfer control is very simple, because the MBR
Turn: SourceHttp://www.ruanyifeng.com/blog/2015/09/0x7c00.htmlThe computer principles textbook says that the master boot record is stored in memory address 0x7c00 at startup. This strange address, how to come, the textbook will not explain. I have always wondered, why not put in the memory of the head, tail, or other location, and just deposit this 1024 bytes sma
A master boot Record MBR loss will cause the Win7 flagship system to fail to boot, the master boot Record (MBR) is used to detect the correctness of the hard disk
Security experts recently confirmed that a new type of virus, Shamoon, will scan Windows PCs. Like the Flame virus, Shamoon can directly send data from infected users' computers to the network, after the data is transmitted, the computer's data is maliciously deleted permanently, even including the Master Boot Record, which directly causes system paralysis and ca
In the previous essay, it has been mentioned that CMOS and Bios,cmos are recording hardware parameters (including system time, device I/O address, CPU voltage and frequency, etc.) and embedded in the memory of the motherboard, BIOS is a firmware written to the motherboard (firmware is written to the hardware of a software program). This BIOS is the first program that the computer system will actively execute at boot time .Next, the BIOS will analyze
, several disks, the maximum value is 256 (which is stored in 8 binary bits). The S-sector number table shows that each track has several sectors, and the maximum value is 63 (which is stored in 6 binary bits ).
1. Boot Sector
Boot SectorBoot Sector is the first sector of the hard disk. It consists of MBR (Master Boot
V. Hard Drive boot area and Partition Table
Papayas
20080901
I. Preface
The hard disk boot reading process is similar to that of a CD and a floppy disk. A boot sector is required.The MBR (Master Boot
Problem phenomenon: Boot display:Error:no such partitionEntering rescue mode ...Grub Rescue>
Problem reason analysis: Due to the installation of Win7 and Linux dual systems, Linux because of problems removed the partition caused by the failure of the normal boot Win7 booting
Problem solving:1, the use of Chinese cabbage to make u disk launcher2, restart the com
I. Brief Introduction and preparation
1. Features
# This dual-system XP, Vista/Win7 are installed in two different primary partitions, independent of each other, and all the boot files of the system are only in the partition where the system is located, formatting of one partition or damage/reinstallation of the system on it will not affect the use of another
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.