|
|
发表于 2004-11-14 21:18:14
|
显示全部楼层
最初由 andrew 发表
我用grub.exe进入到“grub>”提示符下敲入find /boot/vmlinuz
提示找不到文件,现在怎么办?
啊,有windows下的grub,前面忘记了。
不能用find /boot/vmlinuz,因为grub并不知道/boot在那个分区下,你需要用Tab键的补齐功能来寻找。
grub>find (hd接下来用Tab补齐功能,看看屏幕上的提示,比如:
- grub> find (hd
- Possible disks are: hd0 hd1
-
- grub> find (hd0,
- Possible partitions are:
- Partition num: 0, Filesystem type is ext2fs, partition type 0x83
- Partition num: 1, Filesystem type is ext2fs, partition type 0x83
- Partition num: 2, Filesystem type unknown, partition type 0x82
- Partition num: 4, Filesystem type is ext2fs, partition type 0x83
- Partition num: 5, Filesystem type is ext2fs, partition type 0x83
- Partition num: 6, Filesystem type is ext2fs, partition type 0x83
- Partition num: 7, Filesystem type is ext2fs, partition type 0x83
- Partition num: 8, Filesystem type is ext2fs, partition type 0x83
- Partition num: 9, Filesystem type is ext2fs, partition type 0x83
- Partition num: 10, Filesystem type is ext2fs, partition type 0x83
- Partition num: 11, Filesystem type is ext2fs, partition type 0x83
- Partition num: 12, Filesystem type is ext2fs, partition type 0x83
- Partition num: 13, Filesystem type is ext2fs, partition type 0x83
- Partition num: 14, Filesystem type is ext2fs, partition type 0x83
- grub> find (hd0,0)/
- Possible files are: lost+found grub message.ja message kernel.h System.map ini
- trd-2.4.21-15.EL.img System.map-2.4.21-15.EL config-2.4.21-15.EL vmlinux-2.4.21
- -15.EL vmlinuz-2.4.21-15.EL
-
- grub> find (hd0,0)/vmlinu
- Possible files are: vmlinux-2.4.21-15.EL vmlinuz-2.4.21-15.EL
-
- grub> find (hd0,0)/vmlinuz-2.4.21-15.EL
复制代码
这里的(hd0,0)就是/boot分区在grub中的标识。以上仅供参考。 |
|