<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Thanks for all the replies. I solved my problem by skipping GParted and doing it all in a terminal instead. Something like this, if I recall correctly:</div><div class="gmail_quote">sudo fdisk /dev/sdg</div><div class="gmail_quote">n</div><div class="gmail_quote">p</div><div class="gmail_quote">(keeping all default values)</div><div class="gmail_quote">v</div><div class="gmail_quote">w</div><div class="gmail_quote">sudo mkfs.btrfs -f /dev/sdg1 -L "Backup 2000"<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">With GParted, I think I tried creating a partition table first at at least one of the many times I tried, but I'm not sure now.</div><div class="gmail_quote">Thanks for the LANG=C hint. I'm not sure why I didn't think of that, because I have used it before. Maybe it was because the error message didn't say much anyway, it was like ”there was an error when trying to set partition type” or something like that, no clues why or anything.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Just for curiosity I will try the whole thing again right now with that ”LANG=C” thing, but since I already formatted and populated my USB HDD I will try a USB stick instead, which is empty anyway:</div><div class="gmail_quote">So I start gparted like suggested:</div><div class="gmail_quote"><span style="font-size:12.8px">$ sudo -i</span><br style="font-size:12.8px"><span style="font-size:12.8px"># LANG=C gparted</span><br></div><div class="gmail_quote"><span style="font-size:12.8px"><br></span></div><div class="gmail_quote"><span style="font-size:12.8px">I already have an empty partition on it so I first try Partition → Delete, but that option is grayed out, so instead I do Right click the existing partition →</span><span style="font-size:12.8px"> Format to</span><span style="font-size:12.8px"> →</span><span style="font-size:12.8px"> Cleared.</span></div><div class="gmail_quote"><span style="font-size:12.8px">I execute it and it works; </span><span style="font-size:12.8px">I now have 14.93 GiB unallocated space (it's a 16 GB stick). </span></div><div class="gmail_quote"><span style="font-size:12.8px"><br></span></div><div class="gmail_quote"><span style="font-size:12.8px">Next, I right click the unallocated space and select New.</span></div><div class="gmail_quote"><span style="font-size:12.8px">I keep most of the default values, file system doesn't matter in this case since I get the error no matter what, but I select ext4 this time. I enter ”Test” as label.</span></div><div class="gmail_quote"><span style="font-size:12.8px">I now click the Add button.</span></div><div class="gmail_quote"><span style="font-size:12.8px"><br></span></div><div class="gmail_quote"><span style="font-size:12.8px">Now trying to execute this step. ”Are you sure you want to apply the pending operations?”, I am asked. Since there is no ”No, I just clicked randomly all over the place to see what happened” button, I click the Apply button instead.</span></div><div class="gmail_quote"><span style="font-size:12.8px"><br></span></div><div class="gmail_quote"><span style="font-size:12.8px">And here it is, ladies and gentlemen (or maybe just gentlemen, I don't know),  the error that will tell us all exactly what happened, and it is in English (!):</span></div><div class="gmail_quote"><span style="font-size:12.8px">”An error occured while applying the operations</span></div><div class="gmail_quote"><span style="font-size:12.8px">See the details for more information</span></div><div class="gmail_quote"><span style="font-size:12.8px"><br></span></div><div class="gmail_quote"><span style="font-size:12.8px">IMPORTANT:</span></div><div class="gmail_quote"><span style="font-size:12.8px">If you want support, you need to provide the saved details!</span></div><div class="gmail_quote"><span style="font-size:12.8px">See <a href="http://gparted.org/save-details.htm">http://gparted.org/save-details.htm</a> for more information.”</span></div><div class="gmail_quote"><span style="font-size:12.8px"><br></span></div><div class="gmail_quote"><span style="font-size:12.8px">Here are the details (and yes, I supplied most of them in my original post):</span></div><div class="gmail_quote"><p>”GParted 0.23.0 --enable-libparted-dmraid --enable-online-resize</p>
<p>Libparted 2.3</p>
<table border="0">
<tbody><tr>
<td colspan="2">
<b>Create Primary Partition #1 (ext4, 14.93 GiB) on /dev/sdg</b>  00:00:01    ( ERROR )
</td>
</tr>
<tr>
<td>    </td>
<td>
<table border="0">
<tbody><tr>
<td colspan="2">
create empty partition  00:00:01    ( SUCCESS )
</td>
</tr>
<tr>
<td>    </td>
<td>
<table border="0">
<tbody><tr>
<td colspan="2">
<i>path: /dev/sdg1 (partition)<br>start: 2048<br>end: 31305727<br>size: 31303680 (14.93 GiB)</i>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<table border="0">
<tbody><tr>
<td colspan="2">
clear old file system signatures in /dev/sdg1  00:00:00    ( SUCCESS )
</td>
</tr>
<tr>
<td>    </td>
<td>
<table border="0">
<tbody><tr>
<td colspan="2">
write 68.00 KiB of zeros at byte offset 0  00:00:00    ( SUCCESS )
</td>
</tr>
</tbody></table>
<table border="0">
<tbody><tr>
<td colspan="2">
write 4.00 KiB of zeros at byte offset 67108864  00:00:00    ( SUCCESS )
</td>
</tr>
</tbody></table>
<table border="0">
<tbody><tr>
<td colspan="2">
write 4.00 KiB of zeros at byte offset 16027480064  00:00:00    ( SUCCESS )
</td>
</tr>
</tbody></table>
<table border="0">
<tbody><tr>
<td colspan="2">
flush operating system cache of /dev/sdg  00:00:00    ( SUCCESS )
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<table border="0">
<tbody><tr>
<td colspan="2">
set partition type on /dev/sdg1  00:00:00    ( ERROR )
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<p>========================================”</p></div><div class="gmail_quote"><span style="font-size:12.8px">I provided all of them, except the very first two lines, in my original post, except that I translated them from Swedish (and that my original post was about the USB HDD and this is for a USB stick). The above details are in English to begin with, and as you can see if you compare them, my English sucks badly. Don't worry, I already knew that.</span></div><div class="gmail_quote"><br></div><div class="gmail_quote">If you still think I omitted some very important information in my original post (except that I translated it wrong), please let me know. Maybe I'll learn something from it.</div><div class="gmail_quote"><br></div><div class="gmail_quote">And once again, thanks for all the replies, and sorry for annoying some of you by not being able to translate the important stuff properly.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_quote">Kind regards</div><div class="gmail_quote"><br></div><div class="gmail_quote">Johnny Rosenberg</div><div><br></div></div></div></div>