SATA drive FAT recover

 
Thread Tools Search this Thread
Special Forums Hardware SATA drive FAT recover
# 1  
Old 02-21-2011
SATA drive FAT recover

I had ACER aspiron one netbook with dual bootable (Windows XP and Debian). Recently I found XP is messy and Debian has new version published. I plan to recover XP and install new version of Debian. But I failed to recover XP from Hidden Partition.

I thought it is because I install GRUB in the harddrive which make the hidden partition not bootable. I hope I can remove the part. I remember I did this before using DOS command "fdisk /mbr", but I couldn't find fdisk any more. I want to see if there exist LINUX command equivalent to DOS command "fdisk /mbr". Terrible thing happens...

There exist one webpage talk about

dd if=/dev/sda of=/root/backup.bin count=1 bs=512
dd if=/dev/zero of=/dev/sda count=1 bs=512

I did so since I thought the first command is backup. But, but, the second command erase FAT. So that the machine can't find my /root folder in LINUX. Actually no partitions can be found in my hard drive!

Is there any way I can get FAT back? Or only solution is, ignore all data in the drive and install OS again?

Thanks in advance of any suggestions.
# 2  
Old 02-21-2011
First three rules of data recovery are:
  1. Stop writing to the drive until you've found your data.
  2. No, really -- stop writing to it.
  3. Use these pliers on the fingers of those who would overwrite anything before they've found your data.

I have no idea if your data even still exists at this point, and would need shell access and a hex editor to find out. fdisk -l in a Linux recovery cd might be a good start, it'll show what your partition table is right now.

Last edited by Corona688; 02-21-2011 at 04:03 PM..
# 3  
Old 02-21-2011
Thank you for your information.

Currently I just leave the netbook alone. I hope I can somehow find solution before I format the whole disk.

I have a bootable USB flash memory with GRUB such that I could boot the netbook in Windows, Debian. Now each part just tell me that the partition doesn't exist. It should be, because the Table of primary partitions are all zero now. I hope there exists one way such that I can get /root/backup.bin file from the disk and recover the Table of primary partitions...
# 4  
Old 02-21-2011
You might be able to roughly find the beginning of the partition by looking for FAT32 in a hex editor. Compare how that looks to a real working FAT32 partition on a flashdrive or something to make it more precise. How to find the end I'm less sure, and how to translate that into a working partition layout, I'm also less sure, but fdisk -u may help as that will help you get it working in sectors instead of cylinders... I don't suppose you know what fdisk -l should show?
# 5  
Old 02-21-2011
Corona688, Thank you for quick response.

Currently I just have grub with command grub>. Maybe I can make USB flush with base linux to run the command fdisk -l /dev/sda. But I believe the result should be the disk is not partitioned yet since the Table of primary partitions are all zeroes now...

I just read Wikipedia about MBR: http at en.wikipedia.org wiki Master_boot_record
and dd(UNIX): (sorry I can't post URL now, it should be wiki/Dd_(Unix))
# 6  
Old 02-21-2011
You need a rescue CD of some sort to do anything.
# 7  
Old 02-21-2011
You are absolutely right.

When I bought this netbook, there didn't exist rescue CD, but the first primary partition is Hidden recovery disk. I had erased the secondary primary partition (which is original C: drive), create a smaller secondary partition (new C: drive) and third partition as extended partition...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Hardware

Hitachi SATA hard disk drive password locked

Hi everyone (see attachments) I bought an HP Elitebook 8460p on eBay and it came with a password-locked Hitachi hard drive which I was told is the original hard drive. I don't know the password for the drive and running the diagnostics tools I see the hard drive is healthy. I tried booting... (9 Replies)
Discussion started by: milhan
9 Replies

2. UNIX for Dummies Questions & Answers

Reading QNX created FAT ZIP drive in WIndows 7

Hi All, One of our clients has an old QNX server system that writes history backups on ZIP disks. They then wish to take these back up ZIP disks, plug them into a Win7 box with an external ZIP drive and copy them across to an external Hard Drive. The files can be seen on the Win7 box but wont... (3 Replies)
Discussion started by: Beldanan
3 Replies

3. UNIX for Advanced & Expert Users

Strange FAT filesystem

My Garmin GPS device has a slot for an SD card. I'm using a 32 GB SD card which holds 22 GB data currently. If I attach my device to a USB port it shows two devices, the internal memory and the SD card. I have no problems with the internal memory which holds only 2 GB of data. I can mount... (2 Replies)
Discussion started by: HJarausch
2 Replies

4. Hardware

Question on SATA 300 vs SATA 600

I have an upgrade path in mind for a new computer that will be stocked with a 2TB SATA 300 hard disk. This is a choice based on information that SATA 300 is not necessarily faster than SATA 600. The upgrade path in a year time or so would then involve the purchase of an SSD that would contain the... (4 Replies)
Discussion started by: figaro
4 Replies

5. Solaris

Cannot recover OS hard drive from a set of snapshots

I have installed Solaris 11 Express on my computer and set up a script to make daily snapshots of all filesystems and send them to a backup disc. Now I'm trying to replace the system disc using a set of captured snapshots. I have found an article on that topic on the internet and have been... (6 Replies)
Discussion started by: RychnD
6 Replies

6. Hardware

Connect SATA Laptop HardDrive to Desktop SATA Slots

Hello everybody, I need to connect a laptop 2.5 SATA hard drive to a Desktop board (which uses 3.5' SATA hard drives). I've tried the connectors and they fit excellent in the 2.5 SATA connectors. The problem is that the laptop hard drive uses 5v and the PC's power source sends 12v. So, my... (4 Replies)
Discussion started by: Zykl0n-B
4 Replies

7. UNIX for Advanced & Expert Users

trying to setup a sata drive using a sata to scsi adaptor

trying to setup a sata drive using a sata to scsi adaptor I have a sata 1TB Deskstar that I had setup before and during shipment from a facilty to another, the disk failed. The handling was not great, lots of throwing boxes, etc. I have a new disk from Hitachi (thankyou Hitachi) anyway, I don't... (1 Reply)
Discussion started by: mndavies
1 Replies

8. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
Login or Register to Ask a Question