After Windows XP is reinstalled, the mbr is written by XP, causing Grub to fail. solution (1) Use the Ubuntu-9.04-desktop disc and run the grub command to fix it. 1. & gt; start from the CD-ROM and select "Try Ubuntu without changing anything in the computer" to enter the desktop. 2. & gt; click "application"-& gt; "attachment"-& gt; "terminal" on the taskbar 』. Input: sudogrub input: find
After Windows XP is reinstalled, the mbr is written by XP, causing Grub to fail to work. solution:
(1) Use the Ubuntu-9.04-desktop CD, use the grub command to fix.
1.> Start from the CD-ROM and choose "Try Ubuntu without changing anything on your computer" to enter the desktop.
2.> On the taskbar, click "application"> "attachments"> "terminal 』.
Input: sudo grub
Input: find/boot/grub/stage1
The actual operation result is as follows: (hd0, 4) (hd0, 5), because my machine is installed with Ubuntu 9.10 and red-flag Linux.
Input: root (hd0, x) # input the data fed back by the find command. For example, enter 4 for me. This is the partition where/boot is located.
Input: setup (hd0) # Write grub to MBR