M
M
Michael2018-12-07 17:54:11
ubuntu
Michael, 2018-12-07 17:54:11

How to set up a disk in qemu?

I want to put a virtual machine on qemu, previously I worked only with virtualbox.
On the move

fdisk -l 2017-07-05-raspbian-jessie-lite.img

stopped because I don't understand what exactly this command will do. From the description, I know that it distributes the disk. It needs to be done on the host and I have concerns that I might break the main system.
Or am I worrying for nothing and this command will only create a disk like the os.vdi files, like virtualbox creates, without affecting the main disk in any way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2018-12-07
@springimport

https://linux.die.net/man/8/fdisk

-l
List the partition tables for the specified devices and then exit. If no devices are given, those mentioned in /proc/partitions (if that exists) are used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question