Skip to main content

Questions tagged [cfdisk]

cfdisk is a linux partition table editor. It is similar to fdisk, but with a different user interface (curses).

Filter by
Sorted by
Tagged with
4 votes
1 answer
646 views

What is the significance of GPT's "Partition Type GUIDs"?

When I use cfdisk to create a new partition, I usually change its type to Linux filesystem. There's multiple types for most operating systems, but a very large number for Linux (architecture-specific ...
Simon Branch's user avatar
5 votes
2 answers
370 views

How can I list partitions in storage order?

After telling general information (capacity, sector size and the like) fdisk shows 8 columns: sdXY, Boot, begin, end, # of sectors, size, flags, type. The partitions get sorted by Y in their sdXY ...
Adalbert Hanßen's user avatar
1 vote
3 answers
2k views

Can't write SD card partition table

I can't write the partition table on an SD card. IOCTL error. I can't delete it, either, neither in Linux using parted, cfdisk, or fdisk, nor in Windows, which just says format didn't work. The ...
wirelessben's user avatar
0 votes
2 answers
6k views

Extend 100GB of unallocated space on /dev/sda1 device in command line

I'm looking on my Debian 11 Server for the easiest way to allocate 100GB of extra space after the /dev/sda1 device in command line. The sda1 partition is almost full and needs to be resize with the ...
Victor Leclerc's user avatar
0 votes
1 answer
506 views

cfdisk showing more than 4 partitions

I was trying to make a swap partition, but an error message came saying Primary Partition Not Available I checked the internet and found out there can't be more than 4 partitions because Linux only ...
Abu Bakar Toha's user avatar
0 votes
0 answers
554 views

Dual booting Arch Linux and Windows with nvme ssd with raid (or fake raid, unsure)

I'm attempting to dual boot Arch Linux with Windows 10, but have run into some problems with partitioning. I was following the installation wiki and SavvyNik's tutorial for dual booting Arch Linux, ...
nani's user avatar
  • 11
2 votes
2 answers
474 views

Weird partition mess on KDE. Read-only file system

I'm trying to partition a usb stick to NTFS. Before, I've wrongly flashed a windows iso using dd dd if=./AME_2004_\(2020-09-16\).iso of=/dev/sdc status=progress and since then I've been having ...
Emiliano Tonizzo's user avatar
1 vote
1 answer
1k views

Multiple Free Space Disk Partition

I can't merge these free spaces somehow.
user avatar
3 votes
1 answer
13k views

cfdisk: cannot open /dev/sda

Background Info I am currently trying to build a Linux From Scratch (LFS) partition. This is my first attempt and I'm doing this to challenge myself, but I'm having trouble getting started. I'm using ...
aRustyDev's user avatar
0 votes
2 answers
16k views

Changing label type in Arch Linux cfdisk

I'm trying to install Arch Linux on a disk which was previously partitioned. The Disklabel type is automatically set to gpt. I need to change it to dos. How can I do it?
Euler-Maskerony's user avatar
1 vote
1 answer
91 views

meaning of a backtick (`) in front of one partition inside cfdisk

I have a disk with a potentially bad partition (du -sh * in a particular directory gives me Structure needs cleaning). I fired up cfdisk /dev/sda to look at the partitions and what I see is: Disk: /...
stdcerr's user avatar
  • 2,079
1 vote
3 answers
17k views

Ubuntu 18.04 Extend Disk

I've got a virtual Ubuntu 18.04 server which is running low on disk space. As this is a virtual server I increased the hard disk size in vSphere. I can see the free space in cfdisk but am unsure how ...
AstinTeeb's user avatar
0 votes
1 answer
994 views

Arch Linux Install on Macbook Pro 2017 Model

My end goal here is to install Arch Linux on my Macbook Pro. I am trying to use cfdisk but can not see the bottom of the screen. I can not change the resolution of the screen. I am have tried plugging ...
FrostFire1's user avatar
8 votes
2 answers
8k views

What are the differences between Linux filesystem, Linux server data, Linux root, Linux reserved and Linux home in fdisk?

While creating file systems with fdisk on GPT partitions, I have noticed in the file system type, there are options like: 20 Linux filesystem 0FC63DAF-8483-4772-8E79-3D69D8477DE4 21 ...
15 Volts's user avatar
  • 2,119
4 votes
1 answer
2k views

Arch ISO not recognizing SSD, does see HDD

I'm installing Arch Linux and when I was about to partition my drives, I noticed something odd. In my laptop, I have two disks: a 1TB HDD and a 512 GB SSD. I would prefer to use the SSD as my boot ...
itsgreenbanana's user avatar
0 votes
2 answers
900 views

linux partition/disk numbers (sda1,sda2,sda5)

at the moment i understand that linux has a partition numbering system which is: partitions 1-4 are primary partitions 5 and above and logical but what about extended partitions? my curret ...
programmer's user avatar
  • 1,037
-1 votes
2 answers
64 views

Partitioning disk

I would like to have 5 partitions: Boot Swap 3 separate (one is 'main' system partition) LUKS encrypted partitions I have boot partition as primary bootable and swap as primary linux swap. At this ...
DeBos's user avatar
  • 131
2 votes
1 answer
721 views

device from free diskspace does not match-up to size from list block size

The device /dev/sda2 original space at 32GB, then I try to expand to 512GB as it is shown in lsblk but not in disk free listing still show 32GB. I've rebooted the redhat 7.6 vm. $ df -h ...
Surfs Up's user avatar
1 vote
1 answer
1k views

Partitioning for Linux From Scratch (LFS)

I'm building the system in VirtualBox with a CentOS 7.5.1804 guest on a Windows 10 host using the v8.2 systemd book (the current is v8.3, but the partitioning content is the same), and I got a little ...
Ungeheuer's user avatar
  • 333
-1 votes
1 answer
2k views

Disk management issue [duplicate]

After trying to execute the command apt upgrade from the terminal, I received the following error: E: You don't have enough free space in /var/cache/apt/archives/. Not quite sure what to do about it....
dan g's user avatar
  • 41
3 votes
1 answer
3k views

Extending VG > LVM

I want to run an idea by you... I have an Ubuntu 16.04.3 with an LVM on a second drive I would like to extend. I want to complete this only using this CLI, no GUI. I have put my steps below how I ...
ahoward's user avatar
  • 31
1 vote
1 answer
15k views

How to set ext4 filesystem in cfdisk?

I created a new partition(sda7) using cfdisk in Ubuntu 14.04. But, problem is that I don't able to set ext4 filesystem to the partition. When I go to type menu of the partition there is no ext4 ...
alhelal's user avatar
  • 1,321
0 votes
1 answer
1k views

logical partitions overlap

I have two hard disks. An 80GB and 1TB. Everything works fine. I am running Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux Today I ran sudo /sbin/cfdisk and saw this: Then ...
Aruna Hewapathirane's user avatar
17 votes
1 answer
43k views

Arch Linux cfdisk asking for disk label type

I am trying to partition my hard drive I just wiped with dban so that I can install arch linux but when i run cfdisk /dev/sda It says: Select table type gpt dos sgi sun I don't know which to ...
code's user avatar
  • 171
0 votes
2 answers
5k views

Can cfdisk be used to resize partitions on a disk that will be accessed by Windows computers?

CFDisk is a fine command-line partitioning tool (it seems to change the partition table) for me. But I have read this on the man page that scares me a bit: In order to write the partition table ...
Sopalajo de Arrierez's user avatar
11 votes
1 answer
22k views

cfdisk or fdisk?

While reading the man page for fdisk I came across this interesting text: There are several *fdisk programs around. Each has its problems and strengths. Try them in the order cfdisk,...
dotancohen's user avatar
  • 16.1k
1 vote
1 answer
197 views

split one partition into two using cfdisk (will uuids on other parts stay the same?)

I currently have various linux partitions on sda3-13. If I delete sda6 and create two new partitions using cfdisk I get sda3-14. I have /home on sda7 and / on sda11 which will then become sda8 and ...
svenil's user avatar
  • 11
3 votes
1 answer
2k views

Problem creating raw disk image and mounting it in rescue mode to QEMU

I am trying to create booting system from raw disk image. This is what I do: $ dd if=/dev/zero of=system2.img bs=1M count=6000 6000+0 records in 6000+0 records out 6291456000 bytes (6.3 GB) copied, ...
Roman Saveljev's user avatar
3 votes
2 answers
281 views

Difference between running mke2fs and setting FS type in cfdisk?

When I run cfdisk (or fdisk) to partition a storage device, there's a point where I can specify the file system type. Does this do anything with respect to the actual file system? Suppose I want to ...
WhiteHotLoveTiger's user avatar
1 vote
1 answer
2k views

Can't create partition table on SSD with Slackware 14

I'm trying to install Slackware 14 from a DVD. It boots fine from the DVD. When I try to use fdisk or cfdisk to create the Linux and swap partitions on the SSD, it complains about a missing or ...
Ray Tayek's user avatar
  • 115
3 votes
1 answer
515 views

dd can't see partition but cfdisk and GParted can

I am working with an external HDD and trying to backup a logical partition within an extended partition using dd like this: sudo dd if=/dev/sdb6 of=partition6.dd it returns: dd: opening `/dev/sdb6':...
user195166's user avatar
4 votes
2 answers
10k views

I ran fdisk on a wrong drive. How can I recover

I ran fdisk on the wrong HD. I basically cleared partition table, pressed w and quited fdisk and only then realized that that was my main harddrive... I got this message: WARNING: Re-reading ...
Stann's user avatar
  • 2,209
4 votes
0 answers
1k views

partitions problem with Debian Squeeze and Windows 7 (Partition 1 does not end on cylinder boundary)

I have just installed Debian Squeeze in a hard disk where also Windows 7 is installed. Now, if I run cfdisk, I get the following message: "FATAL ERROR: Bad primary partition 3: Partition ends in the ...
Alessandro Cosentino's user avatar
2 votes
2 answers
2k views

Errors from cfdisk with new external USB backup drive

I've picked up an HP SimpleSave sd500a backup drive. This is a 2.5", 500GB drive. It has a mysterious CD-like partition, but otherwise seems to contain a WD Scorpio Blue disk. It seems that the CD-...
intuited's user avatar
  • 3,538