Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yaboot with two drives?
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
brain
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 229
Location: Farmington Hills, MI

PostPosted: Thu Mar 11, 2004 1:13 am    Post subject: yaboot with two drives? Reply with quote

Hey folks.

I've got one happy G5-DP running with Gentoo on it. :)

I'm at the point of the yaboot config, and since I've got two drives in the machine I'm kind of unsure how to continue. Here's the layout:

/dev/sda: Mac OSX

/dev/sdb: Linux
sdb2: Bootstrap
sdb3: Swap
sdb4: Root

I'm all cool with the yaboot.conf file except for these lines
Code:

## device is the OpenFirmware device path to the disk containing
## kernel images.  if your disk is /dev/hda you can find the
## OpenFirmware path by running the command: ofpath /dev/hda DO NOT
## specify a partition number for this!  On IBM hardware you can
## generally comment this out.

device=hd:

## partition is the partition number where the kernel images are
## located.  The kernel images should be on your root filesystem, so
## this is usually the same partition number as your root filesystem.
## so if root = /dev/hda3 (the 3rd partition) then you should have
## partition=3  This *MUST* be set correct or yaboot won't boot!  This
## option can be either set globally as shown here, or per image in
## the image= sections

partition=4


There's some spooky speak in there about yaboot not booting correctly if those are misconfigured.

It's not specifically stated in the handbook how a dual-disk setup is presented in yaboot.conf. I'd obviously like to dual boot between OS X and Gentoo, but I don't want to continue until I know this isn't gonna b0rk :)
_________________
--brain
Back to top
View user's profile Send private message
brain
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 229
Location: Farmington Hills, MI

PostPosted: Thu Mar 11, 2004 3:32 pm    Post subject: Reply with quote

For those curious, I just swapped the disks around and everything was peachy.

OS X is now /dev/sdb, and Gentoo is /dev/sda.
_________________
--brain
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