Hi,
I am very sad that I could not load any kernel at all.
Previously, I installed three OS on my x86 machine.
Disk0 (hd0) has 4 partitions:
(hd0, 0), Primary Partition, Active, NTFS, WinXP Pro installed.
(hd0, 1), Logic Partition, NTFS,
(hd0, 2), Logic Partition, NTFS,
(hd0, 3), Logic Partition, NTFS,
Disk1 (hd1) had 9 partitions:
(hd1, 0), FAT, Win2000 installed, but not active, not bootable.
(hd1, 1), SWAP for Red Hat 9.
(hd1, 2), / for Red Hat 9.
In fact I am not quite sure about the partition number of these two partitions. But the positions of cylinders are there, i.e. between (hd1, 0) FAT and my Fedora Core 4.
there are three partitions for my Fedora Core 4 for swap, boot, and root respectively.
(hd1, 3), SWAP for Fedora Core 4;
(hd1, 4), Boot for Fedora Core 4; (I am not sure about whether partition 4 is boot or partition 3 is boot)
(hd1, 5), / for Fedora Core 4
(hd1, 6), FAT, Partition Type 0xb
(hd1, 7), FAT, Partition Type 0xb.
I used GRUB as boot loader. GRUB resides in boot partition for Fedora Core. Three possible loadable kernels:
1) Fedora Core 4
2) Others (WinXP)
3) Red Hat 9
This afternoon, I entered WinXP, and try to manage my disk using Windows Disk Manager (RightClick 'My Computer'-->'Manage'-->'Disk Management'). I thought that I seldom use Red Hat 9, So i delete the 2nd and 3rd partition of the second disk, i.e. (hd1, 1) and (hd1, 2) which had Red Hat 9 OS. The WinXP gave me no warnings about possible kernel loading error.
In WinXP, after I delete the two partitions, they merged into one. And I created another parition for it, and formatted it. When it was formatting, I surfed internet. Then it suddenly changed to BLUE screen and computer restarted.
Then it reached the prompt
grub>
And the computer stuck there without displaying the kernel loading options.
I pressed TAB following the instructions. I tried root command.
grub>root (hd1, 0)
FAT filesystem, partition type 0xb
grub>root (hd1, 1)
Unknown filesystem, partition type 0xf
grub>root (hd1, 2)
No such partition
grub>root (hd1, 3)
No such partition
grub>root (hd1, 4)
FAT filesystem, partition type 0xb
grub>root (hd1, 5)
ext2fs filesystem, partition type 0x83
grub>root (hd1, 6)
unknown filesystem, partition type 0x82
grub>root (hd1, 7)
ext2fs filesystem, partition type 0x83
grub>root (hd1, 8)
FAT filesystem, partition type 0xb
grub>root (hd1, 9)
FAT filesystem, partition type 0xb
It seems that the partition numbers increased, but in fact (hd1, 2) and (hd1, 3) don't exist at all.
Maybe the system cannot find the grub.conf ???
How can I modify the grub.conf accordingly after I remove the two partitions and create the new partition?
What do i need to do to let the system read the grub.conf and display the kernel loading options?
Please help. Both disks contains files related to my projects.
Regards,
Xinjun