InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 01-26-2010, 03:32 PM
ushpiy ushpiy is offline
Puma
 
Join Date: Dec 2009
Posts: 16
reducing sl (hfs+) partition size

the title is pretty self explanatory can anyone help me reduce the size of my sl partiton so that i can add the space freed to my windows drives ntfs
i dont want to use gparted as then chameleon starts showing partition as a linux one
anyways please help
thanks
Reply With Quote
  #2  
Old 01-27-2010, 06:19 PM
srs5694 srs5694 is offline
Puma
 
Join Date: Jan 2010
Location: Woonsocket, RI
Posts: 29
Is your disk partitioned using the MBR, GPT, or a hybrid scheme? If it's GPT or hybrid, Apple's Disk Utility can resize an HFS partition, although I'm not sure offhand if it can do this for the currently-booted active partition. (You may need to reboot into the installer to do the job.) If Windows boots from the same disk, chances are your system uses either a straight MBR or a hybrid configuration. If it's hybrid, Disk Utility should be able to handle it; but if it's MBR, Disk Utility can't resize it. If the only problem with GNU Parted is an incorrect icon in Chameleon, then chances are that can be corrected. My hunch is that this would be caused by Parted setting an incorrect partition type code. You could use Linux fdisk, OS X fdisk, or various other utilities to change the code back of 0xAF (decimal 175).
Reply With Quote
  #3  
Old 01-28-2010, 02:58 PM
ushpiy ushpiy is offline
Puma
 
Join Date: Dec 2009
Posts: 16
actually its mbr
win 7 leopard and snow leopard are all on the same drive but in different partitions
the problem with gparted is that after using it on osx (leopard) chameleon recognizes that os (leopard) as a linux one and doesnt allow me to boot it
my leopard has stopped working due to this and i dont want it to happen to snow leopard too
but the solution u have suggested could u please elaborate
thanks
Reply With Quote
  #4  
Old 01-29-2010, 01:25 AM
srs5694 srs5694 is offline
Puma
 
Join Date: Jan 2010
Location: Woonsocket, RI
Posts: 29
Try using an fdisk-type tool to change the partition type code. I'm most familiar with Linux fdisk, so I'll describe it in more detail:
  1. If necessary, download a Linux emergency system, such as PartedMagic, boot it, and get to a command prompt.
  2. Type "fdisk /dev/sda" to open fdisk on your disk. (You may need to change the device name to /dev/sdb, /dev/sdc, etc.; or possibly /dev/hda, /dev/hdb, or something in that line.)
  3. Type "p" to view your partition table and verify it's the right one based on the number of partitions, reported disk size, etc.
  4. You'll see the partition type codes in the "Id" column. For Windows, these should probably be "7" (0x07); for OS X, it should be "af"; for Linux, "83"; and so on. (Type "L" to see the codes known to your version of fdisk.)
  5. If a partition has the wrong type code, type "t" to correct it. The program will ask for a partition number and type code. Enter them.
  6. Verify your changes by typing "p" again.
  7. Save your changes by typing "w". The program will write the changes to disk and exit. (If the type codes were OK and you didn't make any changes, then type "q" here instead of "w".)
  8. Reboot.

If I'm right, this procedure should fix your problem. If it doesn't, then something other than the type code is causing Chameleon to misidentify your Leopard partition. The only other idea I've got is that the partition might have been damaged by Parted. If so, then fixing it in OS X's Disk Utility might fix the problem.
Reply With Quote
  #5  
Old 01-29-2010, 05:07 PM
ushpiy ushpiy is offline
Puma
 
Join Date: Dec 2009
Posts: 16
update: it worked! thanks for helping my leopard work again and helping me reduce the size.
Thanks again!
---
thanks a ton mate
i will try out ur solution and report
thanks for taking the time to write out



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


Last edited by ushpiy; 01-30-2010 at 11:32 AM.
Reply With Quote
Reply