Repair Windows Partition!?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

asdfqwerty

Thread Starter
Joined
Feb 2, 2005
Messages
59
I used Partition Magic to resize my Windows Partition. Using the GRUB bootloader, now Windows doesn't boot.

At first it shows the XP startup screen, then I get a nice error message
"xmnt2002 program not found - skipping autochk" followed by "autochk program not found - skipping autochk". After these error messages Windows goes to a blue screen saying "critical error...."

I can boot into Linux just fine and fdisk says this about my partitions:
Disk /dev/hda: 30.0 GB, 30005821440 bytes
16 heads, 63 sectors/track, 58140 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 16352 8241313+ 17 Hidden HPFS/NTFS
/dev/hda2 37199 58140 10554674 f W95 Ext'd (LBA)
/dev/hda3 16352 36179 9992430 83 Linux
/dev/hda4 36179 37199 514080 82 Linux swap
/dev/hda5 37199 58140 10554673+ b W95 FAT32

$ fdisk /dev/hda1

The number of cylinders for this disk is set to 16351.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Partition 1 does not end on cylinder boundary.
Partition 1: head 102 greater than maximum 16
Partition 2 does not end on cylinder boundary.
Partition 2: head 115 greater than maximum 16
Warning: partition 1 overlaps partition 2.
Partition 3 does not end on cylinder boundary.
Partition 3: head 116 greater than maximum 16
Total allocated sectors 1701990412 greater than the maximum 16481808


Any way to repair Windows Partition so I can boot to it again?
I think if I changed it from Hidden NTFS to just NTFS it would fix the problem, however I don't know how to do that.
I only need Windows for a Presentation I'm doing next week, otherwise I wouldn't really care.


Thanks a bunch for reading.
 
Joined
Jun 25, 2003
Messages
11
I ran across this problem using mandrake and LILO. First Put your boot loader on a floppy and have linux restore your windows boot manager. If this works,install Boot Magic to boot XP and Linux or You will have to continue using a floppy to boot into linux. Also,you may have to re-install XP. I hope that this helps you.
 
Joined
Jun 25, 2003
Messages
11
When linux loads up,do you get a GRUB boot menu? If not,use your install disk for your linux operating system.Select advanced boot options(I don't know the exact wording used) and look for a rescue option.You may be able to type rescue in the command line. If it works,you should be able to figure out what to do.Either restore the windows boot manager or put GRUB on a floppy.There is also a program called RAW Write(not sure of the spelling)that you can use to create a Linux "BOOT" disk.I'll have to check my Mandrake Disks at home for more Information.I hope that I was able to help and not confuse you.Here is a link to information about GRUB http://www.linuxgazette.com/issue64/kohli.html and another to dual boot with Windows XP and Linux using GRUB.http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html
 

asdfqwerty

Thread Starter
Joined
Feb 2, 2005
Messages
59
No you didn't confuse me.

Thanks so much for your help. I got the answer over in the Linux forum though. If you wanted to know I had to edit GRUB config file to unhide my NTFS partition. ( adding
unhide (hd0,0) to it)

Thank you.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top