#103 Unable to remove windows boot code from Mac partition

open
nobody
5
2009-04-05
2008-11-03
Anonymous
No

I'm unable to remove second of two Windows icons at startup. The second is trying to boot Windows XP from Mac OS X partition (as you can see it found NTLDR on Mac partition). It would be great do not trying to boot Windows from Mac partition. Here is my geometry now:

*** Report for internal hard disk ***

Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 629293095 Mac OS X HFS+
3 629555240 1743957463 EFI System (FAT)
4 1744219608 1953262983 EFI System (FAT)

Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 629293095 af Mac OS X HFS+
3 * 629555240 1743957463 83 Linux
4 1744219608 1953262983 07 NTFS/HPFS

MBR contents:
Boot Code: Unknown, but bootable

Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
Boot Code: Windows NTLDR
File System: FAT12
Listed in GPT as partition 2, type Mac OS X HFS+
Listed in MBR as partition 2, type af Mac OS X HFS+

Partition at LBA 629555240:
Boot Code: GRUB
File System: ext3
Listed in GPT as partition 3, type EFI System (FAT)
Listed in MBR as partition 3, type 83 Linux, active

Partition at LBA 1744219608:
Boot Code: Windows NTLDR
File System: NTFS
Listed in GPT as partition 4, type EFI System (FAT)
Listed in MBR as partition 4, type 07 NTFS/HPFS

Discussion

  • Christoph Pfisterer

    • labels: 941371 --> Partitioning (gptsync)
    • milestone: 578105 --> rEFIt 1.0 (Next Major Release)
     
  • Christoph Pfisterer

    If you're comfortable doing this manually from Linux, you can get rid of it with a command like this:
    dd if=/dev/zero of=/dev/sda2 bs=512 count=1
    You'll need to make absolutely, positively sure it's the right partition though, otherwise you'll lose data.

    Writing a tool to get rid of unwanted boot code is somewhere on the TODO list, but as you can see, this is quite dangerous and will take quite a bit of care to make it reasonably safe.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks