[ltp] Can't start Windows after drive swap - openSUSE 13.1

James Knott linux-thinkpad@linux-thinkpad.org
Fri, 02 May 2014 20:03:13 -0400


I recently replaced the hard drive on my Thinkpad E520 with a larger
one.  I have moved all the partitions over and can now boot into Linux,
but I can not boot into Windows 7.  After installing the Windows
partition, but before installing the Linux partition, I could boot into
Windows.  I have checked and rechecked the grub menu and also verified
that /boot/grup/menu.lst & device.map are correct, but I still cannot
boot into Windows.  It stops at:

map (hd0) (hd0)
map (hd0) (hd0)
rootnoverify (hd0,1)
chainloader +1

Here is the relevant part of menu.lst:

title Windows 7
    map (hd0) (hd0)
    map (hd0) (hd0)
    rootnoverify (hd0,1)
    chainloader +1

The odd thing is, if I plug in the old drive, which is mounted in an
external case, it will boot Windows from it.  Is the drive ID stored
somewhere I'm missing?  Fstab has also been updated to the correct drive.

tnx jk