Jump to content

[Solved] How can i resize hfs+ partition?


  • Please log in to reply
10 replies to this topic

#1
waxfuzz

waxfuzz

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
1. Rescue Windows 7
2. Windows 7
3. Mac hfs+

I want to delete the 1 and 2 and get the whole disk for the Hfs+

Can you help me please?


The idea is put the hfs+ at the beginning of the disk

Thanks in advance.

#2
HUSABER

HUSABER

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 869 posts
  • Gender:Male
  • Location:Cyprus
  • Interests:HusabergFC-600 FourStroke,KTM500 TwoStroke,TM300 TwoStroke
    Free Time-My Hackintosh&Ap...
way is easy,but need hdd formated to GUID,and your is MBR..
http://osxdaily.com/...h-disk-utility/

#3
waxfuzz

waxfuzz

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Mine is gpt not MBR , i converted it to Gpt this is the reason i want to delete windows from the disc and the rescue partition

#4
chris1111

chris1111

    InsanelyMac Legend

  • Donators
  • 885 posts
  • Gender:Male
  • Location:Montreal Canada

Mine is gpt not MBR , i converted it to Gpt this is the reason i want to delete windows from the disc and the rescue partition

gpt yes! but you need to guid partition for deliting other partition
and I am thinking your on MBR?

#5
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,422 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco
hello

no , if u have already instaled windows before mac os x

u hd is MBR the partition scheme, not GUID

what u have is a hd with partition scheme MBR and to do this must have it with GUID scheme

good hack

#6
waxfuzz

waxfuzz

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Nop , i coverted the mbr partition to guid with this method so all partitions are now guid.

http://www.chw.net/f...a-de-datos.html


GPT fdisk (gdisk) version 0.8.5

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.

#7
HUSABER

HUSABER

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 869 posts
  • Gender:Male
  • Location:Cyprus
  • Interests:HusabergFC-600 FourStroke,KTM500 TwoStroke,TM300 TwoStroke
    Free Time-My Hackintosh&Ap...
But never resize HDD with this protective MBR :thumbsup_anim:

#8
C.Frio

C.Frio

    InsanelyMac Legend

  • Pandora Team
  • 1,077 posts
  • Gender:Male
  • Location:Cabo frio - Brasil
hi...

mybe "GParted"....

c.frio

#9
waxfuzz

waxfuzz

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
well i deleted 1 2 and now moved hfs partition at beginning of the disk with Gparted system boots ok, and it has the free space at final of the disk.

Now i want to resize hfs+ up to 300 gb it has now 140 gb now, and left 20 gb for write there a dmg image of the system for restore the system in the future with time machine.

Disk structure now:


GPT fdisk (gdisk) version 0.8.5

Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present

Found valid GPT with hybrid MBR; using GPT.


localhost:bdb~$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: Apple_HFS MLion 149.7 GB disk0s5



1- Can i resize now without lost of data?
2- How can i to change identifier disk0s5 to disk0s1?>noob question i think hhehe

#10
C.Frio

C.Frio

    InsanelyMac Legend

  • Pandora Team
  • 1,077 posts
  • Gender:Male
  • Location:Cabo frio - Brasil
Hi...

I think the idea is not loose data..but "bits aren't not only bits"....

coud you try those plays on an old HD...

I'm a

noob at this matter too...



c.frio



#11
waxfuzz

waxfuzz

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Finally done and solved :thumbsup_anim:

Assuming you have MBR scheme

Steps I followed

1. install gdisk http://sourceforge.n...jects/gptfdisk/
2. Open Terminal and type: sudo gdisk /dev/disk0 (diskX , X= disk you want to change)
Then press: gdisk will give you a warning , type r (recovery/transformation, then press f , and confirm with Y.
Then press m to exit to main menu and press w to write the guid partition, and press Y to confirm.

It will give you GPT with protective MBR.

3. Finally i booted my old lion retail disc, and repair disk , then i resized with no problem and i made the restore partition.

diskutil list:



/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: Apple_HFS MLion 300.0 GB disk0s1
2: Apple_HFS System Restore 19.8 GB disk0s2

Attached File  Captura de pantalla 2012-10-07 a la(s) 14.41.59.png   154.38KB   17 downloads
  • iDo likes this





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy