Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Yaboot issues; /boot/vmlinux: Unknown or corrupt
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
justinkelly
n00b
n00b


Joined: 25 Jun 2005
Posts: 3
Location: Melbourne, VIC, Australia

PostPosted: Sat Jun 25, 2005 11:26 am    Post subject: [solved]Yaboot issues; /boot/vmlinux: Unknown or corrupt Reply with quote

Hi All

Ive run into a few yaboot related issues in the install of gentoo ppc 2005.0 on my G4 PowerMac 400

First issue - semi solved

I get the following errors when running mkofboot -v
Code:

ofpath: WARNING: Your kernel is too old for proper support, device may be innaccurate.


Note: this only happens when ive set
Code:
macos=/dev/hda14 and macosx=/dev/hda15
and commented out ofboot=hd:9 in /etc/yaboot.conf

What this results in is when you reboot, at the yaboot menu no matter which option i select it boots MacOS9 ???

Second issue

When i remove the macos and macosx options and set ofboot=hd:9 and reboot, it now attempts to boot linux but gets the following error
Code:

hd:10,/boot/vmlinux: unknown of corrupt filesystem


My yaboot.conf is something similar to this:

Code:

boot=/dev/hda9
device=hd:
ofboot=hd:9
partition=10
root=/dev/hda10
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/vmlinux
        label=Linux
        read-only

image=/boot/vmlinux
        label=Linux-sys
        sysmap=/boot/System.map
        read-only
       
macos=/dev/hda14
macosx=/dev/hda15
enableofboot
enablecdboot



Any help would be greatly appreciated

Cheers

Justin Kelly


Last edited by justinkelly on Tue Jun 28, 2005 12:16 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 25, 2005 1:15 pm    Post subject: Reply with quote

Can you give us your filesystem layout?
What type of filesystem is vmlinux on?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
justinkelly
n00b
n00b


Joined: 25 Jun 2005
Posts: 3
Location: Melbourne, VIC, Australia

PostPosted: Sun Jun 26, 2005 7:31 am    Post subject: Reply with quote

Hi JoseJX

Thanks for the reply - my filesystem layout is below

hda1 - 8 are the standard Apple partitions
hda9 - Apple Boot partition
hda10 - ext3 - root
hda11 - swap
hda12 - ext3 - /home
hda13 - ext3 - /var
hda14 - MacOS9
hda15 - MacOSX
hda16 - small free space part.

I attempted the install a few times already and get the same issues each time

Cheers

Justin Kelly
Back to top
View user's profile Send private message
justinkelly
n00b
n00b


Joined: 25 Jun 2005
Posts: 3
Location: Melbourne, VIC, Australia

PostPosted: Tue Jun 28, 2005 12:04 am    Post subject: Solved Reply with quote

Hi JoseJX

Thanks for the assistance, the problem is now resolved,

it was todo with the use of the r option in mac-fdisk on the liveCD to move the partitions around.

even though in mac-fdisk on the liveCD my partitions looked like
Code:

hda1 - 8 are the standard Apple partitions
hda9 - Apple Boot partition
hda10 - ext3 - root
hda11 - swap
hda12 - ext3 - /home
hda13 - ext3 - /var
hda14 - MacOS9
hda15 - MacOSX
hda16 - small free space part.


when i booted up the debian installer to look at the partitions it looked like
Code:

hda1 - 8 are the standard Apple partitions
hda9 - Apple Boot partition
FREE SPACE
hda13 - var
hda12 - /home
hda14 - MacOS9
hda15 - MacOSX
hda11 - swap
hda10 - root

same numbering but different positions???

anyway i just erased the entire disk, put OS9 and X on hdb and installed Gentoo on hda and everything works great now :)

now just gotta get sound and dialup working.

Cheers

Justin Kelly
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