![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Apple PPC Users The place to discuss your Ubuntu Macintosh/Apple/PPC questions (including the Ibook, PowerBook). |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Beans: 65
Kubuntu 6.10 Edgy
|
HOWTO: Resize your HFS+ partition for free
Just thought I'd share my success.
You may have been pondering buying tools such as iPartition or VolumeWorks to shrink your OS X partition enabling you to install Ubuntu. There is no need to spend your hard earned $$$ as 'parted' can do this for you for free. Getting started: You must login to OS X and disable Journaling on your hard drive. To do this, launch Disk Utility, select your drive and click File -> Disable Journaling. It should be noted that I had some issues with this: Disk Utility claimed my file system was Journaled but at the same time wouldn't allow me to disable it. The work around is to launch a shell and type: Code:
cd /Volumes/ Code:
ls Run this command: Code:
sudo diskutil enableJournal Macintosh\ HD/ Code:
sudo diskutil disableJournal Macintosh\ HD/ Now reboot your Mac ensuring you have your Breezy install CD in the CD drive. Just after you computer starts to boot up (e.g. before you even see the grey screen with the Apple on it) make sure you hold down the "c" key. This will make your Mac boot from the Breezy CD. Follow all of the Breezy install steps up until the partitioner. Instead of clicking "Continue" hit "Go Back" this should take you to a screen with a small list of options. From here you want to select "Go to a Shell". Once the shell has started type: "parted", from here I can't give you exact instructions as these steps might vary slightly depending on your setup but for me I then typed: Code:
Code:
resize MINOR_NUMBER_HERE START_BLOCK_SIZE_FROM_PRINT_OUTPUT NEW_END_BLOCK_SIZE Code:
resize 3 128.032 37237.821 Quote:
Hit "q" then type "exit" to return to the installer where you should then return to the partition tool hopefully now with some free space you can install your Breezy on. All worked like a charm for me, I'm now dual booting Tiger and Breezy. Hope this helps, sorry if I ramble. cg
__________________
Registered Linux user: 311835 Last edited by closet geek; November 14th, 2005 at 07:37 AM.. |
|
|
|
|
|
|
#2 |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Dec 2004
Location: Manchester
Beans: 1,781
Ubuntu 8.10 Intrepid Ibex
|
Re: HOWTO: Resize your HFS+ partition for free
glad to see you figured this out. I hope you did a back up before you tried it.
you might want to put this in the wiki. thats the best place for storing howtos. and maybe also post it in the howtos section on the forum, and put a pointer to it in your last post (just so that if anyone searches for iPartition they can find this.)
__________________
Ubuntu PowerPC FAQ - Sam Tygier's website - Offline Wikipedia - Naked Computers - Brainstorm: Preload by default |
|
|
|
|
|
#3 | |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Beans: 65
Kubuntu 6.10 Edgy
|
Re: HOWTO: Resize your HFS+ partition for free
Quote:
Andrew
__________________
Registered Linux user: 311835 |
|
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Beans: 63
|
Re: HOWTO: Resize your HFS+ partition for free
Nice photo.
That's around 37 GB, your HFS+ partition? May I ask, how much RAM do you have? The reason for asking: I tried to shrink an HFS partition running from liveCD, and received Out of memory error. |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2004
Beans: 78
|
Re: HOWTO: Resize your HFS+ partition for free
A few notes to make tris more clea.
in Dapper, you choose "Execute a shell" instead of "Go to a Shell". In parted entering "p" is the same as "print". The numbers you enter at the resize command are Partition number, Start and ther End size you want. Mine was: P NUMBER START END AND SO ON... 10 135MB 40GB HFS+ So my resize command was: resize 10 135MB 20GB which reduced my 40GB Mac OSX partition to 20GB. It did think about it for a while, probably due to my 333mhz G3. DS|M |
|
|
|
|
|
#6 |
|
Has an Ubuntu Drip
![]() Join Date: Mar 2005
Location: NY
Beans: 737
Edgy Eft Testing
|
Re: HOWTO: Resize your HFS+ partition for free
Nice work! I have sort of the reverse issue I created three different partitions when I installed ubuntu 5.04 on a G3 500Mhz imac.The three partiton sizes and uses are: partition1 5GB OSX, P2 3GB OS9, P3 20GB Ubuntu At some point I may try 5.10 I know however that my scanner is not supported and I never could get acel for the imac video. No complaints though-and I use linux exclusively on my homebuilt sempron. I wonder if someone can point me to a painless way to resize or even eliminate the ubuntu partition and reclaim the space for hfs+ OSX? Or will I need to invest in ipartition? Thanks in advance.
(And sorry if this is the wrong way to post this. The 5.04 PPC forum seems a little unused-and this thread looked like a good bet) |
|
|
|
|
|
#7 | |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2005
Location: Beaverton, OR
Beans: 29
Kubuntu 7.10 Gutsy Gibbon
|
Re: HOWTO: Resize your HFS+ partition for free
Quote:
This is an awesome how-to... I just have a couple of questions before I dive in... At what point in this process it is safe to cancel and get back to where you started without hosing OSX? When you dual boot, how does it look like when you turn-on your Mac? Does it give you a boot menu? Sorry, this is all new to me. Any insight is much appreciated. Thanks a bunch! |
|
|
|
|
|
|
#8 | |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Location: Germany
Beans: 21
Ubuntu 7.10 Gutsy Gibbon
|
Re: HOWTO: Resize your HFS+ partition for free
Quote:
(Please, never ever full quote again! You should only cite what's important for what you are going to say!) |
|
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Location: Germany
Beans: 21
Ubuntu 7.10 Gutsy Gibbon
|
Re: HOWTO: Resize your HFS+ partition for free
For me, it worked too. Thanks for the howto. You should definitely add it to the wiki.
Anyhow, please mention there that it is a quite dangerous process. It worked for us two but for somebody else, it might just crunch the partition with all the data on it. Happy holidays!
__________________
"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us" - Calvin Last edited by elwood_j_blues; December 23rd, 2005 at 07:37 PM.. |
|
|
|
|
|
#10 | ||
|
5 Cups of Ubuntu
![]() Join Date: Dec 2005
Location: Beaverton, OR
Beans: 29
Kubuntu 7.10 Gutsy Gibbon
|
Re: HOWTO: Resize your HFS+ partition for free
Quote:
Quote:
|
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|