Questions tagged [cfdisk]

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

cfdisk screenshot

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

Man page: http://www.netadmintools.com/html/8cfdisk.man.html

Wikipedia: http://en.wikipedia.org/wiki/Cfdisk

See also

35 questions
17
votes
1 answer

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 choose. It also says: Device does not contain a…
code
  • 171
  • 1
  • 1
  • 4
11
votes
1 answer

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, fdisk, sfdisk. (Indeed, cfdisk is a beautiful…
dotancohen
  • 15,494
  • 26
  • 80
  • 116
5
votes
1 answer

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 Linux server data …
15 Volts
  • 1,969
  • 2
  • 19
  • 34
4
votes
0 answers

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 final partial cylinder". Is there a way to fix it…
4
votes
1 answer

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 disk, but fdisk, cfdisk, and parted are only showing…
4
votes
2 answers

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 the partition table failed with error 16: Device or…
Stann
  • 2,159
  • 5
  • 23
  • 24
3
votes
1 answer

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 complete this using gparted, if we can mimic these…
ahoward
  • 31
  • 1
  • 4
3
votes
1 answer

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, 69.3662 s, 90.7 MB/s $ sudo fdisk…
Roman Saveljev
  • 383
  • 2
  • 13
3
votes
2 answers

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 to format a usb thumb drive with an ext2 file…
3
votes
1 answer

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': No such file or directory I used the exact same…
user195166
  • 143
  • 3
2
votes
2 answers

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-like partition is implemented in the enclosure's…
intuited
  • 3,488
  • 3
  • 25
  • 36
2
votes
2 answers

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 problems formatting the drive. Kde Partition Manager,…
2
votes
1 answer

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 a Raspberry Pi 3, with a 16gb Micro SD, currently…
aRustyDev
  • 23
  • 1
  • 3
2
votes
1 answer

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 Filesystem Size Used Avail Use% Mounted on …
Surfs Up
  • 23
  • 2
1
vote
3 answers

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 partition table just will not go away, so I'm pretty…
1
2 3