Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
question, kind of look before you leap :D
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
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Mon Jan 12, 2004 7:15 am    Post subject: question, kind of look before you leap :D Reply with quote

Hi all,

finally got him...
Powerbook G4 1GHz, 1gig ram 60 Hdd 15". all the works on it (airport extreme).

now what i noticed was that the setup i got (from the shop) had partitioned the disk as one partition. and i'd rather try to set gentoo on it, but also keep using macosx (kind addictive that itunes :D)...

is there a way to split the main partition i half and still keep the stuff on the first half?

thnx for the info...
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
DiskBreaker
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 224

PostPosted: Mon Jan 12, 2004 11:34 am    Post subject: Reply with quote

You can use GNU parted with the new HFS+ resize patch. Just download the patched tarball from the link for the patch, since I don't think this patch has already been included in the ebuild (ebuild has hfs resizing though).
Then boot from a CD (not sure, but current gentoo live cds might already include that patch) and get the patched version of parted.
Once in parted "resize" is the command you are looking for.
Code:
$ parted
[...]
resize PartitionNumber StartMB EndMB

e.g.
Code:
resize 10 100 2000

resizes partition No. 10 to start at 100 MB from beginning to disk and end at 2 GB.

Oh, and I can't guarantee that you won't screw up your MP3 collection... Always backup :!: - you know the drill. Which, on a sidenote, makes this whole partition resizing thing kind of unnecessary IMHO. Since you are backing up your files anyway, why not get nice and shiny newly formatted partitions? :wink:

Have fun,
Disk
Back to top
View user's profile Send private message
rickb
n00b
n00b


Joined: 04 Dec 2002
Posts: 31
Location: The Hague, Netherlands

PostPosted: Mon Jan 12, 2004 11:51 am    Post subject: Reply with quote

Did this twice now, with parted from the livecd. Dunno if that's patched, but i figured, what the heck, I can always re-install OSX...

Worked out fine both times (iBook G3 and AlBook 1.25Ghz). Would reserve a bit more than 2GB for OSX though.... with a few apps installed, i'm already on 10GB. Dunno how big an MP3 collection you've already fed to iTunes....
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Mon Jan 12, 2004 12:41 pm    Post subject: Reply with quote

currently i'm working through my cd collection so i only have 2 gig already in mp3,
i was thinking of setting 30 gig for macosx and 25 for gentoo...

that should do the trick shouldn't it?

thx, i'll download the livecd tonite... :D

party time :-]


greets
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
DiskBreaker
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 224

PostPosted: Mon Jan 12, 2004 1:28 pm    Post subject: Reply with quote

Yeah, apparently it's already in the Gentoo Live CD's, read the Gentoo PPC FAQ:
http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#doc_chap2_sect2
Quote:

Can I dual-boot Gentoo Linux and Mac OS X?
[...]
Alternatively use parted from the recent LiveCD, that can handle HFS and HFS+ partitions. Furthermore it is able to shrink a partition so you don't need to delete you whole disk.
Back to top
View user's profile Send private message
ct_dev
n00b
n00b


Joined: 12 Jan 2004
Posts: 6

PostPosted: Mon Jan 12, 2004 8:12 pm    Post subject: Parted, don't see it working on hfs+ Reply with quote

I downloaded the suggested livecd, got it running on my ibook and i ran parted (after reading the gentoo and gnu documents) told it to resize the large hfs+ partition on my ibook so that i could make space for linux and I let it run for, and i'm serious now, 5 days and parted only got 70% through with the process. I then let the power drain out of my ibook and when i rebooted my ibook to look at the horror parted would have rendered my machine, i noticed that it did absolutely nothing to my hard disk. Can anyone explain what I could have done wrong? Or why it did nothing to my hfs+ partition?

:?
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 Jan 13, 2004 9:45 am    Post subject: Reply with quote

I just did the same yesterday..

I parted the disk (60 gig to 30 gig) then made from the rest an ext2 partition and it works great...
downloaded yesterday the 1.4 iso @ ftp.snt.utwente.nl/pub/os/linux/gentoo ....


dunno something wrong with the disk?
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
ct_dev
n00b
n00b


Joined: 12 Jan 2004
Posts: 6

PostPosted: Tue Jan 13, 2004 5:12 pm    Post subject: nutz! Reply with quote

I'm not sure, my harddisk seems to work just great ;) I guess I'll try fetching the ISO from the same place you did and I'll tell you how it works out.

Could there be a problem in my having 10.2.8? b/c I just figured there'd be open firmware issues.
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