So..
cd source && cp -a . destination
Are you ok with the grub stuff?
> --
> ubuntu-au mailing list
> ubun...@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
--
ubuntu-au mailing list
ubun...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
dd is a traditional method, but in recent years some better tools have
come out for this purpose. I'd recommend clonezilla.
--
Bring choice back to your computer.
http://www.linux.org.au/linux
If you choose this option, don't use it to copy a live system.
I still think that something like clonezilla is a better alternative.
You preserve the entire filesystem and all its metadata, and you can
trivially resize afterwards it to match the target disc with gparted.
2009/11/26 Ryan Ralph <ryanra...@gmail.com>:
--
Bring choice back to your computer.
http://www.linux.org.au/linux
--
I have to say i agree with the other guys - cp is not the best option
for filesystem backup/restore/migration. A block-level copy like dd,
clonezilla, etc. is a much better option.
The best option of all, in my opinion, is to use a volume manager like
LVM. When i move my laptop to a larger hard disk, i'll just put the new
hard disk in a caddy, move the volume group using LVM's pvmove, then
reboot with the new hard disk inside.
Paul