Find the answer to your Linux question:
Results 1 to 4 of 4
I am now attempting to connect my new WD 1TB drive via USB in order to copy my new Image to the drive to replace my Dead Hard Drive in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2013
    Posts
    2

    Question Restore: Unable to open /dev/sdc for writing


    I am now attempting to connect my new WD 1TB drive via USB in order to copy my new Image to the drive to replace my Dead Hard Drive in my Series 3.

    I am using MFSLive as my Boot CD to Linux.

    After connecting the USB for my new WD drive I get the following displayed:
    Usb 2-1.1: new high speed USB device using ehci_hcd and address 5
    USB 2-1.1: configuration #1 chosen from 1 choice
    scsi4: scsi emulation for USB Mass Storage devices
    scsi 4:0:0:0: Direct Access ASMT 2105 0 PQ: 0 ANSI: 6
    sd 4:0:0:0: Attached scsi removable disk sdc


    So, after mounting my thumb drive which has the new image I attempt to do the restore command with:
    restore -s 128 -xzpi /dos/000001 /dev/sdc

    Then I get the message:
    Restore: Unable to open /dev/sdc for writing

    Does the drive need to be formatted first? Why am I getting this? Any suggestions for me? Thanks in advance!

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,244
    There needs to be at least one partition on the drive. You can create it with fdisk, cfdisk, parted or gparted. It will be called /dev/sdc1, not /dev/sdc (which is the whole drive).
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  3. #3
    Just Joined!
    Join Date
    Dec 2013
    Posts
    2
    Thanks for your help... I did just format my drive making it a FAT32 drive. Does this by default make it have a partition like you mentioned?

    I tried my restore command then with /dev/sdc1 with the same result. 'Restore: Unable to open /dev/sdc1 for writing

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,244
    Were you root? You need to be to write to a raw device.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

Posting Permissions

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