Boot confusion

Jack McGee jack at greendesk.net
Mon Jun 28 11:39:35 UTC 2021


To close the loop on this.  I first tried rsync (don't recall the 
command I used), but somehow I just filled up the existing root 
filesystem disk.  I think I copied home back to it.

I installed 20.04.02 to the 1tb SSD.  Then remapped in FSTAB the 
exisiting home directory on the 14tb spinning disk.  But then it 
wouldn't accept my password on login.  Back to live usb, edited fstab to 
comment out that home directory.

Rebooted to the 1tb SSD and changed permissions on my home directory, 
removed comment in fstab, rebooted and all is good.


On 6/13/21 10:13 AM, Ralf Mardorf via ubuntu-users wrote:
> 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