I tried to search it much time but i do not find it.
I am now desperate, i had windows 10 installed on my mac with everything ok, with refind going ok and all right.
Now i decided to remove windows so i go to disk utility and remove the partition getting my disk only with partition macintosh hd, but when i go to refind it is still showing "boot legacy os from whole disk" and i do not know how to remove it from here :(.
I know that i can simply do not scan the volume but i wish remove it all .
I tried mounting efi but it should be something about mbr boot so i can not do nothing here.
If it helps i can boot ubuntu from usb but i still do not know what to do.
Thank everyone 😔
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am lost and i do not know what to do because i am afraid of touching something that will make me reinstall everything 🙄
It is giving me the partition inspector wich come with refit.
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 488965175 Unknown
3 488965176 490234711 Mac OS X Boot
Current MBR partition table:
# A Start LBA End LBA Type
1 1 490234751 ee EFI Protective
MBR contents:
Boot Code: Unknown, but bootable
Partition at LBA 40:
Boot Code: Windows BOOTMGR (Vista)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)
Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Unknown
Partition at LBA 488965176:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 3, type Mac OS X Boot
It is giving me gdisk that is basically the same
nanoMacBookPro:~ nanonandi$ sudo gdisk /dev/disk0
GPT fdisk (gdisk) version 1.0.1
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): r
Recovery/transformation command (? for help): p
Disk /dev/disk0: 490234752 sectors, 233.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5122C26C-9526-4D01-B432-A8528C67FA75
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 13 sectors (6.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 488965175 233.0 GiB AF05 Macintosh HD
3 488965176 490234711 619.9 MiB AB00 Recovery HD
Recovery/transformation command (? for help): o
Disk size is 490234752 sectors (233.8 GiB)
MBR disk identifier: 0xEF9B9139
MBR partitions:
Number Boot Start Sector End Sector Status Code
1 1 490234751 primary 0xEE
Recovery/transformation command (? for help): ?
b use backup GPT header (rebuilding main)
c load backup partition table from disk (rebuilding main)
d use main GPT header (rebuilding backup)
e load main partition table from disk (rebuilding backup)
f load MBR and build fresh GPT from it
g convert GPT into MBR and exit
h make hybrid MBR
i show detailed information on a partition
l load partition data from a backup file
m return to main menu
o print protective MBR data
p print the partition table
q quit without saving changes
t transform BSD disklabel partition
v verify disk
w write table to disk and exit
x extra functionality (experts only)
? print this menu
Recovery/transformation command (? for help):
And finally it is giving me fdisk (but i think it is the same again)
nanoMacBookPro:~ nanonandi$ sudo fdisk -e /dev/disk0
Password:
fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
Enter 'help' for information
fdisk: 1> print
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]
Offset: 0 Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 1023 254 63 - 1023 254 63 [ 1 - 490234751] <Unknown ID>
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
fdisk: 1>
I think i need to remove this windows bootmgr (vista) boot code, isn't it? but it says that in gpt this is partition 1 which is efi partition so i do not know why it have windows boot code...
It is frustrating...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I could achieve it by booting from external usb with ubuntu and running the comand:
sudo dd if=/dev/zero of=/dev/sda bs=446 count=1
i was afraid about hybrid mbr because i thought that writting zeros on bootstrap code area (i looked for this on wikipedia 😁) would make that the disk do not start but i can see that this did not happen.
Well, finally everything is ok again 😊.
Last edit: Fernando Antón Ortega 2015-12-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you're booting no other BIOS/CSM/legacy-mode OSes, you can get rid of them all by uncommenting the scanfor option in refind.conf and ensuring that hdbios is not among the options.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I tried to search it much time but i do not find it.
I am now desperate, i had windows 10 installed on my mac with everything ok, with refind going ok and all right.
Now i decided to remove windows so i go to disk utility and remove the partition getting my disk only with partition macintosh hd, but when i go to refind it is still showing "boot legacy os from whole disk" and i do not know how to remove it from here :(.
I know that i can simply do not scan the volume but i wish remove it all .
I tried mounting efi but it should be something about mbr boot so i can not do nothing here.
If it helps i can boot ubuntu from usb but i still do not know what to do.
Thank everyone 😔
I am lost and i do not know what to do because i am afraid of touching something that will make me reinstall everything 🙄
It is giving me the partition inspector wich come with refit.
It is giving me gdisk that is basically the same
And finally it is giving me fdisk (but i think it is the same again)
I think i need to remove this windows bootmgr (vista) boot code, isn't it? but it says that in gpt this is partition 1 which is efi partition so i do not know why it have windows boot code...
It is frustrating...
Okay!! i am so excited!
I could achieve it by booting from external usb with ubuntu and running the comand:
i was afraid about hybrid mbr because i thought that writting zeros on bootstrap code area (i looked for this on wikipedia 😁) would make that the disk do not start but i can see that this did not happen.
Well, finally everything is ok again 😊.
Last edit: Fernando Antón Ortega 2015-12-20
If you're booting no other BIOS/CSM/legacy-mode OSes, you can get rid of them all by uncommenting the
scanfor
option inrefind.conf
and ensuring thathdbios
is not among the options.