Can't Change Hard Drive Icon

Discussion in 'macOS' started by mac4drew, Apr 17, 2006.

  1. mac4drew macrumors regular

    mac4drew

    Joined:
    Mar 4, 2003
    Location:
    California
    #1
    Hey everyone,

    I'm having some trouble changing my hard disk's icon... I can't select it in Get Info to paste in a new icon. It happened randomly after I pasted in one icon, subsequently I couldn't select the icon again...

    I have tried repairing permissions and my disk (just via Apple's Disk Utility) and that did absolutely nothing.

    I haven't tried changing it over Target Disk Mode and for all I know that might work... but I would kind of like to be able to change my icon without turning off my computer.

    I remember in OS 9 you had to make sure File Sharing on the disk was off before you were allowed to modify the icon. I'm aware that that's not how it works in OS X but I tried it for good measure anyway to no avail.

    I'm running 10.4.6 on a MacBook Pro 2 GHz. The drive whose icon I'm trying to change is my Startup Disk. I have ~10GB/100GB free on it.

    I recently installed the whole Boot Camp deal and (obviously) had to repartition my disk. Afterwards my Mac HD was unaccessible until I ran Disk Utility off my install CD to repair it. Although this icon problem cropped up about a week after the install, I suppose it's possible that it could be related. Interestingly enough, I'm having no problems changing my Windows partition's icon.

    So... does anyone have any possible causes/fixes? Thanks!
     
  2. Glenn Wolsey macrumors 65816

    Glenn Wolsey

    Joined:
    Nov 24, 2005
    Location:
    New Zealand
    #2
    This happened to me last week, it was pretty hard to fix and I really dont know how I did in the end.

    Run all clean up scripts (with Onyx) , Restart the machine, and see if that works.
     
  3. mac4drew thread starter macrumors regular

    mac4drew

    Joined:
    Mar 4, 2003
    Location:
    California
    #3
    Well... I cleaned everything except the logs and the Cookies, Bookmark Icons, and Form Values (since I'm assuming they'd have no bearing and I don't necessarily want them erased, let me know if I should do that). Then I restarted.

    And it's still not changing! :mad: Stupid icon!

    Thanks anyway for the help. Any other ideas?
     
  4. Mitthrawnuruodo Moderator emeritus

    Mitthrawnuruodo

    Joined:
    Mar 10, 2004
    Location:
    Bergen, Norway
    #4
    Enable "View all files" in Finder, either by (Onyx?,) TinkerTool or Terminal (defaults write com.apple.Finder AppleShowAllFiles YES) then find and get rid of the file /.VolumeIcon.icns and see if that helps...
     
  5. mac4drew thread starter macrumors regular

    mac4drew

    Joined:
    Mar 4, 2003
    Location:
    California
    #5
    That did it! Thank you so much.
     
  6. jca488 macrumors newbie

    Joined:
    Jan 13, 2008
    Location:
    east coast
    #6
    Mitthrawnuruodo I LOVE YOU!
    thanksSSSSSSSSSSSSS A WHOLE LOT
     
  7. moook macrumors newbie

    Joined:
    Dec 5, 2010
    #7

    hi friend, i still facing the problem of cant changing the external hard drive icon. I already try to type the sentence into my terminal but stil the same.

    Do you mind to share with me how you do that?
     
  8. Saturn007, Jan 20, 2011
    Last edited: Jan 20, 2011

    Saturn007 macrumors regular

    Joined:
    Jul 18, 2010
    #8
    Much thanks for the tip!

    moook-- open Terminal, then copy and paste this

    defaults write com.apple.Finder AppleShowAllFiles YES
    and press return.

    Nothing will happen, but return to the Finder. Bring up the search box. You'll need to set two criteria for your search-- Name, of course, but also File Visibility.

    Click the plus sign to add a criterion.

    The criterion name has an up and down arrow on it, where you can select the File Visibility criterion. Then choose Visible Items and select "Visible or Invisible".

    The VolumeIcon file appears and you can trash it. Once you do so, the current icon vanishes and is replaced by the default one. That restores the icon copy, paste functionality.

    You can open pictures in Preview, select All, Copy, and paste them into the Info icon square. Works like a charm.

    -----------------------------------

    Now, I did have a question. What's the command for restoring the default Finder behavior? Just rebooted and discovered a mass of files that I don't want to see or look at!

    Did some digging.


    defaults write com.apple.Finder AppleShowAllFiles FALSE

    seems to do the trick and bring back to my original state. Or, am I just kidding myself? :)
     
  9. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #9
    That's the right command to re-hide hidden files.

    To show hidden files in Finder, enter the following two commands into a Terminal window (press enter after each line):
    defaults write com.apple.Finder AppleShowAllFiles TRUE
    killall Finder​
    To hide hidden files in Finder, enter the following two commands into a Terminal window (press enter after each line):
    defaults write com.apple.Finder AppleShowAllFiles FALSE
    killall Finder​
     

Share This Page