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

  1. open disk utility /applications/utilities.
  2. 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).
  3. click on partition want remove, click small minus button @ bottom of window. remove partition system.
  4. 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.

  1. you must first determine refind installed. can of several locations:
    • if installed refind 0.8.3 or earlier default options, or if used --notesp option refind 0.8.4 or later, /efi/refind on main partition.
    • if installed refind 0.8.4 or later default options, or if used --esp option refind 0.8.3 or earlier, in efi/refind or efi/boot on esp.
    • if used --ownhfs option refind-install, refind in system/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 installing refind multiple times, each different options refind-install. thus, if delete refind , still comes up, may have deleted wrong files. (note dragging files trash may have no effect, though—at least, not until empty trash.)
  2. if necessary, mount esp or refind-specific hfs+ volume, described in installing refind manually using mac os x. (the mountesp script comes refind handle task.)
  3. verify refind installed in directory noted in step #1. if refind.conf file present, refind installed in directory. if not, it's not refind there , should not proceed. cautious deleting system/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.
  4. once you've identified refind directory, delete it, or @ least refind boot file. file may called refind_x64.efi, bootx64.efi, boot.efi, or conceivably else. may need use sudo rm @ command line accomplish task, in sudo rm -r /volumes/esp/efi/refind.

all credit information goes sources cited below.

sources


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User