Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yaboot "Loading second stage bootstrapper..." scre
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
abyssknight
n00b
n00b


Joined: 17 Apr 2005
Posts: 8

PostPosted: Sun Apr 17, 2005 11:24 pm    Post subject: Yaboot "Loading second stage bootstrapper..." scre Reply with quote

I finally (with some help from the gentoo forum gurus) got yabootconfig to work correctly (accept my kernel location) and install the bootloader.

Of course now it will only boot if I have the cd in, and then its still just the live cd... which kind of defeats the purpose of the bootloader.

It gets to the orange/pink "Loading second stage bootstrap..." screen and just cycles until I either put the cd in or turn it off.

Any thoughts?

I'm guessing I've gotten the bootloader incorrect or something of that nature... then again, I have no idea. This is my first attempt at getting gentoo running (stage 3 install), and probably my first real hand to hand combat experience with linux. Hopefully all goes well and I can sign a treaty. ;)
Back to top
View user's profile Send private message
bluedragon82
n00b
n00b


Joined: 04 Apr 2005
Posts: 10
Location: California

PostPosted: Mon Apr 18, 2005 12:32 am    Post subject: Reply with quote

Did you use
Code:
yaboot-config --chroot /mnt/gentoo
to automatically configure yaboot for your system or did you manually configure yaboot? Also, are you dual booting with os x? Please post your yaboot.conf file if possible.
Back to top
View user's profile Send private message
abyssknight
n00b
n00b


Joined: 17 Apr 2005
Posts: 8

PostPosted: Mon Apr 18, 2005 12:51 am    Post subject: Reply with quote

I used
Code:
yabootconfig --chroot /mnt/gentoo
to configure the system.

I deleted the OS X partitions, and all that exists are:

hda1 Apple_Partition_Map
hda2 Apple_Bootstrap
hda3 Linux Swap
hda4 Linux Root

I just followed the instructions for the yabootconfig...

I would boot up the machine in question to post the yaboot.conf but then I'd have to shut this machine down as I only have one set of input devices.

Anyways, I'm not sure what could be wrong. It did mention something about ofpath possibly being wrong (when I ran yabootconfig) because the kernel was too old or something along those lines.
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Mon Apr 18, 2005 3:50 am    Post subject: Reply with quote

Looking at what you put in the other thread it looks you didn't setup fstab, or set it up incorrectly. It's looking for your root partition at /dev/ROOT. It should be looking in /dev/hda4 according to the partition scheme you've provided. Boot the liveCD, mount the volumes just like in the beginning of the install, and look at /mnt/gentoo/etc/fstab.
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
mil0t
n00b
n00b


Joined: 24 Jun 2003
Posts: 62

PostPosted: Mon Apr 18, 2005 8:02 am    Post subject: Reply with quote

Did you use mkfoboot -v to make the partition bootable? you must after yabootconfing --chroot /mnt/gentoo to chroot your envoirment again and then to run mkfoboot -v and don't forget the mkfoboot -v asks you to create an bootstrap partition you must answer [YES]. ;)

//mil0t
_________________
emerge --pretend love | genlop --pretend
Back to top
View user's profile Send private message
abyssknight
n00b
n00b


Joined: 17 Apr 2005
Posts: 8

PostPosted: Mon Apr 18, 2005 12:20 pm    Post subject: Reply with quote

When I get a chance, I believe mil0t has it right on the nail again, I just need to boot the machine and give it a go.

NewBlackDak, my fstab is probably wrong as far as filesystems, but the partitions are correct. I just need to double check it... I'm not good with partitions. Meh.

I'll reply again when I get a chance to do both of those.

Thanks again.
Back to top
View user's profile Send private message
abyssknight
n00b
n00b


Joined: 17 Apr 2005
Posts: 8

PostPosted: Tue Apr 19, 2005 4:06 pm    Post subject: Reply with quote

Still having the error.

I'm guessing its the same as the other guy who has an iMac.

Still unresolved.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Apr 19, 2005 4:52 pm    Post subject: Reply with quote

Can you post both your yaboot.conf and your fstab? That /dev/ROOT error previously was from a misconfigured fstab, and we may find the problem with booting in your yaboot.conf.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
rwallace
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 107
Location: Phoenix, AZ US

PostPosted: Wed May 04, 2005 11:03 pm    Post subject: Reply with quote

Did you ever find a solution to your problem? I've got the same situation with an old eMac I'm trying to turn into an outgoing SMTP server for our office. I've installed gentoo no a couple of other Macs and had little problem. But this one keeps hanging at "loading second stage bootstrap..." after I select Linux from the yaboot menu. A folder icon with the question marks comes up and eventually the thing reboots.

My fstab is properly setup and gentoo is the only OS I'll be running on this box so it has the partitions

Code:

hda1 Apple_Partition_Map
hda2 Apple_Bootstrap
hda3 Linux Swap
hda4 Linux Root


Initially I tried setting it up with yabootconfig, then when that didn't work I deleted the yaboot.conf file it generated and copied the one from the install handbook. I ran mkofboot and ybin and still no love.

After trying a stripped down kernel I tried just copying the config from the LiveCD and that didn't work either.

Anyone else got another suggestion or should I start looking for another box to use?

[edit]
For good measure, here's my yaboot.conf
Code:

## /etc/yaboot.conf
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

## our bootstrap partition:

boot=/dev/hda2

## ofboot is the openfirmware way to specify the bootstrap partition.
## If this isn't defined, yaboot fails on the G5 and some G4s (unless
## you pass the necessary arguments to the mkofboot/ybin program).
## hd:X means /dev/sdaX (or /dev/hdaX).
##
## G5 users should uncomment this line!!

#ofboot=hd:2

## hd: is open firmware speak for hda
device=hd:

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

#################
## This section can be duplicated if you have more than one kernel or set of
## boot options - replace 2.6.9 with your kernel-version
#################
image=/boot/vmlinuz
  label=Linux
  root=/dev/hda4
  partition=4
  sysmap=/boot/System.map
  read-only
##################

enablecdboot
enableofboot


And my fstab
Code:

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda4               /               reiserfs        noatime         0 0
/dev/hda3               none            swap            sw              0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro       0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults        0 0
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Fri Mar 17, 2006 1:09 am    Post subject: Reply with quote

In case anyone else with the yaboot second-stage-hang problem finds this thread...
I just ran into this problem helping someone recover an old G4 tower with the 2005.0 CD (kernel = 2.6.10). Both mkofboot and ybin were giving the warning message "ofpath: WARNING: Your kernel is too old for proper support, device may be innaccurate."

The solution was to specify 'ofboot=' option in yaboot.conf and re-run ybin.
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