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

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


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Anand Mundada <anandmundada@xxxxxxxxx>
  • Date: Tue, 30 Apr 2013 14:16:56 -0700 (PDT)
  • Delivery-date: Tue, 30 Apr 2013 23:11:06 +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:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=mIo7wnh0ytPGgnprsVynbu1Gs7MqtmtiOmkXyv1aXfV5G8KF9479/Va07Bz3qQvWb4vaTzgAGhicTZJaXhHaM99mZDoFn6+ytzwFNqeBu4zRcn4VaRCg/4NENxO9UPSD1SmVsnLekzdtzKdDkapzsZKzVWwSWdshqRjDs/kT45c=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

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

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

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