国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 系統(tǒng) > Fedora > 正文

fedora 系統(tǒng)下grub修復(fù)

2020-10-23 21:43:09
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

修復(fù)的步驟如下:

1,cd啟動(dòng)盤,fedora8,或者fedora9都可以,甚至其他的有圖形界面安裝的linux版本都可以的,啟動(dòng)后一直按照安裝的步驟進(jìn)入安裝的桌 面,就是桌面上有一個(gè)文件夾,還有個(gè)計(jì)算機(jī),還有個(gè)install的圖標(biāo)的桌面,這時(shí)候,你從左上角的fedora菜單欄里面,找到系統(tǒng)工具,點(diǎn)擊終端。

2,終端里面如何輸入請(qǐng)看我的輸入。
 

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 來(lái)啟動(dòng)grub這樣就能開(kāi)始grub>,然后開(kāi)始安裝grub,輸入root (hd0,7),這里面root后面有一個(gè)空格不要忘記了,hd后面的數(shù)字0,還有那個(gè)7要看你自己的情況來(lái)定了。0代表的是第幾塊硬盤,7代表的是第幾 個(gè)分區(qū),你對(duì)于這不能很確定的話,可以點(diǎn)擊桌面上的install圖標(biāo),一直到他讓你選擇分區(qū)什么的東西,你可以在那里看看你的fedora是裝在第幾個(gè) 分區(qū)里面,我的是在第7個(gè)分區(qū)里面,然后setup (hd0)也有空格的,這個(gè)0和前面的0是必須一樣的。

 

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 贺州市| 香格里拉县| 汾阳市| 大足县| 驻马店市| 赤城县| 平乡县| 大连市| 三河市| 彰化市| 墨脱县| 甘孜| 屯门区| 韩城市| 洞口县| 两当县| 三穗县| 温宿县| 石狮市| 剑川县| 米易县| 出国| 青阳县| 呈贡县| 六盘水市| 新营市| 绿春县| 牙克石市| 长岭县| 长春市| 平山县| 中卫市| 赣州市| 大城县| 长岛县| 高雄县| 东乌珠穆沁旗| 壶关县| 政和县| 清丰县| 南召县|