Boot confusion

Ralf Mardorf kde.lists at yahoo.com
Sun Jun 13 15:13:24 UTC 2021


On Sun, 13 Jun 2021 08:03:14 +0200, Ralf Mardorf wrote:
>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

When using tar or cp for this purpose you also need to do it from
another install or live DVD/live USB stick.




More information about the ubuntu-users mailing list