View previous topic :: View next topic |
Author |
Message |
rican-linux n00b
Joined: 13 Apr 2015 Posts: 34
|
Posted: Tue Jul 21, 2015 2:53 pm Post subject: yaboot not loading image on powermac g4 |
|
|
I ran gentoo on my iBook G4 with little issues. So recently I tried to install gentoo on my powermac g4. However yaboot cannot find the image file. I have tried different yaboot settings all to no avail. I reloaded gentoo three different times with no success. I am attaching my fstab and yaboot.conf file. Anyone have any suggestions?
Code: | ## yaboot.conf generated by yabootconfig 1.0.8
##
## 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/hda2
device=hd:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enableofboot
enablecdboot
image=/boot/kernel-3.18.16-gentoo
label=Linux
read-only
append="video=ofonly"
initrd=/boot/initramfs-genkernel-ppc-3.18.16-gentoo
initrd-size=8192
|
Code: | # /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/hda4 / ext4 defaults,noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/hde /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
|
|
|
Back to top |
|
|
rican-linux n00b
Joined: 13 Apr 2015 Posts: 34
|
Posted: Sun Jul 26, 2015 9:58 pm Post subject: |
|
|
I think I found a problem with the Gentoo netinstall image reading OWC IDE SSDs. I have been experiencing issues with Gentoo booting after the install completed. Yaboot could not find the image file. This seemed odd to me since Debian and Ubuntu worked fine on my machine with the same drive. One thing I noticed was Gentoo was seeing my disk as a hda instead of a sda. Just to be sure I reinstalled Debian and verified that it was reading my drive as a sda drive and yaboot was loading. Could this be the root cause as why yaboot could not read my drive? Who would I place a bug report with? I really would to have Gentoo working on my Powermac I already had it working on my iBook. Thanks! |
|
Back to top |
|
|
sirtisimacg4 n00b
Joined: 03 Nov 2013 Posts: 46
|
Posted: Mon Jul 27, 2015 12:49 am Post subject: |
|
|
I have a G4 imac.
Here is my yaboot.conf:
Code: | boot=/dev/hda5
ofboot=/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:5
device=hd:
partition=7
delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-3.18.11-gentoo
label=Linux
root=/dev/hda7
read-only
image=/boot/kernel-3.17.8-gentoo-r1
label=Linux.old
root=/dev/hda7
read-only
enablecdboot
enableofboot
| It works, but I'm not using genkernel or initramfs |
|
Back to top |
|
|
rican-linux n00b
Joined: 13 Apr 2015 Posts: 34
|
Posted: Mon Jul 27, 2015 1:04 am Post subject: |
|
|
sirtisimacg4 wrote: | I have a G4 imac.
Here is my yaboot.conf:
Code: | boot=/dev/hda5
ofboot=/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:5
device=hd:
partition=7
delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-3.18.11-gentoo
label=Linux
root=/dev/hda7
read-only
image=/boot/kernel-3.17.8-gentoo-r1
label=Linux.old
root=/dev/hda7
read-only
enablecdboot
enableofboot
| It works, but I'm not using genkernel or initramfs |
Do you have a SSD as your hard drive? |
|
Back to top |
|
|
sirtisimacg4 n00b
Joined: 03 Nov 2013 Posts: 46
|
Posted: Tue Jul 28, 2015 1:19 am Post subject: |
|
|
Quote: | Do you have a SSD as your hard drive? |
No, just the ordinary rotating one.
I also had a lot of trouble getting yaboot to automatically boot. I could still manually boot from the command line though.
I found some reports on the forums about yaboot not recognizing ext4, so I switched to ext3. It worked after that, but I made other changes also, so I cannot be sure that was the issue.
hda, hdb, etc is for IDE drives
sda, sdb, etc. is for SATA or SCSI drives
My CDROM drive is hdb, but my USB port is sda
running dmesg can be quite informative about your system |
|
Back to top |
|
|
rican-linux n00b
Joined: 13 Apr 2015 Posts: 34
|
Posted: Tue Jul 28, 2015 2:20 am Post subject: |
|
|
That is the only thing I could see that would cause this. I just installed Debian Sid and now the system see my HD as a sda. I have ran Gentoo on my iBook G4 with an ext4 partition with no issues. I may later try with ext3. |
|
Back to top |
|
|
|