[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I am very stupid: 'grub-install hda1'
From: |
Joseph Lorenzo Hall |
Subject: |
I am very stupid: 'grub-install hda1' |
Date: |
Thu, 13 Jun 2002 12:06:53 -0700 (PDT) |
I did something really stupid and would like the advice of this list and
its expertise.
The stupidity:
I installed an inferior bootloader and in the process of restoring GRUB, I
issued both 'grub-install hda' AND 'grub-install hda1'. hda1 is my
windows 98 SE partition!
The result:
Now, I can get GRUB to load linux fine but the 'grub-install hda1' command
wrote GRUB to my windows partition. Now, when I select my windows
partition from the GRUB menu, it says 'GRUB loading stage2...' for a
SECOND time (as it already displayed that right before the GRUB menu as
it should) and then it hangs. So My windows partition is unbootable.
My questions:
-Does anyone think it is possible to recover from this mistake?
-What did 'grub-install hda1' do to my windows partition?
-Did it write over the files necessary to boot windows?
-I can still mount my windows partition so the data is there... just
unbootable.
-Is it possible to add a feature to grub-install that does 'fdisk -l
<drive>' and asks for confirmation if it thinks that the user is an idiot
like me? (if grub-install had said, "you are about to install GRUB on the
first partition of hda which seems to be a FAT32 filesystem... are you
sure you want to do this?" I would have declined.)
Thanks for any help,
Joe
------------------------------------------------------------------
Joseph Lorenzo Hall address@hidden
Graduate Student astron.berkeley.edu/~jhall
Astronomy Department
601 Campbell Hall voice: (510) 643-8592
University of California at Berkeley fax : (510) 642-3411
Berkeley, CA 94720-3411 face : 753B Campbell
- I am very stupid: 'grub-install hda1',
Joseph Lorenzo Hall <=