- 论坛徽章:
- 0
|
有台ibm 236上面装的freebsd 7.2升级到8.0.在安装完内核重启后,就再没有办法进入系统了。屏幕提示如下:
Trying to mount root from ufs:/dev/ipsd0s1a
ROOT MOUNT ERROR:
If you have invalid mount options, reboot, and first try the following from
the loader prompt:
set vfs.root.mountfrom.options=rw
and then remove invalid mount options from /etc/fstab.
Loader variables:
vfs.root.mountfrom=ufs:/dev/ipsd0s1a
vfs.root.mountfrom.options=rw
Manual root filesystem specification:
<fstype>:<device> Mount <device> using filesystem <fstype>
eg. ufs:/dev/ipsd0s1a
eg. cd9660:/dev/acd0
This is equivalent to: mount -t cd9660 /dev/acd0 /
? List valid disk boot devices
<empty line> Abort manual input
mountroot>
奇怪了,freebsd找不到分区,在网上查资料,发现有类似的问题,但是解决办法都无效。大多都是说磁盘的id号变了等等的。于是只好在选择 “Escape to a loader prompt” 选项,输入 unload kernel, 然后输入 boot /boot/kernel.old/kernel用老的内核启动机器。系统启动正常。查看/etc/fstab,参数也是正常的。但是重启后还是上面的提示,无论是单用户模式还是安全模式都启动失败。无意中选择了2. Boot FreeBSD with ACPI disabled。终于启动成功了。难道是8.0的版本和Ibm236的ACPI(高级配置和电源管理接口)有冲突?那就暂时禁止ACPI好了。
在/boot/device.hints里面加入hint.acpi.0.disabled="1"。
刚刚在网上查到“這次 kernel 沒什麼大變化,除了 acpi 被加進 GENERIC”。比较7.2和8.0的内核文件,确实有区别,在8.0的内核中,默认如下:
# Bus support.
device acpi
device eisa
device pci
多了acpi的支持。难道是因为默认就加入了acpi支持的缘故?貌似为了发挥新硬件的节能新特性吧。明天重新编译内核看看。
不知道大家有没有遇到这种情况?
[ 本帖最后由 tenhlf 于 2009-12-24 17:22 编辑 ] |
|