Article Title: linux uses the dd command to read and write boot area files. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Backup MBR. in linux, run the following command:
# Dd if =/dev/hda of =/root/linux. bin bs = 512 count = 1
Note that if =/dev/hda is used to back up data in MBR. if grub installs a specific partition, You must select the partition.
Write mbr:
Dd if =/mnt/windows/linux. lnx of =/dev/hda bs = 512 count = 1
After the backup, the linux. binfile can be copied to Windows, backup one copy, and copy the other copy to the C root directory. Modify the boot. ini file and add the following line:
C: \ linux. bin = "Linux"
In this way, we can use WindowsNT loader to guide the linux system. It will be more convenient to restore and repair linux in the future.
If you have any questions, enter dd -- help in the terminal to view help.