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

Re: [Xen-users] [URGENT] How to boot DomU from customized kernel



On Tue, Apr 30, 2013 at 11:16 PM, Anand Mundada <anandmundada@xxxxxxxxx> wrote:
Hi All,

I am using Xen hypervisor for my class project. I need to boot DomU from my custom kernel. I have compiled the kernel code inside DomU and created the initramfs. I can see its entry after update-grub. But when I reboot, I am getting following error:
Error: Boot loader didn't return any data!

Here is my config file (ubuntu.cfg) :-
name = "ubuntu"
memory = 1024
disk = ['phy:/dev/VG/ubuntu,xvda,w']
vif = ['']
#kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz"                                                                                       
#ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz"                                                                                    
#extra = "debian-installer/exit/always_halt=true -- console=hvc0"                                                                            
vcpu = 4

If you commenting these 3 lines then your DomU didn't have any boot loader. Try to add pygrub on your domU configuration file.

bootloader = "pygrub"

 
I have initially uncommented these 3 lines to create DomU. Once DomU was ready I commented out these 3 lines and launched vm using following command:
xm create ubuntu.cfg -c

Please some one help asap as my project deadline is approaching fast.

Thanks,
Anand

You are welcome,

Agya
 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.