分页: 1 / 1

[分享]vista下硬盘安装ubuntu7.10(写给和我一样同为新手)

发表于 : 2007-11-11 15:22
yan719351
已经写在我的blog上了
http://hi.baidu.com/momentary/blog/item ... 4f96d.html
现在转到这给和一样都是新手第一次安装ubuntu的人分享,在这不会发图 图片就省略了
================================
在硬盘上用分区魔术师之类的软件分出来一个ext3的分区,作为linux根分区,分出一个大小为内存2倍的swap分区,作为linux的虚拟内存
============================

1.首先要下载ubuntu(废话,但要下载Desktop版的。下载后以ISO格式放到C盘根目录下)
2.到http://grub4dos.jot.com/WikiHome下载grub4dos-0.4.3-2007-04-21.zip,解压grldr,grldr.mbr到C:\
3.到下载所需的vmlinuz,initrd.gz,放到C:\
http://ftp.sjtu.edu.cn/ubuntu/dists/fei ... /initrd.gz
http://ftp.sjtu.edu.cn/ubuntu/dists/fei ... ia/vmlinuz

4.打开命令提示符输入

bcdedit /create /d "GRUB4DOS" /application bootsector
命令结果应该会返回一个GUID,替换下面的GUID
然后再在命令提示符下运行你替换过的下面三句话
bcdedit /set {GUID} device partition=C:
bcdedit /set {GUID} path \grldr.mbr
bcdedit /displayorder {GUID} /addlast

5.编辑C:\menu.lst (用下面的话替换menu.lst里的内容)
color black/cyan yellow/cyan
timeout 30
default /default

title Microsoft Windows Vista
root (hd0,0)
savedefault
makeactive
chainloader +1

title install ubuntu
root (hd0,0)
kernel=/vmlinuz
initrd=/initrd.gz

title reboot
savedefault --wait=2
reboot

title halt
savedefault --wait=2
halt


重启选择GRUB4DOS进入后选install ubuntu
略……
在出现选择mail server什么的时候 要用空格把第四项选中
=============================
终端输入(应用程序--附近--终端)
sudo gedit /etc/apt/sources.list
将deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)]/ gutsy main restricted
给注释掉(前面加个#)

中文支持安装
点击屏幕上方面板中的“系统”(可能是英文,总之是从左边数第三个),在菜单中选择“系统管理”(同样可能是英文,是菜单第2项),打开语言支持(language support),在这个设置程序中找到chinese一项,将后面的方框点成对号,再点Apply.

显卡驱动安装
进入“系统”->“系统管理”->“受限驱动管理器”
找到你的显卡,把那个框点成对号,会提示你安装显卡驱动,然后按照提示一步一步安装完毕,重启即可

替换软件源(任选一部分代理)
sudo gedit /etc/apt/sources.list
# Archive.ubuntu.com 更新服务器(欧洲,此为官方源)
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse



# Ubuntu.cn99.com 更新服务器(江苏省常州市电信,推荐电信用户使用。)
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse

# mirror.rootguide.org更新服务器 (上海市 电信):
deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu-cn/ feisty main multiverse restricted universe

# 台湾大学更新服务器(推荐网通用户使用,此源比较完整,较少出现同步问题)
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main restricted universe multiverse



# Mirror.lupaworld.com 更新服务器(浙江省杭州市电信,亚洲地区官方更新服务器)
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn feisty main restricted universe multiverse

# ubuntu.cnsite.org 更新服务器(福建省福州市 电信)
deb http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu-cn/ feisty main multiverse restricted universe

# 北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用)
deb http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu-cn/ feisty main multiverse restricted universe


在终端输入(应用程序--附近--终端)
sudo apt-get update
sudo apt-get upgrade

安装解码器、flashplayer、java虚拟机、微软字体、mplayer、w32codecs、Audacious、eva(QQ)、Bluefish Editor、多线程下载、BT下载、电驴、安装rar压缩、解压工具、文泉字体
在终端输入
sudo apt-get install ubuntu-restricted-extras mplayer w32codecs audacious eva bluefish d4x amule azureus rar unrar xfonts-wqy


更换字体
系统--首选项--外观--字体--选择wenquan


打开Audacious(应用程序--影音)
CTRL+P打开控制面板
播放列表--标题格式--选择custom--自定义格式使用%f

启动mplayer,右键->Preferences->Video
Available drivers选择x11

开机等待时间与默认启动设置
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst

开机\关机分辨率设置
sudo gedit /etc/usplash.conf
文件内容是否为:xres=1024 yres=768
不是就改成如上这样(仅对17寸显示器,其余尺寸显示器自行根据情况设置合适分辨率)。

安装firefox扩展
https://addons.mozilla.org/en-US/firefox/browse/type:1
chm reader 看chm文件
fasterfox 优化
Gmarks 在侧边栏显示Google书签
MediaWrap 支持在线听歌
PDF Download 查看PDF文件
super DragAndGO
Tab Mix Plus 标签加强
TabAway
iPox 一款非常漂亮的皮肤


附加
删除GRUB:进入DOS运行fdisk/mbr
刷新GNOME面板 : killall gnome-panel
清理无用的报:sudo apt-get autoremove
清理删除的残余配置: dpkg -l |grep ^rc|awk '{print $2}' |tr ["\n"] [" "]|sudo xargs dpkg -P -

发表于 : 2007-11-12 17:22
lastbat
感谢楼主的努力,介绍的很详细。目前我暂时还是把不同系统装在不同硬盘上,然后用CMOS开机菜单来选择哪块硬盘启动(汗)。不过将来空间紧张了,怕是就需要用到楼主的经验了,呵呵。

发表于 : 2007-11-12 19:38
u194252
为什么一定要D版的,A版的不是更方便?dvd的也可以把?

发表于 : 2007-11-25 7:16
lonely
:lol: LZ盗用我的签名啊..用也不通知下