<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Create a Virtual HardDisk Volume Using a File in Linux	</title>
	<atom:link href="https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 26 Feb 2024 09:13:12 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: max		</title>
		<link>https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/comment-page-1/#comment-2140000</link>

		<dc:creator><![CDATA[max]]></dc:creator>
		<pubDate>Mon, 26 Feb 2024 09:13:12 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=31434#comment-2140000</guid>

					<description><![CDATA[Hi,

`&lt;strong&gt;sudo&lt;/strong&gt;` you only really need them for the &lt;strong&gt;mount&lt;/strong&gt; and &lt;strong&gt;unmount&lt;/strong&gt;.

&lt;strong&gt;dd&lt;/strong&gt; does not need &lt;strong&gt;sudo&lt;/strong&gt; (&lt;strong&gt;/dev/zero&lt;/strong&gt; is world readable by default) and the &lt;strong&gt;mkfs&lt;/strong&gt; also does not need root (as long as the file is owned by you).

&lt;strong&gt;mkdir&lt;/strong&gt; also does not need &lt;strong&gt;sudo&lt;/strong&gt;!]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>`<strong>sudo</strong>` you only really need them for the <strong>mount</strong> and <strong>unmount</strong>.</p>
<p><strong>dd</strong> does not need <strong>sudo</strong> (<strong>/dev/zero</strong> is world readable by default) and the <strong>mkfs</strong> also does not need root (as long as the file is owned by you).</p>
<p><strong>mkdir</strong> also does not need <strong>sudo</strong>!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave		</title>
		<link>https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/comment-page-1/#comment-2131049</link>

		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Tue, 30 Jan 2024 22:47:57 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=31434#comment-2131049</guid>

					<description><![CDATA[I&#039;m halfway there. I was a bit confused about the &quot;/media&quot; bit being in the dd command but not the mkfs command, but then again I&#039;m a novice. I took that out and continued. 

When I got to the mount command I put in the full path to the created img file and that seemed to work. 

However, in the graphical file browser (in Zorin) what I see is my img file&#039;s name with a padlock on it. In the sidebar is &quot;1.3GB volume&quot; rather than the container name. 

I can&#039;t eject that. And when I try to save a new file in this virtual space -- using Nano, for example, it says I can&#039;t. 

So like commenter Jam on this page, what I have is read only? 

I appreciate the instructions, but how should I proceed so that I can use this virtual disk?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m halfway there. I was a bit confused about the &#8220;/media&#8221; bit being in the dd command but not the mkfs command, but then again I&#8217;m a novice. I took that out and continued. </p>
<p>When I got to the mount command I put in the full path to the created img file and that seemed to work. </p>
<p>However, in the graphical file browser (in Zorin) what I see is my img file&#8217;s name with a padlock on it. In the sidebar is &#8220;1.3GB volume&#8221; rather than the container name. </p>
<p>I can&#8217;t eject that. And when I try to save a new file in this virtual space &#8212; using Nano, for example, it says I can&#8217;t. </p>
<p>So like commenter Jam on this page, what I have is read only? </p>
<p>I appreciate the instructions, but how should I proceed so that I can use this virtual disk?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/comment-page-1/#comment-2126600</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Tue, 16 Jan 2024 04:34:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=31434#comment-2126600</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/comment-page-1/#comment-2126280&quot;&gt;Tom&lt;/a&gt;.

@Tom,

Yes, you are correct in noting that &lt;strong&gt;VHD&lt;/strong&gt; and &lt;strong&gt;VHDX&lt;/strong&gt; have specific compatibility specifications. While Windows 10/11 provides the &lt;strong&gt;Disk2vhd&lt;/strong&gt; program for creating virtual hard disk files (&lt;strong&gt;VHD/VHDX&lt;/strong&gt;) from physical disks, the process is generally tailored for Windows environments.

For Linux-based systems such as &lt;strong&gt;Ubuntu&lt;/strong&gt; or &lt;strong&gt;RHEL/CentOS&lt;/strong&gt;, you can use tools like &quot;&lt;strong&gt;dd&lt;/strong&gt;&quot; to create a disk image. However, directly converting to VHD or VHDX may not be straightforward, as these formats are more native to Windows.

To achieve compatibility, you might need additional tools or a two-step process. You could first create a raw disk image using &quot;&lt;a href=&quot;https://www.tecmint.com/dd-command-examples/&quot; title=&quot;dd Command in Linux&quot; target=&quot;_blank&quot; rel=&quot;noopener ugc&quot;&gt;dd&lt;/a&gt;&quot; or a similar tool and then convert it to &lt;strong&gt;VHD/VHDX&lt;/strong&gt; using a tool like &lt;strong&gt;qemu-img&lt;/strong&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/comment-page-1/#comment-2126280">Tom</a>.</p>
<p>@Tom,</p>
<p>Yes, you are correct in noting that <strong>VHD</strong> and <strong>VHDX</strong> have specific compatibility specifications. While Windows 10/11 provides the <strong>Disk2vhd</strong> program for creating virtual hard disk files (<strong>VHD/VHDX</strong>) from physical disks, the process is generally tailored for Windows environments.</p>
<p>For Linux-based systems such as <strong>Ubuntu</strong> or <strong>RHEL/CentOS</strong>, you can use tools like &#8220;<strong>dd</strong>&#8221; to create a disk image. However, directly converting to VHD or VHDX may not be straightforward, as these formats are more native to Windows.</p>
<p>To achieve compatibility, you might need additional tools or a two-step process. You could first create a raw disk image using &#8220;<a target="_blank" href="https://www.tecmint.com/dd-command-examples/" title="dd Command in Linux" target="_blank" rel="noopener ugc">dd</a>&#8221; or a similar tool and then convert it to <strong>VHD/VHDX</strong> using a tool like <strong>qemu-img</strong>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tom		</title>
		<link>https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/comment-page-1/#comment-2126280</link>

		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Mon, 15 Jan 2024 11:24:40 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=31434#comment-2126280</guid>

					<description><![CDATA[So I CANNOT take this &quot;&lt;strong&gt;VHD&lt;/strong&gt;&quot; in a name-only file and &quot;&lt;strong&gt;mount&lt;/strong&gt;&quot; it to Windows or VB, right?

VHD and VHDX have very specific specifications for COMPATIBILITY. 

W10/11 has a &lt;strong&gt;Disk2vhd&lt;/strong&gt; program and moves from MS to Ubuntu or RHEL/CENTOS (or whats left of it), so does Ubuntu/Linux/Unix have an equivalency to DUMP a physical disk into the VHDX or VHD format?]]></description>
			<content:encoded><![CDATA[<p>So I CANNOT take this &#8220;<strong>VHD</strong>&#8221; in a name-only file and &#8220;<strong>mount</strong>&#8221; it to Windows or VB, right?</p>
<p>VHD and VHDX have very specific specifications for COMPATIBILITY. </p>
<p>W10/11 has a <strong>Disk2vhd</strong> program and moves from MS to Ubuntu or RHEL/CENTOS (or whats left of it), so does Ubuntu/Linux/Unix have an equivalency to DUMP a physical disk into the VHDX or VHD format?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jam		</title>
		<link>https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/comment-page-1/#comment-1787459</link>

		<dc:creator><![CDATA[Jam]]></dc:creator>
		<pubDate>Sat, 07 May 2022 20:16:52 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=31434#comment-1787459</guid>

					<description><![CDATA[I tried this method, but the mounted drive/container remains read-only... I could not find how to enable write permission.]]></description>
			<content:encoded><![CDATA[<p>I tried this method, but the mounted drive/container remains read-only&#8230; I could not find how to enable write permission.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
