Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as partitions, to treat one physical disk drive as if it were multiple disks.
Questions tagged [partition]
2763 questions
34
votes
7 answers
How to partition 22TB disk?
I have a 22TB disk on /dev/sdb. How do I create a 22TB partition? Don't really care about the file system - ext4 or zfs is fine.
Running CentOS 6.2 - Partition will be used as a data dump. Only a single stream of data so being picky/choosy over what…

LVLAaron
- 1,735
10
votes
3 answers
Primary vs Logical partition
I know that you can only have 4 primary partitions on a hard drive. But if you're using less than 4, is there a benefit/penalty for using logical partitions?

Falmarri
- 13,047
7
votes
0 answers
Linux various partition type codes usage
I was reading "Full_Disk_Encryption_Howto_2019" - Link.
I noticed that the partition type codes used by the author are uncommon:
sgdisk --typecode=1:8301 --typecode=2:ef02 --typecode=3:ef00 --typecode=5:8301 $DEV
In a standard linux installation, I…

Dor
- 2,535
6
votes
3 answers
change partition label keeping filesystem
doing lsblk -o type,name,label,partlabel
LABEL is at the partition level, and is set via mkfs -L

ron
- 6,575
6
votes
1 answer
Why partition disks?
I've read many times that it's important to partition disks into smaller partitions, and that this is especially true for root or OS disks, but I've never been able to find a good reason for it. A commonly given excuse is that it improves data…

Wocky
- 61
- 1
5
votes
1 answer
Merge Two HDD in Ubuntu
I have 2 HDD installed in my PC. One of them is empty (I just added it) and the other one contains everything else.
Output from fdisk:
root@*****:~# sudo fdisk -l
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors
Units: sectors of 1…

Linux1565
- 51
5
votes
2 answers
Change main partition size to install another distribution
I have CentOS 5.5 installed, I have no un-partitioned space and the only ext3 partition I have is huge with lots of free space.
Can I change that partition size in order to allocate another one? I want to create new partitions in order to install…

Toto
- 279
4
votes
2 answers
How do I change the label of an exFAT partition without formatting?
I have a flash drive that is formatted as exFAT. I wish to change the label of the drive without formatting.
I've seen ways of doing this for ext4, fat or ntfs partitions but not for exFAT. Is this possible? how?

To Do
- 1,326
4
votes
3 answers
More than 4 partitions with Ubuntu & Windows Dual Boot
I would like to install Windows 10 & Ubuntu on my PC. I have done this before on my laptop however my PC is giving me issues. On my PC I have created 2 partitions on Windows, and 2 partitions on Linux, root and home. The system will not let me…

cerbin
- 41
3
votes
3 answers
Need more disk space for root
Several months ago I bought a new computer and installed/configured dual boot with Arch/Ubuntu Studio. I wanted to try Arch (because it was suggested as a great distro for audio production [since it is comparatively lean]), but I wanted to get going…

tjb1982
- 193
3
votes
2 answers
Root partition shrinking on a machine with no physical access
Ok so let me try to explain it as thoroughly as possible. So I'm using chameleon cloud to reserve nodes on bare metal (~distant computers) and access them via ssh. These nodes run Ubuntu 20.04, and the ones I have access to only have 1 SSD, this is…

aveillon
- 31
3
votes
3 answers
Can't Create Another Partition?
I've been installed Kali linx on my pc ... but now i want to create another partition ... i've been searched on google they use "Gpart" ,,, but when i want to create i can't resized
this is my list drive
and this when i create but i can't

Black
- 33
3
votes
1 answer
how to allocate more storage for home directory?
After checking the file systems, I noticed there is a usage of 60% for /home. and /home only has a very limited of 23GB storage space. On the normal windows I used to own I had more than 800GB of free storage, is there way I can allocate that…

夢のの夢
- 491
3
votes
1 answer
Partition table is corrupted after using TestDisk
So, I have Linux Mint installed on my computer and then attempted to install WindowsXP on another primary partition. After the installation finished, I found my data partition sda9 (which is a logical one) had been deleted. I think I didn't delete…

boh
- 245
2
votes
1 answer
How to write the partition command?
parted /dev/sda
Number Start End Size Type File system Flags
1 1049kB 50.1GB 50.1GB primary ntfs boot
2 50.1GB 100GB 50.0GB primary ext4
3 150GB 200GB 50.1GB primary ext4
4 200GB 230GB 30.0GB extended
5 200GB 205GB 4999MB logical linux-swap(v1)
6…

scrapy
- 333