screwed up my win partition (not that i care) but i need to use it
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
screwed up my win partition (not that i care) but i need to use it
Hello world!
lets get to the problem directly.
here is how machine is set up:
2 hard disks:
hda - 8gigs; 4 for win2k, 4 for rh9
hdb - 10 gigs; entirely rh9
bootloader: grub
the hda was a old disk and since i needed both win and lin i had it in 2 partitions and a dual boot mode.
sometime later i got another hard disk, so i decided to install rh9 on it, so i could have 1 disk for win and another for lin by itself.
installed rh9 on hdb and everything was working fine.
so now i had hda = win + lin and hdb = lin
i decided to delete the lin partition on the first partion to make more space for win. i deleted the lin partition which was showing up as "free space" under my win2k disk management utility.
as soon as i did that, voila, machine rebooted, grub screen comes up, but when i prompted to boot into win i get an error that looks like this:
rootnoverify(hd0,0)
chainloader +1
Error 13: Invalid or unsupported executable format
Press any key to continue ...
now if i press any key, it again brings me to the grub menu.
if i select linux it boots properly and everything is fine.
my question is can i restore my win2k without having to reinstall it???
i guess you could try the fixmbr command from booting to the w2k CD recovery console. if it works you'd just have to reinstall grub. just make sure you have a way to get back to linux handy so you can reinstall the bootloader.
Yeah.
I've also learned that starting W2K installation until the phase where it has not yet began to write on disk, restores the W2k bootloader.... but I don't remember when you have to cancel W2k install process. Use common sense.
hey guys,
thanks for replying.
i fixed the thing but had to do it the hard way a total reinstall, but that was because of a mistake on my part, i delted the hda linux partition and made the hda as one entire 8 gb space. I tried fixmbr and fixboot b4 deleting the linux partition though, don't know why it didn't fix my mbr and let me get into win.
thanks anyways,
cheers,
anup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.