+ -
当前位置:首页 → 问答吧 → 一个关于grub的问题,请高手帮忙

一个关于grub的问题,请高手帮忙

时间:2005-02-25

来源:互联网

grub不能识别ext3fs分区。

[root@localhost ~]# mkfs.ext3 /dev/hda7
mke2fs 1.35 (28-Feb-2004)

max_blocks 1612146688, rsv_groups = 49199, rsv_gdb = 384
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
788704 inodes, 1574362 blocks
78718 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1614807040
49 block groups
32768 blocks per group, 32768 fragments per group
16096 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Writing inode tables: done
inode.i_blocks = 24584, i_size = 4243456
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 24 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@localhost ~]#

GNU GRUB version 0.95 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type is fat, partition type 0xb
Partition num: 4, Filesystem type is fat, partition type 0xb
Partition num: 5, Filesystem type unknown, partition type 0x7
Partition num: 6, Filesystem type unknown, partition type 0x6
Partition num: 7, Filesystem type unknown, partition type 0x82
Partition num: 8, Filesystem type is ext2fs, partition type 0x83
grub> root (hd0,

却能识别reiserfs,奇怪吗?

[root@localhost ~]# mkreiserfs /dev/hda7
mkreiserfs 3.6.11 (2003 http://www.namesys.com)

A pair of credits:
Elena Gryaznova performed testing and benchmarking.
The Defense Advanced Research Projects Agency (DARPA, http://www.darpa.mil) is the
primary sponsor of Reiser4. DARPA does not endorse this project; it merely
sponsors it.
Guessing about desired format.. Kernel 2.6.9-5.EL is running.
Format 3.6 with standard journal
Count of blocks on the device: 1574362
Number of blocks consumed by mkreiserfs formatting process: 8260
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 0149c82e-c9db-419b-9d82-f1cb7e67dc67
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/hda7'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
Tell your friends to use a kernel based on 2.4.18 or later, and especially not a
kernel based on 2.4.9, when you use reiserFS. Have fun.
ReiserFS is successfully created on /dev/hda7.
[root@localhost ~]#

GNU GRUB version 0.95 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type is fat, partition type 0xb
Partition num: 4, Filesystem type is fat, partition type 0xb
Partition num: 5, Filesystem type unknown, partition type 0x7
Partition num: 6, Filesystem type is reiserfs, partition type 0x6
Partition num: 7, Filesystem type unknown, partition type 0x82
Partition num: 8, Filesystem type is ext2fs, partition type 0x83

grub> root (hd0,

我的主系统是redhat-AS4,不支持reiserfs,想在hda7装lfs系统。用ext3fs,grub却不能识别引导该分区

作者: funnychen   发布时间: 2005-02-25

没人能解释解决吗?
我也觉得有点不可思议。

作者: funnychen   发布时间: 2005-02-25