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.3or earlier default options, or if used--notespoptionrefind 0.8.4or later,/efi/refindon main partition. - if installed
refind 0.8.4or later default options, or if used--espoptionrefind 0.8.3or earlier, inefi/refindorefi/bootonesp. - if used
--ownhfsoption refind-install,refindinsystem/library/coreservicesdirectory on volume specified. - if installed refind manually, wherever put it.
- in cases, there duplicate (inactive)
refindfiles in unexpected places. particularly true if tried installingrefindmultiple 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
mountespscript comesrefindhandle task.) - verify
refindinstalled in directory noted in step #1. ifrefind.conffile present,refindinstalled in directory. if not, it's notrefindthere , should not proceed. cautious deletingsystem/library/coreservicesdirectory, since that's default location of os x boot loader! never delete directory os x root (/) partition, partition specified refind-install using--ownhfsoption. - once you've identified
refinddirectory, delete it, or @ leastrefindboot 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