QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 553|回复: 7

grub問題

[复制链接]
发表于 2004-3-2 18:30:27 | 显示全部楼层 |阅读模式
請問如果從盤的mbr上有grub, 那麽是不是就不能從主盤的grub來引導從盤的分區?
发表于 2004-3-2 20:46:21 | 显示全部楼层
不是,grub 里的map 命令,可以解决这个问题,具体在精华区有关grub文章里有讲述。
回复

使用道具 举报

 楼主| 发表于 2004-3-2 21:47:37 | 显示全部楼层
我已經用map命令試過很多次了, 還是不能從從盤引導
回复

使用道具 举报

发表于 2004-3-2 22:33:16 | 显示全部楼层
那就把你grub.conf贴出来,还有你的系统信息也要全一些贴出来。
回复

使用道具 举报

 楼主| 发表于 2004-3-3 17:35:13 | 显示全部楼层
請問貼什麽系統信息? 都包括那些信息?
回复

使用道具 举报

 楼主| 发表于 2004-3-3 17:52:43 | 显示全部楼层
這是我的grub.conf文件

# 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,1)
#          kernel /boot/vmlinuz-version ro root=/dev/hda2
#          initrd /boot/initrd-version.img
#boot=/dev/hda

default=0
timeout=30
#splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title RedHat GNU/Linux
        root (hd0,1)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /boot/initrd-2.4.20-8.img

title Microsoft Windows
        rootnoverify (hd0,0)
        chainloader (hd0,0)+1

title Hard driver 2
        map (hd1) (hd0)
        root (hd1,0)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /boot/initrd-2.4.20-8.img
回复

使用道具 举报

发表于 2004-3-4 08:57:51 | 显示全部楼层
你的从盘是什么格式的呀?是不是ext3的呀?
另外
title Hard driver 2
map (hd1) (hd0)
root (hd1,0)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
中map (hd1) (hd0) 去掉试试!
如果用MAP命令,是不是先把从盘mount上呀!
回复

使用道具 举报

 楼主| 发表于 2004-3-4 16:49:18 | 显示全部楼层
從盤的linux分區是ext3格式的,其他的是fat32和swap
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-30 01:39 , Processed in 0.081339 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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