Author Topic: Cannot hide partitions on same disk as Snow Leopard  (Read 9689 times)

0 Members and 1 Guest are viewing this topic.

atraller47

  • Entrant
  • Posts: 4
Cannot hide partitions on same disk as Snow Leopard
« on: April 01, 2010, 01:32:31 AM »
I didn't see this covered anywhere.  Maybe this is a bug or I am missing something.  I have 3 partitions on my drive.
rdisk1s1= NTFS Program Files (not active)
rdisk1s2= Snow Leopard
rdisk1s3= NTFS Backup

I have hidden 1 and 3 as well as 4 other partitions from other drives.  All are hidden except 1 and 3 from the same disk as Snow.  my plist looks like:

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

Is this a known issue or am I doing something wrong?  My diskutil shows:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *64.0 GB    disk0
   1:               Windows_NTFS System Reserved         104.9 MB   disk0s1
   2:               Windows_NTFS Windows7                63.9 GB    disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *640.1 GB   disk1
   1:               Windows_NTFS Program Files           254.7 GB   disk1s1
   2:                  Apple_HFS SnowLeopard             132.5 GB   disk1s2
   3:               Windows_NTFS Backup                  253.0 GB   disk1s5
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *750.2 GB   disk2
   1:               Windows_NTFS Media                   750.2 GB   disk2s1
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk3
   1:                  Apple_HFS Time Machine            149.9 GB   disk3s1


Thanks for any help. 


p.s. I noticed my external drive has changed but that is not too important as it doesn't currently show.  I am sure it will when I format the rest of the disk for a NTFS Backup.
« Last Edit: April 01, 2010, 01:35:03 AM by atraller47 »

Macslap

  • Entrant
  • Posts: 6
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #1 on: April 08, 2010, 04:59:37 AM »
Yup..confirmed here. I have the same issue. I cannot hide my Fat32 partition no matter what.

I am definitely using the most up to date version of chameleon

zef

  • Administrator
  • Posts: 265
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #2 on: April 08, 2010, 05:32:24 PM »
Guys,

switch to text mode with the TAB key, then you can get a picture about the BIOS drive order used by Chameleon. The disk order is usually different compared to the Mac OS drive order.
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

diebuche

  • VoodooLabs
  • Posts: 30
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #3 on: April 09, 2010, 02:17:03 AM »
i think the hd(x y) have to be separated by semicola, or was it a comma?

zef

  • Administrator
  • Posts: 265
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #4 on: April 09, 2010, 04:29:00 PM »
i think the hd(x y) have to be separated by semicola, or was it a comma?

Yep, comma is our friend: hd(x,y)

http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/doc/BootHelp.txt#L51
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #5 on: April 09, 2010, 05:57:50 PM »
And several entries, don't they need to be separated by semicolon? like:
Code: [Select]
<key>Hide Partition</key>
<string>hd(0,2); hd(1,1); hd(1,3); hd(2,1); hd(2,3); hd(5,1)</string>

or is that just for Rename Partition?
« Last Edit: April 09, 2010, 06:00:19 PM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

zef

  • Administrator
  • Posts: 265
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #6 on: April 09, 2010, 06:24:26 PM »
And several entries, don't they need to be separated by semicolon? like:
Code: [Select]
<key>Hide Partition</key>
<string>hd(0,2); hd(1,1); hd(1,3); hd(2,1); hd(2,3); hd(5,1)</string>

or is that just for Rename Partition?

For "Hide Partition" you don't even need any separator, so "hd(x,y)hd(m,n)" should be fine, but make it less
readable.

The implementation is very simple:

http://forge.voodooprojects.org/p/chameleon/source/tree/r128/trunk/i386/libsaio/disk.c#L1592
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #7 on: April 09, 2010, 08:44:09 PM »
aah.. Ok, clear now. Thanks for the pointer zef.
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

atraller47

  • Entrant
  • Posts: 4
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #8 on: April 11, 2010, 05:54:58 AM »
So are we saying this is confirmed or not?

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #9 on: April 11, 2010, 10:39:45 AM »
Yep, just like zef posted. The one that needs semicolon separating volumes is Rename Partition, like:
Code: [Select]
<key>Rename Partition</key>
<string>hd(0,6) OS X Install; hd(0,7) Test</string>
And the disk order to use is the one Chameleon shows at the prompt. For instance, to hide the first partition on my first BIOS HD (disk0) i have to use Hide Partition=hd(1,1), because that's what Chameleon sees. This is with the booter installed to a local HD.. if on a external HD the order is the same as the BIOS one.
« Last Edit: April 11, 2010, 10:41:55 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

atraller47

  • Entrant
  • Posts: 4
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #10 on: April 12, 2010, 05:09:08 PM »
Ah,

I was thinking he was just talking about the bios boot order versus what Chameleon is seeing.  I assumed that diskutil -list would show me exactly what Chameleon is doing and so that is what I am going off of.  I will look in the boot menu when I get home.  Thnx.

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #11 on: April 12, 2010, 11:57:26 PM »
Diskutil -list, shows what the System is seeing, it can be different from what Chameleon shows at boot prompt.
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

atraller47

  • Entrant
  • Posts: 4
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #12 on: April 22, 2010, 04:41:02 AM »
Thanks for the help...Actually I reformatted everything anyway...I installed SL on my SSD and have Server 2008 R2 on another disk.  Got to love the parrallels boot camp functionality!

D-an-W

  • Entrant
  • Posts: 6
Re: Cannot hide partitions on same disk as Snow Leopard
« Reply #13 on: April 26, 2010, 01:29:25 AM »
Can anyone confirm "Rename Partition" actually works in RC4 please?

Code: [Select]
<key>Rename Partition</key>
<string>hd(0,5) Ubuntu</string>

The above doesn't work for me...

EDIT: Nevermind, I found out it is a new RC5 feature  ;)
« Last Edit: April 26, 2010, 02:29:30 AM by D-an-W »