OK. I have finally isolated all my windows woes into a simple reproducable and seemingly weird problem. I have an LV image of 1.7GB of windows that boots perfectly.
---------------------
$ fdisk -ul /dev/VolGroup00/windows_rootimg ~[8]
Disk /dev/VolGroup00/windows_rootimg: 1811 MB, 1811939328 bytes
46 heads, 45 sectors/track, 1709 cylinders, total 3538944 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/VolGroup00/windows_rootimg1 * 63 3538943 1769440+ 7 HPFS/NTFS
-------------------------
The above boots perfectly.
Now I merely do lvextend /dev/VolGroup00/windows_rootimg -L+1.5G
And that's it, the boot hangs at the very beginning itself; It stops after printing the message "booting from harddisk". The fdisk for the extended image is:
---------------------
$ fdisk -ul /dev/VolGroup00/windows_rootimg ~[8]
Disk /dev/VolGroup00/windows_rootimg: 3422 MB, 3422552064 bytes
46 heads, 45 sectors/track, 3229 cylinders, total 6684672 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/VolGroup00/windows_rootimg1 * 63 3538943 1769440+ 7 HPFS/NTFS
--------------------
Why would merely extending the partition prevent it from booting, and how do I overcome this?
Thanks a lot in advance.
|