Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To improve the performance of my near ten years old Dell desktop, I want to add an SSD as the boot disk. The desktop is dual boot with Linux. After connecting a new SSD with a SATA power cable and a SATA data cable, I start to clone the HDD to SSD with Macrium Refect on Windows. The used hard drive space is 170 GB and the SSD has 240 GB space. But I am blocked by the Linux partition. The message says "this partition has a fixed size and can't be shrunk to ....". What is a good solution for the issue? One solution is not to clone the Linux partition and do a dual boot setup again on the SSD and copy any want-to-keep files manually through a third media. But, I don't know whether the boot script would work or not because that is for the dual boot. Another solution is to shrink the Linux partition to fit in the rest of the space in the SSD. (edited to clarify possible solutions)
The implication from the message is that the allocated (rather than actually used) space is larger than the target. From a linux terminal run this and post all the output.
The implication from the message is that the allocated (rather than actually used) space is larger than the target. From a linux terminal run this and post all the output.
How about you stop editting prior post(s) - post new data in new posts to save confusion.
I know nothing of Macrium, but if it handles the resizing of the Windows partition ok, you might still be in strife if it treats the ext4 partition as unmovable (as well as a fixed size). You might want to try resizing it with a gparted livecd, but with (presumably) a non-gpt disk structure, you'll probably have to re-install grub if it does get moved.
As per the link above, clonezilla is the usual suggested solution for linux users, but Windows might be an issue. Or not, I haven't moved it around for many years.
As per the link above, clonezilla is the usual suggested solution for linux users, but Windows might be an issue. Or not, I haven't moved it around for many years.
I used Clonezilla to backup a dual boot disk of Windows 10 and Debian. The image was verified.
Since it can backup Windows, I do not see a reason not to able to copy them.
I would try to install a fresh linux on that ssd and copy the required files from the old partition. But it depends on the amount of that data.
I have thought about this approach, but worry about the dual bost script. I might need to delete the Linux in the HDD and set up a dual boot on SSD later.
you don't need to delete the old one. Linux (almost any kind of distro) will detect all the available (bootable) systems and will automatically configure the boot menu.
So in that case you will have 3 entries: windows, old linux and new linux. And if you don't like it you can still do something else.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,511
Rep:
Windows used to write stuff to the end of the partitions, if I remember, which could cause problems trying to clone it to another drive.
Personally, if you want to keep Windows, just install Linux onto the SSD, & leave the other disk alone. You could maybe shrink the Windows partition, then use it to store data for both systems, also where the previous Linux used to reside.
you don't need to delete the old one. Linux (almost any kind of distro) will detect all the available (bootable) systems and will automatically configure the boot menu.
So in that case you will have 3 entries: windows, old linux and new linux. And if you don't like it you can still do something else.
I have thought the same. That will be required to change the boot order in the loader. I learn two options for changing the loader: a command "bcdedit /enum firmware" and making changes with UEFI on Windows. But I get "the boot configuration data store could not be opened" for the command and only the "turn off your pc" option for UEFI. I run into a wall right now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.