AlexDa Posted April 23, 2008 Share Posted April 23, 2008 Hi, I have been trying to solve a little problem for several days without success. I installed a triple boot on my MBP. I managed to change the names of the two other partitions (Win and Linux) displayed in Leopard. I managed to change the icon for the Windows partition as well. Just one thing to do left : change the icon for the Linux partition. And here is the issue. The problem is that we can't have a write access to an ext3 partition from OS X in HFS+ journaled (if you had a solution for that, it would be really great, but I don't ask so much !). So the usual methods to change icons are not valid here. There is obviously no .VolumeIcon.icns file at the root of the Linux partition. I tried to add one from Linux, with no result. Does someone have an idea ? I could try things if I knew the way OS X assign icons to elements (script giving the path of the .icns file, location of this file, etc), but I did not find anything about it, even with hard googling. I know that the default .icns files for folders, usb storages, ... are easily reached in System>Library. But I did not see the default icon for hard disks. Since at the beginning there is just one partition, maybe the reference file is just the .VolumeIcon.icns of Macintosh HD, copied and paste if necessary. I precise that I'm using ext2fsx. I think that to solve the issue we have to know how OS X overpasses the lack of write rights (to create the .VolumeIcon.icns) through ext2fsx in order to assign an icon to the ext3 volume anymay. I'm aware of the solution of changing the format of the partitions (Linux in FAT32 for instance), but I'm not interested in it. I hope that some scripting solutions are possible. I had a look at Interface Builder, but not find quick answer. Any contribution will really be appreciated. Thanks. Alex Link to comment https://www.insanelymac.com/forum/topic/101065-icon-for-an-ext3-partition/ Share on other sites More sharing options...
Adrien0203 Posted July 6, 2008 Share Posted July 6, 2008 Hello ! 1) the file .VolumeIcon.icns on Macintosh HD is the icon of this hard drive. If you change it you only change the icon of this drive. 2) You can put your linux under HFS+ (but not journalized if you want linux to write on it) but it's not a good idea. 3) Maybe one day there will be a MacFuse extension for EXT3 ... I've not others ideas Good luck! Link to comment https://www.insanelymac.com/forum/topic/101065-icon-for-an-ext3-partition/#findComment-809772 Share on other sites More sharing options...
kdb424 Posted August 13, 2008 Share Posted August 13, 2008 I cheated. I made the default (blank) hard drive icon, the linux icon. Worked for me! Link to comment https://www.insanelymac.com/forum/topic/101065-icon-for-an-ext3-partition/#findComment-856012 Share on other sites More sharing options...
double.o.five Posted September 16, 2008 Share Posted September 16, 2008 Hi, I have been trying to solve a little problem for several days without success. I installed a triple boot on my MBP. I managed to change the names of the two other partitions (Win and Linux) displayed in Leopard. I managed to change the icon for the Windows partition as well. Just one thing to do left : change the icon for the Linux partition. And here is the issue. The problem is that we can't have a write access to an ext3 partition from OS X in HFS+ journaled (if you had a solution for that, it would be really great, but I don't ask so much !). So the usual methods to change icons are not valid here. There is obviously no .VolumeIcon.icns file at the root of the Linux partition. I tried to add one from Linux, with no result. Does someone have an idea ? I could try things if I knew the way OS X assign icons to elements (script giving the path of the .icns file, location of this file, etc), but I did not find anything about it, even with hard googling. I know that the default .icns files for folders, usb storages, ... are easily reached in System>Library. But I did not see the default icon for hard disks. Since at the beginning there is just one partition, maybe the reference file is just the .VolumeIcon.icns of Macintosh HD, copied and paste if necessary. I precise that I'm using ext2fsx. I think that to solve the issue we have to know how OS X overpasses the lack of write rights (to create the .VolumeIcon.icns) through ext2fsx in order to assign an icon to the ext3 volume anymay. I'm aware of the solution of changing the format of the partitions (Linux in FAT32 for instance), but I'm not interested in it. I hope that some scripting solutions are possible. I had a look at Interface Builder, but not find quick answer. Any contribution will really be appreciated. Thanks. Alex I am in the same situation as you. But i dont even know how to change the name of the drive to Ubuntu or something like that...how did you change the name? Link to comment https://www.insanelymac.com/forum/topic/101065-icon-for-an-ext3-partition/#findComment-893828 Share on other sites More sharing options...
Recommended Posts