LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-12-2003, 05:08 PM   #1
anup_clemson
LQ Newbie
 
Registered: Sep 2003
Location: clemson
Distribution: red hat 9 (shrike)
Posts: 12

Rep: Reputation: 0
Unhappy 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???

any help is appreciated.

thanks guys.

cheers, anup.
 
Old 09-12-2003, 07:41 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
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.
 
Old 09-13-2003, 09:07 AM   #3
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
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.
 
Old 09-20-2003, 07:15 PM   #4
anup_clemson
LQ Newbie
 
Registered: Sep 2003
Location: clemson
Distribution: red hat 9 (shrike)
Posts: 12

Original Poster
Rep: Reputation: 0
thanks guys

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! partition table screwed up CARLiCiOUS Linux - Software 2 04-15-2005 03:25 PM
What to do when a partition is screwed. waterox LinuxQuestions.org Member Success Stories 6 08-12-2004 01:35 PM
mounted win partition: permission probl in win? eeried Linux - Newbie 4 08-01-2004 04:52 AM
ext2 partition screwed? LGBR Linux - General 4 08-03-2003 08:27 PM
Partition Magic screwed up my LIFO ZacWolf Linux - Newbie 5 12-03-2001 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration