免费注册 查看新帖 |

Chinaunix

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

CF卡上DIY X86架构的linux的两个问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-01 11:13 |只看该作者 |倒序浏览
问题一:
启动的最后几行提示:
Mount:mounting /dev/hda1 on /  failed
Mount:mounting none on /proc failed
Mount:mounting /dev/hda1 on /  failed

然后按Enter可以进入shell
我执行df命令,显示如下:
#df
Filesystem       1k-blocks    used   available      use%      mounted on
/dev/root.old          7931    3722         3800       49%             /


感觉好像/etc/fstab文件无法正常执行,以下是我的fstab文件内容:
#/dev/fd0      /         ext2      defaults   0          0
/dev/hda1     /         ext2      defaults   1    1
none                  /proc   proc      defaults   0           0
/dev/cdrom   /mnt/cdrom    udf,iso9660 noauto,owner,kudzu,ro 0        0

问题二:
linux系统好象是运行于内存中,不是CF卡上,因为无法保存任何对根文件系统的修改或写操作.

以下是我的menu.lst文件:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda3
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
#title Fedora Core (2.6.11-1.1369_FC4)
#        root (hd0,0)
#        kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
#        initrd /initrd-2.6.11-1.1369_FC4.img
title DIY Linux ^*^
        root (hd0,0)
        kernel /boot/grub/vmlinuz-2.6.20.14  ro root=/dev/hda1
        initrd /boot/grub/initrd.img
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP