skullmunky
June 13th, 2012, 06:20 AM
I'm having some issues with the partitioning on my triple-boot Macbook Pro and could use some help massaging the GPT and MBR partition tables.
Now full disclosure, the end goal that I need to achieve is actually just to re-install Windows, everything else is working beautifully - but please let's overlook that little fact and focus on the technical issue at hand :lolflag:
The basic problem is that my WinXP install is kerput - infected with viruses, can't boot it through refit or GRUB, and in any case it's time I replace it with W7 so it's slightly less horrible. Windows 7 installer doesn't recognize the NTFS partition I have that currently contains XP, thinks it is blank space, won't install, and won't create any more partitions because it thinks there are too many. braindead thing.
Here is my curent setup:
MBP 6,2
Triple boot, OSX 10.6, Kubuntu 12.04, Windows XP 32
Here is what rEfit's partitioning tool sees:
Current GPT Partition Table:
1 40 409639 EFI System (FAT)
2 409640 451297319 Mac OS X HFS+
3 451299328 879116287 Basic Data <- ext4, Kubuntu
4 879116288 957241343 Basic Data <- NTFS, Win XP
5 957241344 976771071 Linux Swap
Current MBR Partition Table:
1 1 39 EE EFI Protective
2 40 409639 0B FAT32 (CHS)
3 409640 451297319 AF Mac OS X HFS+
4 * 451299328 879116287 83 Linux
Status: Analysis inconclusive, will not touch this disk
Error: Not Found returned from gptsync.efi
What looks odd to me is that the MBR has that extra FAT32 partition in between the EFI and the HFS+. I feel like it should look more like:
1 1 409639 EE EFI Protective
2 409640 451297319 AF Mac OS X HFS+
3 451299328 879116287 83 Linux
4 879116288 957241343 07 NTFS
But how do I make that happen ... ?
For background, in case it helps, you may be wondering how the heck it ended up in this state. I've had the triple boot working flawlessly for a couple years on this machine (the whole setup went very smoothly, actually). I ran into problems because the XP partition got itself infected with the TDSS rootkit, which infected the MBR. I used Kaspersky's TDSSKiller to remove it, which worked, I guess, but of course wrecked the hybrid GPT/MBR partition table so I couldn't boot the linux or windows partitions anymore. After a whole lot of poking at it I got an MBR that worked well enough that I could reinstall Kubuntu, let it re-install GRUB, and can now boot the linux partition again, which is the most important one for me :D But I do need to get the Windows one working too. So thanks in advance for any help.
And yes, obviously the better solution would be a VM or Wine for the occasional windows stuff I need to run, but I need full hardware 3D acceleration for them and the Wine support is good but not quite perfect just yet. So 'til then, gotta fix this MBR.
Now full disclosure, the end goal that I need to achieve is actually just to re-install Windows, everything else is working beautifully - but please let's overlook that little fact and focus on the technical issue at hand :lolflag:
The basic problem is that my WinXP install is kerput - infected with viruses, can't boot it through refit or GRUB, and in any case it's time I replace it with W7 so it's slightly less horrible. Windows 7 installer doesn't recognize the NTFS partition I have that currently contains XP, thinks it is blank space, won't install, and won't create any more partitions because it thinks there are too many. braindead thing.
Here is my curent setup:
MBP 6,2
Triple boot, OSX 10.6, Kubuntu 12.04, Windows XP 32
Here is what rEfit's partitioning tool sees:
Current GPT Partition Table:
1 40 409639 EFI System (FAT)
2 409640 451297319 Mac OS X HFS+
3 451299328 879116287 Basic Data <- ext4, Kubuntu
4 879116288 957241343 Basic Data <- NTFS, Win XP
5 957241344 976771071 Linux Swap
Current MBR Partition Table:
1 1 39 EE EFI Protective
2 40 409639 0B FAT32 (CHS)
3 409640 451297319 AF Mac OS X HFS+
4 * 451299328 879116287 83 Linux
Status: Analysis inconclusive, will not touch this disk
Error: Not Found returned from gptsync.efi
What looks odd to me is that the MBR has that extra FAT32 partition in between the EFI and the HFS+. I feel like it should look more like:
1 1 409639 EE EFI Protective
2 409640 451297319 AF Mac OS X HFS+
3 451299328 879116287 83 Linux
4 879116288 957241343 07 NTFS
But how do I make that happen ... ?
For background, in case it helps, you may be wondering how the heck it ended up in this state. I've had the triple boot working flawlessly for a couple years on this machine (the whole setup went very smoothly, actually). I ran into problems because the XP partition got itself infected with the TDSS rootkit, which infected the MBR. I used Kaspersky's TDSSKiller to remove it, which worked, I guess, but of course wrecked the hybrid GPT/MBR partition table so I couldn't boot the linux or windows partitions anymore. After a whole lot of poking at it I got an MBR that worked well enough that I could reinstall Kubuntu, let it re-install GRUB, and can now boot the linux partition again, which is the most important one for me :D But I do need to get the Windows one working too. So thanks in advance for any help.
And yes, obviously the better solution would be a VM or Wine for the occasional windows stuff I need to run, but I need full hardware 3D acceleration for them and the Wine support is good but not quite perfect just yet. So 'til then, gotta fix this MBR.