On Sb, 22 ian 22, 09:40:39, David Christensen wrote: > > A simple case is to image the entire device. Boot the Debian Installer > (d-i) (or a live Linux distribution) and use dd(1) to copy the entire USB > drive to the entire HDD: > > # dd bs=1M if=/dev/disk/by-id/usb-... of=/dev/disk/by-id/ata-... > > > When done, shut down the computer, disconnect the USB drive, boot the > computer, enter the CMOS setup utility, adjust the settings, save the > settings, exit Setup, and boot the HDD. > > > Of course, the number of sectors on the target device must be equal to or > larger than the number of allocated sectors on the source device. And, if > the device uses GPT partitioning, you must deal with the backup partition > table at the end.
It seems one can avoid such issues simply by cloning only the file system instead. At least e2image (with the -a switch) seems to be able to do that, other file systems might have their own tools for that. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature