windows lost after installing Linux
Aaron Konstam
akonstam at sbcglobal.net
Fri Apr 28 15:32:26 UTC 2006
On Fri, 2006-04-28 at 19:54 +0530, Ankush Grover wrote:
> Hey friends,
>
> One of my friend has recently installed FC4 on a Desktop PC on which
> Windows 2000 was there. Now he is not able to boot to windows and he
> has very important files on windows.
>
> How will he get the option of dual boot means how to edit grub so that
> he can get the option of dual boot?
>
>
Changed the grub.conf to osmething like this, with changes so the
correct partitions are indicated:# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.15-1.1833_FC4)
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-1.1833_FC4 ro root=LABEL=/ rhgb
quiet
initrd /boot/initrd-2.6.15-1.1833_FC4.img
title Win2000
rootnoverify (hd0,0)
chainloader +1
It may be he will have to reinstall grub with:
grub-install
More information about the fedora-list
mailing list