Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNU parted to shrink OS X partition help?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Mon Mar 29, 2004 2:22 pm    Post subject: GNU parted to shrink OS X partition help? Reply with quote

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
View user's profile Send private message
clar77
Apprentice
Apprentice


Joined: 02 Feb 2004
Posts: 210
Location: Charm City, MD

PostPosted: Mon Mar 29, 2004 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Tue Mar 30, 2004 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Tue Mar 30, 2004 11:05 am    Post subject: Reply with quote

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
View user's profile Send private message
kaluta
n00b
n00b


Joined: 05 Sep 2002
Posts: 20
Location: Hong Kong

PostPosted: Tue Mar 30, 2004 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Tue Mar 30, 2004 1:21 pm    Post subject: Reply with quote

Thanks to all who replied. It's much more clear!
Back to top
View user's profile Send private message
mugget
n00b
n00b


Joined: 05 Mar 2004
Posts: 54
Location: BrisVegas, Australia

PostPosted: Fri Apr 02, 2004 11:30 am    Post subject: Reply with quote

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. :P :D

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 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum