<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dd on Support Tools</title><link>https://support.tools/tags/dd/</link><description>Recent content in Dd on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 20 Nov 2024 15:00:00 -0500</lastBuildDate><atom:link href="https://support.tools/tags/dd/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Create a Bootable Linux USB with dd</title><link>https://support.tools/create-linux-usb/</link><pubDate>Wed, 20 Nov 2024 15:00:00 -0500</pubDate><guid>https://support.tools/create-linux-usb/</guid><description>&lt;p&gt;Learn how to create a bootable Linux USB drive using the dd command. This guide walks you through the necessary steps for creating a bootable USB drive in Linux. Perfect for system administrators and developers needing a quick solution!&lt;/p&gt;</description></item><item><title>Cloning or Backing Up Drives Remotely Using dd and netcat</title><link>https://support.tools/dd-over-netcat-clone-drive-remote-backup/</link><pubDate>Fri, 06 Sep 2024 19:26:00 -0500</pubDate><guid>https://support.tools/dd-over-netcat-clone-drive-remote-backup/</guid><description>&lt;p&gt;In this guide, we will walk through the process of cloning or backing up drives remotely using the powerful combination of &lt;code&gt;dd&lt;/code&gt; and &lt;code&gt;netcat&lt;/code&gt;. This approach allows for efficient disk copying over a network, making it ideal for remote backups or system migrations.&lt;/p&gt;</description></item><item><title>Create a Bootable Linux USB from ISO with DD</title><link>https://support.tools/create-bootable-usb-dd/</link><pubDate>Wed, 04 Sep 2024 19:26:00 -0500</pubDate><guid>https://support.tools/create-bootable-usb-dd/</guid><description>&lt;p&gt;Creating a bootable USB drive from an ISO file can be quickly done using the &lt;code&gt;dd&lt;/code&gt; command on Linux. This method copies the ISO directly onto the USB drive, making it bootable.&lt;/p&gt;&#10;&lt;h3 id="the-dd-command"&gt;The dd command&lt;/h3&gt;&#10;&lt;p&gt;The command below copies the content of the ISO file &lt;code&gt;ubuntu-24.04-desktop-amd64.iso&lt;/code&gt; to the USB device located at &lt;code&gt;/dev/sdX&lt;/code&gt;. Make sure you&amp;rsquo;ve correctly identified the USB device to avoid overwriting critical data.&lt;/p&gt;&#10;&lt;div class="code-block" data-copy-label="Copy bash code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;span class="code-block-lang"&gt;bash&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo dd &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;ubuntu-24.04-desktop-amd64.iso &lt;span class="nv"&gt;of&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/dev/sdX &lt;span class="nv"&gt;bs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1M &lt;span class="nv"&gt;status&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;progress &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; sudo sync&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;This command does the following:&lt;/p&gt;</description></item><item><title>How to Create a Swap File on Linux Using the dd Command</title><link>https://support.tools/create-linux-swap-file-dd/</link><pubDate>Wed, 04 Sep 2024 19:26:00 -0500</pubDate><guid>https://support.tools/create-linux-swap-file-dd/</guid><description>&lt;p&gt;In this guide, we&amp;rsquo;ll go over the steps to create a swap file on Linux using the &lt;code&gt;dd&lt;/code&gt; command. Once the swap file is set up, we’ll configure it in &lt;code&gt;/etc/fstab&lt;/code&gt; so it activates automatically on boot.&lt;/p&gt;&#10;&lt;h3 id="creating-the-swap-file"&gt;Creating the Swap File&lt;/h3&gt;&#10;&lt;p&gt;To begin, we&amp;rsquo;ll use the &lt;code&gt;dd&lt;/code&gt; command to allocate 1GB for the swap file. Then, we’ll format the file, secure its permissions, and activate the swap space.&lt;/p&gt;&#10;&lt;div class="code-block" data-copy-label="Copy bash code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;span class="code-block-lang"&gt;bash&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo dd &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/dev/zero &lt;span class="nv"&gt;of&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/swapfile &lt;span class="nv"&gt;bs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;1024&lt;/span&gt; &lt;span class="nv"&gt;count&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;1048576&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mkswap /swapfile &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; sudo chmod &lt;span class="m"&gt;0600&lt;/span&gt; /swapfile&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo swapon /swapfile&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Explanation:&lt;/p&gt;</description></item></channel></rss>