[Ilugc] Grub Problem

  • From: praveen@xxxxxxxxxxx (Praveen Kumar)
  • Date: Thu, 19 Feb 2004 11:16:58 +0530

Arjun Baskaran wrote:

I installed grub on my hard disk.I then installed
Windows on /dev/hda1.Everything is fine still now.I
selected the wrong command from history
--------[grub-install /dev/hda1].My Linux boots well
but my windows seems not to boot at all.When I
inserted my boot floppy(Windows)and tried to enter C:\
 it says wrong filesystem tpye.I also tried commands
from grub suchas rootnoverify (hd0,0) and chinloader
+1 and boot (in the same sequence).Please say to me a
solution to enter into Windows98.Thanks in advance.


First check the type of the partition hda1. You can do this by "fdisk -l 
/dev/hda" and see the type for hda1. If it is not FAT32, then change it 
to FAT32 (or NTFS if in case you have NTFS). Sequence of commands to do 
that are as follows.

fdisk /dev/hda
t
1
b (Check with it before you do. Typing 'l' will list all the file types 
and choose what you want.)

But still you will have problems. Your GRUB installation would have 
overwritten (*only*) the Boot Record of hda1 (Note that all other data 
on that partition would be defintely intact). If you installed Windows 
2000, boot with the Windows 2000 CDROM, go for the repair mode and ask 
him to rewrite the Boot Record for you. This should solve your problem 
without reinstalling Windows. If you are using Windows 98, boot with the 
startup disk and say "sys c:". This will restore your Boot record. Now 
your problem will be alright.

HTH.

Regards,
Praveen.

-- 
+----------------------------------------+--------------+
| Praveen Kumar                          |    .''`.     |
| praveen AT symonds DOT net             |   : :'  :    |
| praveen AT users DOT sarovar DOT org   |   `. `'`     |
| Registered GNU/Linux user #332525      |     `-       |
+----------------------------------------+--------------+


Other related posts: