partitioning - Delete Ubuntu dual boot on Mac w/ rEFInd - Ask Ubuntu
i installed ubuntu-gnome 16.10 using 8 gb swap , 42 gb main partition on macbook pro , changed de unity. want delete whole ubuntu thing , free 50 gb space can add them macos partition. used refind install ubuntu.
can tell me step-by-step should delete ubuntu , how make 1 big partition in beginning? in advance. :)
removing ubuntu
- open
disk utility
/applications/utilities
. - click on hard drive in left-hand sidebar (the drive, not partition) , go "partition" tab. find ubuntu partition want remove (you labeled them when first created them).
- click on partition want remove, click small minus button @ bottom of window. remove partition system.
- click corner of mac partition , drag down fills free space left behind. click apply when you're finished.
your mac may take minute perform necessary processes, when it's done, system original macintosh self. if had refind
installed on system, can leave there—it isn't going hurt anything, if want remove following steps.
removing refind
as stated in official documentation,
i recommend stopping here, because procedure removing refind mac depends on installation method , tends challenging many mac users, unfamiliar necessary command-line tools.
basically, if want mac back, follow procedure before , leave refind
alone. but, if want remove refind
, continue.
- you must first determine refind installed. can of several locations:
- if installed
refind 0.8.3
or earlier default options, or if used--notesp
optionrefind 0.8.4
or later,/efi/refind
on main partition. - if installed
refind 0.8.4
or later default options, or if used--esp
optionrefind 0.8.3
or earlier, inefi/refind
orefi/boot
onesp
. - if used
--ownhfs
option refind-install,refind
insystem/library/coreservices
directory on volume specified. - if installed refind manually, wherever put it.
- in cases, there duplicate (inactive)
refind
files in unexpected places. particularly true if tried installingrefind
multiple times, each different options refind-install. thus, if deleterefind
, still comes up, may have deleted wrong files. (note dragging files trash may have no effect, though—at least, not until empty trash.)
- if installed
- if necessary, mount esp or refind-specific hfs+ volume, described in installing refind manually using mac os x. (the
mountesp
script comesrefind
handle task.) - verify
refind
installed in directory noted in step #1. ifrefind.conf
file present,refind
installed in directory. if not, it's notrefind
there , should not proceed. cautious deletingsystem/library/coreservices
directory, since that's default location of os x boot loader! never delete directory os x root (/) partition, partition specified refind-install using--ownhfs
option. - once you've identified
refind
directory, delete it, or @ leastrefind
boot file. file may calledrefind_x64.efi
,bootx64.efi
,boot.efi
, or conceivably else. may need usesudo rm
@ command line accomplish task, insudo rm -r /volumes/esp/efi/refind
.
all credit information goes sources cited below.
sources
Comments
Post a Comment