cookbook for dual boot: ubuntu11.04 + windows7
发表于 : 2011-10-17 13:12
notes: 本文档将持续更新,方便小Y用户参考。
---------------------------------------------------------------
1. 环境
Lenovo Ideapad Y460A i5
显卡: AMD ATI HD5650
2. 安装顺序
先Windows7, 后Ubuntu11.04.
3. 安装准备
3.1 先在Windows7中划出一部分free space(比如80G)
3.2 下载Ubuntu11.04,烧拷到光盘,为光盘启动安装做好准备。
3.3 在BIOS中设置光盘启动优先,此时小Y将引导光盘中的Ubuntu系统,并弹出安装界面。
4. 安装
请确保安装准备工作顺利完成。
4.1 在弹出的安装界面中,单击“install”开始安装之旅。
4.2 不论是对于全新安装 或 覆盖安装Ubuntu系统,建议都进入手动分区选项,不然在覆盖安装时,前Ubuntu系统划分的/home 等非根分区(/)不会自动纳入到新安装Ubuntu的文件系统中,而是作为外部设备出现(类似Windos7下的分区)。Ubuntu这样做的目的是为了防止你的个人数据丢失。
4.3 进入分区界面,一般建议3个分区:
swap : 交换分区,现在PC配置都足以应付Ubuntu系统的内存需求,一般设为内存大小即可,太大了也没必要。
/ : 根分区,用以存放Ubuntu系统程序,个人用户安装的应用程序,配置数据等等。
/home : 存放Ubuntu系统所有用户的个人数据,相当于Windows7下的“Documents and Settings”目录。
一般情况下,/ 和 /home 分区的大小可以对半开,如下应用场景仅供参考:
比如需存放电影,大量文档,则建议分配 /home 分区更多空间。
注意:分区设置后,需在分区界面中选择boot loader安装在 / 分区中,切记。Ubuntu安装时会自动检测到Window7的启动项,并一起加入到Ubuntu的启动界面中,从而实现dual boot。
4.4 其余设置不再赘述,按照向导过程选择即可。
5 配置
5.1 更新源
5.1.1 What?
源(source),简单点,就是存放软件的目录,及其他一些关于软件的配置信息,比如版本控制等等。
5.1.2 Why?
更新源,即是把源上的软件相关信息下载到本地缓存中,这样,在Ubuntu Software Center,Synaptic,Update Manager中就可以查看到对应的软件信息,方便安装。
当然,若你倾向于完全手动编译安装,则就没必要更新源了。
5.1.3 How?
在更新源之前,建议备份系统默认的源,以备不时之需。
step1:sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
step2: sudo gedit /etc/apt/sources.list
在其中加入如下源:
#Ubuntu 11.04台湾源(推荐)
deb http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse
deb http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted
deb http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted
#SRT Sources
deb http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse
#Ubuntu11.04网易源(速度很快、推荐)
deb http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse
deb http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted
#Ubuntu11.04上海源
deb http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse
deb http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted
#Ubuntu 11.04 搜狐源
deb http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse
deb http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted
#Ubuntu 11.04 骨头源 (bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin)
deb http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted
step3: sudo apt-get update
执行更新源操作。
5.2 源更新后,运行update-manager, 把相关软件更新到最新版本。
5.3 安装显卡驱动
对于A卡,建议到AMD网站下载安装官方驱动,经实践是没有问题的,此处不再赘述。
5.4 安装中文输入法
对于中文版Ubuntu,貌似自带了,以下针对英文版Ubuntu。
在Ubuntu Software Center中搜索SCIM,安装相应的中文包。
5.5 touchpad-indicator?
5.6 update firefox?
待续
---------------------------------------------------------------
1. 环境
Lenovo Ideapad Y460A i5
显卡: AMD ATI HD5650
2. 安装顺序
先Windows7, 后Ubuntu11.04.
3. 安装准备
3.1 先在Windows7中划出一部分free space(比如80G)
3.2 下载Ubuntu11.04,烧拷到光盘,为光盘启动安装做好准备。
3.3 在BIOS中设置光盘启动优先,此时小Y将引导光盘中的Ubuntu系统,并弹出安装界面。
4. 安装
请确保安装准备工作顺利完成。
4.1 在弹出的安装界面中,单击“install”开始安装之旅。
4.2 不论是对于全新安装 或 覆盖安装Ubuntu系统,建议都进入手动分区选项,不然在覆盖安装时,前Ubuntu系统划分的/home 等非根分区(/)不会自动纳入到新安装Ubuntu的文件系统中,而是作为外部设备出现(类似Windos7下的分区)。Ubuntu这样做的目的是为了防止你的个人数据丢失。
4.3 进入分区界面,一般建议3个分区:
swap : 交换分区,现在PC配置都足以应付Ubuntu系统的内存需求,一般设为内存大小即可,太大了也没必要。
/ : 根分区,用以存放Ubuntu系统程序,个人用户安装的应用程序,配置数据等等。
/home : 存放Ubuntu系统所有用户的个人数据,相当于Windows7下的“Documents and Settings”目录。
一般情况下,/ 和 /home 分区的大小可以对半开,如下应用场景仅供参考:
比如需存放电影,大量文档,则建议分配 /home 分区更多空间。
注意:分区设置后,需在分区界面中选择boot loader安装在 / 分区中,切记。Ubuntu安装时会自动检测到Window7的启动项,并一起加入到Ubuntu的启动界面中,从而实现dual boot。
4.4 其余设置不再赘述,按照向导过程选择即可。
5 配置
5.1 更新源
5.1.1 What?
源(source),简单点,就是存放软件的目录,及其他一些关于软件的配置信息,比如版本控制等等。
5.1.2 Why?
更新源,即是把源上的软件相关信息下载到本地缓存中,这样,在Ubuntu Software Center,Synaptic,Update Manager中就可以查看到对应的软件信息,方便安装。
当然,若你倾向于完全手动编译安装,则就没必要更新源了。
5.1.3 How?
在更新源之前,建议备份系统默认的源,以备不时之需。
step1:sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
step2: sudo gedit /etc/apt/sources.list
在其中加入如下源:
#Ubuntu 11.04台湾源(推荐)
deb http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse
deb http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted
deb http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted
#SRT Sources
deb http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse
#Ubuntu11.04网易源(速度很快、推荐)
deb http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse
deb http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted
#Ubuntu11.04上海源
deb http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse
deb http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted
#Ubuntu 11.04 搜狐源
deb http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse
deb http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted
#Ubuntu 11.04 骨头源 (bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin)
deb http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted
step3: sudo apt-get update
执行更新源操作。
5.2 源更新后,运行update-manager, 把相关软件更新到最新版本。
5.3 安装显卡驱动
对于A卡,建议到AMD网站下载安装官方驱动,经实践是没有问题的,此处不再赘述。
5.4 安装中文输入法
对于中文版Ubuntu,貌似自带了,以下针对英文版Ubuntu。
在Ubuntu Software Center中搜索SCIM,安装相应的中文包。
5.5 touchpad-indicator?
5.6 update firefox?
待续