Moving Linux From One Laptop to Another 04/26/22 ---------------------------------------------------------------------------------------------------- Remember that post where I was going to convince my wife that she should let me use her macbook air for ham radio, and I'd give her a better one to use? Well, she was happy to give it a go. For fun, I thought that rather than make her work from a fresh install, I'd transfer her environment over as-is to the new computer... I booted the air from a USB drive and imaged the whole disk with dd. Took the image and wrote it directly to the SSD of the new laptop. It wouldn't boot, so I booted the USB distro again and ran an EFI repair. That worked, and the laptop booted into her image with nary a hitch (not any visible ones at least...) Of course, the partition needed to be resized, as she was going from a small NVME to a larger SSD. Booted the USB drive again and ran gparted, resized the partition, and voila. Booted right up, all the space available. How in the world is everything so easy these days? This stuff used to be HARD. A day or two later, and I get wind that the laptop won't hibernate or shutdown properly. With some testing, I find that both work with what my wife might view as exotic command-line voodoo, but don't work from the popup shutdown menu. The system has a very small swap partition left over from the previous setup (are those naughty on SSD? I think so, but seem to be necessary for things like hibernate to work...) Boot back into that USB distro and resize the resized partition, making room for a much larger swap partition. mkswap and change the fstab file, reboot and we're in business, and the power/hibernate issues disappear on their own. And that's my tale. Now to start fiddling with the air for ham radio.