Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Partitioning on Fedora
05-22-2014, 03:12 AM (This post was last modified: 02-09-2016 06:24 PM by lingu.)
Post: #1
Partitioning on Fedora
List partitions in sda using parted:

parted /dev/sda print


Create an ext4 partition on /dev/sda starting 1798GB and ending at 2400GB:

parted /dev/sda mkpart primary ext4 1798GB 2400GB

A weird thing to notice that the above command seems to name the partition 'primary'.
Quote this message in a reply
07-20-2017, 03:46 PM
Post: #2
RE: Partitioning on Fedora
When I run command "parted /dev/sda mkpart primary ext4 1798GB 2400GB", it says "Error: /dev/xvdb: unrecognised disk label". It needs to execute "parted /dev/sdc mklabel gpt mkpart primary 2048s 100%" first.

Refer to: http://tab.d-thinker.org/showthread.php?tid=4429
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: