-   Linux - Newbie (
-   -   Accidentally removied Windows from Boot...I wish I didn't (

ds-one 11-17-2005 05:01 PM

Accidentally removied Windows from Boot...I wish I didn't
Ok, this sounds really stupid...but I accidentally deleted Windows 2000 from my the "Boot" panel in Gnome.

Is there any way I can recover it (aside from re-installing Win2K)? I do have files under my FAT32 partition that I do need.

I would appreciate any help I could get

PS: GRUB is the OS loader btw.

fouldsy 11-17-2005 05:12 PM

Which boot loader are you using? So long as it's still available in grub.conf or lilo.conf, re-installing the boot loader should put it back in the menu for you.

tkedwards 11-17-2005 05:15 PM

Adding an entry like this to your /boot/grub/grub.conf should get it back:

title Other
        rootnoverify (hd0,0)
        chainloader +1

This entry if for my box where windows is installed on the first partition of the first (primary) hard drive. Adjust the (hd0,0) bit tosuit the location of your Windows install.

bosewicht 11-17-2005 05:15 PM

you should be able to add win2000 to lilo or grub with the editor of ur choice. search here for examples of what you need to make it look like. Just keep ur *nix install disc handy in case you mess something up and it wont boot. I would also make a backup of any files you edit

sundialsvcs 11-18-2005 11:47 AM

The first instinct might be... "OMG! REINSTALL!" :eek:

But that's a Windows instinct. This is Linux ... ;)

Here's what to do. Ask yourself how you managed to make Windows go-away from the boot menu. What changed recently? Is there a backup-file handy?

Okay, let's suppose there isn't. The next question is: are you using grub as your bootloader, or LILO? In Linux, look for a directory called /boot/grub. That is, from the topmost directory, look for "boot" and within that look for a folder, "grub." If so, you'll find a grub.conf file in that folder, and the command info grub will tell you all about it... with examples.

If, on the other hand, you see a /boot/map file, and a file /etc/lilo.conf, you're probably using LILO. Once again, man lilo will tell you all about it. A little bit more complicated but it'll get you on the right track.

In both cases you do need to know where the Windows operating-system is: on which drive, and which partition.

"Simply scrambling for a reinstall disk" is not the right thing to do. :tisk: It will only make things needlessly worse... Now that you find yourself unexpectedly thrust into this situation :cry: ... work your way out of it :cool: ... learning :study: as you go. These woods will never be so dark-and-scary again.

ds-one 11-18-2005 09:29 PM

I ended up reinstalling Debian (not only for the Windows problem, but I was unsatsified with a lot of the things I did). The good thing is I ended up configuring everything back to the way I wanted.

FYI: GRUB came with my install disk and was the one used from start. There was (and still is) no grub.conf.

Thanks for the help though. I did end up learning a lot I didn't know about Debian/Linux beforehand.

All times are GMT -5. The time now is 09:15 PM.