Posted on 2008/08/13 13:54
Filed Under Etc/Linux-Xen

출처 : http://kbase.redhat.com/faq/FAQ_103_10986.shtm
작성사의 요청이 있을경우 자삭 합니다.

Issue:
When I try to install Windows XP or Windows (Server)
2003 as a fully virtualized guest under Red Hat Enterprise Linux 5
using Xen, I can start the installation using virt-manager, but Windows
installer is hung at "Setup is starting Windows" stage. How can I
proceed further?


Resolution:

The error "Setup is starting Windows" is a
symptom of the Windows
installer not recognizing the underlying HVM (hardware virtual
machine),
in particular the ACPI controller. However, these options don't work as
expected if the guest OS is the 64bit version of Window XP or Windows
Server 2003.



Currently, the version of XEN shipping with Red Hat Enterprise Linux 5
does not support 64bit installations of Windows XP and Windows Server
2003.



With 32 bit guests, either of the below will fix this issue:



The first option is during installation, when Windows says to press
F6 to install additional drivers, press F5 instead of F6. This will
then prompt the user to select the machine and ACPI controller type.
Then from the next dialog box select "Standard PC" and continue the
installation as usual.



The second method includes the known work around for Windows not
seeing cdrom after first reboot as well as getting past the earlier
error message.



Install Windows through virt-manager. When it starts installation of Windows, close the vnc console and run xm shutdown guest from a root console. In these examples, guest refers to the name of the guest in question.



Edit /etc/xen/guest and add the cdrom to the disk section. Change the following line:



disk = [ 'file:/var/lib/xen/images/guest,hda,w']

to

disk = ['file:/var/lib/xen/images/guest,hdx,w','phy:/dev/hdx,hdx:cdrom,r']


Replace /dev/hdx with the exact device of the system's cdrom or dvd drive. It can also be specified by file:/path/to/XP.iso for iso images.



Add boot = "d" under the disk section. Change acpi = 1 to acpi = 0. Lastly, run xm create guest.



After this, Windows XP should boot normally and not hang at "setup is starting Windows".



Remove the boot = "d" line from the configuration file before starting the machine on the first reboot.

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2008/08/13 13:54 2008/08/13 13:54

트랙백 주소 : http://blog.seabow.pe.kr/trackback/559



About

by 삐꾸강아쥐

Counter

· Total
: 137356
· Today
: 57
· Yesterday
: 0
블로그코리아에 블UP하기