Re: Kernel image
On Mon, Apr 09, 2001 at 09:51:11AM +0200, firstname.lastname@example.org wrote:
I'm using Yaboot to boot my LinuxPPC on a G3 350 mhz,
the disk is partitioned in this way:
hdb6 > (HFS) here is placed the yaboot file and kernel image
kernels do NOT belong on HFS filesystems.
hdb7 > (Linux) /boot
its better not to bother with /boot partitions if you don't have to.
hdb8 > (Swap)
hdb9 > (Linux) /
hdb10 > (Linux /usr
when I boot the system Yaboot load the kerne image from HFS partition
if I try to load image directly from Linux boot (/boot/vmlinux) I've
an error example:
image=hd:7, /boot/vmlinux "Error"
image=ultra1:7, /boot/vmlinux "Error"
I've also used backslash (\boot\vmlinux) with same results.
Is possible with Yaboot mount the Linux filesystem without first I've
loaded kernel image ?
of course, that is the only correct way to do it.
first, if you use linuxppc yaboot, throw it away and install ybin and
the yaboot that comes with it. linuxppc yaboot is broken.
then you need a /etc/yaboot.conf like so:
run mkofboot which will erase your current bootstrap partition
(/dev/hdb6) and setup yaboot correctly. it should then boot kernels
from that /boot partition. though to make things simpler i recommend
getting rid of the /boot /partition and keeping your kernels on the
root partition (/boot just being a directory on / instead of a
partition of its own).
also make sure that /dev/hdb6 is type Apple_Bootstrap and not
Apple_HFS. otherwise MacOS will screw it up.
Does this mean that when I run mkofboot and I'm prompted with "make
hfs filesystem on /dev/hda9? [y/N]" that I should choose No? I have
been choosing yes and having no problems until the OS X install. I'm
getting "kernel not found" everytime I boot with the yaboot menu. I
read the recent thread arguing the preferred location of the
bootstrap menu and I have the following for a partition setup:
/dev/hda1-8 Apple drivers,patch,etc.
/dev/hda9 Apple_Bootstrap bootstrap 800.0k Unknown
/dev/hda10 Apple_Unix_SVR2 / 1.5G Linux native
/dev/hda11 Apple_Unix_SVR2 /home 3.3G Linux native
/dev/hda12 Apple_Unix_SVR2 swap 128.0M Linux swap
/dev/hda13 Apple_HFS untitled 100.0M HFS
/dev/hda14 Apple_Boot MOSX_OF3_Booter 8.0M Unknown
/dev/hda15 Apple_Loader Secondary Loader512.0k Unknown
/dev/hda16 Apple_UFS Mac_OS_X 4.4G unknown
/dev/hda17 Apple_HFS untitled 9.8G HFS
where /dev/hda13 is an HFS standard exchange partition and OS 9
resides on /dev/hda17.
yaboot.conf looks thusly:
Once I get the "kernel not found" message at boot, the only way to
get back into Linux is to boot from the cd (using the open firmware
menu) execute a shell and run mkofboot.
Which command is:
mkofboot --boot /dev/hda9 -m /usr/lib/yaboot/ofboot --root /dev/hda10
Correct or no?
I can't boot linux from the OF menu (though it shows up there as a
choice) because it takes me back to the yaboot menu and "kernel not
Yaboot seemed to be working fine prior to my OS X installation. Oh
and yes, I'm a complete newbie.
Attachment converted: Electron Storage:Untitled 187 (????/----) (0000996B)