Re: "Nothing to be done for bzImage..."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-03-21 at 22:31 +0200, Jeff Mutonho wrote:
> On 3/21/07, Brad Bonkoski <bbonkoski@xxxxxxxxxxxxxx> wrote:
> > Looks like this command:
> > ln -f -s vmlinuz-2.6.18-build-1 /boot/vmlinuz-2.6
> > linked your new kernel build to vmlinuz-2.6 (Do you have this in your
> > /boot ?)
> > So, in grub, you would use that instead of the xen.gz-2.6.18-1.2798.fc6
> 
> My grub.conf now looks like this :
> 
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd1,0)
> #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=5
> splashimage=(hd1,0)/grub/splash.xpm.gz
> hiddenmenu
> title   WinXP
> 	rootnoverify (hd0,0)
> 	chainloader +1
> title Fedora Core (2.6.18-1.2798.fc6xen)
> 	root (hd1,0)
> 	kernel /xen.gz-2.6.18-1.2798.fc6
> 	module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00
> rhgb quiet
> 	module /initrd-2.6.18-1.2798.fc6xen.img
> title Fedora Core (2.6.18-build-1)
> 	root (hd1,0)
> 	kernel /vmlinuz-2.6
> 	module /vmlinuz-2.6.18-build-1 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
> 
> with Fedora Core (2.6.18-build-1) being the newly built kernel.However
>  , selecting that kernel at boot time , resulted in a failed boot  ,
> with an error message saying :
> "Error 13:Invalid or unsupported executable format
>  Press any key to continue....."
> The GRUB docs  explain this error as : "This error is returned if the
> kernel image being loaded is not recognized as Multiboot or one of the
> supported native formats (Linux zImage or bzImage, FreeBSD, or
> NetBSD)."
> 
> How can my built kernel be not  supported?This was suppose to be any
> easy exercise,
>  $make mrproper ;make xconfig;make;make modules_install install
> and  'make install' was suppose to do the magic of copying my new
> kernel to the right place , update grub.conf ...
----
don't you need an initrd?

cd /boot
mkinitrd initrd-2.6.19-1.2798.fc6.img 2.6.19-1.2798

My /boot/grub/grub.conf has lines like this...

  kernel /vmlinuz-2.6.19-1.2911.6.5.fc6 ro root=LABEL=/ quiet rhgb quiet
  initrd /initrd-2.6.19-1.2911.6.5.fc6.img

-- 
Craig White <craig@xxxxxxxxxxxxx>

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux