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

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


  • To: agya naila <agya.naila@xxxxxxxxx>
  • From: Anand Mundada <anandmundada@xxxxxxxxx>
  • Date: Sun, 5 May 2013 16:11:44 -0700 (PDT)
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Mon, 06 May 2013 12:50:16 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=QUzc7iaJf71R7mFT8D0e9KsyQQh8A+ctIi7tV4ElCC/03ZdxMgcAttWXTwQSylc8pFmeAVwmTJrXaEf5dS3RaR2watEM/LJ/HqTlxeGe/nryesKoQxitImNqS7KFu6Wd6WtFtm0eH5S5chuH6mTbTmK9c+Ov4ArQp/0KGHpAKws=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi Agya,

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

Please let me know if  I can try anything else.

Thanks,
Anand

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®.