Results 1 to 5 of 5

Thread: testing windows sata drive

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    3

    testing windows sata drive

    ok, complete newbie here, so be gentle

    my flatmates sata hard drive has been goosed by norton goback, cant boot it. i installed a second ide drive and installed windows xp, which can see it but doesnt mount it. i borrowed a knoppix 5.0 cd from a friend, boots in fine, and can see the sda1, but when i click on it, it says "Volume is dirty. Forced to continue". It then opens up, but only shows me a folder containing "my documents and settings". I think this is a partition created when i tried the second drive, which is now unplugged, not sure how it got on this drive.

    The drive properties is showing 130GB used out of 250GB. The properties on the folder i can see is 21GB.

    I dont know where to go now, as i've never used Linux before. Can anyone give an idiots guide to restoring his partition?

    The computer is attached to my windows network, and i can see my servers drive, so once i can see his files, i can rescue them and format his drive (and recommend he never uses norton products again !!)

    many thanks,

  2. #2
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    OK, Try This

    Boot the live CD

    Open a Konsole. Go to root: su then password.

    From root now type this: fdisk -l (That's an L lower case)

    It will give you a list of all the partitions of all the drives. You SATA drive will show up with /dev/sda1 /dev/sda2 etc. as the partitons.
    Take note of which ones look like they are reported as being wrong. Sounds like its the /dev/sda1 though. So you might be able to skip that step and proceed to the next one:

    Type: testdisk from the Konsole window. It will tell you if you need to make the console window bigger. (25 lines minimum)

    This will run a powerful program with which you may check and repair your drives.

    It doesn't have a friendly user interface, but it is not too hard.

    If the drive is formatted as Win32, you could also do this which you may find a little less scary:

    In a Konsole Window Type: dosfsck /dev/sdaX -- X being the partition number of the drive you wish to check and repair. If the drive is clean
    it will simply report back the size and number of files.

    If it needs repairing, just follow the prompts and type Y every time.

    Is the drive NTFS ? All bets are off if the drive is NTFS however.

    You could also use your Windows XP install CD and boot to the repair console. There are several commands you could try:

    Fixboot
    and
    Fixmbr

    From the repair console also use chkdisk with the advanced repair switches. I don't remember them at the moment. Type chkdisk /? You'll see them. There are only two. Run that on the drive in question.

    Overall, Testdisk is your best bet IMHO. It's the most powerful.

    Good luck.

    SakiZ

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    3

    brilliant thanks

    ok, now im getting somewhere i think it is NTFS, it was XP

    ive run dosdfsck :

    dosfsck 2.11, 12 mar 2005, FAT32, LFN
    currently, only 1 or 2 FATs are supported, not 0

    not sure what that means ?

    ive run testdisk :

    it shows two lines, one is hda - 4344MB/4143MB one is sda - 250GB/232GB

    if i analyse the hda, it is CHS 133/255/63, doesnt have an endmark 0xAA55 (is this the old IDE drive i was using initially? it was 8GB though...), so i cant do anything with that one

    if i analyse the sda, it is CHS 30401/255/63, has a partition 1 * HPFS - NTFS 0 1 1 30399 254 63 488375937. Structure OK, Boot Sector OK. * means primary bootable. the 488375937 seems consistent with 250GB.

    I proceed on this one, and it goes green, if i hit T (change type) it was 44, i have changed it to 07. when i hit P, it just shows 3 lines, a "." and ".." and "Document and Settings".

    so im closer, but no nearer lol, any ideas where all the files are, and if/how i can get them back? i suspect they are on the sda partition, but for some reason the file structure has been lost ??

  4. #4
    Junior Member
    Join Date
    Jun 2007
    Posts
    3

    all fixed

    yippee, having changed the partition type aand MBR, i was unclear where to go next in Linux, so i started it up off my other hard drive, it fixed loads of problems on the sata drive, and hey presto all the files are recovered !!

    thanks for your help, i wouldnt have been able to rescue this without your assistance,

  5. #5
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    Gee, Yer Welcome

    I knew my hard drive disasters would help out someone else someday.

    sakiZ

Similar Threads

  1. Windows XP SATA RAID recovery with Knoppix 4.0.2
    By tmcphail in forum MS Windows & New to Linux
    Replies: 9
    Last Post: 11-29-2007, 09:43 PM
  2. Knoppix 4 on SATA DVD drive
    By jleroy in forum Knoppix DVD
    Replies: 1
    Last Post: 08-04-2005, 06:04 PM
  3. problem with sata drive
    By moep in forum Hardware & Booting
    Replies: 3
    Last Post: 08-04-2005, 06:52 AM
  4. Sata DVD drive
    By lbenn in forum Hardware & Booting
    Replies: 2
    Last Post: 05-31-2005, 02:44 AM
  5. Replies: 8
    Last Post: 03-28-2003, 08:43 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
  •  


128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK picture

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK

$799.00



lOT OF 4 SKhynix 8GB (4 x 8GB =32GB) HMA41GR7MFR8N-TF 2R8 PC4-2133P DDR4 MEMORY picture

lOT OF 4 SKhynix 8GB (4 x 8GB =32GB) HMA41GR7MFR8N-TF 2R8 PC4-2133P DDR4 MEMORY

$89.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.50



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



32GB Micron PC4 – 3200AA DDR4 ECC Registered Server RAM - MTA36ASF4G72PZ-3G2J3 picture

32GB Micron PC4 – 3200AA DDR4 ECC Registered Server RAM - MTA36ASF4G72PZ-3G2J3

$200.00



Windows 11 Pro Install/Recovery/Repair USB Flash Drive picture

Windows 11 Pro Install/Recovery/Repair USB Flash Drive

$35.00



Dell Precision 3541 Laptop i5-9300H 2.4GHz 256GB SSD 16GB RAM Win 11 Pro picture

Dell Precision 3541 Laptop i5-9300H 2.4GHz 256GB SSD 16GB RAM Win 11 Pro

$189.99