<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Gaurav Kukreja</b> <span dir="ltr"><<a href="mailto:mailme.gaurav@gmail.com">mailme.gaurav@gmail.com</a>></span><br>
Date: Mon, Nov 8, 2010 at 11:21 AM<br>Subject: Re: [Lguest] /dev/vda<br>To: Eugene Kov <<a href="mailto:mshina@hotmail.com">mshina@hotmail.com</a>><br><br><br>Hey,<br><pre>./lguest 64 ../../vmlinux --block=disk_image root=/dev/vda</pre>
<br>This should solve your problem.<br><br>block is the pseudo block device. In your case, <b>disk_image</b>.<br><br>root is where this bock device will be mounted inside the guest. For Lguest, <b>/dev/vda</b>.<br>
<br>Happy to help.<div><div></div><div class="h5"><br><br>Regards,<br><br><div class="gmail_quote">2010/11/7 Eugene Kov <span dir="ltr"><<a href="mailto:mshina@hotmail.com" target="_blank">mshina@hotmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<br>Ok, so I tried to do what you said with some web help, and this is what I did:<br><br><pre>$ dd if=/dev/zero of=disk-image count=4194304<br>$ mkfs -t ext3 -q disk-image<br>$ mkdir fs<br>$ mount -o loop=/dev/loop0 disk-image fs0<br>

$ mount -o loop=/dev/loop1 initrd-1.1-i386.img  fs1<br>$ cp -R fs1 fs0<br>$ ./lguest 64 ../../vmlinux --block=initrd-1.1-i386.img root=/home/uname/fs0/<br><br>But I still get the same kernel panic:<br>VFS: Cannot open root device "/home/uname/fs0/" or unknown-block(0,0)<br>

<br>I'm really embarrassed to ask you again, but I don't have any other option, so again THANK YOU SO MUCH!<br><font color="#888888"><br>Eugene<br><br><br><br></font></pre><div> <hr>Date: Sun, 7 Nov 2010 16:06:23 +0530<br>

Subject: Re: [Lguest] /dev/vda<br>From: <a href="mailto:mailme.gaurav@gmail.com" target="_blank">mailme.gaurav@gmail.com</a><br>To: <a href="mailto:mshina@hotmail.com" target="_blank">mshina@hotmail.com</a><br>CC: <a href="mailto:lguest@lists.ozlabs.org" target="_blank">lguest@lists.ozlabs.org</a><br>

<br></div><div><div></div><div>Hi Eugene,<div><br></div><div>So basically what you are looking for is how to create a root disk.</div><div><br></div><div>AFAIK /dev/vda is where the guest is supposed to look for the root disk. This is where the rootdisk created by you will be mounted. Someone please clarify.</div>


<div><br></div><div>Now for creating a rootdisk, this is the method I used. Create a pseudo block device of size 2 GB or how much you need. Format this disk with ext3 filesystem. Download a root disk from the link mentioned in lguest.txt. Mount the two pseudo disks. Copy the contents from the downloaded root disk to the pseudo disk created by you. This will contain most importantly the console.</div>


<div><br></div><div>Pass this pseudo disk as the rootdisk while booting the guest with lguest.</div><div><br></div><div>Inside the guest, /dev/vda is where this disk is going to be mounted.</div><div><br></div><div>Have fun with Lguest. I hope I have helped.</div>


<div><br></div><div>Regards,</div><div><br></div><div><div>2010/11/7 Eugene Kov <span dir="ltr"><<a href="mailto:mshina@hotmail.com" target="_blank">mshina@hotmail.com</a>></span><br><blockquote style="border-left:1px solid rgb(204, 204, 204);padding-left:1ex">






<div>
Hi all,<br><br>I'm new to lguest and I'm trying to launch a guest for the first time. I followed the instructions on "lguest.txt" but it is not mentioned there how to create /dev/vda.  I want my disk image to be a file because I don't have an available primary partition. A search on the web haven't help me...<br>


Sorry if the question is stupid but I'm new to the virtualization world.<br><br>Thank you very much<br><br>Eugene<br>                                           </div>
<br>_______________________________________________<br>
Lguest mailing list<br>
<a href="mailto:Lguest@lists.ozlabs.org" target="_blank">Lguest@lists.ozlabs.org</a><br>
<a href="https://lists.ozlabs.org/listinfo/lguest" target="_blank">https://lists.ozlabs.org/listinfo/lguest</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Gaurav Kukreja<br><br>+91 997 030 1257<br><br>
</div>                                      </div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Gaurav Kukreja<br><br>+91 997 030 1257<br><br>
</div></div></div><br><br clear="all"><br>-- <br>Gaurav Kukreja<br><br>+91 997 030 1257<br><br>