dd and cp -a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have this computer on /dev/sda and the new hard drive is /dev/sdb. This F7 is all in /dev/sda6 and I want to copy /dev/sda6 to /dev/sdb5. I tried dd but it failed I think because /dev/sdb5 is smaller 10 GB than /dev/sda6 which is 30 GB. It ended with an error message.

So back to cp -a but there is a hitch. I redid /sdb5 with another ext3 file system and I can mount it to /mnt on this computer. So it is easy to cp all from /dev/sda6 to /dev/sdb5 but, with a simple # cp -a / /mnt it will do all that fine but then want to copy /mnt to the new /dev/sdb5.

   Does anyone know a secret that will work? I will read man cp again :-)



--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux