[ltp] some ibm windows/linux questions

Florian Trippel linux-thinkpad@linux-thinkpad.org
Mon, 20 Jun 2005 21:33:57 +0100


> I ran grub-install /dev/hda1 by accident and can no longer
> boot into windows.=20

AFAIK you should have run: grub-install /dev/hda
The problem ist you have probably overwritten your windows partition.
You should verify with  fdisk /dev/hda. Otherwise there do exist some
tools being able to recover from ntfs, just in case there was
something worthful for you on your windows partition ;-). Try easy
recovery or rstudio, as those recognise files by signatures.

> solved anything. (The most promising one was using dd to
> backup the bootsector and then put in the backup boot sector
> into the superblock of /dev/hda1.)

if you want to boot windows xp, leave out the chainloader+1 part shown
in most grub examples (just root(...) makeactive). It never worked for
me ...