Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Create a custom disk icon for Boot Camp disks Apps
For the last week or so, I've been setting up my new Mac Pro (and writing about it as I did so), which will soon be the new macosxhints workhorse (thanks to Macworld for letting me retire my own personal G5). During the setup process, I installed Boot Camp, so that I could run Windows XP on a partition.

I wanted an easy way to identify the Windows disk while booted in OS X, so I thought I'd stick a custom icon on it, as seen at right. The problem, of course, is that the Windows disk is NTFS formatted, and OS X can't write to NTFS. So you can't paste a custom icon. There is, however, a workaround (assuming you have a USB memory stick available). I found the procedure in this post on the MacTelChat site; go there if you want the full step-by-step. Here's the executive summary version.

Note that these instructions assume you've already named your Windows XP drive (which you can only do during partitioning or from within Windows. I'll assume the drive is named WINXP.
  1. Format your USB memory stick in MS-DOS format (FAT) using Disk Utility. Give it a simple one-word name -- I'll use FATSTICK for this example.
  2. Copy and paste the custom icon you'd like to use onto the memory stick's icon. (The icon above is from the Carlito's Drives collection.)
  3. Open Terminal, and type cd /Volumes. You need to copy a hidden file related to the custom icon you just pasted on the FAT memory stick. Using my sample names, the copy command would be: cp ._FATSTICK ._WINXP. This creates the required entry for the Windows XP drive's custom icon.
  4. The last step is to get the custom icon itself onto the XP disk. To do that, you must be booted into Windows XP. So reboot into XP now.
  5. Open a window in XP showing the memory stick's files. You'll see one named .VolumeIcon.icns sitting there in the top level of the stick. Copy this file to the root level of the Windows XP disk.
That's it; when you reboot into OS X, your Windows partition will have a nice custom icon. According to the tip on MacTelChat, this should make the custom icon visible in the boot loader (as are other custom icons for OS X drives). However, on my machine (and that of one commenter to the original tip), the custom icon does not show in the boot loader -- I get the generic aluminum internal disk icon instead. If anyone can figure out how to fix that issue, please post in the comments.
    •    
  • Currently 3.33 / 5
  You rated: 4 / 5 (6 votes cast)
 
[71,933 views]  

10.4: Create a custom disk icon for Boot Camp disks | 13 comments | Create New Account
Click here to return to the '10.4: Create a custom disk icon for Boot Camp disks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Create a custom disk icon for Boot Camp disks
Authored by: transeau on Nov 15, '06 08:24:27AM

you need to rename your ._WINXP file to match the name of the drive...
i.e. if you name the drive (in Windows) "Windows XP" then the file in /Volumes/ needs to be "._Windows\ XP".

Also, you need to make sure that the icon on the NTFS drive is a Hidden, System file. (attrib +s +h .VolumeIcon.icns)



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: robg on Nov 15, '06 08:50:18AM

I noted the first requirement in the hint; I'll set those attributes and see if anything changes - thanks for the tip.

-rob.



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: robg on Nov 16, '06 04:08:36AM

Nope, still no go. My boot loader insists on using a stock aluminum drive icon. Durn.

-rob.



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: Oceanhints1 on Nov 15, '06 09:40:52AM

or use CandyBar



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: FOOOD on Nov 15, '06 01:27:13PM

Yea, much easier with CandyBar



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: robg on Nov 15, '06 03:45:11PM

Does Candy Bar show the custom icon on the boot loader screen?

-rob.



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: Oceanhints1 on Nov 16, '06 09:42:55AM

Sorry, I neverlooked at the Boot Screen after using CandyBar to change the icon.

I use reFit instead of Apple's Option Boot Loader, with reFit you can change the Icons to whatever you feel like, plus you can customise the look of the entire boot loader screen to match your company or personal preference, and there is no need to hold option down when booting.

http://refit.sourceforge.net/



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: Stefano on Nov 16, '06 12:56:11PM

I try the Candy Bar option but there is a problem.

In the Volume Tab of CB I see only the Macintosh partition HD but not the one with Windows Installed.

How I can change the Win HD icon?

Ciao

---
Maclub president :-)



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: sd on Nov 16, '06 10:13:12AM
the original procedure does not come from Mactel but from here:
http://wiki.onmac.net/index.php/Personalize_your_bootloader

But it does not work for me. There is NO file listed that has the same name as the FAT volume on my USB key.

And using a custom icon on a FAT XP volume does not seem to work either:
http://forum.insanelymac.com/lofiversion/index.php/t18411.html

[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: gabrielito on Nov 07, '07 01:49:01AM

Same for me, doesn't work under Leopard. I followed this procedure under Tiger and it worked fine, but now with Leopard, I don't have no hidden file named ._USBKEY. When I liste the /Volumes I don't see any invisible file...

Someone has a solution?



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: rumbers on Feb 02, '08 12:37:47AM

Yep - I'm having the same problem. I format the flash drive to FAT, copy an icon to it using the info copy/paste route (so it looks as I want the windows drive to look on my desktop), open terminal, type cd /Volumes - and don't see any ._ files at all...

Macintosh-2:Volumes rumbers$ cd /Volumes
Macintosh-2:Volumes rumbers$ ls-la
total 56
drwxrwxrwt@ 6 root admin 204 2 Feb 08:05 .
drwxrwxrw-t@ 35 root admin 1258 27 Jan 10.36 ..
drwxrwxrwx @ 1 rumbers rumbers 16384 2 Feb 08:09 FATSTICK
drwxr-xr-x 3 rumbers admin 102 134 Jan 10.42 MAT'S 1GB
lrwxr-xr-x 1 root admin 1 1 Feb 20:04 The MacBook Pro -> /
drwxr-xr-x 1 rumbers 8192 1 Feb 20:01 Windows


And that's it!

Tried doing the copy ._FATSTICK ._Windows, but there's no file there to copy. Any ideas what I'm doing wrong?

Mat



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: Keopx on Feb 02, '08 04:44:18PM

Same as rumbers... i can't see the '._' files after entering ls -la



[ Reply to This | # ]
10.4: Create a custom disk icon for Boot Camp disks
Authored by: nntn61 on Jan 31, '10 03:28:57AM

So....... Would this have any chance of working in Snow Leopard with Windows 7?



[ Reply to This | # ]