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

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




On Mon, May 6, 2013 at 1:11 AM, Anand Mundada <anandmundada@xxxxxxxxx> wrote:
Hi Agya,

I have added bootloader = "pygrub"   in config file still same result.
Error: Boot loader didn't return any data!


Basically for Ubuntu DomU you can refers to this page https://help.ubuntu.com/community/XenProposed .
Maybe you have to execute this command on your console and try to re-run the VM.

sudo ln -s /usr/lib/xen-4.1/bin/pygrub /usr/bin/pygrub
 
Please let me know if  I can try anything else.

Thanks,
Anand

Good luck, 

Agya

From: agya naila <agya.naila@xxxxxxxxx>
To: Anand Mundada <anandmundada@xxxxxxxxx>
Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
Sent: Sunday, May 5, 2013 2:48 PM
Subject: 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®.