LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 858|回复: 5

大侠救命~!卡在这里一个星期了。。。老外也没给我搞定啊,救命!

[复制链接]
发表于 2005-9-15 17:11:15 | 显示全部楼层 |阅读模式
problem: can not install grub into MBR, by using grub-intall, and manual way either! error 17 come out , and unknow filesystem type

These are my computer info.
configures of my computer
lanparty nf4 ultra-d + sata 2 disk with NCQ techs for 160G+amd althon64 venice 3000+ windows xp os
my fdisk list(fdisk -l) shows
/dev/sdb1 * system HPFSNTFS
/dev/sdb2 w95 ext'd (LBA)
/dev/sdb3 linux (83) <----boot
/dev/sdb4 linux (82) <----swap
'i shoud have another partition on the list but could not be seen under fdisk -l , have to use cfdisk to see it , i dont know why ? so i put the cfdisk list here
nvidia_jedefcfi1 boot primary ntfs
nvidia_jedefcfi2 primary linux ext2
nvidia_jedefcfi3 primary linux swap
nvidia_jedefcfi4 logical linux ext3
nvidia_jedefcfi5 logical w95 fat32
nvidia_jedefcfi6 logical w95 fat32

then i ran these commands after livecd boot in
mount /dev/mapper/nvidia_jedefcfi5 /mnt/gentoo
mount /dev/mapper/nvidia_jedefcfi3 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc

chroot /mnt/gentoo /bin/bash
ls /boot(there are few things under this folder)
"boot config-2.6.12-gentoo-r6 kernel-2.6.12-gentoo-r6 "

grub-install /dev/sdb3
"dev/mapper/nvidia_jedefcfi3: not found or not a blockdevice"

my grub.conf

default 0
timeout 3
splashimage=(hd1,2)/grubsplash.xpm.gz<---i put (hd0,0) it did not work either

title=gentoo
root (hd1,2) <---(hd0,0) not work as well
kernel /boot/kernel-2.6.12-gentoo-r6 root=/dev/sdb3 video=vesafb:mtrr,ywrap,1024x768-32@60

title=windows xp
rootnoverify (hd0,5)
makeactive
chainloader +1

when i use manual way to configure grub it shows
Grub
probing devices to guess bios drives. this may take a long time.
end_request:I/O error,dev fd0, sector 0

grub>root (hd1,2)
root (hd1,2)
filesystem ytpe unknow, partition type 0x83
grub>setup (hd0)
setup (hd0)
error 17: cannot mount selected partition

forturnitly the quit command works....haha

anyone can help me out that ? plz ~!
thx for replying~!!!

不好意思,直接从gentoo论坛上拷下来的。
发表于 2005-9-15 19:38:45 | 显示全部楼层
你的/boot目录下的东西太少了,缺少grub目录和里面的很多stage
怀疑你的grub没有正确安装,是不是emerge grub时,没挂载sdb3到/mnt/gentoo/boot下??
回复 支持 反对

使用道具 举报

发表于 2005-9-15 22:04:30 | 显示全部楼层
你的硬盘到底是0还是1?

如果是0,应该这样写把?

grub>root (hd0,2)
root (hd0,2)
grub>setup (hd0)
setup (hd0)
回复 支持 反对

使用道具 举报

发表于 2005-9-15 22:26:18 | 显示全部楼层
/dev/mapper/nvidia_jedefcfi5
你在用什么设备?怎么不是/dev/sd?,难道你在用raid?
回复 支持 反对

使用道具 举报

发表于 2005-9-16 12:08:59 | 显示全部楼层
Coooooooooooooooooooooooooool machine

lanparty nf4 ultra-d + sata 2 disk with NCQ techs for 160G+amd althon64 venice 3000+ windows xp os
回复 支持 反对

使用道具 举报

发表于 2005-9-16 17:17:46 | 显示全部楼层
试着在chroot 前cp -a /dev/  /mnt/gentoo看看
回复 支持 反对

使用道具 举报

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

本版积分规则

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