免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1085 | 回复: 2
打印 上一主题 下一主题

Linux下如何mount ufs [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-09 10:17 |只看该作者 |倒序浏览
两方面的问题都有,所以在bsd和linux都发,希望版主不要删:)

昨天我把freebsd从5.4stable升级到6,
cvsup完了
make buildworld
make buildkernel
make installkernel
reboot
然后就启动不了了,十五秒重新启动一次。
出错信息如下:
Fatal trap 18:integer divide fault while in kernle mode
instruction pointer:=ox204200
...
panic: integer divide fault
uptime 5s
cannot dump,no dump device difined
automatic reboot in 15 seconds
press a key on the console to abort

有什么解决办法吗?单用户模式也也是一样。
我现在的想法是把freebsd的硬盘挂到Linux下,把kernel目录用原来的替换掉。
但是在Linux下mount ufs出错。


[root@test11 root]# fdisk /dev/hdb

The number of cylinders for this disk is set to 19852.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 10.2 GB, 10245537792 bytes
16 heads, 63 sectors/track, 19852 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1       19852    10005376+  a5  FreeBSD




[root@test11 /]# mount  -t ufs -o ufstype=44bsd /dev/hdb1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
       or too many mounted file systems


应该如何解决呢?

论坛徽章:
0
2 [报告]
发表于 2005-12-09 10:43 |只看该作者
学习

论坛徽章:
0
3 [报告]
发表于 2005-12-09 10:47 |只看该作者
顶起来,大家给看看。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP