我怎样在Microsoft Virtual PC 2004中安装Ubuntu?
发表于 : 2005-03-31 21:54
You just need a quick manual hack.
Ubuntu currently auto-configures XFree86 during the installation process, asking the user only what resolutions they'd like to enable. The default color depth is automatically set to 24-bpp, and Microsoft Virtual PC 2004 does not support 24-bpp color depth. In practice, this results in garbled graphics output when the X Server starts and the login screen is displayed. To fix this problem, you may manually change the default color depth setting in the XFree86 config file.
Read the How-To - Configure Ubuntu for Microsoft Virtual PC 2004 for further information.
-------------------------------------
To get Ubuntu working in Microsoft Virtual PC 2004, you need to make some changes manually.
Ubuntu currently auto-configures XFree86 during the installation process, asking the user only what resolutions they'd like to enable.The default color depth is automatically set to 24-bpp, and Microsoft Virtual PC 2004 does not support 24-bpp color depth.
In practice, this results in garbled graphics output when the X Server starts and the login screen is displayed. To fix this problem, you may manually change the default color depth setting in the XFree86 config file.
These directions assume that you have installed Ubuntu as your guest operating system normally, have rebooted, and have seen the garbled graphics output.
1. In Microsoft Virtual PC, select Action-->Reset to reboot the virtual machine.
2. Watch for the GNU GRUB prompt (don't blink or you'll miss it) and hit ESC when you see it.
3. Select the option in GRUB for recovery mode, and wait for Ubuntu to boot into the shell.
4. Type: su root (you may have to type your password at this point.
5. cd /etc/X11
6. emacs XF86Config-4
Now, scroll down in emacs to Section "Screen" and find the entry named "DefaultDepth". Change the setting you find there from 24 to 16.
7. Hit F10, f, s to save your changes
8. Hit F10, f, e to exit emacs
9. Reboot the virtual machine again as described in step 1.
The virtual machine should now boot successfully into the Ubuntu login screen.
http://www.ubuntulinux.org/support/docu ... 7629841254
http://www.ubuntulinux.org/support/docu ... 0656256783
Ubuntu currently auto-configures XFree86 during the installation process, asking the user only what resolutions they'd like to enable. The default color depth is automatically set to 24-bpp, and Microsoft Virtual PC 2004 does not support 24-bpp color depth. In practice, this results in garbled graphics output when the X Server starts and the login screen is displayed. To fix this problem, you may manually change the default color depth setting in the XFree86 config file.
Read the How-To - Configure Ubuntu for Microsoft Virtual PC 2004 for further information.
-------------------------------------
To get Ubuntu working in Microsoft Virtual PC 2004, you need to make some changes manually.
Ubuntu currently auto-configures XFree86 during the installation process, asking the user only what resolutions they'd like to enable.The default color depth is automatically set to 24-bpp, and Microsoft Virtual PC 2004 does not support 24-bpp color depth.
In practice, this results in garbled graphics output when the X Server starts and the login screen is displayed. To fix this problem, you may manually change the default color depth setting in the XFree86 config file.
These directions assume that you have installed Ubuntu as your guest operating system normally, have rebooted, and have seen the garbled graphics output.
1. In Microsoft Virtual PC, select Action-->Reset to reboot the virtual machine.
2. Watch for the GNU GRUB prompt (don't blink or you'll miss it) and hit ESC when you see it.
3. Select the option in GRUB for recovery mode, and wait for Ubuntu to boot into the shell.
4. Type: su root (you may have to type your password at this point.
5. cd /etc/X11
6. emacs XF86Config-4
Now, scroll down in emacs to Section "Screen" and find the entry named "DefaultDepth". Change the setting you find there from 24 to 16.
7. Hit F10, f, s to save your changes
8. Hit F10, f, e to exit emacs
9. Reboot the virtual machine again as described in step 1.
The virtual machine should now boot successfully into the Ubuntu login screen.
http://www.ubuntulinux.org/support/docu ... 7629841254
http://www.ubuntulinux.org/support/docu ... 0656256783