找回密码
 注册
查看: 856|回复: 19

SOS!

[复制链接]
发表于 2004-8-26 14:24:48 | 显示全部楼层 |阅读模式
I am Using Grub booting

And I Edit the /boot/grub/menu.lst     like the ZhiDingTieZi.

& it can't Booting ...

it says:

booting "XX"
makeactive

Error 12:Invalid divce requested

Press any key to ...
 楼主| 发表于 2004-8-26 14:27:16 | 显示全部楼层
Here, I show the /boot/grub/menu.lst  file ...

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,9)
#          kernel /boot/vmlinuz-version ro root=/dev/hda10
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,9)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.35
        root (hd0,9)
        kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.5-1.358.img
title MS Windows
        rootnoverify(hd0,0)
        makeactive
        chainloader +1
回复

使用道具 举报

 楼主| 发表于 2004-8-26 19:43:47 | 显示全部楼层
No people know?!
回复

使用道具 举报

发表于 2004-8-26 21:36:37 | 显示全部楼层
能不能把/etc/fstab也贴一下
回复

使用道具 举报

 楼主| 发表于 2004-8-27 10:28:36 | 显示全部楼层
What's that>??!?!?!?!


I 'll find it~!!!

Wait a minute^_^...

对不起,我的FC2输入法坏了,现在用的数 学校的机~!!

++++++++++++++++++++++++++++++++++++++++++++++++++++

翻译一下:

我用grub引导,不成功,照置顶的帖子做一次,改编了/boot/grub/menu.lst,也不行……

他说:

booting "XX"
makeactive

Error 12:Invalid divce requested

Press any key to ...

——我的MENU。LST 如下

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,9)
# kernel /boot/vmlinuz-version ro root=/dev/hda10
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,9)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.35
root (hd0,9)
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.5-1.358.img
title MS Windows
rootnoverify(hd0,0)
makeactive
chainloader +1



==================================================

谁能把MENU。LST贴出来啊~!]
我的XP装在 hda0,0(c

贴出来或许能帮帮我~!!!
回复

使用道具 举报

 楼主| 发表于 2004-8-27 12:20:55 | 显示全部楼层
LABEL=/                         /                              ext3     defaults                    1 1
none                              /dev/pts                     devprs gid=5,mode=620       0 0
none                              /dev/shm                   tmpfs    defaults                   0 0
LABEL=/home                 /home                       ext3      defaults                   1 2
none                              /proc                         proc     defaults                   0 0
none                              /sys                          sysfs     defaults                   0 0
/dev/hda8                       swap                        swap     defaults                   0 0
/dev/cdrom                      /mnt/cdrom                udf ,iso9660 noauto,owner.kudzu,ro   0 0
/dev/fd0                         /mnt/floppy                 auto      noauto,owner,kudzu  0 0   


=====================================================================
the etc/fstab
回复

使用道具 举报

发表于 2004-8-27 16:39:26 | 显示全部楼层
LABEL=/ / ext3 defaults 1 1

这句好像有点问题吧,怎么没有/dev/hdax的那项
回复

使用道具 举报

 楼主| 发表于 2004-8-27 20:11:37 | 显示全部楼层
LABEL=/                                       /                       ext3          defaults        1  1

/*
*what's wrong whith it??
*Must The mount /dev/hdaX plus ?
*what about yours?
*/
回复

使用道具 举报

发表于 2004-8-27 21:12:06 | 显示全部楼层
因为我考完rhce后有段时间没碰redhat了,用的一直是gentoo,我的fstab如下:

/dev/hdc2    /boot      reiserfs   ro,noauto    1      1
/dev/hdc7    /             reiserfs   defaults       0      0
proc            /proc        none      defaults       0      0
.
.
.
而相对应的我的grub。conf(就是menu。lst)如下:
title   Gentoo linux 2004.2  with gensplash
root   (hd0,1)
kernel  /kernel-2.6.8-gensplash   ro  root=/dev/hdc7  . . . .

刚又看了一下你的menu。lst,发现了你都问题所在,既然在fstab中用了LABEL=xxx,为什么在menu。lst中却使用了

root (hd0,9)

两者不统一所以就。。。。。

抱歉,一开始没注意,还说你的fstab有问题,惭愧惭愧,如果对怎么写menu。lst还有问题的话,可以man grub。conf。记住哦,google和man可是linuxer永远的老师
回复

使用道具 举报

 楼主| 发表于 2004-8-28 11:29:57 | 显示全部楼层
我的en语不是很好,看不懂man。。。。

那么请问怎么改啊~!!

是把fs..该成hdaX..?
回复

使用道具 举报

发表于 2004-8-28 13:24:33 | 显示全部楼层
LABEL=/ / ext3 defaults 1 1

把这行改成
/dev/hda10     /       ext3       defaults     0      0

看你的menu。lst中用的是
root (hd0,9)

这代表硬盘的第十个分区,也就是/dev/hda10,试试吧。
回复

使用道具 举报

 楼主| 发表于 2004-8-31 21:20:11 | 显示全部楼层
a ?
But there's the wrong with the "Booting XP".
I can't boot WinXP
The Grub Says the wrong is both "Error 12 "&"Error 13"
My XP is in the hda(0,0)
回复

使用道具 举报

发表于 2004-8-31 22:32:22 | 显示全部楼层
root (hd0,0)
chainloader +1

再试一下
回复

使用道具 举报

 楼主| 发表于 2004-8-31 22:53:11 | 显示全部楼层
3q
你有q吗?
回复

使用道具 举报

发表于 2004-9-1 12:36:37 | 显示全部楼层
3q
你有q吗?

以前有一个付费的,本来捆绑的手机坏了(公家的,就没修),换了一个cdma的,原先的就没有了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-3-13 09:19 , Processed in 0.044177 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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