Thought I’d document how to migrate a Linux OS to a larger disk using 100% FOSS tools. 256GB is a bit pokey these days especially when dual booting, virtual or otherwise. Let’s get to it:
The first step is optional & can be disregarded if you are familiar with partitioning but is handy if your a newb like me. In this example we will clone sda to sdb, both disks can be identified by there volumes.
- We will start Clonezilla in disk to disk mode & proceed to clone the smaller volume to the larger. The advantage of this is an exact copy of your smaller disk will be created to use as a template.
- Using GParted, whilst keeping boot & swap untouched, we will delete the home partition. Now grow the root partition, for arguments sake, to double the size. Apply, You may see an error state if root partition is BTRFS, this can be safely ignored. Recreate home partition with remaining space. Apply & execute all changes.
- Now we will reboot into Clonzilla, this time being careful to start in partition to partition mode. Now we will need to select our root source partition (smaller volume) and our root target partition (larger disk.) Clone being sure to recreate the partition table proportionately. We will want to repeat this for our home partition.
- Now to increase the size of your VM;
sudo qemu-img resize generic.qcow2 +20G
This worked perfectly with BTRFS / & XFS /home, any less exotic file systems should be a sinch. Happy computing!
AMD or Intel?
iOS or Android?
Windows or Linux?
Integrated vs discreet?
ARM or X86?
ThinkPad or MBP?
Firefox or Chrome?
Deb or RPM?
Rolling or LTS?
Lossy or lossless?
Nintendo or SEGA?
Proprietary or open sourced?
Cupertino or Redmond?
Nvidia or ATI?
Zen or KVM
So, the Mint devs have nailed the suspend issue introduced in 18.1! Good job as accidentally deleted my Clonzilla image back up of Mint 18.0. Doh!
So which is redundant & surplus? Which is of greater value? Dual SSDs or mobile broadband?
A singular Windows 10 instance is handy for troubleshooting a thorny PC problem now & then, & in matters of disk cloning & bootable USB creation… With the whole weight of x86 thrown behind legacy Windows, then arguably it is a necessary evil. In terms of resources, it is just plain greedy & inefficient. Ever updated Windows? It’ll struggle to apply a singular patch, whereas Linux excells even if every package needs recompiling. Windows automatically applies BIOS & firmware updates but the same can be attained through running the executable from a FreeDOS USB. Windows ramps the CPU fan compared to silent (open) SUSE.
With all the above I’m seriously thinking of ditching Redmond’s finest & then using a giffgaff data only SIM paired with a £50 4G card.
Everything running like a Swiss watch after latest nuke & pave. Most likely attack vector? A dodgy repo! Never add & trust random strangers security key! Home repos are excluded by default, which I will definitely steer clear as once the key is trusted is there really anyway to verify what is installed?
On a side note the X250 was the last X Series ThinkPad with old style logo (BBC anyone?) which I hugely prefer, also the fingerprint works reliably under openSUSE. Not like the X260’s encrypted effort.
…It’s a thing, openSUSE Tumbleweed is a very real alternative to Windows if you donna mind shifting a paradigm or two. Sooo sleek, sooo sophisticated, doing all with ease. The installer is well good innit, I would advise to hard partition for simplicity’s sake. Everything works, apart from my install falling apart in my hands, due to what I assume was a drive by hack. Very weird things happened before my eyes, however I’m hoping Snapper can save the day if ever there is a next time. Fortune holding, everything is OK so far…
So, rolling release, what is your experience? Is deb more stable than rpm? PPAs better than OBS? (Open Build Service is the framework in which devs facilitate their software, think openSUSE PPAs.)
Mint 17.3 upgraded to 18.0 runs tally ho! But 18.1 introduces unstable suspend issues every random one in 6 sleeps. 18.0 runs bullet proof & apart from the green dots of progress, (that do not indicate any progress, so why have them? I believe them to be a regression from 17.3’s simple & elegant Mint logo, nod to elementary & how it should be done.)
I last threw down an install of openSUSE Tumbleweed (TW) on a Lenovo X250 1-2 yrs approximate. After swearing Mint was the most stable thing ever & cursing TW for being so damn buggy, I decided to reload. Very glad I did as all bugs quashed! I have to say openSUSE’s engineer led tools are second to none & TW now edges out Mint for top spot of favourite. Mint comes second & Solus gets third with Ubuntu MATE perhaps an honorary mention-able fourth. (Purely my opinion.) I eagerly monitor Solus’ progress.
An updated Intel chipset driver resulted in lower temps for the X250 under Windows 10 with BIOS update bringing ten degree lower temps across the board. Linux still has Windows beat on everything but firmware/BIOS updates, but at least Lenovo has finally sorted.
Linux Voice & Micromart both bite the dust in quick succession leaving only Linux Action Show (LAS) & Linux Unplugged (LUP) podcasts to stay informed. I highly recommend them.