LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem loading W2k with Grub (https://www.linuxquestions.org/questions/linux-newbie-8/problem-loading-w2k-with-grub-462521/)

JulyForToday 07-10-2006 02:17 AM

Problem loading W2k with Grub
 
I'm having a little problem trying to load windows 2000 with Grub.

I installed windows on hda1 (naturally), and then I installed Ubuntu 6.06. But here is the problem. I often have had problems with windows becoming corrupted, so I've become fond of using Ubuntu (the ubuntu live CD actually) to backup the windows system files on to my second disk, and if anything goes wrong, I delete the files on hda1 (c) and replace them with the files I backed up. Worked out pretty well so far. I was recently using Ubuntu live to do this, and decided to install Ubuntu onto another partition on the same disk. But I reformatted hda1 accidently, wiping out windows. So I thought no harm done, I would just put the backed up files onto it again, and it should still work fine. But when I ran the system after the installation of Ubuntu, Grub didn't have Windows in the list. Okay, not that surprising. So I did some reading about boot loaders, and played with my menu.lst for Grub. I added an new entry for the top of the list that looks like this:

title Windows 2000
root (hd0,0)
chainloader +1

When I boot up I can choose windows on the list, and everything looks like it's going normally, but when it reaches 'chainloader +1' it just hangs. It doesn't do anything.

I just wanted to know where the problem is. I could easily just reinstall windows, then copy the backup files onto the fresh install. But I want to know if there is a way I could fix this without doing that.

Thanks! -James

ethics 07-10-2006 02:48 AM

Code:

# (2) Windows XP
title  Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

That's my entry for Windows XP in my menu.lst, i seem to remember having problems with windows booting without those exact options.

NOTE: i take no responsibility for anything bad happening :P

JulyForToday 07-10-2006 11:26 PM

I tried adding that additional information to the file (Win2000 instead of XP) but it didn't work. I played with it a bit, but nothing worked, so I just reinstalled clean. Thanks anyways! :)


All times are GMT -5. The time now is 04:17 PM.