<div dir="ltr">cp -a. Booting from a usb?<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br><br><br>--------------------------------------------------------------<br> Roger Federer Fanatic Extraordinaire :-)</div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 26, 2020 at 11:41 AM Mikalai Birukou via kwlug-disc <<a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have a system with two drives, and I want to move linux (ubuntu here) <br>
from one drive to another.<br>
<br>
<br>
Context:<br>
<br>
  - Original drive is a fixture created by RAID card. Card messes up <br>
configurations every several weeks, so a want to use a different drive <br>
on a different physical connection (yes, sata slot from DVD in this old <br>
IBM System X server :) ).<br>
<br>
  - I suspect that dd copy won't work, cause new drive (ssd) doesn't go <br>
in place of the original one. It goes into a new location, and <br>
grub+fstab settings would be different.<br>
<br>
  - dd takes time, and I want to keep machine operational during the move.<br>
<br>
  - I already installed ubuntu on new drive, hoping to reconstruct <br>
original file tree in a new place by copying on filesystem level (vs <br>
low-level dd).<br>
<br>
<br>
Question:<br>
<br>
  - How can you do this copying of original system onto new system?<br>
<br>
  - Should it by rsync or tar pack& unpack? What flags to use? Is tar <br>
complain about skipping socket is safe in system backup for future recovery.<br>
<br>
  - Can there be a catch in this approach?<br>
<br>
<br>
Thank you.<br>
<br>
<br>
_______________________________________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div>