我怎样在Microsoft Virtual PC 2004中安装Ubuntu?

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10218
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 102 次

我怎样在Microsoft Virtual PC 2004中安装Ubuntu?

#1

帖子 oneleaf » 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
上次由 oneleaf 在 2005-04-14 12:54,总共编辑 1 次。
shooter
帖子: 56
注册时间: 2005-04-13 21:04
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 shooter » 2005-04-14 8:51

这里是我自己要问的一个问题:
VPC2004不是彻底失去了对linux的支持吗?为什么Ubuntu还是能够安装上去?
*************************************************************
我怎样在Microsoft Virtual PC 2004中安装Ubuntu?

你需要动一下“小手术”。

现在Ubuntu会在安装过程中自动配置XFree86,仅仅会问用户需要什么样的分辨率而已,默认的屏幕色深是24位,但Microsoft Virtual PC 2004不支持24位色深。为了解决这个问题,你必须手动设置XFree86的配置文件来改变其默认色深。

请阅读在Microsoft Virtual PC 2004中设置Ubuntu的Howto文档来获取更多信息。
-------------------------------------

为了让Ubuntu工作在Microsoft Virtual PC 2004环境中,你需要手动改变一些设置。

现在Ubuntu会在安装过程中自动配置XFree86,仅仅会问用户需要什么样的分辨率而已,默认的屏幕色深是24位,但Microsoft Virtual PC 2004不支持24位色深。

在实践中,当XServer启动时会输出花屏。为了解决这个问题,你必须手动设置XFree86的配置文件来改变其默认色深。

以下步骤假设你已经安装好了Ubuntu,并且重启,看到了花屏。

1. 在Microsoft Virtual PC中,选择Action-->Reset重启虚拟机。
2. 看到GNU GRUB提示符(不要让它计时,不然你会错过它的),按ESC键。
3. 选择GRUB的recovery模式,等待Ubuntu启动完。
4. 键入:su root(这里必须要提供root的密码)
5. 键入:cd /etc/X11
6. 键入:emacs XF86Config-4

现在,在emacs中移动光标到“Screen”区域,找到“DefaultDepth”一项,把它从24改到16。

7. 按F10键,保存更改。
8. 按F10键,退出emacs。
9. 重启虚拟机,对,就象第一步做的那样。

现在虚拟机就可以成功进入Ubuntu的登录画面了。


http://www.ubuntulinux.org/support/docu ... 7629841254
http://www.ubuntulinux.org/support/docu ... 0656256783
Get busy living, or get busy dying.
头像
oneleaf
论坛管理员
帖子: 10218
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 102 次

#3

帖子 oneleaf » 2005-04-14 12:54

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4160
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
送出感谢: 43 次
接收感谢: 9 次
联系:

#4

帖子 millenniumdark » 2006-08-01 4:32

过时
回复

回到 “软件和文档翻译”