Wednesday, January 28, 2026

How to Securely Erase Data on macOS Sequoia: A Complete Guide

 

In an era where data privacy is paramount, ensuring the secure deletion of sensitive information is crucial. macOS Sequoia, Apple's latest operating system, provides advanced tools to safeguard your digital footprint. In this guide, we'll explore the best practices for securely erasing data or even your entire hard drive on macOS Sequoia, ensuring your information remains confidential and protected.

1. Built-In Encryption for Enhanced Security: FileVault

Before considering data erasure, fortify your data with FileVault, macOS's built-in disk encryption program.

Important to know: If you have a Mac with Apple silicon (M1, M2, M3, M4) or an Apple T2 Security Chip, your data is already encrypted automatically. Turning on FileVault provides an extra layer of security by requiring your login password to decrypt the data.

To enable FileVault:

  • Go to System Settings > Privacy & Security
  • Scroll down to FileVault
  • Click Turn On
  • Choose your recovery method (iCloud account or recovery key)

FileVault uses XTS-AES 128-bit encryption, which Apple considers sufficient for enterprise security requirements. This encryption makes it virtually impossible for anyone to access your data without your password.

2. The Modern Way to Erase Your Mac: Erase Assistant

For Macs running macOS Monterey or later with Apple silicon or the T2 Security Chip, Apple introduced Erase Assistant — a streamlined tool that makes preparing your Mac for resale or fresh starts incredibly simple.

What Erase Assistant does:

  • Signs you out of Apple services (iCloud, iMessage, etc.)
  • Turns off Find My and Activation Lock
  • Erases all content, settings, and apps
  • Removes all volumes (including Boot Camp if present)
  • Leaves your Mac in a pristine, out-of-box state

To use Erase Assistant:

  1. Open System Settings
  2. Click General in the sidebar
  3. Click Transfer or Reset
  4. Click Erase All Content and Settings
  5. Enter your administrator password
  6. Follow the onscreen prompts

Your Mac will restart and display a progress bar. When complete, it will show the "Hello" screen as if it were brand new.

Note: If you don't see this option, your Mac may not support Erase Assistant (older Intel Macs without the T2 chip). In that case, use the Recovery Mode method below.

3. Traditional Method: Disk Utility in Recovery Mode

For older Macs or when you need more control over the erasure process, Recovery Mode remains the trusted approach.

To erase your Mac using Recovery Mode:

For Apple silicon Macs:

  1. Shut down your Mac
  2. Press and hold the power button until you see "Loading Startup Options"
  3. Click Options, then Continue
  4. Select Disk Utility and click Continue
  5. Select your startup disk (usually "Macintosh HD")
  6. Click Erase in the toolbar
  7. Choose APFS as the format
  8. Click Erase Volume Group (or just Erase)
  9. Quit Disk Utility
  10. Select Reinstall macOS and follow the prompts

For Intel-based Macs:

  1. Restart your Mac
  2. Immediately press and hold Command (⌘) + R until the Apple logo appears
  3. Follow steps 4-10 above

Important changes in macOS Sequoia: The traditional multi-pass "Secure Erase" options (7-pass, 35-pass Gutmann) have been removed from the Disk Utility GUI for SSDs and modern storage. This is because:

  • These methods can actually reduce SSD lifespan due to wear-leveling
  • SSDs have internal controllers that make traditional overwriting ineffective
  • Encryption-based erasure (via FileVault) is now the recommended secure deletion method

The Security Options slider may still appear for traditional hard disk drives (HDDs), but not for SSDs or flash storage.

4. Understanding Modern Storage: Why Encryption Matters More Than Overwriting

The shift away from multi-pass erasure isn't a security downgrade — it reflects the reality of modern storage technology:

For SSDs and Flash Storage:

  • Wear-leveling and block-sparing mean data isn't stored where you think it is
  • Some data may persist in cache or spare blocks even after overwriting
  • Solution: Use FileVault encryption before storing sensitive data. When you erase an encrypted drive, you're essentially destroying the encryption key, making the data unrecoverable even if traces remain physically on the drive.

For Traditional HDDs:

  • Multi-pass erasure may still be available in Disk Utility
  • Even a single zero-fill pass is generally considered secure for most purposes
  • For maximum security, encrypt first, then erase

5. Command Line Method for Advanced Users

For those comfortable with Terminal, macOS still supports the diskutil secureErase command, though with important caveats.

Available security levels:

  • Level 0: Single-pass zero fill
  • Level 1: Single-pass random fill
  • Level 2: Seven-pass erase
  • Level 3: Gutmann 35-pass erase
  • Level 4: Three-pass erase

Example command:

diskutil secureErase 0 /dev/disk2

Critical note from Apple's documentation: "This kind of secure erase is no longer considered safe. Modern devices have wear-leveling, block-sparing, and possibly-persistent cache hardware, which cannot be completely erased by these commands. The modern solution for quickly and securely erasing your data is encryption."

Use this method only for traditional HDDs or when you understand its limitations for modern storage.

6. Securely Erasing External Drives

The same principles apply to external drives:

In Disk Utility:

  1. Connect your external drive
  2. Open Disk Utility (in Applications > Utilities)
  3. Select your external drive from the sidebar
  4. Click Erase
  5. Choose your format (APFS for Macs, ExFAT for cross-platform)
  6. Click Erase

For external HDDs, you may see the Security Options button allowing multi-pass erasure. For SSDs, this option typically won't appear, as encryption-based erasure is more appropriate.

Pro tip: For external drives containing sensitive data, encrypt them with APFS (Encrypted) format before use, then simply erase when done. This provides instant secure deletion.

7. Physical Destruction: Still the Last Resort

In situations requiring absolute certainty — such as disposing of drives containing classified or highly sensitive information — physical destruction remains the ultimate solution:

  • Seek professional data destruction services
  • Follow manufacturer guidelines for proper disposal
  • Consider hard drive shredding or degaussing services
  • Some electronics retailers offer secure recycling with certified destruction

Physical destruction guarantees no data recovery is possible, providing peace of mind in the most sensitive situations.

Best Practices for Data Security on macOS Sequoia

  1. Enable FileVault immediately on new Macs or after clean installs
  2. Use strong, unique passwords for your Mac login and FileVault recovery
  3. Store your recovery key safely — without it and your password, data is permanently inaccessible
  4. Back up before erasing using Time Machine or another backup solution
  5. For resale/disposal: Use Erase Assistant if available, or Recovery Mode method
  6. Trust encryption over overwriting for modern SSDs
  7. Update to the latest macOS for the most current security features

Conclusion

Protecting your digital assets goes beyond everyday cybersecurity practices. macOS Sequoia equips users with powerful, modern tools to securely erase data — from individual drives to entire systems. The shift from multi-pass overwriting to encryption-based security reflects the evolution of storage technology and provides stronger, more reliable protection.

Whether you're safeguarding personal information, preparing a device for resale, or ensuring compliance with data protection regulations, understanding these modern methods ensures your data remains confidential and impervious to unauthorized access.

For the most current information, always refer to Apple's official support documentation for your specific macOS version and Mac model.


Last updated: January 2025 for macOS Sequoia

Saturday, February 10, 2024

Mastering Data Security: The Ultimate Guide to Securely Erasing Data on macOS

In an era where data privacy is paramount, ensuring the secure deletion of sensitive information is crucial. macOS, Apple's robust operating system, provides advanced tools to safeguard your digital footprint. In this guide, we'll explore the best practices for securely erasing data or even your entire hard drive on the latest macOS, ensuring your information remains confidential and protected.

  1. Built-In Encryption for Enhanced Security: FileVault

Before considering data erasure, fortify your data with FileVault, macOS's built-in disk encryption program. Enable FileVault in System Preferences under Security & Privacy to encrypt your entire disk, adding an extra layer of protection to your files.

  1. Securely Erasing Files: Using Disk Utility

Disk Utility is your go-to tool for securely erasing individual files or folders. Open Disk Utility, select the drive, and navigate to the "Erase" tab. Choose the format, and under "Security Options," select "Mac OS Extended (Journaled, Encrypted)," ensuring that sensitive data is securely overwritten for irretrievability.

  1. Wipe Your Hard Drive: macOS Recovery Mode

When it comes to securely erasing your entire hard drive, macOS Recovery Mode is your ally. Restart your Mac and hold down Command + R until the Apple logo appears. In the Utilities menu, select Disk Utility, choose your disk, and click "Erase." Opt for the security option "Zero Out Data" or "7-Pass Erase" for a thorough wipe, making data recovery virtually impossible.

  1. Utilizing Terminal Commands for Maximum Security

For advanced users comfortable with Terminal commands, macOS offers additional options for secure data deletion. Use the "srm" command followed by the file or folder path to overwrite data multiple times, enhancing the level of security. Exercise caution and ensure accuracy when employing Terminal commands.

  1. Physical Destruction: A Last Resort

In extreme cases where absolute certainty is paramount, physically destroying your hard drive is the ultimate solution. Seek professional assistance or follow manufacturer guidelines to dismantle and dispose of the drive securely. This method guarantees that no data can be recovered, providing peace of mind in the most sensitive situations.

Protecting your digital assets is a responsibility that extends beyond everyday cybersecurity practices. macOS equips users with powerful tools to securely erase data, from individual files to entire hard drives. Whether you're safeguarding personal information or preparing a device for resale, mastering these methods ensures your data remains confidential and impervious to unauthorized access. Embrace these techniques, and take control of your data security on macOS.

Friday, February 9, 2024

Unveiling the Hidden Gems: Mastering iPadOS with These Top Tips and Tricks

 iPadOS, Apple's dedicated operating system for iPads, has evolved into a powerful platform with features designed to enhance productivity and user experience. While many users are familiar with the basics, there are several hidden tips and tricks that can take your iPadOS experience to the next level. In this comprehensive guide, we'll delve into the lesser-known aspects of iPadOS, unveiling the hidden gems that can transform the way you use your iPad.

  1. Multitasking Mastery: Split View and Slide Over

iPadOS excels in multitasking, offering Split View and Slide Over for improved productivity. To activate Split View, swipe up from the bottom and open an app, then drag another app from the dock to the side of the screen. For Slide Over, drag an app from the dock over an open app to create a floating window. This allows you to seamlessly work on multiple apps simultaneously.

  1. Customize Your Home Screen with Widgets

iPadOS introduces a new level of personalization with widgets that can be added to your home screen. Tap and hold on an empty space, click the '+' icon, and choose a widget. These dynamic widgets provide real-time information at a glance, enhancing your iPadOS experience.

  1. Quick Note Collaboration with Center Stage

Center Stage, available on select iPad models, adjusts the frame during video calls to keep you centered. However, it can also be utilized for collaborative note-taking. Open the Notes app, start a Quick Note, and use Center Stage to capture a dynamic and collaborative workspace during virtual meetings.

  1. Instant Notes from Lock Screen

Turn your iPad into a digital notepad with the Instant Notes feature. While your iPad is locked, tap your Apple Pencil on the screen to open a new note instantly. This is a handy tool for jotting down quick thoughts or sketches without the need to unlock your device.

  1. Hidden Gestures for Improved Navigation

Mastering a few hidden gestures can significantly enhance your navigation experience. Pinch with five fingers to access the home screen, swipe up with four fingers for the app switcher, and swipe left or right with three fingers to switch between apps effortlessly.

  1. Quickly Access the App Switcher with Multitasking Gestures

Enable Multitasking Gestures in Settings to quickly access the app switcher. Pinch four or five fingers together to reveal the app switcher, allowing you to seamlessly switch between open applications.

  1. Take Advantage of Scribble in Safari

Scribble, a powerful feature for Apple Pencil users, can be utilized in Safari for seamless web interactions. Use your Apple Pencil to scribble in text fields, and iPadOS will convert your handwriting into typed text, making web searches and form filling a breeze.

  1. Scan and Sign Documents with the Files App

The Files app isn't just for organizing documents; it also offers a built-in document scanner. Open the Files app, tap the three dots in the top-right corner, and select "Scan Documents." Capture, crop, and sign documents directly within the app, streamlining your document management process.

Unlock the full potential of your iPad with these lesser-known tips and tricks. Whether you're a student, professional, or creative, incorporating these features into your workflow will undoubtedly elevate your iPadOS experience. Embrace the hidden gems, and watch as your productivity and enjoyment reach new heights on your iPad.

Monday, November 30, 2015

Edit the Host file in Mac OS X Yosemite

The hosts file is used by your computer to map hostnames to IP addresses. By adding or removing lines to your hosts file you can change where certain domains will point when you access them in a browser. This can be used used for web development purposes, i.e. to redirect domains to local addresses.

Step 1: Launch Terminal

Step 2: Type the following command at the prompt to backup hosts file to documents folder:

Always make a Backup of your host file before making any changes just in case you make a mistake or typo

sudo cp /private/etc/hosts ~/Documents/hosts-backup


Step 3: Type the following command at the prompt to open hosts file:


sudo nano /private/etc/hosts


Step 4: Enter the administrator password when requested

Step 5: Once the hosts file is loaded, navigate to the bottom of the hosts file to make your modifications

Step 6: When finished, hit Control+O followed by ENTER/RETURN to save changes to /private/etc/hosts, then hit Control+X to exit out of nano

Step 7: Verify your hosts modifications.

I recently used this to setup PressPi on my Raspberry Pi.