Article 5DDQV creating virtual disk using command line

creating virtual disk using command line

by
jamesb1957
from LinuxQuestions.org on (#5DDQV)
Hi:
Trying to learn to use command line, and do the exercises on a virtual machine using ubuntu 20.04. I would like to create a virtual drive using command line so I did a search on how to do that, I came across a tutorial which shows me how(this tutorial was also picked up by "LXer" and posted into linuxquestions on 04-07-18. In the tutorial it shows how to make a 1GB virtual drive, I would like to make a 20GB virtual drive. The command line that is used is in reference to a 1GB drive and I'm not sure how to change the line to 20GB or what the different commands within the whole line mean, if I new what they meant I could probably figure out how to change it to what I want. Here is the copy of the command line text " $ dd if=/dev/zero of=1GB_HDD.img bs=1M count=1024 " If someone could tell me what the different commands are within the whole command it would be greatly appreciated.

Thanks
James C.latest?d=yIl2AUoC8zA latest?i=HLlLDlwvlJk:4AuMIgDQ2FI:F7zBnMy latest?i=HLlLDlwvlJk:4AuMIgDQ2FI:V_sGLiP latest?d=qj6IDK7rITs latest?i=HLlLDlwvlJk:4AuMIgDQ2FI:gIN9vFwHLlLDlwvlJk
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