• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Easiest way to remove grub as bootloader and preserve windows

HeXploiT

Diamond Member
I accidentally installed the grub bootloader on the wrong drive and I need to actually remove that drive and preserve my windows install.
I have it set up like this;
drive 1 - Grub/unix
drive 2 - xp
drive 3 - Vista

So the easiest way to do this would probably be just to remove the unix drive and do a repair install with xp and that would fix the mbr yes?

I'm not so concerned about the vista install as it can quickly be reinstalled but my xp installation has a years worth of tweaking and installs.
 
I uninstalled Ubuntu a few weeks ago and forgot to put my Windows MBR back or move the Grub bootloader.

I did this within a LiveCD:

Opened a terminal and typed
sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda

I think you have to set sda to the drive you want to hold the boot record. I'm not sure. I did this after I removed Ubuntu and wiped my MBR out.

Apparently, this would also work:
sudo apt-get install mbr
sudo install-mbr -i n -p D -t 0 /dev/sda

Or you can boot into a Windows CD and run the recovery console (at least with XP).

I'm not sure if any of these will preserve your Vista/XP dual boot, though, you could install a MBR on each drive and have your motherboard ask you which drive you want to boot from instead.
 
Back
Top