Article 4ZHDB Convert 3 of 8 existing partitions (Windows) in a dual boot system to a KVM/libvert instance

Convert 3 of 8 existing partitions (Windows) in a dual boot system to a KVM/libvert instance

by
Batters
from LinuxQuestions.org on (#4ZHDB)
Trying to follow this guide, but stuck on how to include all Win partitions into the raw image.

https://blog.sviluppoweb.eu/2010/07/...linux-qemukvm/

I am currently dual booting, but would like to copy sda1, sda2, sda3 into a raw image and not include sda4-8.

create your disk raw image with dd from winows/linux disk; note that you have to copy ALL disk, not only a single partition. For example, if you have 3 partitions (/boot hda1 / hda2 and swap hda3) you have to use dd on your disk device, not on partitions. Wrong: dd if=/dev/hda1. Correct: dd if=/dev/hda.

My goal is to transfer my Windows environment into a KVM image/environment within my Linux environment so I can convert my setup to a single OS boot scenario.

Boot Debian - KVM/libvert containers -Windows (migrated from physical) & -Arch (installed fresh).

How can I migrate 3 of my 8 partitions on a single disk (Windows partitions) to a raw image to convert this to a KVM/libvert instance ?latest?d=yIl2AUoC8zA latest?i=JGdIZHlD7Z4:eOSrAKNU-4U:F7zBnMy latest?i=JGdIZHlD7Z4:eOSrAKNU-4U:V_sGLiP latest?d=qj6IDK7rITs latest?i=JGdIZHlD7Z4:eOSrAKNU-4U:gIN9vFwJGdIZHlD7Z4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments