but why it says, 2.6.26-2-openvz-amd64 ?<br><br>Zeeshan<br><br><div class="gmail_quote">On Thu, Apr 22, 2010 at 9:03 AM, Solar Designer <span dir="ltr"><<a href="mailto:solar@openwall.com">solar@openwall.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Apr 22, 2010 at 07:24:44AM +0200, Zeeshan Ali Shah wrote:<br>
> Linux 2.6.26-2-openvz-amd64 #1 SMP Thu Feb 11 01:40:09 UTC 2010 i686<br>
> GNU/Linux<br>
><br>
> actually the program i want to install has dependency with 32 bit OS which<br>
> is why i created the new VM but it seems that this guest is still showing<br>
> the 64bit kernel .<br>
<br>
</div>No, it does not. It clearly shows "i686" above.<br>
<br>
In fact, you could achieve a similar effect by running your program<br>
through the "setarch" program, like:<br>
<br>
$ setarch i386 uname -m<br>
i686<br>
<br>
This would not require OpenVZ at all, but instead it'd require that you<br>
have 32-bit libraries installed on your system (you probably do) as<br>
these will likely be needed for your program (what the kernel says is<br>
likely of less importance).<br>
<br>
Anyway, you can indeed do this with OpenVZ as well, and you get better<br>
isolation in this way.<br>
<br>
Alexander<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
</blockquote></div><br>