Questions tagged [fdisk]

fdisk command-line utility that provides disk partitioning

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Problem with FDISK/LVM : Damaged volume group on Ubuntu

hoping to get some advice. Ran into a problem with FDISK/LVM: needed to add an additional new disk to Ubuntu Server 20. This has a storage setup using LVM/VG using the default setup configuration. ...
user avatar
0 votes
0 answers
22 views

After adding root volume CPU utilization is continously full

My fdisk /dev/root occupies full space without any reason.
user avatar
2 votes
0 answers
42 views

Cannot create partition table on sd card

I cannot create a partition table ( nor msdos, nor GPT ) on my new 64 GB PNY micro sd-card. I tried: - using GParted ( in Kubuntu 20.04 and in Mint 20.3 ) - fdisk in the terminal ( Kubuntu ) - ...
user avatar
  • 879
0 votes
1 answer
20 views

What is the proper way to extend a VG using a virtual disk

I have Ubuntu 18.04 Server installed on a VMware platform and I have two established VGs: rootvg is 500GB and hosts the O/S on /dev/sda. The datavg was 2TB and contains our PostgreSQL database ...
user avatar
  • 350
0 votes
1 answer
50 views

How can i know the hard disk name?

How can I find the name of the hard disk I'm already in as I tried sudo fdisk -l but the result contains a lot of names, i just need the hard disk I'm using now , please EDIT I got sda 8:0 0 ...
user avatar
  • 13
0 votes
0 answers
140 views

Extend partition size on ubuntu 20.04 on VMware

I have ubuntu 20.04 with 10gb HDD on VMware. I have exported it and move another VMWare. I need to have more capacity on HDD so on VMWare, I extend the HDD to 20. I used this link to add new space to ...
user avatar
  • 101
0 votes
1 answer
183 views

sfdisk: create a partition from the right

I want to create partition 2 with a specified size, while partition 1 occupies the rest of the disk: echo -en 'g\nw' | fdisk "$2" #create gpt table echo -en ',1331200\n,,U' | sudo sfdisk &...
user avatar
0 votes
0 answers
24 views

I partitioned a disk and now bios doesn't know which disk to boot from

I added another disk to my setup. I partitioned the entire disk to be ext4 with fdisk and mkfs.ext4. Now when I start the computer, it simply shows a blinking cursor. When I remove the disk, the ...
user avatar
0 votes
1 answer
72 views

Partition size issue

I have a server with 4TB HDD, however, there is a strange issue where it seems like main partition is only 200 GB, which shouldn't be the case. if I check with lsblk -a I get: NAME ...
user avatar
0 votes
0 answers
21 views

Losing filesystem after creating a partition with fdisk

I created a partition with fdisk and after writing the change to the disk and reboot, I got stuck at Grub and lost my filesystem on the disk. What happened and do I have the chance to backup my data ?
user avatar
  • 1
0 votes
0 answers
874 views

Cannot Mount Old Ubuntu Drive connected via USB: mount unknown filesystem type 'LVM2_member'

I am trying to mount a previous Ubuntu 20.04 boot drive (250GB M.2 NVMe SSD in a USB-C adapter) to a Ubuntu 20.04 machine at /mnt/foo. However, when I try to mount the drive by doing $ sudo mount /dev/...
user avatar
0 votes
0 answers
173 views

Problems to read a Synology raid1 disk in Ubuntu

I'm trying to recover the data from a disk of a Synology NAS. It was stored in a 2 disk RAID1. One of the disk broke and I didn't replace it. After some months, Synology station broke too, and now I ...
user avatar
2 votes
0 answers
49 views

Mounted Disk Issue

Please go easy as I am somewhat a novice in Linux. I am running Ubuntu 20.04.2 and using it as a file server. I built it about a year ago and it has been working fine. This morning I rebooted the ...
user avatar
1 vote
0 answers
72 views

Ubuntu only sees the first partition on an external (USB) disk drive

I connected an external (1TB) hard disk drive to my computer. It is automatically mounted on /media/$USER/Seagate Backup Plus Drive. However this drive has two partitions: an NTFS partition, and an ...
user avatar
0 votes
0 answers
51 views

After Fdisk, kernel panic

I have been working on a virtual machine with Ubuntu 20.04 using virtual box. I had indeed some problems with installing and uninstalling MySQL, but I have seen no issue up to the point when I got an ...
user avatar
0 votes
0 answers
94 views

Resizing OS Disk/Partition

I have an Ubuntu 20.04.2 LTS Azure VM server running. The VM was originally setup with an OS disk of 32GB and the disk has become full: df -h /dev/root 29G 29G 258M 100% / devtmpfs 7....
user avatar
0 votes
0 answers
50 views

my nearly full external drive don't work

Usb cable is ok ( tested with different cables ) it's not working on windows also, but before that it was bugging on almost every files i was trying to open, worst and worst every days ( it's a 4 ...
user avatar
  • 1
0 votes
0 answers
88 views

Why is my filesystem size larger than the partition size. (df vs fdisk)

So... I get that fdisk lists partition sizes, and df lists filesystem sizes, and that filesystem may use a portion of the partition and disagree on the size, but why would df list filesystem sizes ...
user avatar
  • 563
0 votes
0 answers
71 views

Ubuntu constantly going to Emergency mode!

Ubuntu 18.04 LST, went to the emergency mode the first time. Nothing works to exit the emergency mode (I tested many from the discussions here) except the following solution. I fixed it using this ...
user avatar
0 votes
0 answers
41 views

fdisk showing inconstant data, it shows /dev/sda twice

I boot a laptop off of an Ubuntu USB drive. I want to to use dd to image the laptop so I can have a copy before I format it. When I do fdisk -l I get root@ubuntu:/mnt/nfs/volume2/drive2/fpp/test# ...
user avatar
1 vote
1 answer
45 views

Boot problems when adding new hard drive to working 18.04 system

I have a ubuntu 18.04 system with 3 spinning hard drives, (sda, sdb, and sdc), that has been working fine. Tonight, I just added a 4th drive, (3TB WD blue), currently unformatted and unpartitioned, ...
user avatar
0 votes
0 answers
34 views

Partitioning a drive in Ubuntu for use in a USB dock on a windows system

I am having some issues with a 5TB internal drive I am trying to use on my windows Laptop (attached Via USB in a HDD Docking station). at first It was having issues detecting the whole drive So I have ...
user avatar
0 votes
1 answer
86 views

Upgrade SSD 1TB to 2TB: pv, vg, lv, and fdisk OK. df says no change

I'm upgrading a 20.04 server SSD from 1TB to 2TB. The transfer went fine but I seem to be stuck at the last step trying to get the new space to appear. pvdisplay, vgdisplay, lvdisplay, and fdisk all ...
user avatar
  • 131
0 votes
1 answer
44 views

Syntax help in fstab needed

I just added a external ssd-drive (USB) to my VM (Ubuntu 20.04). Im trying to set it up as a XFS repository, and got the creation of A XFS partition (sdb1) in /sdb working. But i cant figure out how ...
user avatar
  • 1
1 vote
0 answers
50 views

Cant see pcie nvme drive bitlock drive but not enabled bitlock Dell Latitude 5511

Bios had RAID enabled, so that i fixed to AHCI Installing Ubuntu Desktop 18.04 LTS but it's not detecting my Samsung PCIe NVME SSD https://support.thinkcritical.com/kb/articles/switch-windows-10-...
user avatar
  • 4,738
1 vote
2 answers
1k views

How to make an external hard drive bootable with unetbootin?

The SATA hdd is connected with a USB adapter cable. How is unetbootin used to write an ISO image: to an external hard drive for installing Ubuntu? It's not clear that unetbootin is listing the ...
user avatar
1 vote
1 answer
306 views

Drives partitioned via server USB caddy not recognized by workstation eSATA (GPT PMBR size mismatch)

We use a USB 3.0 drive caddy (Sabrent EC-DFFN) connected to our Ubuntu 20.04 server for backups. And we are using several make/model 6TB spin drives in daily rotation (one drive per day). Each drive ...
user avatar
  • 751
0 votes
0 answers
32 views

Old hard drive seen as allocated space

Old hard drive seen as allocated space I have an old trusty 20.04 system and it's time to grow into a bigger machine. The new machine is all set up with fresh 20.04 and bigger drives. Everything looks ...
user avatar
  • 11
0 votes
0 answers
36 views

I trying to partition my disk and i always get less space then i partitioned

So i have [root@archlinux ~]# fdisk -l Disk /dev/sde: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Device Start End Sectors Size Type /dev/sde1 2048 534527 532480 ...
user avatar
0 votes
0 answers
81 views

Inconsistency on volume start sector found by Boot Repair

I have had a boot problem that I have just solved (just my stupid mistake) but by the way I tried Boot Repair which did not help (nor harm) but generated an interesting report: boot-repair-4ppa129 ...
user avatar
0 votes
0 answers
330 views

Why can't I increment partition size with cfdisk?

This is an screenshot of cfdisk, showing that I have 20G of free space. When I try to resize /dev/sda2 to just 12G I get an error saying that I have not enough space. (10197402624 bytes == 10G). ...
user avatar
  • 131
0 votes
0 answers
214 views

USB drives don't show in Files

Sometimes I can't see USB drives in Files although they appear when doing sudo fdisk -l. In Files a little flash manifests itself in the window when unplugging the USB drive. But plugging/unplugging ...
user avatar
1 vote
0 answers
170 views

Offline shrink EXT4 in terminal and recover the SD card I just killed

I Installed ubuntu (20.04 LTS ARM64) preinstalled image on to a SD card. I had a few issues at this stage leading me to keep reinstalling the OS and try again, one particular issue ended with EXT4-FS ...
user avatar
  • 11
1 vote
0 answers
289 views

Device for PV <UUID> not found

This is how it looks the drive settings of a VM that I am trying to rescue. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 ...
user avatar
  • 113
0 votes
1 answer
345 views

Mounting extended or logical volume linux

I'm in the process of going through some old HDs using an external USB adapter before wiping and recycling these. I have a disk showing up as below. But can't seem to mount anything. Disk /dev/sdc: 37....
user avatar
  • 3
0 votes
1 answer
106 views

How should I interpret this fdisk output?

My main hdd seems to have two partitions over the same disk space. Are /dev/sda2 and /dev/sda6` overlapping? How should I interpret this fdisk output? Have I screwed up my installation? allan@xxxxxxxx:...
user avatar
3 votes
1 answer
626 views

Fdisk new disk size

I am using ubuntu 20.04 and I want to create new partition disk with exactly 500 MB. However, the fdisk adjusted it to 512MiB is there any way that I can create exactly 500MB disk size? ric@Eric:~/...
user avatar
2 votes
1 answer
1k views

How to mount .raw disk image with no partition table

I need help. I try to mount disk image from a file in raw format and I cant see any partitions on it, so I don`t know how to mount these file. fdisk -l file.raw Disk file.raw: 2 GiB, 2147482624 bytes,...
user avatar
  • 725
0 votes
0 answers
169 views

Expand file system

I found I need more disc space in my Ubuntu system that runs on VMware virtual machine. I expanded disc in Virtual Machine settings and got message: The disk was successfully expanded. You must ...
user avatar
  • 3,887
1 vote
0 answers
806 views

Cannot mount USB NTFS HDD drive

I have an external 10Tb Seagate drive. It's an NTFS drive with two partitions as the factory default. I've been mounting it on my Ubuntu 18.04.03 server. Today it stopped working. I tested it on my ...
user avatar
  • 111
0 votes
0 answers
166 views

Incomplete sd card NTFS formatting. Now it is no more detectable

I was formatting a SanDisk 32 GB SD card to NTFS. It was taking long so I halted it in middle. Now my SD card is not being detected as an external device anymore, neither in Linux nor in Windows. But /...
user avatar
  • 111
0 votes
0 answers
95 views

How nvme partition really work?

My goal is to delete my windows os from my disk. So with fdisk -l command I see my disk partition: Device Start End Sectors Size Type /dev/nvme0n1p1 2048 534527 ...
user avatar
0 votes
1 answer
66 views

how to "fdisk -l" excluding snap

Before using dd to write a bootable ISO to a USB drive, I would like to be certain that I have the correct device. My plan was to list all devices, using fdisk -l, before and after inserting the USB ...
user avatar
0 votes
0 answers
42 views

Installing Ubuntu - Can't see my HDD

I was having some troubles with my HP Pavilion recently, I've tried to re-install Windows from CD, but Windows crashes at the partitions step in the installation. So, I burned Ubuntu on a USB and ...
user avatar
  • 181
0 votes
1 answer
266 views

How to create a new partition from free space?

I want to install Ceph on my laptop for some dev stuff but the problem is Ceph requires a raw disk or partition. How I can create a new raw partition from my free space? At the moment my disk is as ...
user avatar
  • 111
0 votes
1 answer
268 views

$ sudo fdisk -l : Why does not it display the file system type?

I am using the dual boot system, Ubuntu 20.04 and Windows 10. Then, many articles says, $ sudo fdisk -l the command line tells what file system each /dev/sda uses. But my ouput displays "...
user avatar
0 votes
2 answers
234 views

Increasing disk size

I have a disk /dev/sda1 which has 60GB volume and I need to increase it . There is another disk /dev/sdb which is 500GB and I want to raise the disk volume , is there any way to use /dev/sdb in order ...
user avatar
0 votes
0 answers
38 views

Disks not showing on fresh install

Firstly, I have 10+years on Windows sys admin, but i'm new to the linux world I've just deployed a dedicated server with 4x9TB disks for my backups using hetzner server I used their recovery console, ...
user avatar
  • 1
0 votes
2 answers
486 views

I think I forgot to properly eject my external hard drive. Now it won't mount

I have a decade worth of pictures on it. I'm using the 2020 version of Unbuntu Linux. I found a few threads that address this issue from years ago. Are these methods still relevant for 2020? Also, ...
user avatar
0 votes
0 answers
58 views

Same fdisk identifier on multiple USB sticks

I'm trying to understand if I'm creating chaos in my system with two USB sticks that were accidentally dd'd to have the exact same contents, including fdisk identifier when inspected with: sudo fdisk ...
user avatar
  • 254

1
2 3 4 5 6