-
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
-
Senior Member
registered user
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
-
Senior Member
registered user
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"?
-
Thanks to you for your help
-
Senior Member
registered user
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.
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
-
Senior Member
registered user
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
-
By randy431 in forum General Support
Replies: 5
Last Post: 01-31-2004, 04:31 AM
-
By JockVSJock in forum General Support
Replies: 2
Last Post: 01-30-2004, 02:21 AM
-
By lindseyp in forum General Support
Replies: 7
Last Post: 01-19-2004, 08:28 AM
-
By Mycroft1855 in forum Customising & Remastering
Replies: 4
Last Post: 02-23-2003, 03:30 AM
-
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
-
Forum Rules
Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord
$43.95
JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED
$299.99
Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch
$89.00
Juniper QFX5100-48S-3AFO Switch 48 x 10Gb SFP+, 6x QSFP 40GE, Dual AC Power
$499.00
Juniper EX4600-40F-AFI 24 SFP+/SFP Ports 4 QSFP+ Ports Dual AC Switch
$999.00
JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER
$210.00
Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord
$54.99
Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested
$205.00
Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch
$40.23
New Factory Sealed Juniper EX2300-48P Networks 48-Port Managed Ethernet Sealed
$499.00