Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual boot on G5
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
tparker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 85

PostPosted: Wed Aug 25, 2004 3:00 am    Post subject: Dual boot on G5 Reply with quote

Hello, it's me again.

On top of my earlier posting regarding the fan throttling - (oh, thanks for the replies guys), I have another query. (The machine is STILL doing an emerge sync - taking AGES!)

I note on this page (http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml) that it talks about dual booting - and mentions having to create a bootstrap partition. However this is assuming the setup of partitioning a single HDD for MacOS / Linux. If I have a separate HDD altogether, and am not touching my Mac OS X at all, can I just create my partitions as I normally would on a PC?

I suppose I can just 'try and find out', but a heads up from anyone would be much appreciated.

Thanks!

Terence
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Wed Aug 25, 2004 5:47 am    Post subject: Reply with quote

I think you'll still need a bootstrap partition. To get to boot Linux at all you'll need to install and use yaboot. Yaboot needs a bootstrap partition, I think it acts as a kind of stepping stone between OF (openfirmware) (first thing that runs when the computer goes on) and the OS to be booted. You could probably get away with not having a bootstrap partition IF you wanted to hold down option, wait for the OF boot chooser, and select the OS manually.

Note also that you still need a bootstrap partition, even if you were installing only linux on a computer.

~Michael
Back to top
View user's profile Send private message
tparker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 85

PostPosted: Wed Aug 25, 2004 10:24 am    Post subject: Call me thick, but.... Reply with quote

Ok, i'm fairly new to Macs so please excuse my ignorance.

On a PC there's the boot sector / MBR, so when I install linux, even if I were to do so on a second harddisc with Windows already installed on the first, grub or Lilo would just install itself on the boot sector for me - irrespective of my partition setup.

How does it work on a Mac?

I note from the ppc FAQ that, assuming I were to use just one HDD, I leave space at the start, install OS X after it, then re-partition the free space at the beginning to include the bootstrap. This sounds to me as if OS X either doesn't need a boot strap, or OS X has a separate one on its own partition? This is what confuses me. How actually does it work?

Assuming then I don't want to touch my HDD with OSX on it at all, and am installing linux on a second HDD, should I simply leave a bootstrap at the start of that? Is that sufficient? If it is - how does the Mac even know to check the boostrap on a secondary disk?

Thanks!

Terence
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Wed Aug 25, 2004 11:04 am    Post subject: Reply with quote

One problem you might run into (or maybe I'm just too dumb): I wanted to do pretty much the same you did, leave my original HD alone and install gentoo on the second drive. The problem was: on a G5, the first HD is sda, the second one is sdb. And I couldn't figure out a way to access sdb from open firmware (which is what you need to do for yaboot to work). So in the end, I had to repartition (but it didn't take very long).
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Wed Aug 25, 2004 1:27 pm    Post subject: Reply with quote

Quote:
I note from the ppc FAQ that, assuming I were to use just one HDD, I leave space at the start, install OS X after it, then re-partition the free space at the beginning to include the bootstrap. This sounds to me as if OS X either doesn't need a boot strap, or OS X has a separate one on its own partition? This is what confuses me. How actually does it work?


My understanding (which could be wrong, of course) is that OpenFirmware can only boot partitions with certain formats (ie. HFS, HFS+, UFS). So, OF can boot OSX without a bootstrap partition. It can't however, boot linux without it, since you are probably not using HFS. (If I'm wrong, please someone set me straight). The bootstrap partition, I'm guessing is in one of these formats (or annother OF can use), and just has enough of a system to launch the linux boot process. http://en.wikipedia.org/wiki/Bootstrap.

OSX doesn't take into account someone installing linux, and so doesn't make a way for you to create the bootstrap partition. It doesn't make a way for you to create a ext2/3 or reiserfs partition either. That's why we have to use two disk partition tools (OSX's Disk Utility, and mac-fdisk) to get our partitions set up right.

So, pretending I'm right on all of the above, what you need the bootstrap partition for is (1) To get linux to boot at all and (2) to provide an easy way to dual-boot.

Hopefully that helps, and hopefully I'm right on what I said It's been a while since I read about it.

~Michael
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