Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 18367  / 2 Years ago, sun, april 3, 2022, 9:22:52

I'm finding that my graphics drivers (ATI Radeon HD 4200) run MUCH better in a native windows system, I can't even get the closed-source drivers working in Ubuntu, thus leading me to want to run windows as my main os again but have Ubuntu in a vm. Anyone know how I could migrate my current ubuntu system to a vm?


More From » 12.10

 Answers
3

It's not much different from machine-to-machine disk copy. Try using Clonezilla.



Before running clonezilla to make a partition image, I'd run e2fsck -f then resize2fs -M to make the original partition to the smallest, so that when you are moving the partition to the VM, you can make it to any size you want.
Note that, though I've done resize2fs -M many times and successful, it can go wrong. So be sure to have a backup.



I'd install a new Ubuntu in a VM so that you can do the partition as you like, then overwrite the partition from the original partition image created by Clonezilla. That way, you know the bootstrap works in the VM, and you are replacing the partition.



Once the partition is restored, while still in Clonezilla resize2fs (with no option) makes the file system to fit to the partition map (aka enlarged to the max).



This is how I usually transfer system from one system to other, reglardless of VM or non-VM.


[#32116] Monday, April 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leadprogres

Total Points: 298
Total Questions: 114
Total Answers: 139

Location: Samoa
Member since Mon, Nov 8, 2021
3 Years ago
;