Jonathan Arbib

xen error: “you need to load the kernel first”

by on Feb.26, 2010, under Tutorials

Some people seem to be getting this error when installing xen 3.2 on Lenny.
It has been referenced as Bug #505517. The following should help you fix the problem

edit /boot/grub/grub.cfg and add the following block as the first bootable option:

menuentry "NEW Debian GNU/Linux, linux 2.6.26-2-xen-amd64" {
set root=(hd0,1)
search --fs-uuid --set 00eeb2cd-6f91-4cfe-9e93-495d8e04ecda
multiboot /boot/xen-3.2-1-amd64.gz dom0_mem=256M
module /boot/vmlinuz-2.6.26-2-xen-amd64 root=UUID=00eeb2cd-6f91-4cfe-9e93-495d8e04ecda ro
module /boot/initrd.img-2.6.26-2-xen-amd64
}

If it works, then change NEW to something you can reference…

if it then finally loads just run

rackable01:~# uname -r
2.6.26-2-xen-amd64

and you should get what you see above (or similar)!

Happy DomU’ing!

:, , , ,

7 Comments for this entry

1 Trackback or Pingback for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!