Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yabootconfig fail and boot fail for gentoo and os x
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
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Fri May 28, 2004 8:38 am    Post subject: yabootconfig fail and boot fail for gentoo and os x Reply with quote

i just did a reinstall. i did yabootconfig and gave an error .... --chroot option?
so i editted yaboot.conf manually (used a previous install file) and did mkofboot and worked.
then i rebooted and got the boot menu fine. selected linux and didnt get paste the first screen, no penguin. then i did a hard reset to try os x and got nothing (circle with line through). then i tried linux again. it reboots after a few seconds.

then i did open firm ware boot menu. that took a while to load. then i got linux, osx, osx, cd
there is only one osx installed. one works and the other gives the circle with line. and linux gives the boot menu.

is this a kernel issue or yaboot issue?

here is the partition info:
-----------------------------------------------------------
## yaboot.conf generated by yabootconfig 1.0.7
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/hda12

#device=/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:
device=hd:
partition=14

delay=5
defaultos=macosx
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/vmlinux
label=Linux
root=/dev/hda14
sysmap=/boot/System.map
read-only

macosx=/dev/hda11

enablecdboot
enableofboot


here is yaboot.conf
-----------------------------------------------------------
/dev/hda
Command (? for help): /dev/hda
# type name length base ( size ) system
dump: name /dev/hda len 8
/dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hda2 Apple_Driver43 Macintosh 56 @ 64 ( 28.0k) Driver 4.3
/dev/hda3 Apple_Driver43 Macintosh 56 @ 120 ( 28.0k) Driver 4.3
/dev/hda4 Apple_Driver_ATA Macintosh 56 @ 176 ( 28.0k) Unknown
/dev/hda5 Apple_Driver_ATA Macintosh 56 @ 232 ( 28.0k) Unknown
/dev/hda6 Apple_FWDriver Macintosh 512 @ 288 (256.0k) Unknown
/dev/hda7 Apple_Driver_IOKit Macintosh 512 @ 800 (256.0k) Unknown
/dev/hda8 Apple_Patches Patch Partition 512 @ 1312 (256.0k) Unknown
/dev/hda9 Apple_Free 262144 @ 1824 (128.0M) Free space
/dev/hda10 Apple_HFS Apple_HFS_Untitled_4 17209344 @ 263968 ( 8.2G) HFS
/dev/hda11 Apple_Boot eXternal booter 17408 @ 17473312 ( 8.5M) Unknown
/dev/hda12 Apple_Bootstrap bootstrap 1600 @ 17490720 (800.0k) NewWorld bootblock
/dev/hda13 Apple_UNIX_SVR2 swap 1048576 @ 17492320 (512.0M) Linux swap
/dev/hda14 Apple_UNIX_SVR2 root 20529184 @ 18540896 ( 9.8G) Linux native

Block size=512, Number of Blocks=39070080
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 120 for 36, type=0xffff
3: @ 176 for 21, type=0x701
4: @ 232 for 34, type=0xf8ff

Command (? for help)
----------------------------

maybe yaboot points to the wrong osx and thats why it fails? and bad linux kernel?

or bad yaboot?


matt
Back to top
View user's profile Send private message
porodzila
Guru
Guru


Joined: 22 May 2004
Posts: 307
Location: Terrapin Station

PostPosted: Sat May 29, 2004 5:42 pm    Post subject: Reply with quote

Sounds like a yaboot error? I think there is a better program for autoconfiguration of yaboot. Wow you have lots of partitions.
_________________
ubi primum potero, me hinc subduco.
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Sun May 30, 2004 1:55 am    Post subject: Reply with quote

you can run it outside of chroot when booted from live cd like:

yabootconfig --chroot /mnt/gentoo

should work fine like that
Back to top
View user's profile Send private message
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Sun May 30, 2004 5:25 am    Post subject: Reply with quote

i tried again. i repartitioned and reinstalled.

i found that all of those partitions were for os 9 drivers. i removed os 9 so now i have
hda1 partition map
hda2 bootstrap
hda3 swap
hda4 root
hda5 osx

i got yabootconfig to work like above. it loads osx now but still fails with linux. seems like yaboot loads fine but dosnt load the kernel, just stops.

i get the first screen before the kernel and peguin load. like the cd. bright white text then gey and penguin.
Back to top
View user's profile Send private message
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Sun May 30, 2004 7:04 am    Post subject: Reply with quote

i got it to boot. i had multitple problems. resier, ext3, bad yaboot....all combinations

i dont have the display in the kernel. i blindly logged in and made a test file and saved it and rebooted, the test file was there after the live cd boot and chroot. i think i have my problem fixed, execpt for the display but done that before. i should be able to get it now
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