QUOTE: |
[fedora@localhost ~]$ grub bash: grub: command not found [fedora@localhost ~]$ whereis grub grub: /sbin/grub /usr/share/grub /usr/share/man/man8/grub.8.gz [fedora@localhost ~]$ su [root@localhost fedora]# /sbin/grub Probing devices to guess BIOS drives. This may take a long time. GNU GRUB version 0.97 (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,7) root (hd0,7) Filesystem type is ext2fs, partition type 0×83 grub> setup (hd0) setup (hd0) Checking if “/boot/grub/stage1″ exists… yes Checking if “/boot/grub/stage2″ exists… yes Checking if “/boot/grub/e2fs_stage1_5″ exists… yes Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 23 sectors are embedded. succeeded Running “install /boot/grub/stage1 (hd0) (hd0)1+23 p (hd0,7)/boot/grub/stage2 /boot/grub/grub.conf”… succeeded Done. grub> |
3,解釋如下,su切換到root用戶,然后輸入 /sbin/grub 來啟動grub這樣就能開始grub>,然后開始安裝grub,輸入root (hd0,7),這里面root后面有一個空格不要忘記了,hd后面的數字0,還有那個7要看你自己的情況來定了。0代表的是第幾塊硬盤,7代表的是第幾 個分區,你對于這不能很確定的話,可以點擊桌面上的install圖標,一直到他讓你選擇分區什么的東西,你可以在那里看看你的fedora是裝在第幾個 分區里面,我的是在第7個分區里面,然后setup (hd0)也有空格的,這個0和前面的0是必須一樣的。
標簽:阿壩 韶關 黔西 廣州 哈密 大興安嶺 齊齊哈爾 六安
巨人網絡通訊聲明:本文標題《fedora 系統下grub修復》,本文關鍵詞 fedora,系統,下,grub,修復,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。