From: Anand Mundada Subject: Help to boot domU with customized kernel Date: Sat, 27 Apr 2013 08:16:10 -0700 (PDT) Message-ID: <1367075770.52545.YahooMailNeo@web163104.mail.bf1.yahoo.com> Reply-To: Anand Mundada Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1152877312300258521==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============1152877312300258521== Content-Type: multipart/alternative; boundary="-65459842-1078354570-1367075770=:52545" ---65459842-1078354570-1367075770=:52545 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,=0A=0AI have installed Dom0 and domU following instructions given on= Ubuntu Wiki=0AI want to boot domU with customized kernel.=A0=0AMy machine = don't have hardware support I tried different things but it's not working.= =0A=0AMethod 1:=A0=0AIn guest, I have compiled Para-Virtualized kernel that= have created boot images in /boot of domU.=0AAfter reboot I am not able to= boot and I am getting error as=A0=0AError: Boot loader didn't return any d= ata =0A=0AMethod II:=0A=0AIn dom0, I have compiled=A0Para-Virtualized kerne= l=A0and I have used domU.cfg file where=0Akernel=3D [New compiled vmlinuz]= =0Aramdisk =3D [New compiled initrd =A0image]=0A=0Athen I tried to create n= ew VM using 'xm create' command.=0AHere I am getting following error=A0=0A= =0A"mount: mounting /sys on /root/sys failed: No such file or directorymoun= t: mounting /proc on /root/proc failed: No such file or directory=0ATarget = filesystem doesn't have /sbin/init.=0A=0ANo init found. Try passing init=3D= bootarg.=A0" =A0=0A=0APlease let me know to boot domU with new customized = kernel?=0A=0AThanks,=0AAnand ---65459842-1078354570-1367075770=:52545 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All,

I have installed Dom0 and domU following instructions given on Ubuntu Wiki
I want to bo= ot domU with customized kernel. 
My machine don't have hardware support= I tried different things but it's not working.

Method 1: = ;
In guest,= I have compiled Para-Virtualized kernel that have created boot images in /= boot of domU.
Afte= r reboot I am not able to boot and I am getting error as 
Error: Boot loader didn't return any data=0A

=
Method II:

In dom0, I have compiled&= nbsp;Para-Virtualized kernel=  and I have used= domU.cfg file where
kernel=3D [New compiled vmlinuz]
ramdisk =3D [New compiled initrd  imag= e]

then I tried to create new VM using 'xm create' command.
Here I am getting foll= owing error 

"mount: mounting /sys on /root/sys failed: No s= uch file or directory
mount: mounting /proc on /root/proc= failed: No such file or directory
Target filesystem doesn'= t have /sbin/init.
No init found. Try passing init=3D = bootarg. "  = ;

Please let me know to boot domU with new = customized kernel?

Thanks,
Anand
---65459842-1078354570-1367075770=:52545-- --===============1152877312300258521== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1152877312300258521==--