Recover damaged WINDOWS boot on LINUX without using WINDOWS installation disks
Source: Internet
Author: User
If you do not need to install a WINDOWS disk, recover the damaged WINDOWS boot-LINUX general technology-Linux technology and application information on Linux. For more information, see the following. You can use install or livecd to create an existing system. I used install cd because it was too slow to load LIVECD. I went to install cd, switched ALT + F2 to the second console, and mounted your disk. I just needed to use CHROOT.
If you accidentally use grub-install/dev/hda1 (it should be grub-install/dev/hda)
So your WINDOWS Startup Wizard will be overwritten, so don't worry, because you only overwrite the first 512 bytes of/dev/hda1, and there will be backups later, you can restore it in your chroot or LINUX environment, and you do not need to find WINDOWS installation disks or the like. (If you have a genuine version, we recommend that you use it, paid !) The method is as follows:
Dd if =/dev/hda1 of =/root/backupboot. hda1 count = 1 skip = 6
Dd if =/root/backupboot. hda1 of =/dev/hda1 count = 1
So that you can start WINDOWS ......
Yesterday, the company accidentally deleted the/BOOT partition in LINUX using WINDOWS (because WINDOWS has mounted my/BOOT partition, causing WINDOWS exceptions, in System Management-disk management, it is difficult to delete the drive letter of the mounted/BOOT. It is found that all the content of the/BOOT is deleted ......)
Don't worry, use install cd to give a CHROOT environment that can access the Internet, and send a short message (SMS) to your UBUNTU friends (others are acceptable, but it may be troublesome ), ask him to compress his/BOOT files on the Internet. You have downloaded the files and put them in the new/BOOT box, and then install grub-install/dev/hda, if it is set to/dev/hda1, then it will return to the initial situation of the post and edit/boot/grub/menu. note that the partition settings of your friends may be different from those of you when using lst, which requires modification. After that, if you are not at ease, you can check the system, fsck disks, and so on, if you are a "destructive enthusiast", it is recommended that you regularly back up the system's main files to the network (even if the hard disk is eaten by you, there is nothing to worry about, except your stomach ).
In general, the system recovery on LINUX is much simpler than that on WINDOWS, but sometimes it may be troublesome. It depends on whether you have a smarty partition.
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.