Skip to main content

Deleting the Mac OS X 10.7 Lion “Recovery HD” Partition

Lion Recovery HDIf you want to remove the Mac OS X 10.7 Lion “Recovery HD” partition, you’ll need to do a little bit of work because it’s a hidden partition. Hidden means it’s not just a matter of using your dual boot to go into 10.6 and then deleting it with Disk Utility.
Quick side note for devs with Lion Developer Preview:deleting and merging the Recover HD partition may not be a necessary procedure, but we won’t know for sure until Lion is finalized and shipping. The basis of this is the brief mention in the release notes that DP4 was not upgradeable to the final version, which sort of suggests you’ll want to format and perform a clean install once OS X Lion GM is released. Because of this, we are operating under the assumption that “Recovery HD” will get updated alongside the base Lion OS install, and therefore the old dev version won’t function with the final release – again, we don’t know for sure until Lion ships though.
Finally, if you don’t know what you’re doing, don’t muck around with partitions, diskutil, merging, or anything else, you could easily screw something up and lose all of your data. Ok enough with that, let’s get started.

Delete the Mac OS X 10.7 Lion Recovery HD Partition

There are a few ways to go about doing this, all methods will result in data loss which is the intention here, but I’ll point that out anyway. We’ll cover two methods: using the command line tool diskutil, and using the GUI app Disk Utility.
Deleting and merging a partition with diskutil from the command line
This is the most precise method I know of to remove the partition since it targets the recovery disk directly and merges it with the full Lion partition – if you’re not comfortable with the command line this is not for you.
  • Launch the Terminal and type the following into the command line:
  • diskutil list
  • This will print out your drives partition scheme and look something like this:
  • diskutil list
  • Look for “Recovery HD” and see which identifier it is using, it this screenshot it’s disk0s4
  • To remove that partition we use the following command (you can also use the volume name):
  • diskutil eraseVolume HFS+ Blank /dev/disk0s4
  • The partition will be erased, you might want to do this with your standard Lion partition as well since you’ll be wiping the entire thing anyway. Regardless, you’ll now have a blank partition sitting around, so you’ll want to merge that with your other Lion partition:
  • diskutil mergePartitions HFS+ Lion disk0s3 disk0s4
  • This will merge the two partitions, with disk0s3 absorbing the space from disk0s4 and expanding, it causes data loss so don’t expect this to preserve anything
The next approach is much more invasive because it formats the entire disk.

Removing the partition with Disk Utility by formatting the disk
Disk Utility will not display “Recovery HD” on it’s own because it’s a hidden partition, meaning you can’t just go into the app and delete it. What you can do though is format the entire drive though, which will then require a Lion clean install either starting from Snow Leopard or with a created installer DVD. This is sort of the nuclear approach but it works to delete the recovery partition too.
  • Boot the Mac from a recovery DVD, USB key, or an attached drive
  • Launch Disk Utility
  • Right-click on the Disk (not the partitions) and select “Erase”
  • Select the default Mac OS Extended (Journaled) as the file system, and give the drive a name
  • Click on “Erase” to completely format the drive – you will lose all data on the drive and all partitions
Erase a drive with Disk Utility
This formats the drive giving you a clean slate to start from, but this is not necessarily the best approach because of the way Lion is delivered through the App Store, which would cause you to have to start from scratch.

Comments

Popular posts from this blog

50 Free Plugins for Final Cut Pro X - The ultimate FREE Plugin list for FCPX

Hi guys, Charlie from LightLeakLove here! Just quickly, before you get to the article, I wanted to let you know about our new tool for FCPX called FiltrCutPro - learn more about it  here ! In this article we are going to share over 50 FREE Final Cut Pro X plugins that we reckon are pretty darn awesome! One of the areas where Final Cut Pro trumps its competition is the plugin universe it nurtured around FCPX. The amount of talented plugin creators that are out there making plugins, effects, templates and transitions for Apples industry leading editing platform is pretty epic. With so many fantastic companies and individuals making such brilliant plugins, the video editing landscape has never looked healthier or more creative. Things that used to take hours and had to be built up over layers and layers (and layers) are now as simple as drag…and…drop. Many of these plugins are released as freebies from companies (giving a sample of their full plugins) or from other FCPX edit

MySQL fails to start when a Plesk server lacks disk space: SQLSTATE[HY000] No space left on device 500 Plesk\Exception\Database

  Symptoms When opening Plesk or exporting/importing a database in Plesk, the operation fails with one of the following error messages: ERROR: Plesk\Exception\Database DB query failed: SQLSTATE[HY000]: General error: 1021  Disk full  (/var/tmp/#sql_3b95_1);  waiting for someone to free some space ..., <...> Server Error 500 Plesk\Exception\Database DB query failed: SQLSTATE[HY000]: General error: 1  Can't create/write to file  '/var/tmp/#sql_9d1_0.MAI' (Errcode: 28), <...> Websites with MySQL databases are not accessible with the following error message in a web-browser: Error establishing a database connection The MySQL service fails to start with the "No space left on device" error in its status: #  systemctl status mariadb.service ... systemd[1]: Starting MariaDB database server... systemd[1]:  mariadb.service failed to run 'start-pre' task: No space left on device systemd[1]: Failed to start MariaDB database server. systemd[1]: mariadb.serv

Final Cut Pro X: Create and break apart compound clips

You can create a  compound clip  from existing clips in the  Timeline  or the  Browser , or you can create a new, empty compound clip in the Browser and add clips to it in the Timeline. You can also break a compound clip into its component parts in the Timeline, so that the items are no longer grouped. Create a compound clip from existing clips Select  one or more  clips  in the Timeline or the Browser. The selected clips can be any combination of contiguous or noncontiguous clips, compound clips,  primary storyline  clips, or  connected clips . Do one of the following: Choose File > New Compound Clip (or press Option-G). Control-click the selection and choose New Compound Clip from the shortcut menu. Note:    When you add a compound clip to the Timeline or create a compound clip from existing clips in the Timeline, you create a direct and active relationship between a parent compound clip in the Browser and the child compound clip in the Timeline. If the