When restoring the Recovery HD, how do I hide it again?

arekdreyer
Contributor

I have successfully restored the Lion Recovery HD to an additional partition with Casper Imaging, and I can boot from it, but it's no longer hidden like an out-of-the-box OS X Lion instance. Is there an obvious way to hide it?

1 ACCEPTED SOLUTION

daworley
Contributor II

Check out the diskutil and asr lines at the bottom of this article: https://jamfnation.jamfsoftware.com/article.html?id=173

View solution in original post

3 REPLIES 3

daworley
Contributor II

Check out the diskutil and asr lines at the bottom of this article: https://jamfnation.jamfsoftware.com/article.html?id=173

arekdreyer
Contributor

Thanks! I've read that article a bunch of times. Thanks for the reminder, Doug.

In my case, I have the 10.7.4 installer, then the Recovery HD, then a Winclone volume. And somehow I now have 2 Recovery HDs (/dev/disk0s3 and /dev/disk0s4). Back to Casper Admin!

daworley
Contributor II

I have found that running the config described in the article above a few times does funny things with creating multiple recovery partitions.

I took to using Disk Utility's debug menu and enabling the "Show Every Partition" feature. That let me know that when I wiped the disk, it was actually cleaning out any previous hidden partitions.

Otherwise, I bet some savvy diskutil scripting could discover those partitions and mount them for re-restoration.