Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partitioning scheme
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
Omega21
l33t
l33t


Joined: 14 Feb 2004
Posts: 788
Location: Canada (brrr. Its cold up here)

PostPosted: Tue Apr 11, 2006 11:08 pm    Post subject: Partitioning scheme Reply with quote

Hi there, I want to do a pure linux install (No Mac OS X).
What kind of partitioning design do I need? The one in the install guide seems to be for a dualboot.
Thanks!
_________________
iMac G4 1GHz :: q6600 //2x 500GB//2GB RAM//8600GT//Gentoo :: MacBook Pro//2.53GHz
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 12, 2006 2:16 am    Post subject: Reply with quote

Exactly as the guide suggests, the first partition is the Apple partition map, the second is your bootstrap partition, the third is your swap and the fourth, your root.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Omega21
l33t
l33t


Joined: 14 Feb 2004
Posts: 788
Location: Canada (brrr. Its cold up here)

PostPosted: Wed Apr 12, 2006 4:18 am    Post subject: Reply with quote

JoseJX wrote:
Exactly as the guide suggests, the first partition is the Apple partition map, the second is your bootstrap partition, the third is your swap and the fourth, your root.


What is this Apple partition map? (Im not using OS X).
Im also using a new hard drive, and so I just made hda1 hda2 and hda3.
hda1 = boot
hda2 = swap
hda3 = root

What needs to be done?
_________________
iMac G4 1GHz :: q6600 //2x 500GB//2GB RAM//8600GT//Gentoo :: MacBook Pro//2.53GHz
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 12, 2006 4:43 am    Post subject: Reply with quote

In order for the OF to boot the drive, you need to use the Apple partitioning scheme. The Apple partition map holds the partition information. The Bootstrap holds an HFS partition that the OF can boot, which then runs Yaboot. Yaboot (like grub) then boots into Linux. Since it looks like you partitioned the disk with fdisk instead of mac-fdisk like the handbook suggests, you'll need to erase the first 512 bytes of the disk to remove the PC partition table. You can do this with dd like this:
Code:
dd if=/dev/zero of=/dev/hda bs=512 count=1


Really, the ppc handbook describes how to setup a Linux only install, just like the x86 handbook. Please follow it!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Omega21
l33t
l33t


Joined: 14 Feb 2004
Posts: 788
Location: Canada (brrr. Its cold up here)

PostPosted: Wed Apr 12, 2006 4:55 am    Post subject: Reply with quote

I was looking through the install guide. I just wasn't totally aware that I needed that partition in order for it to work. Ive done many gentoo installs for the x86 arch. but this is my first PPC. I just thought that first partition was for MacOS or something.

Anyways, I run the dd command, then what.. Like, can I just run yabootconfig or what?
Thanks!!
_________________
iMac G4 1GHz :: q6600 //2x 500GB//2GB RAM//8600GT//Gentoo :: MacBook Pro//2.53GHz
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 12, 2006 5:43 am    Post subject: Reply with quote

After you've run dd, the old partition should be cleaned off, all of the partitions are removed. You'll need to start over, repartition the drive with mac-fdisk and install.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Omega21
l33t
l33t


Joined: 14 Feb 2004
Posts: 788
Location: Canada (brrr. Its cold up here)

PostPosted: Wed Apr 12, 2006 10:22 pm    Post subject: Reply with quote

JoseJX wrote:
After you've run dd, the old partition should be cleaned off, all of the partitions are removed. You'll need to start over, repartition the drive with mac-fdisk and install.


I need to install gentoo _all over_ again???
_________________
iMac G4 1GHz :: q6600 //2x 500GB//2GB RAM//8600GT//Gentoo :: MacBook Pro//2.53GHz
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Apr 13, 2006 5:00 pm    Post subject: Reply with quote

You can't boot off of an x86 partition type, which is why the directions tell you use mac-fdisk. Since the partitions hold all of your disk information, removing the x86 partitions will result in there being no partitions, and therefore no filesystems. I'm sorry, but yes, you'll need to reinstall.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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