Comments on: LFCS #4: How to Partition Storage Devices in Linux https://www.tecmint.com/create-partitions-and-filesystems-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Wed, 23 Aug 2023 06:47:53 +0000 hourly 1 By: CHIADI https://www.tecmint.com/create-partitions-and-filesystems-in-linux/comment-page-1/#comment-1084599 Thu, 20 Dec 2018 15:13:11 +0000 http://www.tecmint.com/?p=9293#comment-1084599 When I ran the following command on Centos 7 running on VirtualBox.

# mkfs.ext4 -L LabelName /dev/sdb1) 

It gives me this error:

mkfs.ext4: invalid blocks 'LabelName' on device '–L'

I decided to split the command in to two:

# mkfs.ext4 /dev/sdb1 
# mkfs -L LabelName /dev/sdb1

It worked.

]]>
By: Ahmad https://www.tecmint.com/create-partitions-and-filesystems-in-linux/comment-page-1/#comment-838735 Thu, 17 Nov 2016 09:13:43 +0000 http://www.tecmint.com/?p=9293#comment-838735 In reply to Ahmad.

Type * not time… sorry

]]>
By: Ahmad https://www.tecmint.com/create-partitions-and-filesystems-in-linux/comment-page-1/#comment-838733 Thu, 17 Nov 2016 09:04:54 +0000 http://www.tecmint.com/?p=9293#comment-838733 Correct me if I am wrong, but when you make a swap partition, shouldn’t you change its time to Linux swap ( Hex 82) ?

]]>
By: Peter https://www.tecmint.com/create-partitions-and-filesystems-in-linux/comment-page-1/#comment-813958 Wed, 07 Sep 2016 14:46:37 +0000 http://www.tecmint.com/?p=9293#comment-813958 In reply to Gabriel A. Cánepa.

When I run fdisk -v I get the following:

fdisk from util-linux 2.23.2

]]>
By: Gabriel A. Cánepa https://www.tecmint.com/create-partitions-and-filesystems-in-linux/comment-page-1/#comment-813595 Tue, 06 Sep 2016 12:55:59 +0000 http://www.tecmint.com/?p=9293#comment-813595 In reply to Peter.

@Peter,
To be honest, I had not noticed this before. What is the fdisk version currently installed on your CentOS 7 system?

]]>