-
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

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good
$222.99

Lenovo - IdeaPad Slim 3i 15.3" 2K Touchscreen Laptop - Intel Core 7 350 2026 ...
$679.99

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99