A Hamster
Oct 30 2007, 08:47 PM
I've installed the flat image of Leopard, and it works. But now there's only a 15gb partition and my HD has a total of 40gb. How can i enlarge the partition from 15 to a full 40 gb? Thanks.
Edit: To change the partition size: http://forum.insanelymac.com/index.php?s=&...st&p=497648 (thanks to zuza)
Ropiku
Oct 31 2007, 12:36 PM
I'm interested in this too, I have only 15 out of 30GB. Also I cannot create a new partition because I already have 3 primary partitions.
morpheus_04
Oct 31 2007, 12:39 PM
I figured considering I'm booting from an external HDD that I can use Windows to partition the rest of the space as FAT32 which Leopard will be able to see. Dunno about combining them once that is done... worth a shot though.
A Hamster
Nov 1 2007, 12:53 AM
i only know of PAID softwares to change the Apple filesystem. Anyone?
jeopard2
Nov 1 2007, 03:25 AM
I've been trying to do this to.
The flat image install method works REALLY well except for the partition issue. I've looked at DD.exe's syntax to see if I could fill the remaining area of the disk but I haven't had any luck,
http://www.chrysocome.net/dd.
If I could boot into Disk Utility off my install BrazilMac install DVD I think I good fix it, but it won't load.
Anyone who wants to collaborate on fixing this, message me if you're interested.
zikade
Nov 1 2007, 03:36 AM
Actually this is fairly easy, but requires a working 10.4. or 10.5 installation on another Harddisk. If you have another one, install the flat image on this as well. Now use Disk Utility to create an image of the volume you had created with the lfat image. If the image is created succesfully, repartition the hard disk and use Disk Utility again to resore the image back to it.
You just have to recreate the bootloader afterwards, if you need a hint look here:
http://forum.osx86scene.com/viewtopic.php?f=16&t=1789
Jynx
Nov 1 2007, 12:11 PM
Is there absolutely no other way to do it? Isn't there a Mac Drive software to use in Windows to do it? Similar to partition magic?
delish
Nov 1 2007, 09:08 PM
Turn off journaling, then boot a linux live-cd, do the deed, then re enable journaling.
This was reported to work iirc.
Envying
Nov 1 2007, 09:33 PM
Man, I am really curious to see if you want to risk it. It is a new feature Apple added it to Leopard.Check this out
http://www.apple.com/macosx/features/300.htmlQUOTE
Live Partition Resizing in Disk Utility You may be able to gain disk space without losing data. If a volume is running out of space, simply delete the volume that comes after it on the disk and move the volume’s end point into the freed space.
Keep us posted if you try it!
QUOTE(delish @ Nov 1 2007, 03:08 PM)

Turn off journaling, then boot a linux live-cd, do the deed, then re enable journaling.This was reported to work iirc.
nice shoes and legs in your avatar!
A Hamster
Nov 1 2007, 10:36 PM
interesting, after that, i looked it up on google:
http://www.friday.com/bbum/2006/04/10/live...zing-boot-camp/QUOTE
This is via the resizeVolume subcommand:
CODE
[albbum:~] bbum% diskutil resizeVolume
Disk Utility Tool
Usage: diskutil resizeVolume [Mount Point|Disk Identifier|Device Node] size
<part1format part1Name part1Size> <part2format part2Name part2Size> ...
Non-destructively resize a disk. You may increase or decrease its size.
When decreasing size, you may optionally supply a list of new partitions to create.
Ownership of the affected disk is required.
Valid partition sizes are in the format of <number><size>.
Valid sizes are B(ytes), K(ilobytes), M(egabytes), G(igabytes), T(erabytes)
Example: 10G (10 gigabytes), 4.23T (4.23 terabytes), 5M (5 megabytes)
resizeVolume is only supported on GPT media with a Journaled HFS+ filesystem.
A size of "limits" will print the range of valid values for the current filesystem.
Example: diskutil resizeVolume disk1s3 10G
JHFS+ HDX1 5G MS-DOS HDX2 5G
Valid filesystems: "Case-sensitive HFS+" "Journaled HFS+"
"Case-sensitive Journaled HFS+" "HFS+"
"HFS" "MS-DOS FAT32" "MS-DOS FAT16" "MS-DOS"
"MS-DOS FAT12" "UFS" "Linux" "Swap"
</size></number></part2format></part1format>
I wonder if it work on a live partition... if not, i'll just go on my not-yet-deleted tiger partition to do it... But i don't wanna risk it, anyone wanna give it a shot?!
Scrizz
Nov 2 2007, 12:49 PM
AS delish stated b4: that's the only free way I know of doing it( and I have)
In the "Terminal" window, enter "diskutil enableJournal volumeName" (without the quotation marks and with the volume's name in place of "Name") to turn journaling on. Enter "disableJournal" for the second term, with all other items the same, to turn journaling off.
the boot off a linux live cd (ie Ubuntu, etc) and use gparted or similar program to resize partition.
A Hamster
Nov 2 2007, 08:58 PM
anyone wanna give a specific tutorial? cause i dunno how to use linux commands.
i_am...me
Nov 4 2007, 12:26 AM
if we can remove the stupid "Update your boot rom" message when trying to use Bootcamp we can do it since it will make a windows partition and if you dont like it you can extend you partition back.
See page 8
BootCamp PDF
mjaleo
Nov 4 2007, 12:51 AM
I've been reading lots about how to try and do this.
I don't have the "partition" tab when I select the boot partition in Disk Utility...

When I try and turn off Journaling to use the LiveCD and change the size:
QUOTE
my-name-acpi:~ mjaleo$ diskutil enableJournal Leopard
2007-11-03 13:46:10.747 diskutil[240:10b] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
2007-11-03 13:46:10.945 DiskManagementTool[241:10b] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Unable to find disk for Leopard
Any ideas? Pretty unreasonable to use since if you install more than 8gb of programs, you have totally filled up the disk.
Also, see those red lines on the screen? Those only happen in OSX with my machine. In vista, they don't show. They only happen sometimes. Any ideas with those?
enb14
Nov 4 2007, 04:07 AM
QUOTE(mjaleo @ Nov 3 2007, 06:51 PM)

I've been reading lots about how to try and do this.
I don't have the "partition" tab when I select the boot partition in Disk Utility...

When I try and turn off Journaling to use the LiveCD and change the size:
Any ideas? Pretty unreasonable to use since if you install more than 8gb of programs, you have totally filled up the disk.
Also, see those red lines on the screen? Those only happen in OSX with my machine. In vista, they don't show. They only happen sometimes. Any ideas with those?
In order to see partition you have to click on your hard drive not on your partition.
mjaleo
Nov 4 2007, 04:26 AM

I can't edit the sizes when I do that. The second partition fills the rest of the HD, but even before I created it (In vista, because I couldn't from Leopard) I couldn't increase the size.
mjaleo
Nov 4 2007, 06:25 AM
What about if I boot into Vista and use something like Parition Magic, will that work in resizing the partition?
mjaleo
Nov 5 2007, 03:22 AM
That's what I did, but when you install programs or anything like that, it fills the original install partition and not the new one. So if you install more than 5-8GB of applications, you'll be filling your entire drive and it will run slowly and you can't install anything else.
I want to know how to make the entire partition where the install is, larger.
alepro2
Nov 5 2007, 11:28 AM
QUOTE(Falu @ Nov 5 2007, 12:39 PM)

I have found a way!!
In Windows XP or Vista go to Administrative Tools (in Control Panel) then choose Computer Management->Storage Management->Disk Management
Select the disk where you have Leopard and there select the blank volume. Right click on the empty volume and Select New Simple Volume. Follow the Wizard through but DO NOT FORMAT THE VOLUME. Then click Finish, you might see nothing. Once that's done, restart and go to Leopard.
Once in Leopard open Disk Utility
You will see the new created volume on the same disk Leopard is.
Select the new volume and choose the tab Erase-> Choose the format you want and voila...you have extended your drive with a new partition.
That method just killed my MBR - Leopard won't boot anymore. Need to restore the Darwin bootloader somehow...
olivier-h
Nov 6 2007, 07:34 AM
For me the way over windows just worked fine.
I managed to resize partitions, but not the one the OS is installed on with diskutil ( the graphic one too), for that you need a fresh HD ( or a 2G Flashcard for my try), erase all partitions , make 2 new ones (HFS+) and choose GUD in options.Afterthat you can resize the partitions.
alepro2
Nov 6 2007, 11:18 AM
QUOTE(olivier-h @ Nov 6 2007, 06:34 PM)

For me the way over windows just worked fine.
I managed to resize partitions, but not the one the OS is installed on with diskutil ( the graphic one too), for that you need a fresh HD ( or a 2G Flashcard for my try), erase all partitions , make 2 new ones (HFS+) and choose GUD in options.Afterthat you can resize the partitions.
Sorry, I don't quite understand how you did this. Could you elaborate a little more?
Cheers, much appreciated!
mjaleo
Nov 6 2007, 01:08 PM
Me either... I did it the same way that olliver-h said, but I could never resize the 15GB partition.
dhomi
Nov 6 2007, 07:15 PM
Ok, haven't tried the clone image yet. But sure, there must be an easier way. It would so great, this flat image is the easiest way to install osx I've ever seen. A 15Gb partition is very little nowadays, especially when the remaining space is not allocated...
zuza
Nov 6 2007, 08:54 PM
My first partition was 15 GB, I've created a second one 45 GB from Vista and then went into Leopard, erase the second partition and then:
sudo diskutil mergePartitions "Journaled HFS+" New disk1s1 disk1s2
Merged successfully, 60 GB!
raulb
Nov 6 2007, 09:56 PM
Hey Zuza, that sounds interesting. A lot of people are stuck with 15gb partitions and trying to figure out how to expand the partition. Can you give more details on how to do this.
zuza
Nov 6 2007, 10:13 PM
Ok, I've started with a 15 GB partition (on a 400GB disk). In Vista I've created a second partition but did not format it. From Leopard I've erased the newly created partition and then used:
diskutil list
that listed back 2 partitions with the identifiers: disk1s1 and disk1s2 (in other cases might be disk0...)
Now,
sudo diskutil mergePartitions "Journaled HFS+" New disk1s1 disk1s2
did the trick (New is the name, it will actually be ignored).
The first partition will be kept intact and the second one will be "merged" therefore you will loose all contents (I made sure it was empty before running the merge just in case).
raulb
Nov 6 2007, 10:58 PM
ok am trying this, lets hope for the best. Since this works for you I am sure it will be a big help for a lot of folks. Just hope it works for me. Cheers.
Edit: Zuza, you are a genuis, It worked! And to think it was so simple all along.
You must make a new thread with this both here and at OSX86scene.com where hundreds of people are still struggling with this and devising lots of complicated schemes to enlarge their leopard partitions. They will be thrilled.
Please do and a huge thank you from me.
zuza
Nov 6 2007, 11:06 PM
raulb, glad to hear that it worked. I've started a new thread on this.
raulb
Nov 6 2007, 11:12 PM
Great. Not only did it work but it was so simple, fast and effortless. As opposed to cloning disks, working from 2 osx installs, restoring, using arcane and time consuming tools and god knows what else has been tried to enlarge the 15gb partition. Cheers.
alepro2
Nov 7 2007, 03:42 AM
QUOTE(zuza @ Nov 7 2007, 09:13 AM)

Ok, I've started with a 15 GB partition (on a 400GB disk). In Vista I've created a second partition but did not format it. From Leopard I've erased the newly created partition and then used:
diskutil list
that listed back 2 partitions with the identifiers: disk1s1 and disk1s2 (in other cases might be disk0...)
Now,
sudo diskutil mergePartitions "Journaled HFS+" New disk1s1 disk1s2
did the trick (New is the name, it will actually be ignored).
The first partition will be kept intact and the second one will be "merged" therefore you will loose all contents (I made sure it was empty before running the merge just in case).
This works effortlessly! Thanks a billion!!!
mjaleo
Nov 7 2007, 04:43 AM
Zuza is the MAN!!!!!
Haha, now this is really useful!
mrfatcatt
Nov 7 2007, 06:32 AM
this method works and my drive changes to the full size but when i reboot it kills the drive and i cant get into the os anymore.
Digital Dark Age
Nov 7 2007, 06:47 AM
mrfatcat: The exact same thing happened to me. It ended up that my drive wasn't active. I used Acronis in Windows XP to set the drive to active and it booted right back up. I'm not sure why I got a disk out of space message the first time. Perhpaps it just required a reboot. At any rate, Zuza kicks ass!
mrfatcatt
Nov 7 2007, 07:12 AM
can i use the dsk management to make the drive active in vista?
prototype_sx
Nov 7 2007, 07:43 AM
I DID IT!!!!!
Go to
http://www.jasonmadigan.com/2007/11/04/bui...d-installation/ and follow his instructions and you will be successful!!
I downloaded the zip file and followed the instructions from "5. Making it bootable"
Things you will need:
1. A partition thats writable from osx besides the one you install to (it HAS to be on a seperate disk)
2. A install DVD
3 Patience lol
Things I did:
1. Install from flat image, logged into it and made sure it was up and running well

2. booted with the install DVD and went to disk utility
3. made an image of the partition that was created in 1 and saved it to another disk (disk must be hfs or fat32)
4. Partitioned and resized the drive I want leopard to be on in the end., this is the same drive you had created the flat image on. Make SURE its formatted MBR when partitioning (My drive is a 320gb sata, I made osx 40gb and the rest another partition, you can make it whatever size you like)
5. Restore the image you created in 3 to the new larger partition you created for leopard in 4 (click the restore tab to the far right then right click the partition you created for leopard and select "destination" (i THINK thats what it said) and right click the image file you created and select SOURCE (the image file created in 3 will appear on the left after its created)
After this its just following the instructions on the website posted above.
One thing to note, remember to extract the files to ur thumb drive lol,
Also the section on the site where it says "Use cd to move into the makebootable folder in our USB drive, e.g. “cd /Volume/MyUSBDrive/makebootable” I had to put cd.. (then press enter) 4 times before it allowed me to change directory. I also did it step by step as in:
cd .. (enter)
cd .. (enter)
cd .. (enter)
cd .. (enter)
cd Volumes (enter)
cd "MyUSBDrive" (enter) (you put whatever you name for YOUR thumb drive or usb drive)
cd makebootable (enter)
I'm bad at explaining stuff but I hope its clear enough so you can understand, i'm just so glad i found a way to make it work.
NO credit goes to me of course as I only followed instructions

Thanks to all that made it possible for us noobs
Proof!
alepro2
Nov 7 2007, 09:54 AM
QUOTE(prototype_sx @ Nov 7 2007, 06:43 PM)

I DID IT!!!!!
Go to
http://www.jasonmadigan.com/2007/11/04/bui...d-installation/ and follow his instructions and you will be successful!!
I downloaded the zip file and followed the instructions from "5. Making it bootable"
Things you will need:
1. A partition thats writable from osx besides the one you install to (it HAS to be on a seperate disk)
2. A install DVD
3 Patience lol
Things I did:
1. Install from flat image, logged into it and made sure it was up and running well
2. booted with the install DVD and went to disk utility
3. made an image of the partition that was created in 1 and saved it to another disk (disk must be hfs or fat32)
4. Partitioned and resized the drive I want leopard to be on in the end., this is the same drive you had created the flat image on. Make SURE its formatted MBR when partitioning (My drive is a 320gb sata, I made osx 40gb and the rest another partition, you can make it whatever size you like)
5. Restore the image you created in 3 to the new larger partition you created for leopard in 4 (click the restore tab to the far right then right click the partition you created for leopard and select "destination" (i THINK thats what it said) and right click the image file you created and select SOURCE (the image file created in 3 will appear on the left after its created)
After this its just following the instructions on the website posted above.
One thing to note, remember to extract the files to ur thumb drive lol,
Also the section on the site where it says "Use cd to move into the makebootable folder in our USB drive, e.g. “cd /Volume/MyUSBDrive/makebootable” I had to put cd.. (then press enter) 4 times before it allowed me to change directory. I also did it step by step as in:
cd .. (enter)
cd .. (enter)
cd .. (enter)
cd .. (enter)
cd Volumes (enter)
cd "MyUSBDrive" (enter) (you put whatever you name for YOUR thumb drive or usb drive)
cd makebootable (enter)
I'm bad at explaining stuff but I hope its clear enough so you can understand, i'm just so glad i found a way to make it work.
NO credit goes to me of course as I only followed instructions
Thanks to all that made it possible for us noobs
Proof!
Wow, this looks a fair bit more complicated then the solution confirmed above. Thanks for the tutorial though. Might come in handy some time.
mjaleo
Nov 7 2007, 06:12 PM
QUOTE(Digital Dark Age @ Nov 7 2007, 01:47 AM)

mrfatcat: The exact same thing happened to me. It ended up that my drive wasn't active. I used Acronis in Windows XP to set the drive to active and it booted right back up. I'm not sure why I got a disk out of space message the first time. Perhpaps it just required a reboot. At any rate, Zuza kicks ass!
Thanks. Was coming back (from work) to post "oh no what happened

" but it seems you have cleared it up.
I'll boot into vista and try this. Thanks for the help!
mrfatcatt
Nov 7 2007, 07:16 PM
Digital Dark Age was right...if it doesnt boot after you merge it, reboot back into vista and install acronis and set the big new mac partion drive to "active". That fixed it for me....for me..i have a 250 hfs drive partion and then i also added a 250 ntfs drive=500
he also suggested to do this....... "run fsck -y in single user mode as there might be some disk errors. "
my question is still, do i need acronis? I am surprised the vista dsk mangement wouldnt do it. anyways
thanks
dhomi
Nov 8 2007, 09:46 AM
QUOTE(mrfatcatt @ Nov 7 2007, 09:16 PM)

Digital Dark Age was right...if it doesnt boot after you merge it, reboot back into vista and install acronis and set the big new mac partion drive to "active". That fixed it for me....for me..i have a 250 hfs drive partion and then i also added a 250 ntfs drive=500
he also suggested to do this....... "run fsck -y in single user mode as there might be some disk errors. "
my question is still, do i need acronis? I am surprised the vista dsk mangement wouldnt do it. anyways
thanks
Yes, you do. I tried it with Vista disk management, I got an error at the boot something like it doesn't recognise my HFS+ partition. Acronis did the work alright. I'm still struggling to merge those partitions.
This what I have in Terminal :
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *69.2 Gi disk1
1: Apple_HFS Leopard 15.0 Gi disk1s1
2: Apple_HFS disk0s2 54.2 Gi disk1s2
This is what I think I should type in :
sudo diskutil mergePartitions "Journaled HFS+" New disk1s1 disk1s2
Gonna try that once more and see, last time I did, nothing happened except the second partition was set to active...
kfernandes29
Nov 9 2007, 04:01 PM
To make it active again after using this method (which words perfectly and quickly btw) just boot up windows and start up diskpart.exe
list disk (I had Leopard on Disk 1 - Partition 1 so I will use that for this walkthrough)
select disk 1
list partition
select partition 1
active
Then exit and restart....boot from Leopard and you're set, no need for Acronis or other Partition programs.
PowerSupply
Nov 9 2007, 05:32 PM
QUOTE(mrfatcatt @ Nov 7 2007, 08:16 PM)

Digital Dark Age was right...if it doesnt boot after you merge it, reboot back into vista and install acronis and set the big new mac partion drive to "active". That fixed it for me....for me..i have a 250 hfs drive partion and then i also added a 250 ntfs drive=500
he also suggested to do this....... "run fsck -y in single user mode as there might be some disk errors. "
my question is still, do i need acronis? I am surprised the vista dsk mangement wouldnt do it. anyways
thanks
Just use diskpart.exe in Vista to set the partition to active. Done.
kfernandes29
Nov 9 2007, 09:38 PM
I just mentioned this in the post before yours lol
jamespo
Nov 11 2007, 11:00 AM
Having some trouble with the merge... any help anyone can give would be greatly appreciated
machine:~ root# diskutil mergePartitions "Journaled HFS+" New disk1s3 disk1s42007-11-11 10:57:05.485 diskutil[183:10b] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
2007-11-11 10:57:05.673 DiskManagementTool[184:10b] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Merging partitions into a new partition
Start partition: disk1s3 Leopard
Finish partition: disk1s4 disk1s4
Merging partitions encountered error Could not read partition map (-9988) on disk disk1s3 Leopard. The erase will not occur.
dhomi
Nov 13 2007, 08:59 AM
Same problem here. the sudo command never worked for me. The only way would be to merge the partition from another install of OSX, I might do that since I need more than 15Gb (especially if you install Xcode3).
Is there an easy way to merge HFS+ partition without any loss of data from a linux live or Windows ?
I think a method using linux live CD was mentionned on the forum, has anyone tried that yet ?
olympionex
Nov 14 2007, 06:55 PM
Using Gparted does NOT work, it can only downsize partitions.
Zuza's method of using diskutil mergePartitions works and its easy. Just some information that might be helpful:
You need to create an unformatted partition in the freespace area of the disk that was not used by the flat image install. You should be able to do this with
Your system disk must be journaled. It should be by default unless you turned it off to try something else.
Then follow Zuza's method of using diskutil mergePartitions.
You don't need any other installations or operating systems. This works fine on your live system. It does not mess up your system's ability to boot.
dhomi
Nov 20 2007, 10:12 PM
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *69.2 Gi disk0
1: Apple_HFS Leopard 15.0 Gi disk0s1
2: DOS_FAT_16 54.2 Gi disk0s2
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *465.8 Gi disk1
1: Windows_NTFS 65.8 Gi disk1s1
2: Apple_HFS MEDIA 399.8 Gi disk1s2
dhomi-PC:~ dominique $ sudo diskutil mergePartitions "Journaled HFS+" New disk0s1 disk0s2
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
dhomi-PC:~ dominiquee$
After that nothing happens, am I doing something wrong, have I forgotten something? I don't know. Obviously, rebooting didn't change anything. 15Gb is a bit tight, I need to install Xcode 3 and it does take a lot of space...
If someone has a suggestion. I'll be so happy to "unleash" those 54Gb of my Raptor.
matiseijas
Nov 24 2007, 04:26 PM
I did this but now my Partition Table is messed up

Acronis and Windows see the partition as a 40 GB one.
The Finder in Leopard shows that the parition is 20 GB large, yet Disk Util shows that the partition is 40GB large, that there are 14.6GB used and 5.5 available (which doesn't really make sense)
Plus, when I try to verify the partition with DiskUtil I get the following error:

Could somebody please help??
matiseijas
Nov 24 2007, 05:10 PM
Ok, I just booted the installation DVD and I went to Disk Util and repaired the Leopard partition.
Fortunately, the application was able to repair the unit (the error posted above no longer appears when verifying it). However, the available space shown is still 5.5GB
Any ideas?? Thanks!
gyasih
Nov 25 2007, 03:04 AM
sudo -s in terminal
try diskutil list
try merge... without sudo in front.
worked for me
dhomi
Nov 25 2007, 02:14 PM
QUOTE(gyasih @ Nov 25 2007, 05:04 AM)

sudo -s in terminal
try diskutil list
try merge... without sudo in front.
worked for me
MERCI !!!! I mean THANKS a million !!!
Merge without "sudo" I can't believe it was as stupid as that, before the merge I had 2GB left !
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.