Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Boot ... Different Hard 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
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Fri Jun 18, 2004 4:13 pm    Post subject: Dual Boot ... Different Hard Drives.... Reply with quote

How do i setup YaBoot to work with Mac OS X and Gentoo on two different SATA drives, i have a G5 and two 80 GB drives
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
Back to top
View user's profile Send private message
Dracoverdi
n00b
n00b


Joined: 18 Jun 2004
Posts: 3

PostPosted: Fri Jun 18, 2004 5:35 pm    Post subject: Me too Reply with quote

I'm trying to do the same thing with a 2Ghz G5 and dual 160Gb discs.
_________________
It's not hard to install Linux on an old computer. The real challenge is installing it on a new computer.
Back to top
View user's profile Send private message
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Fri Jun 18, 2004 5:45 pm    Post subject: Reply with quote

ui know it has to do with the yaboot config and open firmware there must be a command to set to see both HD's to choose from i know there is a way but i dont know how
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
Back to top
View user's profile Send private message
Dracoverdi
n00b
n00b


Joined: 18 Jun 2004
Posts: 3

PostPosted: Sat Jun 19, 2004 8:20 pm    Post subject: Reply with quote

Well it looks like we might be talking to ourselves. One problem with forums is that most of the people reading them are people that need information not the one that have information.

I'm pretty sure that I need to have the boot information on both disks but I don't know if I can do that without damaging my existing OS X installation. I thought of testing the bootloader settings I had setup by disconnecting the OS X disk and trying to boot but I think that the disk two references (sdbX) etc wouldn't work since linux would only detect one disk which it would think of as sda.

I don't really have a good way of backing up my OS X drive to reformat it. So I'm hoping for a solution that doesn't involve that.

I wonder if I could make a bootable CD that was scripted to boot linux and then pass control over to the second (linux) disk. Then I would have to put in the CD to boot but once I had, I would be running from my linux disk and I could remove the CD and operate normally.

I'm just musing here, because I don't know anybody who knows about this sort of thing.
_________________
It's not hard to install Linux on an old computer. The real challenge is installing it on a new computer.
Back to top
View user's profile Send private message
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Sun Jun 20, 2004 7:23 am    Post subject: Reply with quote

i got it! ok so go to penguinppc.com
but in summary its HD: is the main HD in open firmware and ultra1: is the slave drive... so in yabootconfig set linux to ultra1 and mac os x to hd: and whatever partition number its on.
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
Back to top
View user's profile Send private message
Dracoverdi
n00b
n00b


Joined: 18 Jun 2004
Posts: 3

PostPosted: Sun Jun 20, 2004 5:34 pm    Post subject: Where on Penguinppc? Reply with quote

I'm afraid I don't quite understand your summary and I haven't yet found anything helpful on penguinppc.com could you point me toward the place on pppc you are talking about?

Update: OK, Now I see where you got ultra1 from, did you try it? Do you have an example of yaboot.conf? Also do you know if you have to put the bootstrap partition on both drives?
_________________
It's not hard to install Linux on an old computer. The real challenge is installing it on a new computer.
Back to top
View user's profile Send private message
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Mon Jun 21, 2004 1:22 am    Post subject: Reply with quote

bootstrap partition is only for linux OS

i dont have a yaboot config file yet because gentoo ppc64 is not at the stage yet for me wanting to install... im waiting for the 2.6.7 kernel from gentoo and im waiting for gcc 3.4 etc
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
Back to top
View user's profile Send private message
jonasfleer
n00b
n00b


Joined: 29 Apr 2004
Posts: 21
Location: Wiesbaden, Germany

PostPosted: Mon Jun 21, 2004 12:23 pm    Post subject: Example yaboot.conf Reply with quote

Hi, I've a working yaboot.conf from a friend. He has a G5 with two hard drives too, so maybe this could be helpful... :D

Code:

boot=/dev/sda4
ofboot=hd:4
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=6

## delay is the amount of time in seconds the dual boot menu (if one
## is configured, by the presense of macos, macosx, etc options here)
## will wait before choosing the default OS (GNU/Linux or the value of
## defaultos=).  If you omit this then the value of timeout=
## (converted to seconds) will be used.

delay=5

## timeout is the amount of time in tenths of a second that yaboot
## will wait before booting the default kernel image (the first image=
## section in this config file or the value of default=). 
defaultos=macosx
timeout=200
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

default=2.6

fgcolor=black
bgcolor=white

image=/boot/kernel-2.4.24-r4
   label=Linux
   root=/dev/sda6
   sysmap=/boot/System.map-2.4.24-r4
   read-only

image=/boot/kernel-2.6.5-gentoo-G5-SMP
   label=2.6
   root=/dev/sda6
   sysmap=/boot/System.map-2.4.24-r4
   append="video=ofonly"
   read-only

image=/boot/kernel-2.6.4
   label=myown
   root=/dev/sda6
   sysmap=/boot/System.map-2.6-4
   append="video=ofonly"
   read-only

image=/boot/kernel-2.6.4-pegasos0
   initrd=/boot/initrd-2.6.4-pegasos0
   label=G5-SMP
   append="init=/linuxrc looptype=gcloop root=/dev/ram0 real_root=/dev/sda6"
   read-write

macosx=ultra1:3
enablecdboot
enableofboot
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