QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1123|回复: 7

System On Floppy!!

[复制链接]
发表于 2004-11-19 22:16:55 | 显示全部楼层 |阅读模式
各位好,让我们来讨论一下System On Floppy(我想的,应该是“基于软盘的Linux系统”)吧!
我按
http://www.gnuctt.net/html/modul ... cle&sid=146
http://www.5dmail.net/html/2003-10-4/2003104131636.htm
上的方法试图制作一套软盘Linux系统,但每次开机从软盘启动它后均出现下列错误:[code:1]
VFS:Cann't open root device " " on 03:09
Kmem console mem null ram tty*[/code:1]
其实我已做了
kernel /bzImage
initrd /image.gz
的!

此前我把bzImage 拷到/boot下,测试bzImage的启动情况时,每次也出现了诸如以下的错误:[code:1]
Kernel /vmlinuznew ro root = /dev/hda7
Error 15: File not found[/code:1]
恳请各位交流交流经验!!   

============================
发表于 2004-11-19 23:24:19 | 显示全部楼层
[quote:fd4004f137="wkp10251025"]root = /dev/hda7[/quote]你这么喜欢空格? LILO可就分不清到底参数是什么了
回复

使用道具 举报

 楼主| 发表于 2004-11-29 21:03:42 | 显示全部楼层
谢谢dannycat!可能不是这个原因——因为我的grub文件是没有空格的,上面是笔误,对不起!

恳请继续交流!

怎么好象大家对这个问题好象不大感兴趣呀?!   
回复

使用道具 举报

发表于 2004-12-12 19:20:00 | 显示全部楼层
把你的lilo.conf或者grub.cong贴出来看看 或许问题就在那里。因为报错是说你的根文件系统没有挂上。
回复

使用道具 举报

发表于 2004-12-13 17:01:30 | 显示全部楼层
回复

使用道具 举报

 楼主| 发表于 2004-12-28 21:56:48 | 显示全部楼层
[code:1]# 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,7)
#          kernel /vmlinuz-version ro root=/dev/hda9
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,7)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.21-9.EL)
        root (hd0,7)
        kernel /vmlinuz-2.4.21-9.EL ro root=LABEL=/
        initrd /initrd-2.4.21-9.EL.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
title Red Hat New Linux ES (2.4.21-9.EL)    //这是新编译的基于软盘的内核
        root (hd0,7)
        kernel /boot/bzImage ro root=LABEL=/
        initrd /initrd-2.4.21-9.EL.img[/code:1]

多谢指点!!!!   

=============
回复

使用道具 举报

发表于 2004-12-30 20:11:38 | 显示全部楼层
忙了好久今天才来不好意思啊。
title Red Hat New Linux ES (2.4.21-9.EL)    //这是新编译的基于软盘的内核
   root (hd0,7)
   kernel /boot/bzImage ro root=LABEL=/
   initrd /initrd-2.4.21-9.EL.img
第3行kernel  /bzImage ro root=LABEL=/ 试试看行不行。
回复

使用道具 举报

发表于 2005-1-5 10:28:32 | 显示全部楼层
title Red Hat New Linux ES (2.4.21-9.EL) //这是新编译的基于软盘的内核
root (hd0,7)
kernel /boot/bzImage ro root=LABEL=/
initrd /initrd-2.4.21-9.EL.img
把第三行改为
kernel /bzImage ro root=/dev/hda?
?加上你自己的具体分区情况!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-20 03:49 , Processed in 0.041066 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表