dualboot - lost win MBR
i'm setting up a dual boot with gentoo/Winxp.
xp on hda / gentoo on hdb as I was setting up Gentoo partition for boot I accidentally used hda1 instead of hdb1...writing over the MBR for the wrong disk. I'm all but done with the install...just configuring LILO - havn't rebooted yet. Ideas? Suggestions? thanks in advance - clok |
You can try to fix it by booting with the winxp cdrom, get in the recovery console and do a fixboot and/or fixmbr
Or if by chance it's a fat32 partition I know a faster and more reliable way of restoring nt bootsector. |
but is that going to screw up LILO operation?
do i need to redo that part of the config? |
Make sure you created the linux bootdisk, after you do a fixboot/fixmbr use the bootdisk to boot into linux then reinstall lilo back into mbr
Or alternatively you can use nt boot loader to load linux, once your're in first install lilo to /dev/hdb1, then do a: dd if=/dev/hdb1 of=gentoo.bin bs=512 count=1 copy gentoo.bin into a floppy disk(FAT formatted), reboot and get back into xp, copy gentoo.bin into c:\ (or where boot.ini,ntldr,ntdetect.com is, by default there's hidden, go in view options then enable show hidden system files if necessary) then add c:\gentoo.bin="Gentoo" into your boot.ini cheers |
thank you for the info and speedy reply
|
All times are GMT -5. The time now is 09:56 PM. |