Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some advice before I turn on Powerbook for first time
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
Burgin
n00b
n00b


Joined: 19 Apr 2004
Posts: 57

PostPosted: Fri Oct 28, 2005 11:42 pm    Post subject: Some advice before I turn on Powerbook for first time Reply with quote

CompUSA held one of their impromptu one day sales, so I got a brand new powerbook G5. I don't want to do the first time start up the MAC OS X until I work out the best way to dual boot Gentoo and Darwin/OSX.

The main criteria is that I need my personal data to be fully (read and write) accessible by the regular user accounts under both operating systems. So what would be the best way to partition?

1) A dedicated partition for the personal data in yet-to-be-determined filesystem format, a partition for OS X, a linux fs partition for Gentoo, and the swap partition. This would be a total of 4 partitions. The problem here is lots of partitions and that I'd have to guess how much space I need for both OS X and Gentoo linux. But it would be easy to snap shot and re-image an operating system if something goes wrong. (Maybe I'm just think too Windowish).

2) No dedicated partition. Just keep all personal data on the same partition as one of the other operating systems. If so which one? This would just be three partitions: OS X, Gentoo, and Swap. Fewer partitions, but then personal data is mixed in with one of the OS and thus it would be hard to backup or make shap shots of one of the operating systems.


Then there is always
3) No dual booting. Just install Darwin Ports, portage for OSX, and/or fink on MAC OS.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Oct 30, 2005 12:58 am    Post subject: Reply with quote

The HFS+ support in Linux is fairly mature, I haven't had any trouble and it allows sharing between both OSes. The easiest way to be sure that the files are usable by your user on both OSes is to ensure that the UID of your user is the same. There is also EXT2/3 support for OSX, but it's currently only available for OSX 10.3.

Good luck.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Sun Oct 30, 2005 8:26 am    Post subject: Reply with quote

Quote:
...so I got a brand new powerbook G5.

whoa. Let me know where I can buy one too, i didn't know these ones were out yet! 8O
Back to top
View user's profile Send private message
Burgin
n00b
n00b


Joined: 19 Apr 2004
Posts: 57

PostPosted: Sun Oct 30, 2005 5:09 pm    Post subject: Reply with quote

Quote:
...so I got a brand new powerbook G5.

whoa. Let me know where I can buy one too, i didn't know these ones were out yet!


Oops, my bad. It is G4. (still learning) Perhaps that's why there was a sale. Is that the difference between ppc and ppc64?
Back to top
View user's profile Send private message
Burgin
n00b
n00b


Joined: 19 Apr 2004
Posts: 57

PostPosted: Sun Oct 30, 2005 5:19 pm    Post subject: Reply with quote

JoseJX wrote:
The HFS+ support in Linux is fairly mature, I haven't had any trouble and it allows sharing between both OSes. The easiest way to be sure that the files are usable by your user on both OSes is to ensure that the UID of your user is the same. There is also EXT2/3 support for OSX, but it's currently only available for OSX 10.3.

Good luck.


OK, let me ask this.

Lets say I go with one big HFS partition for OS X and personal data, the one partition for linux root fs and the one for swap for a total of 2 additional partitions on the powerbook's hard drive.

I'd like keep only the binaries and config files of the gentoo system on the root partition, in other words, only the minimum stuff I need to backup.

Since HFS+ supports the standard unix file permissions, I should be able to keep stuff such the portage tree, the portage distfiles, '/var/tmp', and even my regular linux user accounts on the HFS partition. Correct? (I will back up the user account separately from the linux system.)

I want as few partitions as possible so as not to end up with two much un-utilized disk space.

Also, I guess I need to figure out which directories of the OS X system that I need to backup in case I'd need to roll it back to earlier state. I don't want to depend on raw partitioning backup tools like Norton ghost this time.

I really want to try to get this dual-booting configuration right the first time. I'd prefer not to re-install OS X but just shrink the HFS+ with the existing OS X installation.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Oct 30, 2005 5:27 pm    Post subject: Reply with quote

Personally, I don't recommend it HFS+ is case insensitive, keep the Linux stuff on a Linux filesystem.

To shrink the partition, you'll either need to purchase an app for OSX or use parted on the LiveCD.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Burgin
n00b
n00b


Joined: 19 Apr 2004
Posts: 57

PostPosted: Sun Oct 30, 2005 7:34 pm    Post subject: Reply with quote

JoseJX wrote:
Personally, I don't recommend it HFS+ is case insensitive, keep the Linux stuff on a Linux filesystem.


Ughhh. Thanks for that pointer. I guess I see the reason why they made that design decision. Although with distfiles, I think I can still get away with it because on my x86 machines, I keep that one on fat32.
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Sun Oct 30, 2005 9:11 pm    Post subject: Reply with quote

Burgin wrote:
Quote:
...so I got a brand new powerbook G5.

whoa. Let me know where I can buy one too, i didn't know these ones were out yet!


Oops, my bad. It is G4. (still learning) Perhaps that's why there was a sale. Is that the difference between ppc and ppc64?


yes.
the ppc64 is for the 970, which is the only 64 bits chip in apple machines, only installed in powermac G5s (powermacs=desktop).

the ppc is the regular 32 bits distro. Powerbooks use G4s (32 bits) and will most probably never be upgraded with G5s (it seems there is a consensus out there that the apple effort is now geared toward developing intel-based powerbooks rather than G5-based powerbook).

summary: you can use the ppc distro on any mac using a powerpc (G3, G4, G5), while ppc64 is only for G5 powermacs.
Back to top
View user's profile Send private message
Burgin
n00b
n00b


Joined: 19 Apr 2004
Posts: 57

PostPosted: Mon Oct 31, 2005 12:14 am    Post subject: Reply with quote

Thanks for help so far, in the interest of giving back. I will explain how I disabled journaling. From Finder, you have to go to applications and then utilitiies to get Terminal program. From there, you type

sudo /usr/sbin/diskutil disableJournal /

That disables journaling. Then start the ppc liveCD and run parted, then type resize.

As of the date of this post, you want to resize partition 3, (which is probably the largest one). I would then recommend NOT continuing the gentoo install but rather reboot back to OS X to make sure it still starts. At that point you can re-enable journaling by going to the Terminal program and typing:

sudo /usr/sbin/diskutil enableJournal /

go here, http://docs.info.apple.com/article.html?artnum=107248, to learn more about HFS journaling.
Back to top
View user's profile Send private message
Burgin
n00b
n00b


Joined: 19 Apr 2004
Posts: 57

PostPosted: Mon Oct 31, 2005 12:18 am    Post subject: Reply with quote

Incidentally, does anyone know if any USB wireless dongles will work on powerppc linux. I airport extreme doesn't work.
Back to top
View user's profile Send private message
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Mon Oct 31, 2005 10:10 pm    Post subject: Reply with quote

yea, I' m using the Dlink DWL-122 and it's working perfectly.
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