After upgrading Ubuntu to 10.04, we found that xp cannot be started today. In GRUB2, after selecting xp, press enter and always jump back to GRUB. Then we can find a solution from the Internet, use the fixboot program on the Windows XP Recovery Console to restore the Boot Sector. 1. Use the Windows XP installation disk to start from the CD 2. Press R to enter Windows System Recovery Console mode when you choose to install Windows or repair 3. Select t
device name can be obtained from the output of the map command. For example, the device name:
\ Device \ HardDisk0
Drive_name
Partitions to be deleted, expressed as drive letters. It is used only with/delete. The following is an example of a drive name:
D:
Partition_name
Partitions to be deleted in the partition name. It can be used instead of drive_name. It is used only with/delete. The following is an example of a partition Name:
\ Device \ HardDisk0 \ Partition1
Size
The size of the partitio
(Del), Dir, Disable, Format, Diskpart, Enable, Expand, FIXMBR, Fixboot and other commands, to the computer to repair various problems.
2. Introduction to Practical commands
Obviously, many of the commands in the Recovery Console are familiar to us, and we're not going to repeat them here. Here is a general user to introduce the usual use of commands, using them, we can easily complete a lot of system maintenance work.
①diskpart
Role: Create and d
.
Device_name
The device to create or delete partitions. The device name can be obtained from the output of the map command. For example, the device name:
\ Device \ harddisk0
Drive_name
Partitions to be deleted, expressed as drive letters. It is used only with/Delete. The following is an example of a drive name:
D:
Partition_name
Partitions to be deleted in the partition name. It can be used instead of drive_name. It is used only with/Delete. The following is an example of a par
The Windows Recovery Console is a tool used by Windows 2000/xp/2003 to repair the system, enabling and disabling services, formatting drives, reading and writing data on local drives (including drives formatted as NTFS file systems), and performing many other administrative tasks. It is our "magic weapon" to repair the system even when Windows 2000/xp/2003 Safe mode is inaccessible.
1. Using the Recovery Console
When the computer starts by selecting Microsoft Windows Recovery Console (the Reco
XP resides, and Y is XP in the first few areas, which automatically scans the hard disk for the program and is added automatically. In addition, Bootcfg/copy is used to back up the Windows XP startup file Boot.ini, Bootcfg/default is used to configure the default startup entry.
Diskpart: Used to create and delete partitions on the hard drive. The syntax format is: diskpart[/add/delete] [device_name drive_name partition_name] [size]. Instance: delete F partition--diskpart/delete f: Create a 200
1. Using the Recovery Console
When the computer starts by selecting Microsoft Windows Recovery Console (the Recovery Console), enter the administrator password when prompted. Then at the system prompt, type the Recovery Console command. Enter "Help" to get a list of command names, and you can enter the aid command name to be helped by the specified command.
In the fault console, we can use attrib, Batch, Bootcfg, ChDir (CD), Chkdsk, Cls, Copy, Delete (Del), Dir, Disable, Format, Diskpart, Enab
The Recovery Console is a tool used by Windows 2000/xp/2003 to repair a system that enables and disables services, formats drives, reads and writes data on local drives (including drives that are formatted as NTFS file systems), and performs many other administrative tasks. It is our "magic weapon" to repair the system even when Windows 2000/xp/2003 Safe mode is inaccessible.
1. Using the Recovery Console
When the computer starts by selecting Microsoft Windows Recovery Console (the Recovery Co
1. Using the Recovery Console
When the computer starts by selecting Microsoft Windows Recovery Console (the Recovery Console), enter the administrator password when prompted. Then at the system prompt, type the Recovery Console command. Enter "Help" to get a list of command names, and you can enter the aid command name to be helped by the specified command.
In the fault console, we can use attrib, Batch, Bootcfg, ChDir (CD), Chkdsk, Cls, Copy, Delete (Del), Dir, Disable, Format, Diskpart, Enab
error occurs at any stage. The following solution is provided:1. Windows XP mbr is damaged:
Method 1: insert the Windows installation disc, go to the recovery console, and enter fixmbr or fdisk/MBR. (On the win7 CD: this command is available: bootsect/nt60 sys/force/MBR. This bootsect is similar to fixboot fixmbr under xp)
Method 2: If it is a ghost disc, the console is not restored, but a disk of it will provide commands similar to fixmbr in the do
) disk (x) RDISK (0) partition (Y), where X is the hard disk where XP is located, Y is the partition where XP is located, and the latter isProgramScans hard disks automatically and adds them automatically. In addition, bootcfg/copy is used to back up the boot. ini file of Windows XP, and bootcfg/default is used to configure the default boot item.
Diskpart: used to create and delete partitions on a hard drive. The syntax format is diskpart [/Add/delete] [device_name drive_name partition_name] [s
partition boot sector is a small part of the hard disk partition that contains information about the file system in the operating system and a small machine language program, which is critical to help the operating system start. If you suspect that the Windows XP system startup problem is caused by the partition boot sector, you can fix it by using a tool called fixboot in the Recovery Console. First, start the system with the Windows XP CD and open
redefined to a specific port. The redefinition includes two parameters: [Port baudrate] [usebiossettings]. /disableredirect: Disable redirection. 6. Repair of damaged partition boot records The partition boot sector is a small part of the hard disk partition that contains information about the file system in the operating system and a small machine language program, which is critical to help the operating system start. If you suspect that the Windows XP system startup problem is caused by t
Fixmbr is used to repair master boot recordsFixboot is used to repair Partition Boot records.
The primary Boot Record is located in the first physical sector of the hard disk.The Partition Boot Record is located in the first sector of each partition (for example, primary partition C: Logical 1 sector = absolute 63 sectors)
The primary cause of damage to the primary Boot Record is1. error loading Operating System2. Missing Operating SystemPartition Boot Record Corruption mainly occurs1. disk erro
The steps are as follows:
First, I decided to try Win7 the Bootrec.exe repair tool to fix the partition table.
First of all, a brief introduction to Bootrec.exe, where we will use the two parameters/fixmbr and/FIXBOOT,/FIXMBR options of the system partition to write Win7 or Win Vista compatible MBR, this option does not overwrite the existing partition table. The/fixboot option writes a new boot sector to
file system in the operating system and a small machine language program, which is essential to help the operating system boot. If you suspect that the startup problem with your Windows XP system is caused by partition boot sector being compromised, you can use a tool called fixboot in the Recovery Console to fix it. First, start the system with the Windows XP CD and open the recovery Console as described in # #. You can call the
ENTER.
All commands supported in the Recovery Console:
attrib Delete fixboot MD type
cd dir fixmbr mkdir systemroot
chdir Disable Format more
Chkdsk DiskPart help Rd
CLS Enable Listsvc Ren
Copy Exit logon Rename
del expand Map RmDir
>>2.
The detailed command features and parameters are as follows:
* ATTRIB
You can change the properties of a file or folder by using the attrib command and any of the following parameters:
-r: Setting read-
directory of the corresponding partition. As a result, the part in the MBR of grub2 cannot find the part in the/GRUB directory (or the part has been deleted ).Ideas:Method 1:Delete grub2 permanently so that the prompt does not appear again:This method is applicable to users who no longer want to use Debian and want to switch back to Windows.This is very simple, as long as you have a Windows boot disk (not a ghost), use it to start, to select the installation location, do not actually install, e
Source: modern computer
Q: I installed Windows XP on my computer. Now I want to install Windows 98 on drive D. After following the operation in the book, Win98 runs normally, but the system option is not selected after the boot. I use the XP installation disk to enter the fault recovery station and use the "fixboot C: "The required option appears. You can choose to enter Win98 to see" access the Boot Sector file multi (0) disk (0) rdisk (0) partition
account password to use the Recovery Console, which defaults to null.
(5) At the system prompt, type the "Fixboot" command and press the "enter" key to fix the startup problem by writing the new partition boot sector to the system partition.
(6) Type the "Exit" command, press the "Enter" key, exit the Recovery Console, and restart the computer.
Tip: The same applies to Windows 2000 and Windows Server 2003, which can be tried in special cases and m
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.