Results 1 to 10 of 74

Thread: Convert raw to NTFS

Threaded View

  1. #15
    Join Date
    Jun 2012
    Location
    Athens
    Beans
    58
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Convert raw to NTFS

    Quote Originally Posted by oldfred View Post
    sudo hdparm --read-sector 0 /dev/sda
    I did what you suggested but there were some issues...
    First of all, it takes some time until I can see it either on disk utility or gparted.

    Code:
    thanos@thanos-laptop:~$ sudo hdparm --read-sector 0 /dev/sdc
    
    /dev/sdc:
    reading sector 0: FAILED: Invalid exchange
    It took some time until I got this result...

    Before I do that I run fdisk. While my sda's partitions showed up instantly it took some time for the sdc, with a read error though...

    Code:
    thanos@thanos-laptop:~$ sudo fdisk -l
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xbb762c7e
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1274    10233373+  12  Compaq diagnostics
    /dev/sda2   *        1275       15855   117116928    6  FAT16
    /dev/sda3           15855       29978   113445889    5  Extended
    /dev/sda4           29978       30402     3399680   12  Compaq diagnostics
    /dev/sda5           23150       25581    19529728   83  Linux
    /dev/sda6           25581       26553     7811072   82  Linux swap / Solaris
    /dev/sda7           26554       29978    27509760   83  Linux
    /dev/sda8           15856       23149    58589023+   7  HPFS/NTFS
    
    Partition table entries are not in disk order
    
    Unable to read /dev/sdc
    I also tried to make a partition table from gparted, but I got an error. From what I can understand, when my HDD is plugged in a USB, it takes some time until it is read, it stays there for short time and then disappears. In order to read it again I should unplug it and then plug it again...


    Quote Originally Posted by oldfred View Post
    sudo sfdisk -d /dev/sda > PTsda.txt
    I run this, but I got no output...

    Code:
    thanos@thanos-laptop:~$ sudo sfdisk -d /dev/sdc > PTsdc.txt
    /dev/sdc: No such file or directory
    
    sfdisk: cannot open /dev/sdc for reading
    EDIT:I unpluged/pluged it and in "disk utility" the HDD showed up as free unallocated space.

    I run "fdisk" and now I could see my drive!

    Code:
    thanos@thanos-laptop:~$ sudo fdisk -l
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xbb762c7e
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1274    10233373+  12  Compaq diagnostics
    /dev/sda2   *        1275       15855   117116928    6  FAT16
    /dev/sda3           15855       29978   113445889    5  Extended
    /dev/sda4           29978       30402     3399680   12  Compaq diagnostics
    /dev/sda5           23150       25581    19529728   83  Linux
    /dev/sda6           25581       26553     7811072   82  Linux swap / Solaris
    /dev/sda7           26554       29978    27509760   83  Linux
    /dev/sda8           15856       23149    58589023+   7  HPFS/NTFS
    
    Partition table entries are not in disk order
    
    Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x79882793
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1      243201  1953512001    7  HPFS/NTFS
    I run again what you suggested but I got something similar

    Code:
    thanos@thanos-laptop:~$ sudo hdparm --read-sector 0 /dev/sdc
    /dev/sdc: No such device or address
    thanos@thanos-laptop:~$ sudo sfdisk -d /dev/sdc > PTsdc.txt
    /dev/sdc: No such device or address
    
    sfdisk: cannot open /dev/sdc for reading
    I tried to format it in NTFS from "disk utility" but now I got a different error

    Code:
    Daemon is inhibited
    What is this?

    Before that I run

    Code:
    thanos@thanos-laptop:~$ sudo smartctl -a /dev/sdc
    smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
    Home page is http://smartmontools.sourceforge.net/
    
    Standard Inquiry (36 bytes) failed [No such device]
    Retrying with a 64 byte Standard Inquiry
    Standard Inquiry (64 bytes) failed [No such device]
    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    Any idea on what's going on here, whatsoever...?
    Last edited by AAEIV; December 31st, 2012 at 09:24 AM. Reason: more information

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •