Comment 9 for bug 10661

Revision history for this message
Alberto Berti (azazell) wrote :

I had this problem too after installing a Breezy on a Toshiba laptop model SA60-672 from standard DVD downloaded a few weeks ago. Windows was already installed, and after a resize and after a complete install of Breezy i got that message.

I do not have a windows install disk so any fix involving mbr reset is unpracticable amd also i don't think the issue is really there.

Reading that redhat bug mentioned above, I discovered that one possible solution is to set disk geometry mode in the bios from "AUTO" to "LBA" (or LBA32).
Unfortunately, the bios of this laptop is so dumb that it isn't possible to change disk mode!! :((
So i tried some rescue tools... i've tried (among the others) the package "testdisk" from the universe. I run it on a console, and executed the command "analyze". It printed out some warnings about geometry configuation error in the ntfs partition.
After googling a bit more with the suggested information i found this report from suse: http://en.opensuse.org/SDB%3AWindows_No_Longer_Boots_Following_the_Installation_of_SUSE_LINUX_9.1

I found it very interesting !

However i do not have an opensuse install cd, but i downloaded the suggested image to see which was the trick used to correct the issue.

The script named "chkdrivegeo" inside this image does a "reset" of the ntfs partition type by using the command "parted -s <device> set <partition_number> type <type of the ntfs partition>" .

I tried to use the same command with the parted tool available in Breezy, but without much success because the breezy's parted is newer and the commands synopsys is changed a bit, if fact it is impossible right now to change the type of aan existing partition on last breezy's parted. Under the image the is also one library file named libparted-1.6.so.0.0.6. It differs both in version and in size from the breezy's /lib/libparted-1.6.so.12.0.9 but they are both from the 1.6 code line so i tried to replace the breezy's one with the open suse one, after backing it up and after cverifying dependencies of both with ldd. Then i fired up parted and wow! Now after asking to parted to print the partition table, it prints out a warning similar to the testdisk's one but much longer, with a question to ignore or cancel at the end. I pushed "I". This version of parted is able also of printing informations about ntfs partitions (the ubuntu and debian's one print out that support for ntfs is still incomplete!). Parted seemed almost functional so i quitted and issued the command inside the "chkdrivegeo" script reported above, restored ubuntu's libparted and rebooted, et voilĂ ! Grub no more complains and boots Windows perfectly.

Alberto