Skip to main content

Questions tagged [fdisk]

fdisk (for "fixed disk") is a command-line utility that provides disk partitioning functions.

12 votes
1 answer
873 views

Why does mkfs.ntfs count one Byte less?

Apparently, ntfs.mkfs counts one byte less when checking if the block device is large enough; or I have made some kind of mistake. After creating a partition of 2048 512-byte sectors (exactly 1MiB ...
Fivos Theophylactou's user avatar
3 votes
2 answers
187 views

What should I backup before using parted or fdisk to resize a partition?

Let's say I have disk sda with format MBR and I have N partitions and I want to resize partition K (allocate more space on partition K) I will use a USB device and use a Linux installation medium so ...
Sul4ur's user avatar
  • 43
6 votes
1 answer
305 views

How to create partitions on a volume with the root filesystem mounted on the enitre disk

I have a server with the root filesystem / mounted on /dev/sda, i.e., the entire disk, which has no partitions. This situation makes me uncomfortable, and I would like to partition the disk and put ...
Dave_G's user avatar
  • 71
4 votes
3 answers
588 views

Can’t see partition device after creating GPT partition on 6TB disk

I have a 6TB disk in Debian Linux 12, let's say the disk is /dev/sdd. It's just for data; no parts of the OS are on it. Now I’m trying to use it as a normal disk with the full space in a single ...
chris01's user avatar
  • 1,009
3 votes
1 answer
204 views

How to extend a logical volume mounted on /home directory?

I was given a CentOS 9 Linux distribution server inside a virtual machine to whom I can connect using ssh protocol (from command line). I am running svn checkout command in order to clone a remote ...
tail's user avatar
  • 181
2 votes
0 answers
83 views

Partitioning or duplicating corrupted SSD

My SSD died and all its data seems to be inaccessible and my Windows computer won't boot anymore. After going to a local computer store I was told that they could fix it by wiping all the data. I can ...
st30's user avatar
  • 121
0 votes
0 answers
46 views

Need help for a manual calculation of MBR after /bin/dd of Virtualbox flat hard disk image to actual HDD on 32-bit P4 laptop (2003)

I have an old laptop which I am trying to install OpenStep 4.2 with Patch 3 pack (Which supports over 8GB and has a VESA driver) on to a 2003 laptop which is a 32-bit pentium 4 with 512MB RAM and a ...
Puha Technologies's user avatar
0 votes
1 answer
211 views

Extending Logical Volume Size Beyond 2TB in CentOS 7

I need to extend the size of the logical volumes in a CentOS 7 system and noticed that the current partition table cannot handle the updated disk size, which is around 5TB: Disk /dev/sda: 5497.6 GB, ...
yildizabdullah's user avatar
11 votes
2 answers
3k views

Why does fdisk create a 512B partition when I enter +256K?

I am trying to create a partition of 256KB on my flash device. I begin by entering the default values for the partition number (1) and first sector (2048). However, when I enter "+256K" for ...
Pranav Athreya's user avatar
0 votes
1 answer
302 views

Resize partition that is mounted on root or "/"

Not too sure whether this has been done before. I am trying to resize a partition /dev/sda3 on a single disk /dev/sda. When I tried to use "resize2fs /dev/sda3 10G" directly, the console ...
user1538798's user avatar
0 votes
1 answer
151 views

Problems partitioning HDD for windows 11 dualboot

I'm trying to set up a dualboot of windows 11 (currently installed) and archlinux. I've done this before on a machine running windows 10 and I had no problems, however with this machine I run into ...
chenel's user avatar
  • 11
0 votes
1 answer
329 views

fdisk: /dev/sd1c is not a character device

I hope this message finds you well. I am writing to you because I am attempting to format and partition a drive in OpenBSD but have been met with the following message: virtual-server# fdisk /dev/sd1c ...
SpreadingKindness's user avatar
0 votes
1 answer
56 views

Why does FDisk's Editor Close when Running the Command 'a'?

I hope this message finds you well.  I am writing because I ran the following in my OpenBSD device and am uncertain why it stops running: virtual-server# fdisk -e sd1 Enter 'help' for information sd1:...
SpreadingKindness's user avatar
0 votes
1 answer
66 views

how to provide the device name that related to LVM2_member

LVM2_member could be different according to device partition number example lsblk -f | grep LVM2_member | awk '{print $1}' └─sda3 or on other redhat machine lsblk -f | grep LVM2_member | ...
yael's user avatar
  • 14k
0 votes
1 answer
446 views

Resize Disk Image with Protective MBR and GPT table

I've got a disk image that I need shortened slightly (long story - but it deals with variances in flash drive sizes). The partitions are already short enough, but the drive size is not. Basically, I ...
johnnyb's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
34