|
mrdeadman
中级用户
  
积分 258
发帖 49
注册 2004-8-29
状态 离线
|
『楼 主』:
大家帮我看看,grub中文版是不是这样用的
使用 LLM 解释/回答一下
1,将grub覆盖/sbin/grub
2,运行grub
3,root (hd0,4) ;我的linux装在hda5中
4,setup (hd0) ;把grub装到mbr
我自认为这样是对的,但重起以后,计算机无法启动,连loading grub之类的提示都还未出现.为什么?
1, Overwrite /sbin/grub with grub
2, Run grub
3, root (hd0,4) ; My Linux is installed in hda5
4, setup (hd0) ; Install grub to MBR
I think this is correct, but after restarting, the computer cannot boot, and there is not even a prompt like "loading grub". Why?
|
|
2004-10-10 00:00 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
grub安装时要默认找/BOOT/GRUB/STAGE1和STAGE2的,看一下有没有.
When installing GRUB, it defaults to looking for /BOOT/GRUB/STAGE1 and STAGE2. Check if they exist.
|
|
2004-12-5 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
grub和 lilo 接管 MBR都有失败的记录。lilo 的失败更多,GRUB虽然少,但也曾有人报告失败。所以,我主张用 grub.exe 从 DOS 下启动,或者用 GRLDR 从 WINDOWS NT 下启动,这样就可彻底消除启动时死机的烦恼了。
bean123 的 wingrub 可以帮助你将 GRLDR 的引导代码写到 MBR,GRLDR文件目前必须放在第一块硬盘的一个主分区中,不能放在extended逻辑分区。而且,GRLDR目前必须放在FAT12/16/32/NTFS这些微软格式的分区的根目录下,支持linux的分区格式也在计划之内。
虽然把 GRLDR 写入 MBR,但是,它比用 stage1 和 stage2 来得可靠。stage1 和 stage2 的模式,是 GNUGRUB一直以来所采用的,一直有用户报告死机问题,虽然这样的用户不多,但却不间断地总有人报告。GRLDR的引导代码用汇编写成,非常精简,很容易看懂,因此以前出现的问题,都能马上得到定位和解决,现在 GRLDR 已经非常稳定了。GRLDR所采用的技术思路不同于 stage1 / stage2 的模式,它具有广泛的适应性,所以,它不会死机的,至少我很自信。
如果你的硬盘上存在 FAT12/16/32/NTFS 之一作为主分区,建议你采用 GRLDR。或者你在主分区中建立一个小的 FAT 分区,够放GRLDR就行,比如 1M 就够了,不管多大都行。
gandalf 也有一些漂亮的工具,类似于 wingrub。
Both GRUB and LILO have records of failing to take over the MBR. LILO fails more often, and although GRUB fails less frequently, there have also been reports of failures. So, I advocate using grub.exe to boot from DOS, or using GRLDR to boot from Windows NT, which can completely eliminate the annoyance of freezing during startup.
bean123's wingrub can help you write the boot code of GRLDR to the MBR. The GRLDR file must currently be placed in a primary partition of the first hard disk, not in an extended logical partition. Also, GRLDR must currently be placed in the root directory of a partition with Microsoft formats such as FAT12/16/32/NTFS. Support for Linux partition formats is also in the planning.
Although GRLDR is written to the MBR, it is more reliable than using stage1 and stage2. The stage1 and stage2 mode has been the one adopted by GNUGRUB all the time, and there have been user reports of freezing issues. Although there are not many such users, there are always people reporting it continuously. The boot code of GRLDR is written in assembly language, very concise, and very easy to understand. Therefore, the problems that occurred before can be located and solved immediately, and now GRLDR is very stable. The technical idea adopted by GRLDR is different from the stage1/stage2 mode, it has wide adaptability, so it will not freeze, at least I am very confident.
If there is one of FAT12/16/32/NTFS as a primary partition on your hard disk, it is recommended to use GRLDR. Or you can create a small FAT partition in the primary partition, enough to hold GRLDR, for example, 1M is enough, no matter how large it is.
gandalf also has some nice tools similar to wingrub.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2004-12-6 00:00 |
|
|