• 在VPC 2007 SP1中安装Ubuntu 10.04 desktop (完成)


    使用Ubuntu 10.04 desktop的iso文件启动,按F4选择语言,再按F6跳出其它选项菜单。按ESC取消其它选项菜单并编辑引导选项,在“=/casper/initrd.gz quiet splash --”中将 quiet splash -- 替换为 vga=788 noreplace-paravirt,如:

    =/casper/initrd.gz vga=788 noreplace-paravirt

    回车开始安装吧!

    如果上面的启动方法,在VPC中不能使用Ubuntu LiveCD环境的话,请添加vga=788参数启动。如:

    =/casper/initrd.gz vga=788 quiet splash --

    安装完成后,直接使用硬盘启动会提示:CPU复位。还需要进入Ubuntu LiveCD环境,修改/boot/grub/grub.cfg文件。

    sudo -i

    gedit /media/<guid>/boot/grub/grub.cfg
    找到10_linux节的 linux /boot/vmlinuz-xxxx-generic root=<guid> ro quiet splash 语句,把 quiet splash 替换为 vga=788 noreplace-paravirt

    现在可以直接使用硬盘启动了,启动时会提示VMBUS的错误,进入系统后修改/etc/default/grub文件。

    sudo gedit /etc/default/grub
    修改启动参数 grub_cmdline_linux_default="quiet splash vga=788 noreplace-paravirt"

    也可删除参数:quiet splash

    sudo update-grub

    注:vga=788是800*600 16bit / vga=791是1024*768 16bit

    参考1:Installing ubuntu 10.04 LTS in Microsoft VPC

    参考2:Virtual PC 2007 SP1虚拟机上安装Ubuntu 9.04桌面版

    关于声音的问题:

    https://help.ubuntu.com/community/HowToSetupSoundCards

    EXAMPLE SoundBlaster SB16 non PNP ISA card:

    1. Add following line to the /etc/modules file. This will make the driver to load at boot time.
    snd-sb16

    2. Add following line to the /etc/modprobe.d/alsa_local and /etc/modutils/alsa_local files.
    options snd-sb16 isapnp=0 port=0x220 irq=5 dma8=1 dma16=5 mpu_port=0x330

    Note! Propably alsa_local files does not exist so create them first.
    Note! isapnp=0 will turn isapnp off so non pnp card can be found.

    Perhaps /etc/modutils/alsa_local is not needed but I did not test.

    You can test the driver and the options at alsa_local file without reboot:
    sudo modprobe snd-sb16
    alsamixer

    http://ubuntuforums.org/archive/index.php/t-24586.html

    If your card is set to 'standard' io, irq settings then you just need to do an insmod snd-sb16 isapnp=0. Set this up for boot time application by adding snd-sb16 to /etc/modules and making a file called snd-sb16 in /etc/modprobe.d with the following in it:

    options snd-sb16 isapnp=0

    If your card is not set to standard then things get longer, put this into your /etc/modprobe.d/snd-sb16 file:

    options snd-sb16 index=0 id="SB-16" port=0x220 mpu_port=0x330 irq=5 dma8=1 dma16=5 isapnp=0

    obviously you need to change the values I've plonked in above to suit your card.

    Hope that helps. Remember, gnome won't boot past the gdm screen if you use the alsa driver (snd-sb16).

    Tty725 说:
    欢迎转载,但请注明内容的来源或URL;
    [转]”篇章,必须保留原始来源且勿添加本blog指向。
  • 相关阅读:
    ehcache 的 配置文件: ehcache.xml的认识
    Hibernate的二级缓存(SessionFaction的外置缓存)-----Helloword
    QBC检索和本地SQL检索
    HQL的检索方式
    HQL的第一个程序
    Ubuntu Error: No module named 'apt_pkg' 怎么办?
    Linux 后台运行python .sh等程序,以及查看和关闭后台运行程序操作
    ubuntu install redis/mongo 以及 监控安装
    Mac 上的 redis
    Mac 解决硬盘插入不能写的问题
  • 原文地址:https://www.cnblogs.com/Tty725/p/1916561.html
Copyright © 2020-2023  润新知