Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cfdisk]

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

0
votes
2answers
38 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 ...
0
votes
2answers
31 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 ...
1
vote
1answer
23 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 ...
1
vote
1answer
128 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 ...
-1
votes
1answer
1k 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....
2
votes
1answer
996 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 ...
0
votes
1answer
5k 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 ...
0
votes
1answer
411 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 ...
13
votes
1answer
24k 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 ...
0
votes
2answers
1k 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 ...
9
votes
1answer
12k 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,...
1
vote
1answer
144 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 ...
3
votes
1answer
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, ...
3
votes
2answers
208 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 ...
1
vote
1answer
1k 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 ...
3
votes
1answer
320 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':...
4
votes
2answers
5k 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 ...
3
votes
0answers
956 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 ...
2
votes
2answers
1k 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-...