Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Finder > Preferences > Sidebar > Select "Hard Disks" and "Computer"

If that doesn't work... Major Long shot.... Do you have the program onyx installed? have you recently been tinkering with the settings? I think if you select "Kiosk Mode" it removes the icons from the desktop, but I think it removes them all, not just the HD icon. If you un-check "Kiosk Mode" it might restore the icon.

EDIT: AGH, just noticed, in Finder > Preferences > General, there's an option that says "Show these icons on the desktop" is the item "Hard Disks" un-checked?
 
Open Finder, go to preferences, general. Make sure 'Hard Disks' is ticked.
Then go to the 'Sidebar' tab, make sure that the relevant stuff is ticked.

If that doesn't fix it, errrr then something interesting has happened ;)

Ed
 
Reply

Finder > Preferences > Sidebar > Select "Hard Disks" and "Computer"

If that doesn't work... Major Long shot.... Do you have the program onyx installed? have you recently been tinkering with the settings? I think if you select "Kiosk Mode" it removes the icons from the desktop, but I think it removes them all, not just the HD icon. If you un-check "Kiosk Mode" it might restore the icon.

EDIT: AGH, just noticed, in Finder > Preferences > General, there's an option that says "Show these icons on the desktop" is the item "Hard Disks" un-checked?



-------




Ive done the finder blah blah stuff and its doesnt work but i have Onyx but how do you uncheck kiosk mode!
 
-------
Ive done the finder blah blah stuff and its doesnt work but i have Onyx but how do you uncheck kiosk mode!

Ok, I couldn't find the kiosk mode part on onyx, I might've been thinking of another app, click all the "restore all defaults" buttons in onyx and run disk permissions repair, just in the off chance.
 
I had the same problem. Being new to the Mac world, I know how difficult and frustrating it is to fix things on this computer. So I shall contribute with my first post on this very helpful website. I hope this can help.

What you need to do is to go to
Applications>Applescript
Double-click Script Editor.app


Now copy-paste the following into the upper pane of Script Editor
____________________________________________________

tell application "System Events"
set visible of disk "Macintosh HD" to true
end tell


____________________________________________________

Click Compile, and if there is no error message, Click Run.



Then to recuperate the icon on my finder's side bar I just pressed shift-cmd-C and dragged the Macintosh HD icon to the side bar. If that still doesn't work, then run the Script Editor.app again and copy-paste the following into the upper pane of Script Editor

____________________________________________________

tell application "System Events"
set visible of startup disk to true
end tell
tell application "Finder" to quit
delay 1
tell application "Finder" to launch
delay 1
tell application "System Events" to quit

____________________________________________________

and drag the Macintosh HD icon to the side bar again and you should have everything working as it should.





source: Apple Support Discussions
 
What you need to do is to go to
Applications>Applescript
Double-click Script Editor.app


Now copy-paste the following into the upper pane of Script Editor
____________________________________________________

tell application "System Events"
set visible of disk "Macintosh HD" to true
end tell


____________________________________________________

Click Compile, and if there is no error message, Click Run.







source: Apple Support Discussions


This helped me out 100% thank you!!! I still have no idea why that was happening. :/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.