On Sat, Jun 6, 2020 at 2:46 AM Samuel Sieb <samuel@sieb.net> wrote:
On 6/6/20 12:11 AM, Javier Perez wrote:
> ├─sda3   8:3    0   28G  0 part /
>
> I plan to add a 120G SDD
> to install the OS on the SDD and keep /Shared_Media's partition on the HDD.
> Eventually I want to convert it to a Raid 1 sysyem. My idea is to copy
> /Shared media to a new disk, in a degenerate Raid and then repartition
> the original HDD and add it to the Raid.
>
> My question is how to pass the OS to the SSD? I know the easiest way is
> just install  on the SSD from a USB and then add the /Shared_Media to
> the file system.
> But I wanted to use this as a learning/game up skills opportunity.
> Is there an easy way to transfer the OS with the current software load
> and customizations (/etc/*)?

The / partition is smaller than the SSD, so just boot a live image and
use gparted to copy the partitions from the hard drive to the SSD.  You
can copy all the partitions except the media one.  You will have extra
space on the SSD so you could also resize the / partition if you want it
to be bigger now or you could make a /home partition or whatever.

You might need to convince the EFI system that it should use the new
hard drive though.

Wow, I did not know gparted could do that. I'll try it out
Thanks
JP
--
------------------------------
 /\_/\  
 |O O|  pepebuho@gmail.com
 ~~~~     Javier Perez
 ~~~~          While the night runs
 ~~~~          toward the day...
  m m       Pepebuho watches
                from his high perch.