Questions tagged [fdisk]

fdisk command-line utility that provides disk partitioning

Filter by
Sorted by
Tagged with
0
votes
0answers
27 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# ...
1
vote
1answer
31 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, ...
0
votes
0answers
18 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 ...
0
votes
1answer
35 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
60 views

How to fix overlapped partitions 2?

I've once done listing all of overlapping partitions with maybe FDISK on Parted Magic, but I don't really remember the command to do this in Terminal. Anybody? I just placed SWAP PARTITION on another ...
1
vote
0answers
25 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-...
2
votes
2answers
187 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 ...
0
votes
1answer
39 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 ...
0
votes
0answers
31 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 ...
0
votes
0answers
35 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 ...
0
votes
0answers
36 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 ...
0
votes
0answers
36 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). ...
0
votes
0answers
26 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 ...
1
vote
0answers
43 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 ...
0
votes
0answers
15 views

Ubuntu vdi GRUB Rescue error

I'm using ubuntu 18.04 LTS in virtual box and has only one partition of dev/sda1 inside vdi increased the size of vdi from 175GB to 180GB through virtual media manager booted Ubuntu and tried to ...
1
vote
0answers
116 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 ...
0
votes
1answer
58 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....
0
votes
1answer
34 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:...
3
votes
1answer
174 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:~/...
1
vote
1answer
404 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,...
0
votes
0answers
59 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 ...
0
votes
0answers
251 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 ...
0
votes
0answers
94 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 /...
0
votes
0answers
39 views

USB Storage not found in anything

I have a Onn brand 128GB flash drive and I cannot find it in fdsik, gparted, lsusb, lsblk, or any of the other methods. The only way I am able to even see that it is plugged into my computer is the ...
0
votes
0answers
41 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 ...
0
votes
1answer
40 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 ...
0
votes
0answers
15 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 ...
0
votes
1answer
106 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 ...
0
votes
1answer
150 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 "...
0
votes
2answers
71 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 ...
0
votes
0answers
63 views

Why my aws EC2 has no partition table? fdisk -l output blank

$ sudo fdisk -l $ which fdisk /sbin/fdisk $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 150G 0 disk / nvme1n1 259:1 0 80G 0 disk /mnt/xvdf $ df -h Filesystem ...
0
votes
0answers
35 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, ...
0
votes
0answers
220 views

How to resize an etx4 partition on Ubuntu Server 20.04

I have a 1TB IronWolf drive in my server, my OS is installed on a M.2 drive so this 1TB drive is solely for data. This morning I decided I just wanted to use the whole drive for Time machine backup ...
0
votes
0answers
44 views

Need help verifying partition table after accidentally deleting boot + efi partitions of (encrypted) Ubuntu installation

I made a mess today as the title says. I deleted the first two partitions on my hard drive containing my OS (Ubuntu 20.04). I realized what I've been doing before deleting the luks encrypted third ...
0
votes
2answers
470 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, ...
0
votes
0answers
49 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 ...
0
votes
0answers
59 views

Bitlocker windows data partition broken after partition manager apply

I was trying to install ubuntu on my laptop. I tried to move some partitions and extend other ones. One of them was a data partition, that was partitioned using Windows, so it was probably controlled ...
2
votes
1answer
52 views

Attached external drive unmountable

When I attach a drive to ubuntu 18.04 it is not listed in /dev. ls -al /dev | grep sd returns only sda (boot drive) If I list disks, I can see the device (full fdisk response below - I'm no longer ...
0
votes
0answers
3k views

Error: Could not stat device devsdb - No such file or directory

Setting up an ubuntu server for the first time. It loads up just fine but when I try to partition my 2.7T drive it's giving me the following error: fdisk: cannot open devsda: No such file or ...
1
vote
1answer
45 views

Why don't all programs recognize certain drives that have mounted at startup?

My internal Samsung 970 EVO 500 GB drive contains my OS. I have two Crucial internal solid-state drives that contain files, and have defined symlinks so that I can get to them from ~/Documents. I've ...
0
votes
1answer
58 views

How can I display a certain sector like 56 on partition 1 from disk /dev/sda?

I need to use some commands to help me show what I have in sector 56 on patition 1 form the /dev/sda disk. Can you please help me. I don't know if is something linked with fdisk command or not. Thanks!...
1
vote
1answer
40 views

Merge my new disk (un allocated Space) without any loss data

Kindly need guide about the steps how to merge an allocated space (disk 2) to my disk 1. When I check with df -h: The target is, I want to increase the size of /dev/sda2 because of it is almost full ...
0
votes
1answer
214 views

Geometry of USB Memory - heads per cylinder is 124

i have a USB Stick, and this stick has some problems, how to set up for it proper geometry TestDisk 7.0, Data Recovery Utility, April 2015 Christophe GRENIER <grenier@cgsecurity.org> http://www....
1
vote
0answers
203 views

Restoring a partition table using gdisk output

I seem to have messed up the partition table of my mobile phone, and I was wondering whether I can recreate it from the gdisk output that I still have, using the Ubuntu installation on my laptop. This ...
0
votes
0answers
23 views

Cannot access windows partiton from live USB

I am having problems with a windows machine (for work). The problems are bizarre - i can't get past the splash screen, however some of the startup interrupt options work, as long as i wait a very long ...
3
votes
1answer
330 views

What does it mean if my partition type is HFS/HFS+ but contents are FAT?

I have formatted my external hard disk with the command sudo mkfs.vfat /dev/sda2. The disks utility still shows that the partition is of type HFS, so is this safe to use at the moment? I want to use ...
1
vote
2answers
114 views

Why two partition deleted while I chose one (fdisk)?

I selected one partition to delete in fdisk but as you see the 3rd partition which is swap is deleted too, why? Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 ...
0
votes
0answers
190 views

USB not working on Ubuntu

The USB ports in my notebook don't work for my kindle and my pen driver. For my cellphone, they work for some reason. I tried running fdisk -l and all the sdb partitions are missing. But if I run ...
0
votes
0answers
180 views

No disk space available, assertion error and permission denied

I tried to install Ubuntu with my windows 8.1 but the installer is showing no disk space available.. The above error I tried to open gparted it showed an assertion error.. Someone please help I have ...

1
2 3 4 5 6