I think i may have just screwed up my windows hard drive.
my layout:
SATA: 250GB Dedicated to Linux
ATA: 60GB Dedicated to Windows
a simple, yet badly chosen linux command:
dd if=hang.bin of=/dev/sdb
DISASTER!!!
It appears i have just messed the first 512 bytes of my windows hdd
I had some really important stuff on that disk, i should probably be more careful.
The explanation:
I have been messing around trying to learn about 386 assembly, and am trying to do a bootstrap from my usbdisk. with this tutorial http://www.nondot.org/sabre/os/files/Booting/nasmBoot.txt
i assumed(previous experience) that the usb disks block was /dev/sdb. BUT, it seems this was my ATA hard drive with windows on it(which is weird, cos i thought it would be hda or something cos its not serial).
so, in the process of trying to do a low level binary copy of a 512b file to a usb drive, i have accidentally copied it over the first 512bytes of my windows disk.
no, the disk is recognised in QTParted as having no format, and it says partition non existant when i try and boot windows.
as i understand it, the first 512mb is the boot record, so im hoping i could replace it.
please...can somebody help! where can i get a new 512bytes of an NTFS Partition??
or is there some kind of NTFS recovery program for linux?
Any help will be GREATLY appreciated.
my layout:
SATA: 250GB Dedicated to Linux
ATA: 60GB Dedicated to Windows
a simple, yet badly chosen linux command:
dd if=hang.bin of=/dev/sdb
DISASTER!!!
It appears i have just messed the first 512 bytes of my windows hdd
I had some really important stuff on that disk, i should probably be more careful.
The explanation:
I have been messing around trying to learn about 386 assembly, and am trying to do a bootstrap from my usbdisk. with this tutorial http://www.nondot.org/sabre/os/files/Booting/nasmBoot.txt
i assumed(previous experience) that the usb disks block was /dev/sdb. BUT, it seems this was my ATA hard drive with windows on it(which is weird, cos i thought it would be hda or something cos its not serial).
so, in the process of trying to do a low level binary copy of a 512b file to a usb drive, i have accidentally copied it over the first 512bytes of my windows disk.
no, the disk is recognised in QTParted as having no format, and it says partition non existant when i try and boot windows.
as i understand it, the first 512mb is the boot record, so im hoping i could replace it.
please...can somebody help! where can i get a new 512bytes of an NTFS Partition??
or is there some kind of NTFS recovery program for linux?
Any help will be GREATLY appreciated.