Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Cloning Linux Drive using Win7/LiveCD?
New Posts  All Forums:Forum Nav:

Cloning Linux Drive using Win7/LiveCD? - Page 3

post #21 of 43
Yup, and as long as the target disk has enough room for that image you are good to go.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #22 of 43
Quote:
Originally Posted by rawfuls View Post

So using sudo mount, I'll shorten what I got to the bottom:

/dev/sda1 on /media/External500B type fuseblk.......
/dev/sdb1 on /media/Flashdrive type fuseblk......

dd if=/dev/sdb1 of=/media/External500GB/backup.img bs=8M

That would copy the entire sdb1 (flash drive) to the backup.img on sda1?

not quite, leave the (partition) numer out of the source so you copy the whole disk instead of just 1st partition.
so the command would be:
dd if=/dev/sdb of=/media/External500GB/backup.img bs=8M

assuming you want to copy whole /dev/sdb disk to your external hard disk into a file called backup.img smile.gif

edit:
and the when you want to "write" the backup back to a device (hard disk, usb stick, whatever) just flip the if and of (and double-check the output device!), eg. if you want to restore that same backup.img to, lets say, /dev/sdc, you would use:
dd if=/media/External500GB/backup.img of=/dev/sdc bs=8M
Edited by Microx256 - 4/1/12 at 12:47pm
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
post #23 of 43
Thread Starter 
Typed that in, got "no such file or directory", then tried it again and just a blinking empty line..
post #24 of 43
Quote:
Originally Posted by rawfuls View Post

Typed that in, got "no such file or directory", then tried it again and just a blinking empty line..

Blinking empty line means it's doing it's job, usually. Once it's done it'll be back to normal.
post #25 of 43
Quote:
Originally Posted by rawfuls View Post

Typed that in, got "no such file or directory", then tried it again and just a blinking empty line..

whoops, my bad redface.gif

/dev/sda1 on /media/External500B type fuseblk.......

dd if=/dev/sdb of=/media/External500GB/backup.img bs=8M

so without that G i suppose rolleyes.gif

dd if=/dev/sdb of=/media/External500B/backup.img bs=8M

oh, yeah, and the previous post is also correct smile.gif maybe you did a typo at the first time?

and, if your external hard disk, or the usb stick, got a activity indicator or something, you can check if theres some transferring going on smile.gif also you can see if there's a backup.img starting appear on your external hard disk
Edited by Microx256 - 4/1/12 at 1:01pm
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
post #26 of 43
Thread Starter 
How do I know when it has finished it's process?

Was my typo, it is GB.
post #27 of 43
Quote:
Originally Posted by rawfuls View Post

How do I know when it has finished it's process?

Was my typo, it is GB.

it will return to the terminal when its finished smile.gif
soemthing like:
scrin@scrinnet:~$
will appear (indicating you can type the next command)

you can check the progress by checking the current size of the backup.img. when the size reaches the total capacity of the source, its done smile.gif

edit: im off to sleep now, so i cant help further (if you still need help) untill tomorrow smile.gif
Edited by Microx256 - 4/1/12 at 1:41pm
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
post #28 of 43
Thread Starter 
Looks like it just finished and ended with 14.9GB copied, which seems to be what it is.
Took about 45 minutes for 15GB.... is there a way I could speed that up without increasing losses of something else?
I believe his drive is a 80GB... which would take a few hours.. :roll eyes:

Ended with a new prompt line of:
ubuntu@ubuntu:~$:

Going to try the image->drive now!

Thanks!
Edited by rawfuls - 4/1/12 at 1:58pm
post #29 of 43
Thread Starter 
SUCCESS!!

Took quite a bit longer than I was hoping, but hot darn, it finished!
Ejected it after it finished, plugged it back in, and the test pictures were back on!

I'm pretty surprised, and happy I finally understand SOMETHING in Linux!

Rep will be going around to all those that have helped!

Anyway to speed this up for a larger disk?
post #30 of 43
Quote:
Originally Posted by rawfuls View Post

Looks like it just finished and ended with 14.9GB copied, which seems to be what it is.
Took about 45 minutes for 15GB.... is there a way I could speed that up without increasing losses of something else?
I believe his drive is a 80GB... which would take a few hours.. :roll eyes:

Ended with a new prompt line of:
ubuntu@ubuntu:~$:

Going to try the image->drive now!

Thanks!

cant get sleep >.<<br />
14.9GB in 45 minutes would mean 45.2Mb/s (=5,65MB/s) and assuming this was a usb stick, this seems to be a decent speed for it. however, (internal) hard disks are usually alot faster than that so its not necessarily "a few hours". however, this also depends on the destination, which is your external hard drive I suppose? doing internal-to-internal copies are usually alot faster, (easily 10-20x faster than that) so its possible it could be done in even less than what it took with your usb stick smile.gif this, however, obviously requires the "original" and the "target" drives to be internal drives, preferably SATA instead of IDE rolleyes.gif

and about that question; no, there are not really any "easy" way to get a (true) identical copy/backup any faster rolleyes.gif

oh, and, that
ubuntu@ubuntu:~$:
is the new prompt line I was talking about, which indicated the previous command finished and its waiting for a new one (if any) smile.gif
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
Minimachine
(9 items)
 
  
CPUMotherboardGraphicsRAM
i7-5775C Asus Maximus VII Impact EVGA GTX1080 Founders edition 2x8GB Kingston HyperX 1600Mhz 
Hard DriveMonitorPowerCase
Samsung 950 PRO 512GB M.2 NVMe 3x Asus PB287Q 4k Silverstone 600W Strider SFX NCASE M1 Rev 2 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Cloning Linux Drive using Win7/LiveCD?