請問RedHat 7.2的GRUB開機問題..... 【求助】



贊助商連結


veilun
2002-04-04, 08:54 PM
請問各位高手,我是以GRUB來當開機程式,但是灌好RedHat 7.2後進入系統卻出現以下訊息而不是KDE或GONE~~~~請問是怎麼回事~~~要如何決解才能進入到圖形介面
GRUB version 0.90 (639k lower / 130048k 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>

--------------------------------------------------------------------
照上文所提示的按「TAB」鍵後出現以下訊息:

Possible commands are:background blocklist boot border cat chanloader cmp color configfile debug display displayapm displaymem embed find foreground fstestgeometry halt help hide impsprobe initrd install ioprobe kernel lock makeactive map md5cryptmodule modulenounzip pratnew parttype password pause read reboot root rootnoverify savedefault serial setkey setup shade splashimage terminal testload testvbe nuhide uppermem vbeprobe viewport

grub>

贊助商連結


truelove
2002-04-05, 08:50 AM
GRUB的開機路徑設定錯誤!導致Linux無法執行開機程序載入系統核心!
出現那一行就是要你自己key開機程序的參數跟路徑!
:o

veilun
2002-04-05, 01:07 PM
哦~~~~~原來如此,我試試~~~~THX~~~

veilun
2002-04-05, 09:34 PM
請問truelove兄及各位高手:
我看了/boot/grub/grub.conf檔案的內容後還是不太改。另外除了在grub.conf的檔案外還有一個一樣在/boot/grub/menu.lst的檔案,兩個內容都完全一樣,請問要改那一個???
(ps:我的硬碟上只有灌RetHat 7.2)以下是我grub.conf的檔案訊息:
-----------------------------------------------------------------------------
#grub.conf generated by anaconda
#
#Note that you do not have to rerun grub after making changes to this file
#NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/ , eg.
# root(hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda/
default=0
timout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Redhat Linux(2.4.7-10)
root(hd0,0)
kernel /vmliunz-2.4.7-10 ro root=/dev/hda2
initrd-2.4.7-10.img

truelove
2002-04-05, 11:14 PM
最初由 veilun 發表
請問truelove兄及各位高手:
我看了/boot/grub/grub.conf檔案的內容後還是不太改。另外除了在grub.conf的檔案外還有一個一樣在/boot/grub/menu.lst的檔案,兩個內容都完全一樣,請問要改那一個???
(ps:我的硬碟上只有灌RetHat 7.2)以下是我grub.conf的檔案訊息:
-----------------------------------------------------------------------------
#grub.conf generated by anaconda
#
#Note that you do not have to rerun grub after making changes to this file
#NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/ , eg.
# root(hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda/
default=0
timout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Redhat Linux(2.4.7-10)
root(hd0,0)
kernel /vmliunz-2.4.7-10 ro root=/dev/hda2
initrd-2.4.7-10.img
===========================================================
幾個問題~
1.你的GRUB是裝在/boot還訴MBR!?
2.你的root訴裝再第一顆硬碟的第二個實體磁區(primary)訴否!?
3.口已提供你的磁區訴怎麼切的嗎!?

veilun
2002-04-06, 12:13 AM
1. 在安裝RedHat7.2時我是選擇安裝boot Loader record在/dev/hda Master Boot Record(MBR)的選項(硬碟共8GB,安裝時我是讓系統預設安裝並沒有手動安裝)
2. 我的root和磁區安裝方式
/dev/hda
---/dev/hda1 47MB(ext3) /boot
---/dev/hda2 7758MB(ext3) /------>(root裝在這裡)
---/dev/hda3 251MB(swap)