Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

martinchivers

macrumors 6502
Original poster
Jun 19, 2011
279
9
Bath, Somerset, UK
I wonder if someone can point me in the right direction. I did a load of research on Tube, regarding erasing my old iMac in order to sell it. When I followed the instructions my disk utility looked very different, as the OS is on an external SSD and the macHD is my time machine drive. I formatted the time machine and ssd. But when trying to reinstall it all failed. It said could not instal to macHD as it was used for time machine. I also tried to instal using wifi. I then restored from my time machine backup from my new iMac, which thank god has worked. I've attached a picture of the disk utility now. Which drives should be formatted and to which format type? and what is the preseadure to reinstall the OS. I'm intending to sell the ssd with the computer, but obviously could instal to macHD and keep the SSD, as its not going to be worth a great deal of money anyway.

Its a late 2012, running Catalina. Hopefully I've included all the info required.
 

Attachments

  • IMG_3037.JPG
    IMG_3037.JPG
    942.1 KB · Views: 197

Nguyen Duc Hieu

macrumors 68040
Jul 5, 2020
3,016
1,006
Ho Chi Minh City, Vietnam
Supposed you have backed up your data. Here is how to erase the Time Machine drive.
1. Create an USB installer of Mac OS.
2. Power off the iMac and Unplug the MacOS external drive.
3. Boot from the USB installer, but pause and go to Disk Utilities.
4. Erase the entire volume of TimeMachine by moving your mouse on the item named "Apple HDD xxxx" and select erase from there.
5. Then escape from Disk Utilities, reboot from the USB installer if needed.
6. Now you can install Mac OS to the erased internal Apple HDD.
7. After Mac OS files have finished copying from the USB installer, when the machine askes you to reboot. Do not reboot but power it off and unplug the USB installer.

You buyer will boot and do the initial set-up himself/herself.
Just be sure to leave no firmware password behind.
It's terribly annoying to find-out the iMac you have just purchased comes with a firmware password.
 
  • Like
Reactions: roronl

Nguyen Duc Hieu

macrumors 68040
Jul 5, 2020
3,016
1,006
Ho Chi Minh City, Vietnam
Another option, I guess.


Eject the Time Machine drive, then unplug the external Mac OS drive and do Internet Recovery (instead of creating a USB installer)
 

Fishrrman

macrumors Penryn
Feb 20, 2009
29,239
13,310
Are you going to sell the iMac with the SSD as the external boot drive?

Or do you just want to sell the iMac WITHOUT the SSD?

Tell us.
 

Fishrrman

macrumors Penryn
Feb 20, 2009
29,239
13,310
OK, if you're going to sell WITH the SSD (still as the boot drive, right?), I suggest you do this:

PRINT THIS OUT AND FOLLOW ALONG.
YOU WILL NOT SUCCEED UNLESS YOU PRINT THIS OUT!

1. Get booted up and running from the SSD.

2. Open disk utility.

3. Go to the view menu and choose "show all devices".

4. We're going to erase the iMac's internal drive. Look at the list on the left.
You want to pick the VERY TOP item, named "Apple HDD HTS5410..."
(as shown in the pic you posted above)

5. Click on it ONE time to select it, then click the "erase" button.

6. Erase to APFS, GUID partition format.

7. OK, this wipes clean the internal drive, so QUIT disk utility.

We now need to remove your account and data from the SSD, and put a "temporary account" on there that will boot the iMac for the next owner.

a. Open System Preferences

b. Click on "Users & Groups".

c. At the bottom, click the lock icon and enter your password

d. Just above the lock you will see two small icons: "+" and "-"

e. Click on the "+" icon. This will create a NEW account.

f. A dialog will open.

g. VERY IMPORTANT: in the top item ("new account") click the popup menu and choose "Administrator". DO NOT SKIP THIS!

h. In "full name", just put "temporary" (because it's only a temporary account).

i. Skip account name (that will be entered automatically) and click on Password. Again, I'd suggest "temporary".

j. Type the password in again a second time to verify, and then click "create user".

Now, when you return to the main Users & Groups pane, you should see your original account AND the new account.

Close System Preferences for the moment.

Before going further, look around your SSD for any folders/files that YOU created "outside of" your account. You want to delete these, or the next user will have them.

You should also go into the Applications folder, and delete the apps that you don't want to "pass on", as well. Or, leave some of them for the next user. Your choice.

OK, now that you have that taken care of, we're going to delete your old account.

Go to the Apple menu and choose "Log Out" (of your regular account).
When you do this, you should now see a log in screen with BOTH your account AND the "new", temporary account.

Log into the new account using the password you created for it.

Give it a few moments, and it should open up with a default, empty desktop.

That's ok. Just leave things as they are for now.

1. Next, open System Preferences.

2. Open "Users & Groups" again.

3. Click the lock and enter the new, temporary password.

4. Now, go up to where you can see your OLD account. Click on it one time to select it, then click the "-" button.

5. You will see several options. The one you want to select is "Delete the [home] folder". You DO want it deleted, you don't want the new user to have your account still there.

6. So, click the delete button, and then click "Delete User" on the lower right.

7. In a moment, your old user account should disappear. GONE.

8. Now, do a "test boot" again. RESTART. The iMac should boot to the SSD, and you should get a login box, into which you can login via the temporary account.

Write the account name and password down on paper.
You want to give this to the new user.
Tell him (or her) to do the following (or save this and show it to them):

IF they're migrating from another Mac:
When they boot up, connect their backup and then open Migration Assistant.
When they migrate, their account should "flow into" the space where YOUR old account "used to be".

IF they're starting out "brand new" (not migrating), then they should log into the temporary account, and then create a NEW administrative account with their own username and password. Help them if they need help doing this.

Once they have their primary user account established, then they can go to Users & Groups and delete the "temporary" account if they wish.

I realize this is a lot to do.
Another way would be to boot to internet recovery, and erase your external SSD and install a clean copy of the OS onto it.
You would STILL need to erase the internal drive with the tm backup on it.
 
Last edited:
  • Like
Reactions: Nguyen Duc Hieu

tonmischa

macrumors regular
Apr 22, 2007
186
293
Sorry Fisherman. This is bad advice.
Deleting only the user account will still leave stuff around. For example the link between the AppleID and the device ("Find My"), WiFi-Credentials. All the Applications that OP installed. Just naming a few. There are more.
Some apps (like Dropbox or Teamviewer) are storing PERSONAL INFORMATION outside the user folder.

@OP:
Do yourself a favor and follow Apple's official advice:
Again: Whatever you do: Do not follow Fishermans Advice.
 

Nguyen Duc Hieu

macrumors 68040
Jul 5, 2020
3,016
1,006
Ho Chi Minh City, Vietnam
Sorry Fisherman. This is bad advice.
Deleting only the user account will still leave stuff around. For example the link between the AppleID and the device ("Find My"), WiFi-Credentials. All the Applications that OP installed. Just naming a few. There are more.
Some apps (like Dropbox or Teamviewer) are storing PERSONAL INFORMATION outside the user folder.

@OP:
Do yourself a favor and follow Apple's official advice:
Again: Whatever you do: Do not follow Fishermans Advice.

Totally agree.
Messing up with user account is never a good idea.
Just simply wipe out all disks, including firmware password) and do a fresh install so the buyer can do the initial setup himself/herself.
 

Fishrrman

macrumors Penryn
Feb 20, 2009
29,239
13,310
Martin has posted to macrumors other times before. If you've followed his posts, you'd understand.

I gave Martin the advice I gave him, because I reckoned that he (by his own admission) might have problems booting to internet recovery, and then doing an erase/install on the external SSD...
 

tonmischa

macrumors regular
Apr 22, 2007
186
293
Martin has posted to macrumors other times before. If you've followed his posts, you'd understand.

I gave Martin the advice I gave him, because I reckoned that he (by his own admission) might have problems booting to internet recovery, and then doing an erase/install on the external SSD...
So you gave him bad advice INTENTIONALLY? Advice that could possibly hurt his privacy, financial security, identity?
I give up.
 
  • Like
Reactions: chrfr

Fishrrman

macrumors Penryn
Feb 20, 2009
29,239
13,310
OK tonmischa, I'm going to call you out on this one.

YOU write a step-by-step guide for Martin to follow, one that avoids my "mistakes", and post it right here.

We're waiting.jpg
 

martinchivers

macrumors 6502
Original poster
Jun 19, 2011
279
9
Bath, Somerset, UK
guys, I'm sorry to have aniciated this debate. I have a very nice but very old iMac. I recon its worth £150-£200 with the small ssd that its running from, complete with a genuine apple mouse and a wireless keyboard. Realistically, it owes me very little. I could sell the keyboard and mouse and keep the SSD and dump the Mac. (£75 or so) I would have like to get a couple of hundred quid for it all, as I've bought 2 SSD's for my new Mac and it would go some way towards the cost of those.

The apple site doesn't (as far as I'm aware) cover the reset, when the OS is on an external drive. I wonder if I could just unplug that and boot (using cmd-R) and instal an operating system using the internet option? (I've not yet tried that) I did look at the startup disc in preferences to see if I could set it to the internal Mac HD, but that isn't even showing up.

I'd also considered manually deleting all my documents and history, etc & selling as it is. But that's a risky option, for very little additional money. I think it unlikely that the Apple support (I'm in the UK) will be very helpful regarding this as its an eleven year old machine.
 

tonmischa

macrumors regular
Apr 22, 2007
186
293
The apple site doesn't (as far as I'm aware) cover the reset, when the OS is on an external drive.
Correct. But the only difference is in Point 6.
Instead of starting to MacOS Recovery, you unplug your SSD and boot into "macOS Internet Recovery".
So you press CMD+ALT+SHIFT+R while the iMac is connected to the internet.

When everything is over, you simply format the external SSD and then are able to sell it too.

I think it unlikely that the Apple support (I'm in the UK) will be very helpful
I had many calls with them and found them very helpful. Even for old machines. All for free.
Dont dismiss it before you tried it.
These guys are getting paid to help their customers and are usually more reliable than "some stranger on the internet".
 

martinchivers

macrumors 6502
Original poster
Jun 19, 2011
279
9
Bath, Somerset, UK
Correct. But the only difference is in Point 6.
Instead of starting to MacOS Recovery, you unplug your SSD and boot into "macOS Internet Recovery".
So you press CMD+ALT+SHIFT+R while the iMac is connected to the internet.

When everything is over, you simply format the external SSD and then are able to sell it too.


I had many calls with them and found them very helpful. Even for old machines. All for free.
Dont dismiss it before you tried it.
These guys are getting paid to help their customers and are usually more reliable than "some stranger on the internet".
Thank you. I’ve packed my Mac away but will set it up again tomorrow and have another go. Much appreciated.
 

chrfr

macrumors G5
Jul 11, 2009
13,707
7,277
Thank you. I’ve packed my Mac away but will set it up again tomorrow and have another go. Much appreciated.
I'd install an operating system on the internal disk, if it functions at all. Any prospective buyer will prefer that at least at first in order to know that the computer is working as expected. Then, if they want to run from an external disk, they can set that up on their own.
 
  • Like
Reactions: tonmischa

martinchivers

macrumors 6502
Original poster
Jun 19, 2011
279
9
Bath, Somerset, UK
TONMISCHA. I copied and pasted the Apple, instructions. I also copied the instructions for step 6 above. Will be doing it tomorrow, so fingers crossed it all goes to plan. thank you for your help
 

martinchivers

macrumors 6502
Original poster
Jun 19, 2011
279
9
Bath, Somerset, UK
Good morning Guys. I've followed the steps laid out in the Apple guide.. I missed out number 5 which is to unpair the bluetooth devices.

So.......1 backup.....done
2....sign out of iTunes, unnecessary as I'm running Catalina.
3.....Sign out of iCloud.....done.
4....sign out of iMessages.....done.
5....missed out.

6, which I'd the only deviation from the list, (as detailed above) I unplugged the SSD and attempted to boot into macOS recovery. Its on a wired network. Pressed cmd+alt=+shift+R. At this point I'm getting a rolling graphic of a mouse and a keyboard, to turn these on (I assume). I have a non apple bluetooth mouse and a wireless Apple keyboard.Both of which are turned on. But getting nothing beyond this point. So I'm stuck. I've literally turned it off and reconnected the ssd & booted which is fine, but no nearer wiping it in order to sell it. Incidentally I have a wired mouse that I could use.But my wired keyboard i'd fitted to the new 27 inch and the wiring is very well hidden behind my desk and not easy to get to, so thats not really an option.

I've unplugged the ssd again & booted using cmd+R. this goes to the recovery panel with the 4 options. Using the internet recobvery, it goes to mountain lion, but falls as the macHD is d=setr to be used for time machine. So, I shutdown and again restarted with the ssd. When to time machine in preferences and stopped automatic backups and deselected the drive. Upon attempting to format the macHD, it failed.Internal is listed as Apple HDD54101A9E662 media & below that MacHD. Clicked macHD & hit erase. using (Journalised). this failed the first time, but tried again. Successfully this time. will now shut down and reboot (once internet plugged in, as I don't have wi-fi, only a power plug network). So will now restart & see what happens next.

Other than that, Any thoughts on my next step (other than a trip to the skip?) Martin
 
Last edited:

martinchivers

macrumors 6502
Original poster
Jun 19, 2011
279
9
Bath, Somerset, UK
UPDATE. I've managed now to instal Mountain Lion on the macHD without the ssd being plugged in. But now, obviously need to upped that OS to something newer, in oder to sell it. Once done I can plug the ssd into my 27inch Mac and format it, I assume thats straightforward, as its a copy of OS on it.
 

chrfr

macrumors G5
Jul 11, 2009
13,707
7,277
UPDATE. I've managed now to instal Mountain Lion on the macHD without the ssd being plugged in. But now, obviously need to upped that OS to something newer, in oder to sell it. Once done I can plug the ssd into my 27inch Mac and format it, I assume thats straightforward, as its a copy of OS on it.
No, you don’t need a newer OS on the computer to sell it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.