LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Killed Grub on former Dual boot sys (https://www.linuxquestions.org/questions/linux-general-1/killed-grub-on-former-dual-boot-sys-263352/)

NeoMetal 12-06-2004 04:29 PM

Killed Grub on former Dual boot sys
 
Ok, I had my other computer partitioned with a small FAT partition for the boot at the begininng of the disk, then a windows XP part and a smaller linux partition. The bootloader was Grub, and would work fine to boot windows and linux, until I decided to use that computer just for windows and move linux elsewhere. I used a part. magic to remove the linux partition and expand my windows partion into the [now] free space. Now, this seemed to go fine, until I restarted my computer and just get the word "Grub". I guess it was stupid of me to think it would be this easy, but I thought that would happen is that I would just get an error if I tried to boot to linux, but I realize now that I apparantly killed my bootloader. I was tring to use the Suse install to rewrite a bootloader on the the beginning of the disk, but couldn't seem to get it to work without actually installing linux which I can't really do anyways because there isn't much free space left (a couple hundred megs....I might be able to do something with that?) Anyways, if there is a boot disk type thing I can use that will just let me boot to windows that would help right now as a temporary solution at least.


Thanks!

michaelk 12-06-2004 05:51 PM

Use the XP install CD and boot to recovery mode. Then run the fixmbr utility. This will remove grub from the MBR.

bigrigdriver 12-06-2004 05:53 PM

There are many posts on these boards about that topic. If I remember correctly, you can fix the xp bootloader by booting to command-line mode in xp, and enter the command 'fdisk \mbr'. Don't quote me on that command. Do some research. But it's about that easy.

NeoMetal 12-06-2004 06:46 PM

Thanks, I'll try that

NeoMetal 12-06-2004 09:56 PM

Crap.....I'm an idiot. It asks for an admin password, which is apparantly not the same as the password I have set for the main admin user, and I don't recall ever setting any other admin passwords....:cry:

NeoMetal 12-07-2004 02:06 PM

So I guess I'm doomed basically?


All times are GMT -5. The time now is 07:35 PM.