-
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
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
GIGABYTE B560M DS3H AC LGA1200 Intel B560 SATA 6Gb/s Micro ATX Intel Motherboard
$64.99
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
Asus Prime B250M-C Motherboard Supports DDR4 Intel 7th Gen
$39.99
ASUS Prime Z390-P LGA 1151 Intel Motherboard
$110.00
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$112.00
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99