Skip to contentSkip to conversation

Overwrote bootloader

DISCUSSION Meyer, David R 2 participants 2 messages Jan 30, 2006

lore
Share & tools
lore
#0 lore raw

Don't panic...this one is easy...

If you have the Windows XP CD, run the recovery module and it will fix the bootloader.

HOWEVER, you can also stick with a Linux boot loader. I have been dual-booting my work laptop for three years now using a varied array of distros. I have not used the Windows bootloader since 2003. If you install Linux (as you have found out) it will find your Windows partition and bring that option up to you so you can once again run both OS's.

Dave

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of sumit kalra
Sent: Monday, January 30, 2006 10:25 AM
To: [email protected]
Subject: Overwrote bootloader

Hi All,

I have a dual boot machine (Win XP and Fedora Core4) using grub as the bootloader. The loader was working fine for both Windows and Linux till I started playing around with it.

I edited /etc/grub.conf and ran 'grub-install /dev/hda8' (windows partition) instead of 'grub-install /dev/hda' so basically the Linux bootloader has overwritten the Windows boot loader. Realizing my mistake, I ran 'grub-install /dev/hda'.

If from the main grub screen I choose 'Linux', I can boot into Linux but if I choose 'Windows' I get to the same bootloader again.

Another problem, I can't mount the windows partition (NTFS) since FC4 apparently doesn't support it.

Can I, in anyway, recover the Windows bootloader?

Thanks,
Sumit

___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw

Hi Dave,

Quoted 5 lines · David R

Don't panic...this one is easy...

If you have the Windows XP CD, run the recovery
module and it will fix
the bootloader.

Will try this.

Quoted 5 lines

since 2003. If you
install Linux (as you have found out) it will find your Windows
partition and bring that option up to you so you can once again run both OS's.

This didn't work since I had overwritten the Windows boot-loader on /dev/hda1.

Thanks,
Sumit

Quoted 28 lines

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On
Behalf Of sumit kalra
Sent: Monday, January 30, 2006 10:25 AM
To: [email protected]
Subject: Overwrote bootloader

Hi All,

I have a dual boot machine (Win XP and Fedora Core4) using grub as the
bootloader. The loader was working fine for both Windows and Linux till
I started playing around with it.

I edited /etc/grub.conf and ran 'grub-install /dev/hda8' (windows
partition) instead of 'grub-install /dev/hda' so basically the Linux
bootloader has overwritten the Windows boot loader. Realizing my mistake, I ran 'grub-install /dev/hda'.

If from the main grub screen I choose 'Linux', I can boot into Linux but
if I choose 'Windows' I get to the same bootloader again.

Quoted 7 lines

Another problem, I can't mount the windows partition (NTFS) since FC4 apparently doesn't support it.

Can I, in anyway, recover the Windows bootloader?

Thanks,
Sumit

___________________________________________________________
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs