Results 1 to 6 of 6

Thread: Win XP Bootsector corrupt - How to fix this with Knoppix ?

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    2

    Win XP Bootsector corrupt - How to fix this with Knoppix ?

    Hi,
    yesterday my Bootsector and/or NTFS Filesystem got corrupt under Win XP. I am not able to boot anymore from my S-ATA harddisk. After booting, some seconds later Windows resets my PC and boots again and again and again.

    When I tried to reinstall Win XP or using the repair function I always got a blue screen with an ntfs.sys error.

    In some newsgroups I read that the filesystem might be corrupt and maybe the bootsector is not working anymore and this can be fixed with Knoppix using the ntfsfix command. Normally there is no chance to get access to the disk via Win XP in this case. I tried to get access to my harddisk via Knoppix 3.3 I have success. I am able to see the 2 partitions and all files on it.
    I go to the console and typed in

    ntfsfix /dev/hda1/

    but everytime I received an error, that this command FAILED and that I have not permission to this harddisk/partition or that its corrupt. I have to use chkdsk to correct this. I am a Linux/Knoppix Newbie and dont know how to use the chdsk command. I used "chkdsk /dev/hda1" but the console says that the command chkdsk is unknown. Is someone able to give the correct command for this ?

    I noticed that the harddisks normally are only open for reading under Knoppix. I go to the properties and changed the status to readable/writeable for both partitions of this harddisk but also this gives me the same error with ntfsfix as shown above.

    I would be very nice if someone can help...

    Regards from Germany
    Andreas

  2. #2
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    130
    Knoppix may be capable of what you want to do, but there is another bootable CD with tools that you are looking for. It isn't a huge download and is available here: http://www.t4k.org/~ebcd/

    As for acess to the drive, try opening Konsole in Knoppix and typing "su" to become root (su=super user). Then type:

    mount -t ntfs /dev/hda1 /mnt/hda1

    If it is already mounted, you'll get an error. Otherwise it should now be mounted. You can try typing your command as root. If it doesn't work, enable read/write access:

    chmod a+rw /mnt/hda1

    Then type your command. I would suggest, however, that you take a look at the link above and use EMBCD.

    Matt

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    From the EBCD site

    A.There is no ISO version since 0.4+, you have to run builder utility (makeebcd.exe) (or .bat file before version 0.6.0) to create .iso file. Refer to user manual for more info.
    Kinda hard to run an .exe when your M$ OS leaves you hanging in the wind.

    Here is the man page for ntfsfix. I have personally never used it (for that matter I've never even used XP thankfully). A quote from the man page:

    ntfsfix is a program that fixes NTFS partitions altered in any manner with the Linux NTFS driver. ntfsfix is NOT a Linux version of chkdsk. It only tries to leave the NTFS partition in a not-so-inconsistent state after the NTFS driver has written to it.
    So- I'm not sure if this is what you need or not. I dunno?? Also - it looks to me that chkdisk is a DOS command so it's no suprise that it says 'command not found' or somesuch when you try it from Knoppix. Have you tried simply booting a win98 boot floppy and running fdisk mbr? Here is a post with some more info on how to repair ntldr. Look all the way to the bottom.

    Here is a page about chkdisk that could also (preusmably) be run from the same win98 floppy.

    Please bear in mind that I don't use M$ so I might be way off base here. Hope you get it fixed. Doesn't M$ have something about this in their ahem *cough cough* so-called "knowledge base"?

  4. #4
    Junior Member
    Join Date
    Oct 2003
    Posts
    2
    Thanks to you for your help

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Win XP Bootsector corrupt - How to fix this with Knoppix

    --You may want to reinstall, and convert to Fat32. In my experience NTFS is more trouble than it's worth.

    Quote Originally Posted by cool-andy
    Hi,
    yesterday my Bootsector and/or NTFS Filesystem got corrupt under Win XP. I am not able to boot anymore from my S-ATA harddisk. After booting, some seconds later Windows resets my PC and boots again and again and again.

    When I tried to reinstall Win XP or using the repair function I always got a blue screen with an ntfs.sys error.

    In some newsgroups I read that the filesystem might be corrupt and maybe the bootsector is not working anymore and this can be fixed with Knoppix using the ntfsfix command. Normally there is no chance to get access to the disk via Win XP in this case. I tried to get access to my harddisk via Knoppix 3.3 I have success. I am able to see the 2 partitions and all files on it.
    I go to the console and typed in

    ntfsfix /dev/hda1/

    but everytime I received an error, that this command FAILED and that I have not permission to this harddisk/partition or that its corrupt. I have to use chkdsk to correct this. I am a Linux/Knoppix Newbie and dont know how to use the chdsk command. I used "chkdsk /dev/hda1" but the console says that the command chkdsk is unknown. Is someone able to give the correct command for this ?

    I noticed that the harddisks normally are only open for reading under Knoppix. I go to the properties and changed the status to readable/writeable for both partitions of this harddisk but also this gives me the same error with ntfsfix as shown above.

    I would be very nice if someone can help...

    Regards from Germany
    Andreas

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    boot your XP cd and goto into Recovery Console
    type
    help (to view options)
    fixmbr (to fix de mbr)
    fixboot (to fix the bootloader)

    with knoppix live-cd you may try

    lilo -M /dev/hda1 (to fix mbr)

    or use
    testdisk

Similar Threads

  1. All ISO's corrupt?
    By randy431 in forum General Support
    Replies: 5
    Last Post: 01-31-2004, 04:31 AM
  2. Corrupt init?
    By JockVSJock in forum General Support
    Replies: 2
    Last Post: 01-30-2004, 02:21 AM
  3. Knoppix 3.3 can't boot. corrupt image?
    By lindseyp in forum General Support
    Replies: 7
    Last Post: 01-19-2004, 08:28 AM
  4. Corrupt Image Files
    By Mycroft1855 in forum Customising & Remastering
    Replies: 4
    Last Post: 02-23-2003, 03:30 AM
  5. corrupt Super Blocks
    By loji in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-20-2003, 12:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45

$360.00