-4

My old laptop stopped reading the hard drive. In bios it said there wasnt one. I replaced it. Now it shows the disk in bios.

I dowloaded linux cinnamon onto a usb. Now. I can get the laptop to run linux from the usb. Everything works great. I thought i properly formatted the new drive and then copied linus to it . added the boot driver. Changed the boot order back to the hdd first . but it wont boot linux from the hdd. If i take the usb out it doesn't boot any OS.

Help?

1 Answers1

0

dd can do this.

First, plug your USB and HDD into another Linux computer;

If your USB is /dev/sdc, and your HDD is /dev/sdd, you can use this command:

sudo dd if=/dev/sdc/ of=/dev/sdd

(I am using loop device to make example, so my device name is /dev/loopX.)

The output is like this:

$ sudo dd if=/dev/loop26 of=/dev/loop27
1953125+0 records in
1953125+0 records out
1000000000 bytes (1.0 GB, 954 MiB) copied, 214.348 s, 4.7 MB/s
1F616EMO
  • 625