View previous topic :: View next topic |
Author |
Message |
sydbarrett74 n00b
Joined: 13 Jul 2004 Posts: 17 Location: Richmond, VA, US
|
Posted: Tue Jul 13, 2004 1:31 am Post subject: RESOLVED: My G4 Wintunnel Mac is a doorstop.... |
|
|
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 |
|
|
Red Sparrow Tux's lil' helper
Joined: 05 Feb 2004 Posts: 128 Location: Greeley, CO
|
Posted: Tue Jul 13, 2004 3:09 am Post subject: |
|
|
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 |
|
|
sydbarrett74 n00b
Joined: 13 Jul 2004 Posts: 17 Location: Richmond, VA, US
|
Posted: Tue Jul 13, 2004 10:33 pm Post subject: |
|
|
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 |
|
|
sydbarrett74 n00b
Joined: 13 Jul 2004 Posts: 17 Location: Richmond, VA, US
|
Posted: Wed Jul 14, 2004 2:37 am Post subject: |
|
|
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 |
|
|
porodzila Guru
Joined: 22 May 2004 Posts: 307 Location: Terrapin Station
|
Posted: Wed Jul 14, 2004 1:25 pm Post subject: |
|
|
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 |
|
|
sydbarrett74 n00b
Joined: 13 Jul 2004 Posts: 17 Location: Richmond, VA, US
|
Posted: Thu Jul 15, 2004 2:38 am Post subject: |
|
|
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 |
|
|
saxjazman n00b
Joined: 20 Jul 2004 Posts: 16
|
Posted: Tue Jul 20, 2004 5:33 pm Post subject: |
|
|
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 |
|
|
sydbarrett74 n00b
Joined: 13 Jul 2004 Posts: 17 Location: Richmond, VA, US
|
Posted: Thu Jul 22, 2004 3:09 am Post subject: |
|
|
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 |
|
|
porodzila Guru
Joined: 22 May 2004 Posts: 307 Location: Terrapin Station
|
|
Back to top |
|
|
sydbarrett74 n00b
Joined: 13 Jul 2004 Posts: 17 Location: Richmond, VA, US
|
Posted: Sun Aug 01, 2004 4:32 pm Post subject: Cut my losses |
|
|
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 |
|
|
papabean Tux's lil' helper
Joined: 26 Oct 2002 Posts: 130 Location: Sacramento, California
|
Posted: Mon Nov 15, 2004 8:17 am Post subject: |
|
|
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 |
|
|
sydbarrett74 n00b
Joined: 13 Jul 2004 Posts: 17 Location: Richmond, VA, US
|
Posted: Sat Dec 11, 2004 7:49 am Post subject: RESOLUTION |
|
|
Thanks all, but I just resolved this by putting OS X 10.3 back on and downloading Portage for OS X. |
|
Back to top |
|
|
|