8.4. GRUB-0.97

Bruce Dubbs bruce.dubbs at gmail.com
Thu Nov 19 08:02:40 PST 2009


linux fan wrote:
> On 11/19/09, Daniel Jäderberg <ingolf2000 at hotmail.com> wrote:
>> so then i tried to install grub2 as suggested. and i followed the hint.
>> 3) grub-mkconfig -o /boot/grub/grub.cfg
>>
>> and i still get nothing when i do the grub-mkconfig -o /boot/grub/grub.cfg
> 
> grub2 wants the kernel name to begin with vmlinux or vmlinuz instead
> of lfskernel
> ex: vmlinux-2.6.31.6

Yes, see 
http://www.linuxfromscratch.org/lfs/view/development/chapter08/kernel.html

We changed the cp command for the kernel to:

"The path to the kernel image may vary depending on the platform being 
used. The filename below can be changed to suit your taste, but the stem 
of the filename should be vmlinux to be compatible with the automatic 
setup of the boot process described in the next section. The following 
command assumes an x86 architecture:"

   cp -v arch/x86/boot/bzImage /boot/vmlinux-2.6.31.6-lfs-SVN-20091117

  -- Bruce



More information about the lfs-support mailing list