-
i errored and am confused how to fix it!. help!!!!
i ran this command dd if=install.bin of=/dev/hda when i meant to run dd if=install.bin of=/dev/hda1 !!!!!!!!
and i have nuked my mbr i think? on my windows laptop
i am utterly confused how to fix the problem and get my windows system up and running again (as it contains come critical data!)
i think i have just destroyed the mbr but someone far better qualified on the forums can advise me
can't they!
help!!!!
-
Administrator
Site Admin-
Re: i errored and am confused how to fix it!. help!!!!

Originally Posted by
hogwash
i think i have just destroyed the mbr.....
You can repair the mbr (as far as windows is concerned) by running fdisk from a recovery disk with the /mbr option:
Better yet, you can get a copy of Smart Boot Manager and install that as your MBR - then you'll be able to boot from any partition, or any CD, or any floppy. (Put Lilo or Grub on the Linux partition, not the MBR when you do this.)
-
thanks for that
from the command i have run i hope i have not wiped the hda and overwritten the entire contents with the binary i was trying to import
can someone advise as to what they think i have done with the command above.... if i have lost the data i am in deep doo doo
-
Administrator
Site Admin-

Originally Posted by
hogwash
.....can someone advise as to what they think i have done with the command above.... if i have lost the data i am in deep doo doo
People can give you their opnions, but why not know for sure? - just boot Knoppix and look at the partitions and see if the data you need is still there. You could even use Knoppix to back up critical data before you go any further (since you don't seem to have any backup).
-
the problem i have is that i cannot mount the drive , it is "seen" as an "unidentified file system" or as un-allocated space. windows sees it as un-allocated space , knoppix simply wont let me mount it , at least in the manner i have been trying .. or failing
-
Senior Member
registered user

Originally Posted by
hogwash
the problem i have is that i cannot mount the drive , it is "seen" as an "unidentified file system" or as un-allocated space. windows sees it as un-allocated space , knoppix simply wont let me mount it , at least in the manner i have been trying .. or failing
Thats because the partition table has been nuked also, and if the file was bigger then 512 b then part of the first partition has been nuked also, If you can remember the sizes of the partitions you can try and use fdisk to rebuild the table.
-
well, it was a 20mb binary! so i guess that explains that then... as for the partition sizes it is a 20gb hdd and only had one partition which was the maximum size in ntfs
where do i begin guys??
-
Administrator
Site Admin-

Originally Posted by
firebyrd10
Thats because the partition table has been nuked also,.....
yup, I agree with firebyrd10, if you can't mount the partitions under Knoppix then more than just the MBR has been munged. There are still tools under both Linux and MS OS's that can help you recover stuff, but you've got more work to do than just replace the MBR.
-
i dony mind the work i just need a few pointers! .... i assume that if i rebuild the patition table on the max @ 20gb (original config) that would be a good place to start... then the mbr and see what is what from there?
-
Administrator
Site Admin-

Originally Posted by
hogwash
where do i begin guys??
You might start with the forensic LiveCD Helix. And I would be looking at where I was going to be putting any files I could recover (if it's a desktop, install a second hard drive with a FAT32 partition in that puppy before you do anything else, and move the files to the other hard drive as soon as you can). How large are the files you need to recover? Would they fit on a USB memory device? A CDR? Can you network to another system?
However, if anyone has other suggestions, then consider taking them over Helix; I've played with it but never really recovered data with it. And Don't forget some of the DOS/Windows live CD's or even commercial tools designed for the NTFS file system.
Similar Threads
-
By iam in forum General Support
Replies: 12
Last Post: 05-23-2006, 02:32 PM
-
By samhainbaphomet in forum General Support
Replies: 8
Last Post: 02-04-2005, 11:04 AM
-
By poundsmack in forum General Support
Replies: 8
Last Post: 10-23-2004, 10:02 AM
-
By none1 in forum Hdd Install / Debian / Apt
Replies: 11
Last Post: 01-07-2004, 12:55 AM
-
By phoward in forum General Support
Replies: 3
Last Post: 03-31-2003, 07:46 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

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$115.00

Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026
$12.99

1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server
$109.99

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 512GB SSD 8x NIC QAT AES VPN
$128.00

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU
$649.00

ESET Server Security (File Security) | Variant Item | Download Version
$136.15

Dell Optiplex 7050 SFF Server (256GB NVME, 8GB RAM, i5-7500 @ 3.8Ghz)
$75.00

SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA
$284.99

Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay
$500.00