I recently dual booted Ubuntu on my Macbook Pro alongside the existing OS X. I used it for a while and needed to remove it, and I used Disk Utility to delete the partitions. Now, rEFInd has a linux icon still that I can select, and when I boot to it it gives me a black command line that just says "No bootable device found." I tried reinstalling rEFInd, but the linux icon is still there. How do I get rid of it, is it a left behind boot code or something? diskutil list returned this, so clearly there is no extra partitions left behind. What could be wrong?
/dev/disk0
#:
TYPE
NAME
SIZE
IDENTIFIER
0:
GUID_partition_scheme
*256.1 GB
disk0
1:
EFI
EFI
209.7 MB
disk0s1
2:
Apple_HFS
Mac OS X
255.7 GB
disk0s2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem is most likely leftover BIOS-mode boot loader code in the disk's Master Boot Record (MBR). The safest way to get rid of this is to edit refind.conf: Uncomment the scanfor line and ensure that hdbios is not among the listed options. (If you want to be able to boot from BIOS-mode external disks or CD-Rs, though, be sure that the relevant options are listed, as described in the comments/documentation preceding the scanfor option line.) If you install another BIOS-mode OS in the future, you'll need to either comment out the scanfor line or add hdbios to its options.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently dual booted Ubuntu on my Macbook Pro alongside the existing OS X. I used it for a while and needed to remove it, and I used Disk Utility to delete the partitions. Now, rEFInd has a linux icon still that I can select, and when I boot to it it gives me a black command line that just says "No bootable device found." I tried reinstalling rEFInd, but the linux icon is still there. How do I get rid of it, is it a left behind boot code or something? diskutil list returned this, so clearly there is no extra partitions left behind. What could be wrong?
/dev/disk0
The problem is most likely leftover BIOS-mode boot loader code in the disk's Master Boot Record (MBR). The safest way to get rid of this is to edit
refind.conf
: Uncomment thescanfor
line and ensure thathdbios
is not among the listed options. (If you want to be able to boot from BIOS-mode external disks or CD-Rs, though, be sure that the relevant options are listed, as described in the comments/documentation preceding thescanfor
option line.) If you install another BIOS-mode OS in the future, you'll need to either comment out thescanfor
line or addhdbios
to its options.