【2008.09.30更新2楼】把 ubuntu linux 装入移动硬盘,并在不同电脑上运行
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- ptptptptptpt
- 帖子: 3711
- 注册时间: 2006-09-19 18:16
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
那倒也是,安装之前要确认一下grub将要被安装到的位置,安装之后要改一下menu.lstptptptptptpt 写了:
很多人是用 live cd 启动,直接把系统安装到移动硬盘,在有内置硬盘存在的情况下,grub 会把移动硬盘认为 hd1 ,menu.lst 里会写成 root (hd1,x) ,而从移动硬盘启动时应是 hd0 ,从而无法启动。甚至 grub 会把启动代码写入 内置硬盘 mbr ,而 stage2 存于移动硬盘,这样,拔掉移动硬盘后,电脑将不能启动内置硬盘中的系统,论坛里有很多这样的求助帖,所以,保险起见,用了 grub4dos
不过我一直都是用vmware装的,不可能碰到这些问题,所以没细想
- ptptptptptpt
- 帖子: 3711
- 注册时间: 2006-09-19 18:16
看了一下,目前我认为,S03xconfig.sh 和 xresprobe 还是需要的billbear 写了:刚刚看了楼主的更新
有一点我想补充一下。在8.04里添加 S03xconfig.sh 这一步不是必须的。
不知道楼主是否注意到 What's new in 8.04 里头提到, The latest version of the X window system, Xorg 7.3, is provided, with an emphasis on better autoconfiguration with a minimal configuration file. 这是8.04的一个大变化。
。。。
还有discover1 和 xresprobe,我从来就没有装过,也用得好好的。
S03xconfig.sh 这个脚本只有一句最关键: dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg ,实际上这句来自 ubuntu live cd 的 initrd ,是 ubuntu 官方提供的 ,而 8.04 的 live cd 中依旧有这一句,我想应该有它的道理 —— 尽管 8.04 的 x 更自动了 ,但恐怕还不能适应所有的硬件,所以依旧得用 dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg 来配置 X
而 xresprobe 在 live cd 中也安装了,看说明它是用来辅助调节显示器分辨率的。根据 7.04 时的经验,不装它,确实探测不到某些显示器的最佳分辨率,而不装 discover1 ,对一些显卡识别不好
不过 8.04 中似乎去掉了 discover1 ,可能是 xorg 对显卡探测能力提高了,不再需要它了
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
-
- 帖子: 1
- 注册时间: 2008-05-14 19:51
- ptptptptptpt
- 帖子: 3711
- 注册时间: 2006-09-19 18:16
-
- 帖子: 133
- 注册时间: 2008-05-10 23:28
- 来自: nuaa
- seufy
- 帖子: 82
- 注册时间: 2008-05-12 13:39
-
- 帖子: 49
- 注册时间: 2008-05-16 22:10
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
ptptptptptpt:
我现在认为8.04中dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg 的作用可能仅限于配键盘和鼠标。我发现8.04的xorg.conf 变了,显示方面根本没有什么东西可配。
配鼠标对我还是需要的,我时常在vmware与实体机中使用这同一个ubuntu安装,8.04自带了vmware鼠标的驱动,很好用,基本没什么必要装vmware-tools了。配上这个vm鼠标驱动,使用实体机时触摸板右键和滚动不正常;配上实体机驱动,vm里鼠标不好用。所以 S03xconfig.sh 还是有作用的,但是已经弱化。
我现在认为8.04中dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg 的作用可能仅限于配键盘和鼠标。我发现8.04的xorg.conf 变了,显示方面根本没有什么东西可配。
代码: 全选
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cn"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection
- ptptptptptpt
- 帖子: 3711
- 注册时间: 2006-09-19 18:16
8.04的 xorg.conf 还是可以添加更多内容的。比如装了 nv 的闭源驱动之后,就多了一句 driver "nvidia"
似乎从7.10开始,xorg 有了一个启动x失败时的挽救程序,最近一次我在8.04的 xorg.conf 手动加了一句 driver nv (其实这样格式是错的,应该是 driver “nv” ),x 努力启动了一会,突然出现一个 “正在使用低分辨率”什么的,有一些配置选项,可以手动选择显卡驱动、分辨率等。配置了之后, xorg.conf 会有更多内容。7.10时也见过这个
至于 dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg ,我只是拿来使用,具体原理不清楚。它的功能肯定是要弱化的,xorg 应该会越来越智能
xorg 似乎更新挺快的。
我也不清楚xorg的工作机制,我比较懒,在 xorg 的研究方面,肯定有人比我更精通,我不必再去搞很清楚,直接拿来用就行了,就像 dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg
似乎从7.10开始,xorg 有了一个启动x失败时的挽救程序,最近一次我在8.04的 xorg.conf 手动加了一句 driver nv (其实这样格式是错的,应该是 driver “nv” ),x 努力启动了一会,突然出现一个 “正在使用低分辨率”什么的,有一些配置选项,可以手动选择显卡驱动、分辨率等。配置了之后, xorg.conf 会有更多内容。7.10时也见过这个
至于 dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg ,我只是拿来使用,具体原理不清楚。它的功能肯定是要弱化的,xorg 应该会越来越智能
xorg 似乎更新挺快的。
我也不清楚xorg的工作机制,我比较懒,在 xorg 的研究方面,肯定有人比我更精通,我不必再去搞很清楚,直接拿来用就行了,就像 dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg

- findfunaax
- 帖子: 49
- 注册时间: 2007-10-29 11:02
- 联系:
- ptptptptptpt
- 帖子: 3711
- 注册时间: 2006-09-19 18:16