bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot access Windows after grub-install /dev/hda1


From: Ian Monroe
Subject: Re: Cannot access Windows after grub-install /dev/hda1
Date: Mon, 27 Aug 2001 11:39:11 -0500 (CDT)

Yes! That worked! I'm typing this message in Windows.

Some really should add this answer to the FAQ or some sort of
documentation. It is quite a scare when it happens.

Thank you all very much,
Ian Monroe

On Mon, 27 Aug 2001, Jochen Hoenicke wrote:

> On Aug 27, Ian Monroe wrote:
> > I have a simular problem as discussed here:
> > http://www.mail-archive.com/address@hidden/msg03539.html 
> > That message appears to be the last in the thread, though it is hard to
> > tell.
> > 
> > I was stupid and typed 'grub-install /dev/hda1' instead of 'grub-install
> > /dev/hda' on my Debian/Windows 98 machine. Windows is on hda, Debian on
> > hdb.
> 
> >From what you report I would say, some essential fields of the boot
> sector were overwritten.  Fortunately there exists a backup boot
> sector.  Under linux try this:
> 
> # Save the image of the corrupted dos bootsector in case something
> # gets wrong:
> dd if=/dev/hda1 of=/root/boot.hda1 count=1
> 
> # Get the backup bootsector:
> dd if=/dev/hda1 of=/root/backupboot.hda1 count=1 skip=6
> 
> # Replace boot sector by its backup:
> dd if=/root/backupboot.hda1 of=/dev/hda1 count=1
> 
> For the same procedure under windows see this:
> http://support.microsoft.com/support/kb/articles/Q247/5/75.ASP
> 
>   Jochen
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]