Using fdisk to list and create partitions on a hard drive.
How to create a new partition on a HDD with fdisk.
How to create a new partition on a HDD with fdisk.
How to get the date and time a partition was last mounted.
Why having a separate home directory is a good thing when you need to reinstall Linux for some reason.
This command will print information about your swap partition easily using the Linux command line. root@Yog-Sothoth:~# swapon -s -v Filename Type Size Used Priority /dev/sda5 partition 7811068 0 -2 /dev/dm-1 partition 62500860 0 -3root@Yog-Sothoth:~# swapon -s -v Filename Type Size Used Priority /dev/sda5 partition 7811068 0 -2 /dev/dm-1 partition 62500860 0 -3 The –show parameter … Read more
This is how to format a hard disk partition that will hold data for your Linux system. The partition must be unmounted before formatting, but this is the ideal way to create a file-system on a new partition that has been created with fdisk. root@jason-desktop:~# mkfs.ext4 mkfs.ext4 mkfs.ext4dev root@jason-desktop:~# mkfs.ext4 /dev/sdd3 mke2fs 1.42.13 (17-May-2015) /dev/sdd3 … Read more
Formatting a partition in Linux is very easy when you use the mkfs command. In this example I am formatting a 35 gigabyte partition with an EXT4 file-system. I am intending to try out a Linux From Scratch build and I want to have a dedicated partition to build this on. jason@eyjafjallajkull:~/Documents$ sudo mkfs.ext4 /dev/sdb2 … Read more
The formatting of a hard disk partition on Linux is not very difficult if you use the right command. The mkfs command is used on Linux for this task; I will be showing a simple example of its usage here to make it clear how this is done. This is a simple example; I am … Read more
I have 6 Gigabytes of RAM in my computer and I found out that my swap partition was only 2 Gigabytes. So I needed to create a larger partition. I used the Gparted application to delete a useless Gentoo partition and then I created a 12 Gigabyte partition to use as swap space. This will … Read more
This is how to fix this issue with an NTFS drive that was not properly shutdown and therefore is not able to be mounted on Linux. https://securitronlinux.com/debian-testing/how-i-fixed-an-external-hard-drive-that-was-not-cleanly-unmounted-in-windows/. This will help out a user trying to to mount a Windows XP partition that was improperly shut down. This is very annoying when it happens, but this … Read more