Recompiling new kernel (was:USB WiFi adapter for PBs)

Jason DeVita jdevita at umich.edu
Mon Jul 31 05:21:05 MDT 2006


On Sun, 30 Jul 2006, Ebrahim Mayat wrote:
> Yes to all of the above. I am wondering if the ".ydl.1" suffix is of any 
> importance at all?

Shouldn't matter what you call it, as long as you tell yaboot the same 
name.

> root at localhost ~]# ls /boot
> config-2.6.15-rc5.ydl.1      lost+found                   System.map-2.6.17.7
> etc                          System.map 
> vmlinux-2.6.15-rc5.ydl.1
> initrd-2.6.15-rc5.ydl.1.img  System.map-2.6.15-rc5.ydl.1  vmlinux-2.6.17.7
>
> [root at localhost ~]# more /etc/yaboot.conf
> # yaboot.conf generated by anaconda
>
> boot=/dev/hda3
> init-message="Welcome to Yellow Dog Linux! Hit <TAB> for boot options."
> partition=6
> timeout=30
> install=/usr/lib/yaboot/yaboot
> magicboot=/usr/lib/yaboot/ofboot
> delay=10
> enablecdboot
> macosx=/dev/hda2
>
> image=/vmlinux-2.6.15-rc5.ydl.1
>       label=linux
>       read-only
>       initrd=/initrd-2.6.15-rc5.ydl.1.img
>       root=/dev/hda4
>       append="rhgb quiet"
>
> image=/boot/vmlinux-2.6.17.7
>       label=audio-linux
>       read-only
>       initrd=/initrd-2.6.15-rc5.ydl.1.img
>       root=/dev/hda4
>       append="rhgb quiet"

Aha!  Things have changed from the old days.  Aparently the "partition=6" 
line is telling yaboot to look for the boot files on partition 6 (hence 
the hda0,6 portion of the error message you were receiving).

Try removing the "boot" from the second section.  In other words:

   image=/vmlinux-2.6.17.7
         label=audio-linux
         read-only
         initrd=/initrd-2.6.15-rc5.ydl.1.img
         root=/dev/hda4
         append="rhgb quiet"

Hopefully, that will do the trick.

-J


More information about the yellowdog-newbie mailing list