Questions tagged [cfdisk]
cfdisk is a linux partition table editor. It is similar to fdisk, but with a different user interface (curses).
35
questions
0
votes
0
answers
58
views
ssd issue: cannot create new partitions
I have an external ssd that had archlinux installed. It refused to boot so I tried plugging the ssd into another computer. When I tried to mount the ext4 partition it said there were issues and that ...
0
votes
0
answers
19
views
How can cfdisk end of sector values be used to calculate the partition sizes?
From cfdisk I am able to get statistics about the disks, namely the end sector of each of the first through 3rd partitions and the end of the free space. I am trying to calculate the partition sizes, ...
0
votes
0
answers
198
views
How to expand a partition into a block of free space that is not adjacent to it?
In the above situation, how would I go about expanding /dev/sda6 to take up the highlighted free space?
1
vote
3
answers
1k
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 ...
0
votes
2
answers
5k
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 ...
0
votes
1
answer
393
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 ...
0
votes
0
answers
535
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, ...
2
votes
2
answers
422
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 ...
1
vote
1
answer
833
views
Multiple Free Space Disk Partition
I can't merge these free spaces somehow.
3
votes
1
answer
11k
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 ...
0
votes
1
answer
14k
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?
1
vote
1
answer
86
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: /...
1
vote
3
answers
15k
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 ...
0
votes
1
answer
839
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 ...
5
votes
1
answer
7k
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 ...
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 ...
0
votes
2
answers
832
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 ...
-1
votes
2
answers
63
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 ...
2
votes
1
answer
651
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
1
answer
915
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
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....
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 ...
0
votes
1
answer
14k
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
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 ...
17
votes
1
answer
41k
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
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 ...
11
votes
1
answer
21k
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
1
answer
183
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
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, ...
3
votes
2
answers
277
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
1
answer
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
1
answer
505
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
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 ...
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 ...
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-...