歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 無光驅軟驅恢復grub一例

無光驅軟驅恢復grub一例

日期:2017/2/27 14:31:00   编辑:更多Linux
  我的系統分配如下: hda hdb(無主分區,整個盤都劃為擴展DOS分區) hdb6 Linux/分區 不知道為什麼安裝了redhat9.0選擇將grub安裝在hdb6安裝完成。重啟沒有grub菜單,(turbolinux8 workstation可沒有這個問題) 恢復方法: 找到ISO文件1裡dosutils下的loadlin.exe和vmlinuz兩個文件放到同一目錄,在DOS下進入該目錄執行: loadlin vmlinuz root=/dev/hdb6 (注意將hdb6更改為你的linux啟動分區) 用你的root身份登錄後在命令行下執行 >grub grub>root (hd1,5) //第二硬盤,5=6(你的linux/分區)-1 grub>setup (hd0) //習慣性思維我嘗試過setup (hd1,5) setup (hd1)都不行,注意一定要為setup (hd0) grub>quit >reboot 好了,該回來的都回來了,從今以後我又可以瘋狂格盤了




Copyright © Linux教程網 All Rights Reserved