LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Problems with GRUB/Dual boot with win2k server (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/problems-with-grub-dual-boot-with-win2k-server-365710/)

kcommins 09-21-2005 04:30 PM

Problems with GRUB/Dual boot with win2k server
 
Hello,

I recently bought a laptop (HP DV1355) with 100g hard drive and 1024 ram. Firstly I installed Windows 2003 server , then yesterday Fedora III. All was well until a few hours ago , when I rebooted I was greeted with the GRUB prompt . Now I cant even access Windows !! Anyone got any advice on scripting or any links to talk me through GRUB so I can get it back working?? Or why it even happened in the first place , I'm imagining its the dual boot ...All help will be much appreciated !!!

Keith

Fluxx 09-21-2005 04:58 PM

You can try to re-install GRUB if you know your Root-partition to which you have installed Fedora.

At the GRUB boot prompt try the following:

root (hd0,1) <-- if you installed Fedora to the second primary partition of your harddisk

and press ENTER

setup (hd0)

and press ENTER

quit

and press ENTER.

Reboot and GRUB with graphical interface should be back ...

Fluxx.

saikee 09-22-2005 05:00 AM

Congratulation if you do get a Grub prompt because you can boot any system with it "manually".

At Grub prompt, type help to see the commands available. For example typing

geometry (hd0)

will show up all the partitions you have in the first disk (Grub counst from 0 and not 1).

Your Win2k will be type 7 (or 0x7) if it is a NTFS partition and should have been marked with a * indicating it is bootable. Assuming it is the first partition known as hda1 or (hd0,0) to Grub then the following commands will boot your WIn2k at Grub prompt

root (hd0,0)
chainloader +1
boot

You should be able to do the same with Fedora by altering the partition number.

The solution given by fluxx is to restore Fedora's Grub.

Grub always booted to a Grub prompt if its menu.lst in either /boot or /boot/grub directly is unusable or missing.

My message is with Grub prompt you can still boot. You just don't know how to use it yet.


All times are GMT -5. The time now is 03:18 AM.