Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on the 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
simon_b
n00b
n00b


Joined: 03 Jun 2004
Posts: 46
Location: Hamilton, NZ

PostPosted: Sun Jun 06, 2004 10:46 am    Post subject: Gentoo on the G5 Reply with quote

Well im having quite a lot of problems installing Gento on my Dual Processor G5.... i just cant seem to get past configuring yaboot! To anyone else who has done it can you post any tips or tricks on how you did it? it would help me and anyone else out who is having problems!
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Sun Jun 06, 2004 4:09 pm    Post subject: Reply with quote

I have a dual 1.8 G5. Can you give a little more information in where the configuring is going wrong ? For example, you don't state whether
Code:
mkofboot -v
goes OK or not ?

Compare my mac-fdisk and /etc/yaboot.conf with yours.

mac-fdisk -l /dev/sda
Code:

/dev/sda
        #                    type name                  length   base      ( size )  system
dump: name /dev/sda len 8
/dev/sda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/sda2         Apple_Bootstrap bootstrap               1600 @ 157286401 (800.0k)  NewWorld bootblock
/dev/sda3               Apple_HFS Untitled           157286337 @ 64        ( 75.0G)  HFS
/dev/sda4         Apple_UNIX_SVR2 swap                 1048576 @ 157288001 (512.0M)  Linux swap
/dev/sda5         Apple_UNIX_SVR2 root                41943040 @ 158336577 ( 20.0G)  Linux native
/dev/sda6         Apple_UNIX_SVR2 home               119893439 @ 200279617 ( 57.2G)  Linux native

Block size=512, Number of Blocks=320173056
DeviceType=0x0, DeviceId=0x0

/etc/yaboot.conf
Code:

## Example yaboot.conf for ybin and yaboot >= 0.6
## see man yaboot.conf for more details.

## Change `unconfigured' to your bootstrap partition eg: /dev/hda2
boot=/dev/sda2

## 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.
ofboot=hd:2

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=5

## 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=10
defaultos=linux
## 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=).

timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

## Change the default colors, fgcolor is the text color, bgcolor is
## the screen background color. (default: fgcolor=white, bgcolor=black)
#fgcolor=black
#bgcolor=green

## Password supplied in plaintext, required for yaboot to boot, unless
## restricted is also present (see below). Be sure to
## chmod 600 /etc/yaboot.conf if you set this!

#password=secret

## Password supplied as an md5 hash, see above

#password=$1$saltstrg$HnJ/gcM3oKhNbnzUPgXTD/

## A password is only required to boot an image specified here if
## parameters are specified on the command line or if the user enters
## an image is not specified in the configuration file at all (ie.
## arbitrary file load).  restricted can also be placed in an image
## section in that case any image not including the restricted keyword
## will be fully password protected.

#restricted

## image is the kernel itself, commonly kept in / but also commonly
## found in /boot.  Note that /boot should generally not be its own
## partition on powerpcs, its not necessary and complicates things.
## Make sure /boot is on the partition specified by partition= see
## above.  /boot should never be an HFS filesystem.  You may point
## image= to a symbolic link so long as the symlink does not cross
## partition boundries.

image=/boot/vmlinux
        label=linux
        root=/dev/sda5
        sysmap=/boot/System.map
        read-only
macosx=hd:3
enablecdboot
enableofboot


As far as I can remember I first edited /etc/yaboot.conf according to my mac-fdisk and then I did (as stated in the manual)
Code:
mkofboot -v


I would check that your mac-fdisk matches what is in /etc/yaboot.conf, noting in particular the created bootstap apple partition comes before any apple mac osx partition (/dev/sda3 in my case).
Back to top
View user's profile Send private message
simon_b
n00b
n00b


Joined: 03 Jun 2004
Posts: 46
Location: Hamilton, NZ

PostPosted: Sun Jun 06, 2004 5:46 pm    Post subject: Reply with quote

im trying a stage1 install atm so i will let you know what happens....
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