LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fixing windows in linux (https://www.linuxquestions.org/questions/linux-newbie-8/fixing-windows-in-linux-179033/)

squishy 05-07-2004 01:54 PM

Fixing windows in linux
 
I'm currently dual booting with WinXP and Slackware linux 9.1. It was working fine, until I resized the partitions to add more space to my linux partition with partition magic. Something went wrong during resizing and everytime i boot into XP i get a safe mode screen. No matter which mode i select i get a STOP: 0x00000024 and I'm forced to reboot. I don't have a XP installation disk (my laptop came with a restore disk that formats the computer before restoring) and I don't have a floppy drive. My windows partition is NTFS. I tried fsck on it and it says that fsck.ntfs is not found.
Any suggestions to what i should do? the stuff in my windows partition is important and I don't want to backup/reinstall etc. Thanks!

huibert.alblas 05-07-2004 02:09 PM

Tricky situation ....
 
Hi,

dude, you've got problems, Big time..

("Don't panick!" was written in friendly letters on the cover.)

OK,
I'll will give you a simple solution first.
Please reply if this can't work for you,
I will subscribe to this thread, your problem will be solved.

First things first:

Dont tough the partions, or even the disk as long as they are in this state.

I will post my reply now, and
continiue direwctly here after.
I'm serious, don't try to boot from the resized disk.

huibert.alblas 05-07-2004 02:34 PM

Solution (maybe)
 
Hi,

me again.

(I asume you have no recent backup,
otherwise you would not have posted)

The reason not to use the disk is that
you cannot be sure that only windows is missing some parts to boot,
or your filesystem is realy hosed.

To do the least damage posible,
it is vitaly important not to try to mount or use
the partiton directly now that you know it is broken.

When your data is really important the best way (least risk of losing data)
is to get another harddrive where you can make a complete image of the broken partition using dd.

I know you can try to mount the ntfs partition using knoppix and other tools.
This is what I would recommend when windows would not boot because you installed a new mainboard
or other trivial changes.

In your situation it could be that the resizing of your partitions damaged
the filesystem structure on these partitions.
It may not be easy to recover from this failure.
There are tools to recover lost data,
some are better than others.
But first you need to copy your partition,
so you can than experiment with recovery.
If somethings breaks, at least you have a copy to start the recovery proces again.

I have recovered 20 gigs of Data ( university and work papers from my girlfriend who had win2000
crash and never recover again.... we recovered about 80 percent of the files)

So quick fix:

boot into knoppix (or equivalent) and try to mount the NTFS partition read only.
If this works, you just have to copy the files you need somewhere else,
reinstall, and copy the files back.


If this does not work,
(becaus NTFS cannot be mounted because it is in a broken state)
you may have more luck using NTFS recovery programms.

look into

http://mlf.linux.rulez.org/mlf/ezaz/...l#troubleshoot

If this doesn't help ask again here.


All times are GMT -5. The time now is 08:33 PM.