6
votes
2answers
366 views

Creating formatted partition from nothing

I need to create filesystem with just one partition from nothing (/dev/zero). I tried this sequence of commands: dd if=/dev/zero of=mountedImage.img bs=512 count=131072 fdisk mountedImage.img n ...
2
votes
2answers
478 views

Can't format external drive

I am trying to format an external drive, but getting the error /dev/sdb1 is apparently in use by the system; will not make a filesystem here! Based on the internet, I have to run cat ...