How to find out SSD details on a Linux computer

Open a terminal window and enter the following to find out technical information of an SSD installed in the computer using Linux. $ sudo hdparm -i /dev/sda <enter> /dev/sda:Model=CT500MX500SSD1, FwRev=M3CR043 Visit https://www.crucial.in/support/ssd-support/mx500-support to check if there is a firmware upgrade for the SSD.

How to mount another hard disk for sharing with other users in Linux

Sometimes, a drive needs to be shared by more than that primary user logged in on a Linux computer. This is to facilitate sharing of files and folders by other users on that computer. To enable all authorized users to work with files and folders on the shared drive, read on. Any commands need to … Continue reading How to mount another hard disk for sharing with other users in Linux

How to create and use LUKS encrypted partition in Linux

It is easy to create a LUKS container and a partition within it, using the GUI on Linux. The application that enables this easily is the gnome-disk-utility. However, if you want to use the command line to set up a LUKS encrypted device, read on. Exercise appropriate caution before doing any of the below with … Continue reading How to create and use LUKS encrypted partition in Linux

How to securely wipe a hard drive or USB drive in Linux using dd or scrub

Normally we'd use dd to clean wipe a hard drive as follows after opening a terminal window for a hard disk or USB drive accessible as /dev/sdb :$ sudo dd if=/dev/urandom of=/dev/sdb status=progress <enter> Another command to do a secure wipe of /dev/sdb is scrub that can be used as follows:$ sudo scrub -p dod … Continue reading How to securely wipe a hard drive or USB drive in Linux using dd or scrub

How to enable the UEFI in VirtualBox for a Windows 10 virtual machine running on Linux

This is for those who missed checking the UEFI checkbox in the settings prior to installing Windows 10 in VirtualBox. Do the below at your own risk, take appropriate backup, First, check and confirm if BIOS Mode is Legacy, which means MBR is the partition and not GPT. To do this, press Windows+R and run:msinfo32.msc … Continue reading How to enable the UEFI in VirtualBox for a Windows 10 virtual machine running on Linux

How to fix initramfs-tools error when updating it

Below error appears when updating the initramfs-tools: Processing triggers for initramfs-tools (0.130ubuntu3.8) …update-initramfs: Generating /boot/initrd.img-5.1.0-15-genericI: The initramfs will attempt to resume from /dev/dm-1I: (/dev/mapper/vg0-swap)I: Set the RESUME variable to override this. Before proceeding beyond this point, take a data backup. This error usually occurs if the computer had dual booting and a swap file that … Continue reading How to fix initramfs-tools error when updating it

How to check if TRIM is enabled on Linux Mint 20.1

After installation of a NVMe SSD in the laptop, it needs to be well-managed so that it's life does not decrease. To do this, most modern systems use TRIM to manage and delete unwanted blocks of data on the SSD. To check if TRIM is enabled on the Linux Mint 20.1 laptop, open a terminal … Continue reading How to check if TRIM is enabled on Linux Mint 20.1

Select and set up a Crucial M2.2280 NVMe PCIe SSD

Android Studio works quite slow with a normal SATA Hard Disk Drive (HDD), on a computer. To overcome this, there are a few solutions, including waiting for the good folks at Google to release another efficient version, or if you are seriously into Android development, then you can augment the hardware of your computer by … Continue reading Select and set up a Crucial M2.2280 NVMe PCIe SSD

How to add 8 gb swap file instead of the 1 gb swap partition created by Xubuntu Linux on install

When using Android Studio or any other disk intensive applications, on Ubuntu-based distros, it is difficult to squeeze performance due to less RAM. 8gb RAM if using Android Studio and if Firefox web browser is also being used, the system will freeze or hang. To prevent this, increase the swap size. Unfortunately, Ubuntu-based distros only … Continue reading How to add 8 gb swap file instead of the 1 gb swap partition created by Xubuntu Linux on install