歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> Grub VS windows

Grub VS windows

日期:2017/3/6 15:21:18   编辑:關於Unix
我又犯錯啦.Linux回來了可 windows 沒了. 我有兩塊硬盤,使用論壇裡介紹的方法將重裝windows 時覆蓋的Grub恢復並且順利進入了 linux .可windows 卻無法啟動了.恢復過程:使用Redhat 8 LINUX 光盤啟動,進入rescue模式,然後進入gurb恢復時使用的命令是gurb>setup 我又犯錯啦.Linux回來了可windows沒了.

我有兩塊硬盤,使用論壇裡介紹的方法將重裝windows時覆蓋的Grub恢復並且順利進入了linux.可windows卻無法啟動了.恢復過程:使用Redhat 8 LINUX光盤啟動,進入rescue模式,然後進入gurb恢復時使用的命令是gurb>setup (hd0,0)我情況是這樣的:總的來說我的第一塊硬盤裝著MS的操作系統/dev/hda1 fat32 #我的C盤,裝有WIN98/dev/hda5 fat32 #我的D盤,裝有XP/dev/hda6~8 均為fat32 #我的幾個數據分區下面是第二塊硬盤,裝著rh8/dev/hdb1 ext3 #linux的boot分區/dev/hdb2 linux-swap #交換分區/dev/hdb3 ext3 #linux根分區現在只能進入LINUX,而無法引導windows.在Grub菜單裡選Windows以後就又恢復到Grub菜單,而看不到以前windowsXP的啟動菜單.並且可以在linux 下掛載windows的所以分區.我的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 (hd1,0)# kernel /vmlinuz-version ro root=/dev/hdb3# initrd /initrd-version.img#boot=/dev/hdadefault=1timeout=10splashimage=(hd1,0)/grub/splash.xpm.gztitle Red Hat Linux (2.4.18-14)root (hd1,0)kernel /vmlinuz-2.4.18-14 ro root=LABEL=/initrd /initrd-2.4.18-14.imgtitle Windowsrootnoverify (hd0,0)chainloader +1請高人幫我看看,我要怎麼做才能進入windows? 在這裡也說說吧.

Copyright © Linux教程網 All Rights Reserved