Contribute
Register

Partition hide & rename in boot menu doesn't want to work

Status
Not open for further replies.
Joined
Mar 16, 2011
Messages
17
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
Seems to be a bit of a thorn in a few people's sides (mine included), trying to hunt for a clear set of instructions on what to add to the .plist to hide the other nine volumes on my machine (yes, nine, multiple drives and Ch sees them all) just turned up several "why doesn't this work?" threads across the forum.

a) do these hide/rename commands actually work now, and b) if so, could someone please[/i] make a human-readable guide on just what to do, instead of trying to decipher geek :)
 
Hyram said:
Seems to be a bit of a thorn in a few people's sides (mine included), trying to hunt for a clear set of instructions on what to add to the .plist to hide the other nine volumes on my machine (yes, nine, multiple drives and Ch sees them all) just turned up several "why doesn't this work?" threads across the forum.

a) do these hide/rename commands actually work now, and b) if so, could someone please[/i] make a human-readable guide on just what to do, instead of trying to decipher geek :)


Maybe you've already found an answer to this already, but if you haven't, then here you go.

x = disk, y = partition. To get these numbers, type "diskutil list" into Terminal (Applications->Utilities->Terminal), and you'll get a bunch of disks with identifiers.
BEDkR.png

They are formatted like this: disk0s2
The 0 in this case is the disk (x) and the 2 is the partition (y). The above partition would look like this if you wanted to hide it:
Code:
hd(0,2)

For hiding partitions, add this to your org.chameleon.Boot.plist:
Code:
<key>Hide Partition</key>
<string>hd(x,y)</string>

For multiple partitions use a space to separate:
Code:
<key>Hide Partition</key>
<string>hd(x,y) hd(x,y) hd(x,y)</string>

Renaming partitions works largely the same way...
Code:
<key>Rename Partition</key>
<string>hd(x,y) partname</string>
...where partname is what you are renaming to.

Also note that renaming a partition only allows one string of words with no spaces (i.e. "Snow Leopard" will only show up as "Snow" in the boot screen).

Multiple partitions looks like this:
Code:
<key>Rename Partition</key>
<string>hd(x,y) partname; hd(x,y) partname; hd(x,y) partname</string>

Note the use of a semicolon (;) to separate partitions.
 
Absolutely sterling!

Not only does this make sense, it actually works :D :D

My humble thanks.
 
Hyram said:
Absolutely sterling!

Not only does this make sense, it actually works :D :D

My humble thanks.

You're welcome! :D
I'm sorry for the unavoidable English issues, I was really rushing when I wrote it.
 
If anyone hasn't figured it out through trial and error, there had been some issues with my reply (namely the italic symbol beside partname in the code and missing the "</string>" for some of the codes). The original reply has been updated and the issues have been fixed.
 
I am not doing something right here. I want to hide the following partitions from the Chimera boot menu:

disk0s2,disk2s5,disk3s1,disk3s2,disk3s5,disk3s6

using

<key>Hide Partition</key>
<string>hd(0,2) hd(2,5) hd(3,1) hd(3,2) hd(3,5) hd(3,6)</string>

as shown in the attached boot.plist file.

Problem is that I am seeing the Win7New,System Reserved and Win7 (both from Disk3) and BarryMisc

I can not for the life of me figure out why this is not working.

Code:
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *80.0 GB    disk0
   1:               Windows_NTFS System Reserved         104.9 MB   disk0s1
   2:               Windows_NTFS Win7New                 79.9 GB    disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *200.0 GB   disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS Snow Leopard            177.0 GB   disk1s2
   3:                  Apple_HFS Backup                  22.7 GB    disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk2
   1:               Windows_NTFS BARRY_BU                500.1 GB   disk2s5
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk3
   1:               Windows_NTFS System Reserved         104.9 MB   disk3s1
   2:               Windows_NTFS Win7                    62.8 GB    disk3s2
   3:               Windows_NTFS Drive_D                 357.2 GB   disk3s5
   4:               Windows_NTFS BARRY_Misc              80.0 GB    disk3s6

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Kernel</key>
	<string>mach_kernel</string>
	<key>Kernel Flags</key>
	<string>npci=0x2000</string>
	<key>Hide Partition</key>
	<string>hd(0,2) hd(2,5) hd(3,1) hd(3,2) hd(3,5) hd(3,6)</string>
	<key>GraphicsEnabler</key>
	<string>Yes</string>
	<key>Instant Menu</key>
	<string>Yes</string>
	<key>Timeout</key>
	<string>20</string>
	<key>Legacy Logo</key>
	<string>Yes</string>
	<key>EthernetBuiltIn</key>
	<string>Yes</string>
	<key>AtiConfig</key>
	<string>Bulrushes</string>
	<key>GraphicsEnabler</key>
	<string>No</string></dict>
</plist>
 
Personally, I've never used disk identifiers for Hide Partition and Rename Partition. Identifiers are hard to remember and don't seem to work sometimes (seemingly for no reason). I've always found that using disk names works way better.
 
TheSmartGuy said:
Personally, I've never used disk identifiers for Hide Partition and Rename Partition. Identifiers are hard to remember and don't seem to work sometimes (seemingly for no reason). I've always found that using disk names works way better.

I tried Disk Names before this approach and even unique ones like the Win7New did not hide properly.

Well this time I used the partition list names and it worked!
 
What about if you want to show ALL partitions and still have a default boot partition?

I have my machine with W7 on one SSD and OSX on another. I set it to boot from the OSX one so it loads Chimera. I set W7 as the default to boot but I would like it to show all OS rather than JUST the one that is set to default.

Can that be done? Someone know how and care to share?

Thanks
 
I tried Disk Names before this approach and even unique ones like the Win7New did not hide properly.

Well this time I used the partition list names and it worked!

When using names, use then names Chimera is displaying at the menu.
And use Quotes eg. <string>"Win-Disk" ; "Raid Volume 1" ; "Raid Volume 2"</string>
 
Status
Not open for further replies.
Back
Top