Re: Compiled Kernel Wont Work (Part 2)


Subject: Re: Compiled Kernel Wont Work (Part 2)
From: Olivier Reisch (ydl@karasuma.net)
Date: Sat Mar 02 2002 - 15:54:05 MST


I suggest the following:

first, the line
image=boot/vmlinux

should be
image=/boot/vmlinux

Then, you should move the root=/dev/hda12 line above the partition=12 line.

Finally, again, just above the partition=12 line, add a line:
device=hd:

So your final file should look like:

#ybin options
boot=/dev/hda10
macos=/dev/hda
magicboot=usr/lib/yaboot/ofboot
delay=10
defaultos=linux
enablecdboot

# yaboot options
init-message="\nWelcome to Yellow Dog Linux\n\n"
timeout=50
default=linux
root=/dev/hda12
device=hd:
partition=12

# yaboot images
image=boot/vmlinux
          label=linux

image=/boot/vmlinux
          label=linux-novideo
          novideo

image=/boot/vmlinux-2.4.19pre1
          label=linux-2.4.19pre1
          read only

Save the changes, and run "ybin -v" again. Reboot and try if the kernel boots
fine now.

Besides, is that all there is in your /boot directory? (If you standard
kernel still boots, then there probably is also a vmlinux file in there, no?)

Greetings,
Olivier

On Saturday 02 March 2002 03:54, you wrote:
> > What does your /etc/yaboot.conf look like and what do you get when doing
> > an ls -l /boot ?
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Olivier
>
> Here is a copy of my yaboot.conf and also the directory of /boot. What can
> you make of them? Many thanks for your reply ...
>
>
> yaboot.conf:
> ____________________________________________________________
>
> #ybin options
> boot=/dev/hda10
> macos=/dev/hda
> magicboot=usr/lib/yaboot/ofboot
> delay=10
> defaultos=linux
> enablecdboot
>
> # yaboot options
> init-message="\nWelcome to Yellow Dog Linux\n\n"
> timeout=50
> default=linux
> partition =12
>
> # yaboot images
> image=boot/vmlinux
> label=linux
> root=/dev/hda12
>
> image=/boot/vmlinux
> label=linux-novideo
> novideo
>
> image=/boot/vmlinux-2.4.19pre1
> label=linux-2.4.19pre1
> read only
>
> _____________________________________________
>
> end yaboot.conf
>
>
> and the contents of /boot are as follows...
>
> -rwxr-xr-x 1 root root System.map-2.4.19pre1
> -rwxr-xr-x 1 root root ofboot.b
> -rwxr-xr-x 1 root root vmlinux-2.4.19pre1
> -rwxr-xr-x 1 root root yaboot
> -rwxr-xr-x 1 root root yaboot.conf
>
> ____________________________________________
>
> and the message when I try to choose the 2.4.19pre1 kernel is first of all
> "Loading kernel ..." and then 'Image not found ... try again.'!!
>
>
>
> Cheers
>
>
> Richard

-- 
________________________________________________
Olivier Reisch                                  doctomoe@tuxppc.org
TuxPPC Site Director
http://www.tuxppc.org
The number one user resource for Linux on PPC.

For safe mail, get my PGP Key: http://perso.wanadoo.fr/olivier.reisch/oreisch_public_key.gpg ________________________________________________



This archive was generated by hypermail 2a24 : Sat Mar 02 2002 - 16:08:49 MST