Announcement

Collapse
No announcement yet.

HDD is going out on my laptop. Purchased a new one.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HDD is going out on my laptop. Purchased a new one.

    My new HDD arrived and I need to install all data from the existing drive that is wearing out.

    Never done this before. Do I have to do anything particular to accomplish the task? I was given the following code to complete the task. dd if=/dev/sda of=/dev/sdb bs=4096

    I have an outside storage unit and have put the new drive in it. I have connected the USB cable to the computer. The existing drive is named /dev/sda and the new drive is named /dev/sdb just like the command I was provided says.

    Do I have to format the new HDD? What I am copying has 2 OS's Kubuntu 14.04 and Win 7. Do I have to set any file system.

    When I first made the connection, I opened a shell and typed in the following:

    sudo dd if=/dev/sda of=/dev/sdb bs=4096 The following returned:

    dd: failed to open '/dev/sdb': Is a directory

    What do I do?
Working...
X