Boot confusion

Ralf Mardorf kde.lists at yahoo.com
Sun Jun 13 06:03:14 UTC 2021


On Sat, 12 Jun 2021 19:41:41 -0500, Jack McGee wrote:
>On 6/12/21 6:55 PM, Liam Proven wrote:
>> I avoid putting swap on SSD if I can, because in case of a memory
>> leak or something and the machine thrashing, it could potentially
>> wear out flash

Hi,

I treat my internal SSDs in the same way I treated internal HDDs,
excepted of periodic TRIM and got the impression that SSDs suffer less
from wear than HDDs do.

>I guess my question, is what is best command to copy root filesystem
>to new drives.

You could kill two birds with one stone by making a backup e.g. by
using tar with compression to shrink the size and then restoring from
that backup.

  tar --xattrs -czf

you could replace the "z" option by any other compression.

You could make a fast copy by running

  cp -ai

for the cp command you don't need to add the "i", however add
"--xattrs" to tar and use the "-a" flag for cp.

>I guess I can install grub on that drive after I have moved root
>filesystem?

Yes, you can.

Regards,
Ralf




More information about the ubuntu-users mailing list