Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Cloning xubuntu ...

  1. #11
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Cloning xubuntu ...

    Quote Originally Posted by dbee View Post
    so how do I go about copying my ubuntu image from my hp-stream to my larger Thinkpad machine running windows. I don't want a dual-boot.

    Thanks tea for one. (pls see above post for more details)
    Post the output from the running system for
    Code:
    df -Th
    Then we can provide the 'cp' command. I would show how to figure this stuff out, but my systems use advanced LVM storage so the 'cp' isn't the way to accomplish this. It is all about picking the correct device files to copy, then likely need to modify the fstab and grub if each partition has to be copied and not the entire HDD.

    If you have to go through an intermediate file first, you can use fsarchiver to copy each partition. fsarchiver supports restoring to smaller partitions than the original source, provided the data will still fit. None of the other "imaging" tools can do that to my knowledge.

    While doing all this stuff, an alternative booting OS will be necessary. We cannot safely copy a running OS or target a running OS.

    BTW, always, always, mention dual boot and the other OS involved, if you want to retain that. I don't think it is easily possible and I wouldn't know where to start to make it happen for Windows.

    A fresh install takes 15 minutes, even on slow machines. Then you could have copied everything from /home over and created a list of installed packages and fed those into the new system via a trivial batch process and been done with this in about 30 minutes total time. Just something to consider rather than a bit-for-bit copy. In general, disk imaging is a poor method for backup/restore processes, though for mirroring bit-for-bit exactly the same sized HDDs, it is 1 easy command.

    Because I use LVM, moving an entire PV (roughly an entire partition) from 1 physical device to another is 1 command - pvmove. This can be run while the system is still being used. Just something to consider when the installer offers LVM as an option on the storage page. It does add complexity for some day-to-day stuff, but it also provides fantastic flexibility when downtime has to be minimized for a system. Extending a file system across multiple disks is possible with LVM (for some risks), but if you have excellent backups, go for it.

    Just providing more information, for future considerations.

  2. #12
    tea for one is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    May 2008
    Beans
    1,527
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Cloning xubuntu ...

    Clonezilla will do want you want to do i.e. transfer your HP Stream OS to your Thinkpad.
    However, with Clonezilla you have to be aware of the nomenclature of the drives in each PC.

    Your HP Stream is probably /dev/mmcblk0 and your Thinkpad is possibly sda.

    Clonezilla will not automatically allow an image with mmcblk0 to be restored to sda without converting the image.
    If you can supply the exact details of each drive, then I can give you the terminal command to run in a Clonezilla session.
    It is not intuitive but it can be done.

    However, a slightly easier approach (without converting the nomenclature of the image) could be:-

    HP Stream via USB Stick to Thinkpad

    Start Clonezilla on your HP Stream
    Plug in a USB stick with a larger capacity than your HP Stream and a smaller capacity than your Thinkpad (say 64GB)
    Choose device to device using disks in the Clonezilla menu (Source = HP Stream & Target = USB stick)
    Clone the complete mmcblk0 disk to the USB device

    Plug both the USB disk and the Clonezilla drive into your Thinkpad
    Start Clonezilla and use device to device using disks (Source = USB stick & Target = Thinkpad)

  3. #13
    Join Date
    Aug 2005
    Beans
    411

    Re: Cloning xubuntu ...

    Restoring from a clonezilla image...

    https://youtu.be/eVOihefKE7w
    I wish my computer would do what I want it to do - not what I tell it to do.

  4. #14
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Cloning xubuntu ...

    When device names change, cloning means both grub and the fstab and perhaps some other disk mounting settings will need to be updated manually. Only the OP knows his skill level for these things.

    Changing from mmcblk0 --> sda will definitely require manual intervention.

    If the understanding is off a little, the cloned drive will not boot and for many end-users, a fresh install will be needed to the new storage anyways. Boot-repair (a tool to correct these sorts of things) doesn't touch fstab entries and has difficulty with most UEFI boot situations.

    This thread has been open for 2 weeks. A 15 minute install and selective data transfers from the old system would have taken perhaps a few hours.

    Cloning storage isn't foolproof, unfortunately.

  5. #15
    Join Date
    Aug 2005
    Beans
    411

    Re: Cloning xubuntu ...

    Quote Originally Posted by guiverc View Post
    Be aware the packages show you're using a EOL release of Xubuntu..

    Flavors of Ubuntu only come with three years of supported life (five years applies to Ubuntu Desktop, Ubuntu Server but not flavors), so you're asking about a release that only days ago reached it's EOL.

    If you check out https://ubuntuforums.org/showthread.php?t=2461582

    you'll note other flavors put out EOL notices (ie. Lubuntu/Ubuntu-MATE/Kubuntu/Ubuntu-Budgie)

    Xubuntu didn't, but if you refer https://xubuntu.org/release/18-04/ you'll see that 29 April 2021 was the end of life for Xubuntu 18.04 LTS.
    Thanks. I'll upgrade.
    I wish my computer would do what I want it to do - not what I tell it to do.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •