error: you need to load the kernel first

Frederick William New Frederick-William.New at Elion.ee
Fri Jun 29 20:13:24 UTC 2012


On Friday, June 29, 2012 10:54 PM Andre Robatino wrote:
> After today's Rawhide grub2 update, I ran "grub2-install /dev/sda" and
> "grub2-mkconfig -o /boot/grub2/grub.cfg". When rebooting, I can't boot any
> of the installed kernels because of "error: you need to load the kernel
> first". This is a VirtualBox guest and AFAIK /dev/sda is the correct device
> (it worked in the past). Did I do something wrong or is the latest grub2
> broken?
> 
> I did boot in rescue mode and ran the same commands again after doing
> "chroot /mnt/sysimage/". No change.
> 
That reminds me of what I got when I reversed the kernel and initrd lines
in the grub.conf for GRUB1.

Does your grub.cfg have linux lines preceding the initrd lines?

Fred


More information about the test mailing list