windows overwrote boot record

Karl Klinger karlok at fastmail.fm
Fri Aug 22 03:05:49 UTC 2008


Derek Broughton wrote:
> Karl Klinger wrote:
> 
>> It looks like your partition table is messed up.  The extended partition
>> should always be sda4.  This is my fdisk -l output:
>>
> Huh?  There's absolutely no reason that the extended partition needs to be
> sda4.  You simply make any one of the four available primaries extended.  
> 
> I have _far_ more messed up partition tables than that :-)

Yes, I see now that this can be done, but the partitioners that I have 
used (cfdisk, the partitioner on the alternate install cd) always make 
the extended partition sda4 and the first logical partition sda5. 
Juan's fstab shows that this was the way his disk was originally 
partitioned:

> # /dev/sda6
> UUID=c9b44b26-5f41-48f0-bee9-778991065600 /               ext2
> relatime,errors=remount-ro 0       1
> # /dev/sda5
> UUID=01c0a273-845f-4658-a37b-16257de6e0ef none            swap    sw

Reinstalling Windows must have changed the partition numbers.  This 
seems to confuse grub:

> grub> find /boot/grub/stage1
>  (hd0,5)

Grub still thinks the root partition is sda6 when fdisk -l reports it as 
sda5.  The question now is what can be done about it.

Karl




More information about the kubuntu-users mailing list