How to Fix Grub

Since last time I lost my Grub, I did not have time to fix it. So today when I got up, I finally decided to solve this problem.

After ten minutes or so, I found it quite simple:

1. Find the partition information by using paragone patition manager. Mine is like:

* Other Dell Utility
C NTFS Windows XP
D FAT32 FAT System
G NTFS Windows Vista
* Linux Ext3
* (Linux Swap)
E FAT32 FAT System
F FAT32 FAT System
* Other
* Other

2. Put in the Fedora Core 5 DVD, restart with a CDROM supported mode. After some basic configurations, see a #sh prompt. Type in
sh# grub we will get grub> ;

3. grub> root (hd0 , then press <tab>, the screen will show like:

1 unknown type unknown partition type
2 unknown type unknown partition type
4 FAT FAT32
5 unknown type unknown partition type
6 exfnt Linux
7 unknown type unknown partition type
8 FAT FAT32
9 FAT FAT32

It cannot show NTFS types for XP and Vista because Fedora Core 5 does not know this Windows partition type. So we may guess according to the results we got from step 1. Then we get the actual table is:

1 Dell Utility
2 Windows XP
4 FAT
5 Windows Vista
6 Linux Extension
7 Linux Swap
8 FAT
9 FAT

Then the task becomes very simple.

4. grub> root (hd0, 6) -> grub> setup (hd0) -> restart the system then.

5. Done! First menu is Grub, when we choose Windows, it will show boot menu of Vista and XP.

Reference:
1. Hot to Fix Grub with the Boot Disk
2. Install XP+Mac+Vista+Linux within One Hard Disk

共有 0 条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注