Questions tagged [fdisk]

fdisk was a command-line disk partitioning tool in Linux and old versions of Windows/MS-DOS. It is deprecated on Linux by its inability to handle GPT disks. New systems should use diskpart (Windows) or parted (Linux) to partition disks.

fdisk was a command-line disk partitioning tool in Linux and old versions of Windows/MS-DOS. It is deprecated on Linux by its inability to handle GPT disks. New systems should use diskpart (Windows) or parted (Linux) to partition disks.

157 questions
0
votes
1 answer

How to increase my `/` of Fedora installed on a virtual box?

I used virtualbox4 to create a box(8G disk) and installed a Fedora 16. Soon I found the space is not enough that I can't download anything in ~/download. I use VBoxManage to increase the disk size to 20G, but I still can't download anything. After…
Freewind
  • 231
  • 3
  • 10
0
votes
1 answer

sfdisk - partition creation problem

I'm trying to create disk image with 2 partitions: First partition: 1Mb for boot and second partition of the maximum capacity dd if=/dev/zero of=flash.img bs=1M count=10 /sbin/sfdisk flash.img -uM << SFDISK_EOF ,1,L,* ,,L; SFDISK_EOF I got an…
Dima
  • 485
  • 3
  • 7
  • 15
0
votes
3 answers

Paritition an LVM LV

I have an LVM logical volume (LV) and would like to create partitions within this LV to provide an ext3 partition and a swap partition. This LV would then get mounted as a disk to a virtual machine (Using Xen). How would I go about this? Thanks
jtnire
  • 817
  • 2
  • 8
  • 16
0
votes
1 answer

Partition Centos | Raid

I have 4 HDD, the system is installed on /dev/sda2 # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 884G 2.1G 836G 1% / /dev/sda3 2.0G 159M 1.7G 9% /tmp /dev/sda1 99M 18M 77M …
domz
  • 1
0
votes
1 answer

Linux partitioning problem

I am using cfdisk to repartition my hdd as from OS install I only got 1 big partition a swap. I wanted to resize the big partition to 1 GB /boot and use the rest of the space for an extended partition. After I do cfdisk, I recheck the partitions…
Claudiu
  • 85
  • 1
  • 11
0
votes
1 answer

On SD card the patitions come back after removing them

A little funny problem I'm curious about the reason. I found an old SD Card, I even don't remember that it was used for. So I want to remove the old partitions and use it for some of my devices. And now the magic begins. [root@localhost /]# parted…
Paul Zakharov
  • 141
  • 1
  • 5
0
votes
0 answers

arch linux laptop not recognizing partitions or filesystems on internal windows SDA drive

I bought a laptop with windows 11 and installed arch linux on it. The laptop has 3 internal 500GB SSDs. Two of them are in a RAID configuration to make a single 1TB partition which Windows came installed on. I installed Arch on the empty third…
0
votes
1 answer

I have a local Amazon Linux 2 (EC2) AMI Instance; How do I repartition the disk and expand the file system?

I have expanded the disk of my VM. How do I now repartition the disk and expand the file system on the guest? Which is Amazon Linux 2 Kernel 4.14.252-195.483.amzn2.x86_64 on an x86_64 $> sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda …
chris-j
  • 3
  • 1
0
votes
1 answer

Can we use fdisk to partition a disk bigger than 2 TB without recompiling the kernel?

Here is my problem. Our operating system is Debian 11. The main hard disk is doing fine. I have a 6TB external volume. If I choose to use parted to format this disk it will entail recompiling the Debian 11 kernel with CONFIG_EFI_PARTITION enabled as…
0
votes
0 answers

How to remove msdos parition table label completely on Rocky Linux 8.7

How to remove msdos partitions on Rocky Linux 8.7, while the command fdisk -l provides no partition table label, the command partprobe shows msdos label, which I want to remove # fdisk -l /dev/nvme0n1 Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes,…
0
votes
0 answers

OS doesn't recognize harddisk at inital startup but after reboot

I have a Debian 11 server with 4 HDD. Two of them are in a Raid 1 array. When I shutdown the server completely and then turn it on again, the boot routine stops because it cannot find the Raid 1 device (the device is listed in fstab by it's…
matzr
  • 1
0
votes
0 answers

Shrinking ESXi volume to reclaim unallocated space

We have a number of VMs (VMware ESXi) running Ubuntu. As a result of the installation time 'feature' which only allocates half the amount of the requested space, we have a lot of wasted/unallocated space. For example, a 100Gb volume as seen by the…
MikeBrom
  • 31
  • 3
0
votes
0 answers

Extending virtual device and then fdisk now gives unknown physical volume on centos 7

I'm trying to extend space on sdb. It was 800G before, I've added 1TB to it, making it 1.8T total (extended the disk from VM's Vmware settings). Extended the 800G disk with 1TB more making it 1.8TB Restarted the server and did fdisk -l; which…
0
votes
0 answers

linux + extend (grow) root file systems without downtime on RHEL production machines

I want to share the following procedure that we did on lab (RHEL 7.2 machine) in order to increase The root file system (XFS filesystem) from 130G to 150G Details from VM RHEL 7.2 machine are df -h / Filesystem Size Used Avail Use%…
King David
  • 549
  • 6
  • 20
0
votes
0 answers

Debian 11 (+OMV) not booting with attached HDD

I have experienced some Issues with my current NAS. I have used OpenMediaVault 5 for years, but yesterday I decided to upgrade to OMV 6. My NAS is equipped with 3 x 4TB RAID 5 and one 20TB seperate drive. After the update I experice some quiet wired…