-
Junior Member
registered user
Fix NT Loader under Knoppix
Because of failing in installing Debian on my Desktop PC on which the Windows Xp operating system already exists, my computer now crashed,that is, since the MBR sector has been unsuccessfully overwritten, the computer cannt boot of itself. I think there might be something wrong with the Debian Installation DVD or the DVD drive, more chance is the DVD drive,since all the hardwares are new and havnt been tested. My question is how to fix the MBR so that it could still boot Windows Xp, or how to install NT Loader onto the MBR sector under Knoppix? Please notify me ASAP if you guys know the answer. Thanks in advance!
-
Junior Member
registered user
I tried to type the command "sudo testdisk" under the root console, yet the error message was prompted :
testdisk: error while loading shared libraries: libntfs.so.9: cannot open shared object file: No such file or directory
And it's been said that typing in "sudo testdisk" and then typing in "writembr" works to recover the MBR by someone
on another forum, named Computing.Net. Yet the failure on my Knoppix really let me down, does anyone know how
to fix the MBR in another way? or should I download another version of Knoppix to try the same commands under root
console?
-
Senior Member
registered user
If you are certain only the MBR is hosed and the actual windows partition, boot loader and boot.ini configuration files are intact, you can use "install-mbr" (e.g. "install-mbr /dev/hda"). This will re-install a 512-bytes MBR that preserves the existing partitions and chainloads to the partition marked active. I suggest you check what your partitions(s) look like first (e.g. by means of "cfdisk") then run install-mbr (hda for primary IDE master, but possibly sda for newer kernels and/or sata - be careful).
The alternative would be to use an XP install/boot disk, then use the fixmbr and possibly fixboot commands.
What can also happen is that after re-partitioning your HD for installing linux, partitions can occasionnally get renumbered and the boot.ini file needs to be fixed accordingly.
The main thing is not to panic, not reformat/re-install windows in a hurry - if you can see your windows files from live knoppix, chances are the system can be fixed. Been there, done that
Similar Threads
-
By Ron24 in forum Hardware & Booting
Replies: 3
Last Post: 06-12-2009, 10:20 PM
-
By AgustinCordoba in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 09-20-2005, 04:43 PM
-
By ramaswamyps in forum Customising & Remastering
Replies: 2
Last Post: 03-09-2005, 03:29 AM
-
By /dash in forum General Support
Replies: 0
Last Post: 04-30-2004, 08:39 PM
-
By iamanewbie in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 10-24-2003, 12:59 PM
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard
$351.99