Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RESOLVED: My G4 Wintunnel Mac is a doorstop....
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
sydbarrett74
n00b
n00b


Joined: 13 Jul 2004
Posts: 17
Location: Richmond, VA, US

PostPosted: Tue Jul 13, 2004 1:31 am    Post subject: RESOLVED: My G4 Wintunnel Mac is a doorstop.... Reply with quote

Hello all,
I have a G4 Powermac with kernel 2.6.6 and yaboot 1.3.12 on it. I have emerged several times to make sure I have the latest versions of everything. Problem is, yaboot can't boot into either OSX or Gentoo. At the boot prompt, if I choose l for Linux or m for Mac OS X, it just goes to 'Loading second stage bootstrap' and just sits there. If I go into Open Firmware and type

boot ultra2:2,yaboot
ultra2:5,/boot/vmlinux root=/dev/hda5 ro

it tells me that it can't enter yaboot or something like that. I did everything by the Handbook and am completely lost. :([/b]


Last edited by sydbarrett74 on Sat Dec 11, 2004 7:48 am; edited 1 time in total
Back to top
View user's profile Send private message
Red Sparrow
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 128
Location: Greeley, CO

PostPosted: Tue Jul 13, 2004 3:09 am    Post subject: Reply with quote

Post your /etc/fstab file and your /etc/yaboot.conf file. Also, where did you copy the kernel image (vmlinux) after you compiled the kernel?

(- Steve -)
Back to top
View user's profile Send private message
sydbarrett74
n00b
n00b


Joined: 13 Jul 2004
Posts: 17
Location: Richmond, VA, US

PostPosted: Tue Jul 13, 2004 10:33 pm    Post subject: Reply with quote

Jigglypuff wrote:
Post your /etc/fstab file and your /etc/yaboot.conf file. Also, where did you copy the kernel image (vmlinux) after you compiled the kernel?

(- Steve -)


I copied it to the /boot directory. My fstab and yaboot.conf will be in the next message.
Back to top
View user's profile Send private message
sydbarrett74
n00b
n00b


Joined: 13 Jul 2004
Posts: 17
Location: Richmond, VA, US

PostPosted: Wed Jul 14, 2004 2:37 am    Post subject: Reply with quote

Jigglypuff wrote:
Post your /etc/fstab file and your /etc/yaboot.conf file. Also, where did you copy the kernel image (vmlinux) after you compiled the kernel?

(- Steve -)


here's the config of my partitions:
--------------------------------------
/dev/hda1 apple partition map
/dev/hda2 apple bootstrap
/dev/hda3 apple free space
/dev/hda4 macosx
/dev/hda5 gentoo
/dev/hda6 swap
----------------------------------------------------------------------------------
here's fstab:
--------------
/dev/root / ext3 noatime 0 1
/dev/swap none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc/openprom openpromfs defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
----------------------------------------------------------------------------------
here's yaboot.conf:
----------------------
device=hd:
partition=5

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

fgcolor=white
bgcolor=black

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

macosx=/dev/hda4

enablecdboot
enableofboot
------------------------------------------------------------------------------------
now, another webpage suggested i boot into open firmware and execute the following:

boot ultra2:2,yaboot
ultra2:5, /boot/vmlinux root=/dev/hda5 ro

but it tells me it can't find yaboot or something like that...
Back to top
View user's profile Send private message
porodzila
Guru
Guru


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

PostPosted: Wed Jul 14, 2004 1:25 pm    Post subject: Reply with quote

in your fstab, you need to change it so that instead of

/dev/root

so it says

/dev/hdaX (where X is the number of your root partition)

and do the same for the other partitions you will be using.
_________________
ubi primum potero, me hinc subduco.
Back to top
View user's profile Send private message
sydbarrett74
n00b
n00b


Joined: 13 Jul 2004
Posts: 17
Location: Richmond, VA, US

PostPosted: Thu Jul 15, 2004 2:38 am    Post subject: Reply with quote

porodzila wrote:
in your fstab, you need to change it so that instead of

/dev/root

so it says

/dev/hdaX (where X is the number of your root partition)

and do the same for the other partitions you will be using.


I changed /dev/root => /dev/hda5 and /dev/swap => /dev/hda6 and it didn't help. I hit L and it goes to 'Loading second stage bootstrap' and just sits there.
Back to top
View user's profile Send private message
saxjazman
n00b
n00b


Joined: 20 Jul 2004
Posts: 16

PostPosted: Tue Jul 20, 2004 5:33 pm    Post subject: Reply with quote

I'm having the same problem with 2.6.7-r11

my fstab and such looks the same as posted.... I have tried the manual step by step twice... boots fine from the cd.. but not from the kernel. Could we have mis-configed the kern somewhere? if so, shouldnt we be getting a kernel panic instead?

Only error i got was missing some devices /dev/sda etc when running yaboot config.... but my hds in mac-fdisk are showing up as /dev/hdaX

anyone else have any suggestions? :?
_________________
--
no, YOUR momma
Back to top
View user's profile Send private message
sydbarrett74
n00b
n00b


Joined: 13 Jul 2004
Posts: 17
Location: Richmond, VA, US

PostPosted: Thu Jul 22, 2004 3:09 am    Post subject: Reply with quote

saxjazman wrote:
I have tried the manual step by step twice... boots fine from the cd.. but not from the kernel. Could we have mis-configed the kern somewhere? if so, shouldnt we be getting a kernel panic instead?


yeah, i even emerged yaboot so that i had the latest version (1.3.12). that still didn't help. :(
Back to top
View user's profile Send private message
porodzila
Guru
Guru


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

PostPosted: Thu Jul 29, 2004 7:00 pm    Post subject: Reply with quote

Read these, the second one might fix it
https://forums.gentoo.org/viewtopic.php?t=194061
https://forums.gentoo.org/viewtopic.php?t=199301
_________________
ubi primum potero, me hinc subduco.
Back to top
View user's profile Send private message
sydbarrett74
n00b
n00b


Joined: 13 Jul 2004
Posts: 17
Location: Richmond, VA, US

PostPosted: Sun Aug 01, 2004 4:32 pm    Post subject: Cut my losses Reply with quote

All,
Thank you for your suggestions. I decided to cut my losses. I wiped my drive, re-installed OS X on it, and just loaded Portage for OS X on there. So I have kind of the best of both worlds: the stable OS X kernel, and the Portage system -- without all the hassle. :)
Back to top
View user's profile Send private message
papabean
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 130
Location: Sacramento, California

PostPosted: Mon Nov 15, 2004 8:17 am    Post subject: Reply with quote

Well, I hope you didn't completely give up.

I just inherited a G4 as my wife upgraded to a G5, so my old gentoo box is now headless and I decided I'd dual-boot the G4.

I ran into the same snag you did trying to boot: Second stage bootstrap... and nothing.

However, as someone had suggested in another thread, running
Code:
ybin -C /mnt/gentoo/etc/yaboot.conf
from outside the chroot'ed environment seemed to fix the yaboot problem. Now, I'm finally able to boot to gentoo on the iMac.

The other problem, which was noted here, I've seen in the PPC threads is the inability to umount /mnt/gentoo. This is most likely because the installation guide never tells you to cd away from the /mnt/gentoo directory. This is the cause of the /mnt/gentoo is busy errors.
Code:
cd
umount /mnt/gentoo
should do the trick.

Just a tip for anyone else who finds this thread in their search.
_________________
-- The world is full of tough guys. It doesn't need me to be one too.
Back to top
View user's profile Send private message
sydbarrett74
n00b
n00b


Joined: 13 Jul 2004
Posts: 17
Location: Richmond, VA, US

PostPosted: Sat Dec 11, 2004 7:49 am    Post subject: RESOLUTION Reply with quote

Thanks all, but I just resolved this by putting OS X 10.3 back on and downloading Portage for OS X. :lol:
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