Announcement

Collapse
No announcement yet.

Cloning 22.04 installation to USB drive

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cloning 22.04 installation to USB drive

    I hope you don't mind me sharing a video and its written companion showing how to clone Kubuntu 22.04 to a USB drive (a full installation, not a USB installation ISO) using partclone.

    #2
    I didn't watch the whole thing. Its using Partclone. Here's what I use. I open a terminal and execute the following:
    Code:
    sudo ./fsarchiver -j6 -o savefs ubuntu.fsa /dev/nvme0n1p4
    and to restore I use this:
    Code:
    sudo ./fsarchiver restfs ubuntu.fsa id=0,dest=/dev/sda6
    I can also save multiple partitions including my efi partitions with this:
    Code:
    sudo ./fsarchiver -j6 -o savefs lubuntu.fsa  /dev/nvme0n1p1 /dev/nvme0n1p4 /dev/nvme0n1p5 /dev/nvme0n1p6 /dev/nvme0n1p7
    As I only have one partition per linux distro, it makes it simple. I never use mutiple paritions per distro
    Boot Info Script

    Comment


      #3
      Thanks! Yes, with partclone and partimage you have to create the image from another partition, could be any any Linux distro. The main point I was trying to demo is how to make the USB clone bootable.

      Comment

      Working...
      X