[indiana-discuss] in-preview2 as xvm HVM guest ?
Detlef Drewanz
Detlef.Drewanz at Sun.COM
Fri Feb 29 12:24:02 PST 2008
Sanjay,
thanks for the info. Finally I was able to install Indiana2 as hvm DomU
in xVM. But really it took some tricks.
1. I tested with Nevada 82 as Dom0
2. The virtual disc for the domU is a ZFS zvol
3. It still runs in 32bit, because the xvm of nevada 82 is based on xen
3.0.4 (AFIAK), which right now can not run 64bit hvm due to a bug.
4. Because the domU enables a cirrus graphice chip and there is no Xorg
module for cirrus in Indiana2, it needs to created a /etc/X11/xorg.conf
which has the "vesa" driver configured (see Stephen Hahn's blog
http://blogs.sun.com/sch). I placed the prepared xorg.conf in the dom0
and sftp'ed it into the domU. After that just restart the gdm to get the
graphical login "svcadm restart gdm"
5. Start the Installer and let him run
6. Yes, when it comes to "bootadm update-archive" at the end the system
hangs and never finishes. Find out a "find" that is a child of bootadm
(use ptree to be sure). Kill this find and the Installation will
follow-up. (I have no idea what's going on here, but this helped)
7. That's it !
Finally I realized that after the next reboot the boot_archive is
corrupt and the domU will not start. I have no idea why, But for the
first time after install I found out to run bootadm update-archive
twice. This helped. Later on I made a copy of a "good" boot-archive into
boot-archive.old to be able later to boot the old archive if the primary
is broken. This helped ! After that I boot with the .old archive and
start bootadm again. And the next boot is fine... Hmmm
So far my experineces with that (I thought to share some workarounds) We
have to follow-up to find what the bootadm issue is.
Detlef
Sanjay Nadkarni wrote, On 02/25/08 07:10:
> Running Indiana under HVM takes a some trickery. The issue as you have
> noticed is that graphics don't work well. The problem is that there no
> Cirrus driver in Indiana. So the way around it is to boot it in text
> mode and follow the steps on Stephan Hahn's blog on configuring the Vesa
> driver and then start Xorg.
> Of course you boot up and get the desktop and try to install, your
> mileage may vary on the installation. I seen issues when trying to
> install under HVM, the installer hangs at 86%. This is when the
> installer runs bootadm to update the archive.
> OTOH, I have been able to successfully boot and install using virtual
> box. The only issue there is that the default network driver pcn is not
> included. There other alternatives that have been mentioned on other
> mailing lists/blogs.
>
>
> -Sanjay
>
> Jason Zhao wrote:
>> Hi,Detlef:
>>
>> I think you hit the bug:
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=78
>>
>> So far, it will go to command-line prompt if you install
>> in-preview2 as hvm guest. And,moreover, there is no xen.gz code to
>> support pv mode in in-preview2. So I think it is not possible to run
>> in-preview2 on xVM. But it could work in Virtual-Box.
>>
>> Thanks
>> Jason
>> Detlef Drewanz wrote:
>>
>>> Hi,
>>> I am trying to install in-preview2 as hvm guest in Solaris xvm. But
>>> when I boot indiana it stops with the command-line prompt. Then I can
>>> login as jack and then ?
>>>
>>> I get a prompt with wrong keyboard layout. Ok I could first work
>>> around that. But how to start the graphical installer or the graphics
>>> screen itself. This seems to be different that it was for my S10 8/07
>>> installation. Has anyone done this before and has an idea ?
>>>
>>> IMHO this should work (I am using a U40M2 with 8GB memory. Solaris 10
>>> 8/08 already runs as hvm guest.)
>>>
>>> Thanks
>>> Detlef
>>> _______________________________________________
>>> indiana-discuss mailing list
>>> indiana-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>>
>>
>> _______________________________________________
>> indiana-discuss mailing list
>> indiana-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>
>
--
Detlef Drewanz Systems Engineer/OS Ambassador
Sun Microsystems GmbH Phone: (+49 30) 747096 856
Komturstrasse 18a mailto:detlef.drewanz at sun.com
D-12099 Berlin http://blogs.sun.com/solarium
---
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder,Wolfgang Engels,Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
More information about the indiana-discuss
mailing list