— iIT-Services

Archive
Linux

There’s a command-line utility called shred, which overwrites data in a file or a whole device with random bits, making it nearly impossible to recover.

First of all, you need to identify the name of the device.

This might be something like /dev/sdb or /dev/hdb (but not like /dev/sdb1, that’s a partition). You can use sudo fdisk -l to list all connected storage devices, and find your external hard drive there.

N.B. Make sure it is the correct device, picking the wrong device will wipe it.

Unmount all currently mounted partitions on that device, if any. Then run the following, replacing /dev/sdX with the name of your device:

sudo shred -v /dev/sdX

This will overwrite all the blocks on the device with random data three times, the -v flag is for verbose and will print the current progress.

You can add the option -nN to only do this N times, to save time on large capacity devices. This might take a while, depending on the size of your external hard drive (I think it takes twenty minutes or so for my 4 GB flash drive).

You can also set all bits to zero after the last iteration by adding the option -z, I prefer to do this.

sudo shred -v -n1 -z /dev/sdX

After this, you would have to repartition the device. The easiest way is to install GParted and use it:

sudo apt-get install gparted
gksu gparted

Choose your device in the upper-right corner list. Then select Device -> Create partition table to create a partition table on the device.

Then add a single partition that uses all of the unallocated space on the device, choosing fat32 as the file system. Apply the changes by click the Apply button (the green checkmark) in the toolbar.

Read More

A Code of Conduct for (Open Source) Communities. According to Wikipedia, the Contributor Covenant is used in prominent projects including Linux, Ruby on Rails, Swift, Go, and JRuby. Relevant signers include Google, Apple, Microsoft, Intel, Eclipse and GitLab.

In 2016 GitHub added a feature to streamline the addition of the Contributor Covenant to an open source project and the Ruby library manager Bundler also has an option to add the Contributor Covenant to software programs that its users create: https://www.contributor-covenant.org.

Read More

The following tutorial is borrowed from: https://superuser.com/questions/1270251/resizing-windows-10-bootcamp-partition-manually, generously written by the user dardeshna.

Read More

GPT fdisk (consisting of the gdisk, cgdisk, sgdisk, and fixparts programs) is a set of text-mode partitioning tools for Linux, FreeBSD, Mac OS X, and Windows. The gdisk, cgdisk, and sgdisk programs work on Globally Unique Identifier (GUID) Partition Table (GPT) disks, rather than on the older (and once more common) Master Boot Record (MBR) partition tables. The fixparts program repairs certain types of damage to MBR disks and enables changing partition types from primary to logical and vice-versa. You can learn more about fixparts on its dedicated Web page. If gdisk, cgdisk, and sgdisk sound interesting to you, then read on (or skip straight to the “Obtaining GPT fdisk” link if you don’t need the GPT pep talk): http://www.rodsbooks.com/gdisk/.

Read More

Create bootable USB drives the easy way – Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc.

It can be especially useful for cases where:

  • you need to create USB installation media from bootable ISOs (Windows, Linux, UEFI, etc.)
  • you need to work on a system that doesn’t have an OS installed
  • you need to flash a BIOS or other firmware from DOS
  • you want to run a low-level utility

Source: https://rufus.akeo.ie/.

 

Perfect alternative to UNetbootin.

Read More

Freeware Download Active@ Kill Disk – disk eraser software for secure formatting of hard drives without any possibility of following data recovery: www.killdisk.com.

Read More

The Windows USB/DVD Download tool allows you to create a copy of your ISO file on a USB flash drive or a DVD: https://www.microsoft.com/en-us/download/windows-usb-dvd-download-tool.

A better alternative is Unetbootin, downloadable at http://unetbootin.github.io.

Read More