xen error: “you need to load the kernel first”
by ac3bf1 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
-
Jonathan Arbib » Xen 3.2 on Debian Lenny
February 26th, 2010 on 6:35 pm[...] your machine does NOT boot correctly, boot into the original kernel from the list, and check THIS POST. There is a known bug in some [...]


April 7th, 2010 on 12:43 pm
root option must be on the same line of module /boot/vmlinuz-2.6.26-2-xen-amd64
April 8th, 2010 on 1:14 am
This is my first visit here, but I will be back soon, because I really like the way you are writing, it is so simple and honest
April 17th, 2010 on 9:21 pm
Thanks for comment Ant.
The blog wraps lines too often… I need to get a wider theme :-)
Jon
June 18th, 2010 on 6:51 pm
This worked for me in Debian Lenny amd64, but i changed 00eeb2cd-6f91-4cfe-9e93-495d8e04ecda for the right uuid in my system.
Cheers
July 1st, 2010 on 8:10 pm
It Doesn’t work for me… :(
I’m trying to boot with kernel
2.6-18-6-xen-686
And the “normal” kernel is 2.6.32-3-686, can you please help me??
July 16th, 2010 on 12:34 am
best to post on a forum Rudy for your specific problem…
March 23rd, 2011 on 7:19 am
This works fine for me. My system is Lenny x64, grub 2. Thanks a lot.