![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-12 00:32 |
共 47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,256 会员排行 |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Grub for DOS 0.20 pre 9 問題 |
| 可打印版本 3,746 / 23 |
| 第16楼 不点 | 发表于 2004-09-20 00:00 |
| 银牌会员 发帖 1,115 积分 2,491 | |
|
你这个问题挺棘手, 按常规, 这样应当可以了, 但是你的却不行.
怀疑 GRUB 本身有什么错误, 或者是你的文件系统有什么错误. ---------------- 当出现菜单时, 你按照屏幕底部的提示按 "c" 键进入命令行, 在命令行逐行敲入 root (hd0,0) kernel /boot/bzImage initrd /boot/initrd.gz boot 这四条命令, 看看究竟是哪一条出现了错误. |
|
| 第17楼 wslkevin | 发表于 2004-09-20 00:00 |
| 初级用户 发帖 30 积分 175 | |
|
Thanks for your reply. File size:
bzImage - 1.2MB initrd.gz - 3.52MBWill it cause the problem?=========================== I try the following config: 1. # For booting Linux title Linux root (hd0,0) kernel /boot/bzImage root=/dev/hda1/linux4/base.img initrd /boot/initrd.gz and 2. # For booting Linux title Linux root (hd0,0) kernel /boot/bzImage root=/dev/hda1/linux4/ initrd /boot/initrd.gz For both config 1 and 2, I still got the same error message: "Error 17: Inconsistent Fileystem Structure." Then I tried the config step by step in the GRUB command line, the error message displayed after I entered the "kernel .........." line. |
|
| 第18楼 不点 | 发表于 2004-09-20 00:00 |
| 银牌会员 发帖 1,115 积分 2,491 | |
|
会不会是这样的? 即, 磁盘有坏块, 导致文件系统失常. 如果 windows 分区工具或者病毒破坏了linux的某些文件系统结构信息,那么也会出现这类错误. 你能用其它方法进入以 (hd0,0) 为根分区的 linux 吗? 如果不能, 则可能该分区有损坏.
|
|
| 第19楼 不点 | 发表于 2004-09-20 00:00 |
| 银牌会员 发帖 1,115 积分 2,491 | |
|
kernel /boot/bzImage root=/dev/hda1
这样才对, 你的两种用法都是错的. hda1 如果不是 linux 分区, 你这么用也是错的. 你的 hd0,0 是 NTFS 格式的吗? |
|
| 第20楼 wslkevin | 发表于 2004-09-20 00:00 |
| 初级用户 发帖 30 积分 175 | |
|
会不会是这样的? 即, 磁盘有坏块, 导致文件系统失常. 如果 windows 分区工具或者病毒破坏了linux的某些文件系统结构信息,那么也会出现这类错误. 你能用其它方法进入以 (hd0,0) 为根分区的 linux 吗? 如果不能, 则可能该分区有损坏.
===>(hd0,0) 是NTFS |
|
| 第21楼 wslkevin | 发表于 2004-09-20 00:00 |
| 初级用户 发帖 30 积分 175 | |
|
其實,我是想用 TopologiLinux 4.0 (http://topologi-linux.sourceforge.net/), 在Window拷貝完所需files,然後用TopologiLinux CD-ROM啟動到Linux, 再安裝,安裝完後它是C:\tlinux4\base.img和swap.img兩個files。 c:\也就是(hd0,0)是NTFS,如果我用CD-ROM啟動,是可以正常啟動TopologiLinux (CD-Rom是啟動C:\tlinux4\base.img的)。問題是我的notebook是沒有軟盤和CD-Rom的 (我安裝時的cd-rom是跟人借的),所以我一定要用grub來啟動(topologilinux cd-rom有用grub啟動的方法 - 在boot.ini用C:\boot\stage1="TopologiLinux 4"
, 要用grubinstall.exe 或 ntfsinstall.exe 去安裝 stage1和stage2,但是到stage2時出現"blocklist failed" ,所以我唯有用我自己的方法:- 從cd-rom的D:\isolinux上拷出bzImage和initrd.gz (原裝topologilinux會把這兩個files放到c:\boot) - 再用 title Linux root (hd0,0) kernel /boot/bzImage root=/dev/hda1/linux4/base.img initrd /boot/initrd.gz 去啟動 - 結果出現 "Inconsistent Filesystem Structure"這就是整個故事,不點,你可以幫我一下?感謝﹗ |
|
| 第22楼 wslkevin | 发表于 2004-09-20 00:00 |
| 初级用户 发帖 30 积分 175 | |
|
以下是從Topologilinux 4.0 CD-Rom上拷下來的install.bat (Install GRUB for DOS):
============================================= echo off attrib -r -h -s c:\boot\stage1 attrib -r -h -s c:\boot\stage2 c:\boot\flushdrv.exe c:\boot\ntfsinstall -d (hd0,0) -1 c:/boot/stage1 -2 c:/boot/stage2 -m c:/boot/menu.lst c:\boot\flushdrv.exe attrib +r +h +s c:\boot\stage1 attrib +r +h +s c:\boot\stage2 find "Topologilinux 4" C:\boot.ini if ERRORLEVEL 1 goto install_boot_ini goto skip_boot_ini :install_boot_ini echo "installing in boot.ini" attrib -r -h -s C:\boot.ini copy C:\boot.ini C:\boot_ini.bak echo C:\boot\stage1="Topologilinux 4" >> C:\boot.ini attrib +r +h +s C:\boot.ini :skip_boot_ini ===================================== 為甚麼要 "ntfsinstall -d (hd0,0) -1 c:/boot/stage1 -2 c:/boot/stage2 -m c:/boot/menu.lst" 這一行,它會改變stage1和stage2的內容嗎? 當run "c:\boot\ntfsinstall -d (hd0,0) -1 c:/boot/stage1 -2 c:/boot/stage2 -m c:/boot/menu.lst" 這一行時出現"blocklist failed" |
|
| 第23楼 不点 | 发表于 2004-09-21 00:00 |
| 银牌会员 发帖 1,115 积分 2,491 | |
|
没有用过这些工具, 抱歉答复不了. 建议向其开发者询问.
|
|
| 第24楼 wslkevin | 发表于 2004-09-21 00:00 |
| 初级用户 发帖 30 积分 175 | |
|
其開發者的support很差, anyway, thanks.
|
|
| 上一页 1 2 |
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |