View previous topic :: View next topic |
Author |
Message |
jaspal kallar Apprentice
Joined: 25 Feb 2004 Posts: 194 Location: Sweden
|
Posted: Mon Mar 29, 2004 2:22 pm Post subject: GNU parted to shrink OS X partition help? |
|
|
If I want to shrink my OS X partition to accomodate Gentoo do I need to only use the GNU parted command "resize" or do I have to also then use the command "mkpartfs" ?
Any examples would be very much appreciated!
It's not clear to me from the GNU parted documentation what happens to the disk space that it left after a OS X partition shrink?
My intention is to shrink my G5 160 GB to 80GB and the remainder to be used by Gentoo. |
|
Back to top |
|
|
clar77 Apprentice
Joined: 02 Feb 2004 Posts: 210 Location: Charm City, MD
|
Posted: Mon Mar 29, 2004 11:38 pm Post subject: |
|
|
you'll need to shrink it first and then use the new freespace to create your linux partition with the fs of your choice. I shrank the partition with parted and then used mac-fdisk to create a new partition and fs for linux as per usual. |
|
Back to top |
|
|
jaspal kallar Apprentice
Joined: 25 Feb 2004 Posts: 194 Location: Sweden
|
Posted: Tue Mar 30, 2004 10:26 am Post subject: |
|
|
Quote: |
I shrank the partition with parted
|
Exactly my question really. How did you shrink it with parted? Did you use the resize command followed by another command?
I |
|
Back to top |
|
|
SeJo Retired Dev
Joined: 08 Oct 2002 Posts: 298 Location: Belgium
|
Posted: Tue Mar 30, 2004 11:05 am Post subject: |
|
|
rtfm :p
[code]
# parted
resize <pnumber> start end
quit
#mac-fdisk
c
(answer the q's)
w
q
then mke2fs (-j for ext3)
here you go... _________________ "I am not bound to please thee with my answers." |
|
Back to top |
|
|
kaluta n00b
Joined: 05 Sep 2002 Posts: 20 Location: Hong Kong
|
Posted: Tue Mar 30, 2004 12:13 pm Post subject: |
|
|
Quote: | Code: |
# parted
resize <pnumber> start end
quit
#mac-fdisk
c
(answer the q's)
w
q
|
|
The only thing you'll have to add to this is to reorder the partitions. The OS X partition will be first on the disk, but the bootstrap partition you create wants to be first so use the reorder option in mac-fdisk to move it to the front and you're done. Worked for me!
See this thread for more on this: https://forums.gentoo.org/viewtopic.php?t=145049&highlight= _________________ move along, move along... nothing to see here |
|
Back to top |
|
|
jaspal kallar Apprentice
Joined: 25 Feb 2004 Posts: 194 Location: Sweden
|
Posted: Tue Mar 30, 2004 1:21 pm Post subject: |
|
|
Thanks to all who replied. It's much more clear! |
|
Back to top |
|
|
mugget n00b
Joined: 05 Mar 2004 Posts: 54 Location: BrisVegas, Australia
|
Posted: Fri Apr 02, 2004 11:30 am Post subject: |
|
|
i've been thinking about resizing my OS X boot Volume and from what i've read i think Parted is my best option.
i've got my OS X boot volume, my Gentoo partitons and a couple of other HFS+ partitions. i just wanted to ask: will Parted let me resize the OS X boot volume (make it bigger) and then let me join my two other HFS+ partitons together?
i thought this would be the best place to ask. i'd try it out myself, but i'm a n00b, so perhaps there is someone here who could save me alot of deep breaths.
also, is it possible to take space from a HFS+ partiton and join it to a Ext3 partiton?
thanks.
edit>> i've just been reading the user manual, it mentions 'growing' a partiton, so i guess that means i can do what i want? well i just want you guys to double check on the for me.
hehe. perhaps i should have made this a new thread? :p _________________ G'Day mate |
|
Back to top |
|
|
|