Donate Share

rEFIt

Tracker: Feature Requests

5 Unable to remove windows boot code from Mac partition - ID: 2217481
Last Update: Comment added ( chrisp )

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



Nobody/Anonymous ( nobody ) - 2008-11-03 00:29

5

Open

None

Nobody/Anonymous

Partitioning (gptsync)

rEFIt 1.0 (Next Major Release)

Public


Comment ( 1 )




Date: 2009-04-05 16:17
Sender: chrispProject AdminAccepting Donations

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.




Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
category_id rEFIt User Interface 2009-04-05 16:17 chrisp
artifact_group_id Next Minor Release 2009-04-05 16:17 chrisp