M
Madhur Ahuja
Hello
While working other day on my PC, I accidentally typed this command
dd if=/dev/hdb of=/boot/boot.b count=1 . Instead of hdb there should
have been
hdb3 which is my linux boot partition.
As probably you know , this has completely wiped my MBR.
On my friend's PC, the drive shows the status as RAW partition.
I think I can save my data by entering correct partition table in MBR
and I want
you to help me.
Firstly my partition table looked like this:
1 FAT32(primary) 7 GB
2 /boot(primary) 200 Mb
3 ntfs 10 gb (logical)
4 ntfs 10 gb (logical)
5 ntfs 10 gb (logical)
6 / 5 gb
7 /swap 500 mb
I think I can build the exact partition table by looking the disc
sectors in hex and identifying the location of starting boot sector of
each partition.
The problem is that I cant view my disc sectors as hex, since it shows
my disc as RAW.
Is there any utility which can scan the hard disc and tries to build
the partition table. Or do i have to do it manually.
Any help would be appreciated.
While working other day on my PC, I accidentally typed this command
dd if=/dev/hdb of=/boot/boot.b count=1 . Instead of hdb there should
have been
hdb3 which is my linux boot partition.
As probably you know , this has completely wiped my MBR.
On my friend's PC, the drive shows the status as RAW partition.
I think I can save my data by entering correct partition table in MBR
and I want
you to help me.
Firstly my partition table looked like this:
1 FAT32(primary) 7 GB
2 /boot(primary) 200 Mb
3 ntfs 10 gb (logical)
4 ntfs 10 gb (logical)
5 ntfs 10 gb (logical)
6 / 5 gb
7 /swap 500 mb
I think I can build the exact partition table by looking the disc
sectors in hex and identifying the location of starting boot sector of
each partition.
The problem is that I cant view my disc sectors as hex, since it shows
my disc as RAW.
Is there any utility which can scan the hard disc and tries to build
the partition table. Or do i have to do it manually.
Any help would be appreciated.