Questions tagged [fdisk]

fdisk command-line utility that provides disk partitioning

Filter by
Sorted by
Tagged with
0
votes
0answers
47 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
40 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
29 views

Internal Hard Drive not recognized by Ubuntu

OS: Ubuntu 18.04.4 LTS x86_64 (4.15.0-99-generic) My internal HD that was previously mounted has now disappeared. Under disks it is recognized but without the ext4 partition with all my data on it (...
0
votes
0answers
23 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
27 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
13 views

Trying to understand the fdisk -l output

i searched about this topic and i found a lot of similar questions ,but i couldn't get real full answer for the whole output , so please can you help me to explain the following output : 255 heads, ...
0
votes
0answers
96 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
31 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
0answers
7 views

Device disk missing proc module none

enter image description here Not sure why I'm asking
0
votes
1answer
34 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
35 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
37 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
58 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. ...
0
votes
0answers
22 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
122 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
60 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
128 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
46 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 ...
2
votes
1answer
108 views

Nautilus reports a different amount of space than fdisk does

I was saving some files to a USB and it said to me that I didn't have enough space available, so I deleted some files but Ubuntu wasn't detecting the freeing of space. I changed to my Windows ...
1
vote
1answer
37 views

How to enlarge an LVM partition when the virtualised (MS Hyper-V) drive has been resized

I have an Ubuntu 16.04.6 LTS server that runs under MS HyperV. The only disk in the system, a vhdx, is installed under Ubuntu as a single physical and logical volume via LVM. I have enlarged the disk ...
5
votes
2answers
2k views

How to remove /dev/loops [duplicate]

On my Ubuntu desktop, the command fdisk -l shows /dev/loopX up to /dev/loop23. I'm using gnome-fallback on Ubuntu 18.04 LTS. I'm wondering what possible effects these could have on performance and ...
0
votes
0answers
84 views

Understanding fdisk -l output in a system containing RAID file system

I am not experienced in Linux and using a computer which was setup someone else. I have Ubuntu 18.04. I know that there is RAID file system built in computer using software utility. I can't access it ...
0
votes
1answer
64 views

How to move physical partition into extended partition?

Given a disk layout like this Disk: /dev/sdc Size: 119.9 GiB, 127865454592 bytes, 249737216 sectors ...
0
votes
1answer
332 views

Wipe mode not working in fdisk command

Does anyone know what it means when the 'fdisk' command returns 'unsupported wipe mode' when trying to delete data on a USB drive? My command was 'sudo fdisk -W /dev/sdb'. I know there are other ways ...
1
vote
0answers
292 views

Fdisk, partition formatted to 'W95 FAT32 (LBA)', not found in Windows 7

I don't know it is some kind of joke, but I made W95 FAT32 (LBA) partition with fdisk, format with mkfs.vfat, but Windows 7 didn't find this partition. How is it possible? Thanks. root@local:~# fdisk ...
0
votes
0answers
615 views

How do I open an external hard drive?

I got a brand new drive. It wouldn't open on my ubuntu PC but had no problems opening on a windows PC. I do not have access to a windows PC often, so I'm not looking for a windows solution. I just ...
0
votes
1answer
90 views

how to recover lost USB capacity?

I used dd to write the image to my flash drive (64M image). Real capacity of USB is 2G Works great. But when I tried to write Xubuntu img on it. There is no free space. I already tried fdisk, parted ...
1
vote
1answer
81 views

How to delete non existing external disk

Long time ago i was trying to fix a corrupted sd card, or usb, i don't remember. After some failed attemps, i give up, but the disk keeps showing up with fdisk -l, gparted, and disks. How can i delete ...
-1
votes
1answer
81 views

Filesystem: Disk partitions

I am trying to figure the disk configurations on an Ubuntu server I am using. Since it seems that the file system is only 110GB, I checked its partitions: sudo fdisk -l and got this - Disk /dev/sdb:...
1
vote
1answer
198 views

Hard Drive Partition: Optimal Transfer Size

I have a Western Digital 4TB drive (WD40PURZ). It appears that the recommended procedure for partitioning the drive results with: "Optimal transfer size 33553920 bytes not a multiple of physical ...
0
votes
1answer
24 views

fdisk shows /home has 430GB while du -h only 326GB

My /home partition has 430GB as rightfully shown by GParted or fdisk -l. However, if I look at sudo du -h --max-depth=1 | sort -hr there is only 326GB in the disk: 351G . 326G ./home 7.1G ...
1
vote
2answers
68 views

Switched from Windows to Ubuntu and can't access files on previous “D:” drive

So, I have two drives, the first one is a SSD and the second one is a HDD which I cannot access. I tried to mount it, but in the "disks" mount option it is greyed out and in gparted, it shows me an ...
0
votes
0answers
26 views

reusing a used usb thumbdrive which formerly had a Xubuntu live system on it

I have an USB thumbdrive (16 GiB) which I recovered after I had a Xubuntu live system on it. First I wanted to change the partitions on it with gparted, but that did not work: The driver descriptor ...
3
votes
1answer
588 views

Why does df -h show different information then fdisk -l

I am trying to understand the difference between the output of fdisk -l and df -h. As I understand, fdisk shows the partition size, and df shows the size of the filesystem. My problem is that I have ...
1
vote
0answers
34 views

Command in Ubuntu 18.04 that returns tabular information about external drives like the old `fdisk` did

In the good old days before the output format of fdisk was changed, as illustrated in this link, I could obtain the file system type of an external drive with a command like sudo fdisk -l | grep sd ...
1
vote
1answer
106 views

Ubuntu partition: exited with non-zero exit status 32

I'm unable to boot my laptop since the partition that Ubuntu is installed on reports: exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing ...
1
vote
0answers
117 views

How to increase root partition on Ubuntu 16.04 server in VM, live

Here is what my disk looks like: $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 256G 0 disk |-sda1 8:1 0 976M 0 part /boot |...
0
votes
0answers
28 views

All I can get on a 1 TB disk is 500 GB on a New Ubuntu Budgie

I am using 1 TB of HD but when I started using Budgie, all I can get is the 500 GB, I am just wondering if what happened to the other half in which placed all my files? I do have a back up for that, ...
0
votes
0answers
131 views

Need help with partitions after dual booting ubuntu to existing windows 10 install

I was given an older Compaq Presario CQ60 Laptop with Windows 10 on it and I setup a dual boot with Ubuntu 18.04.2 LTS. I'm a linux beginner and was way over my head with the install but everything ...
1
vote
1answer
1k views

How to Extend Ubuntu 18.04 Manually Configured Disk? [duplicate]

I have Ubuntu 18.04 server, I have 30 GB of space on my ext4 type manual disk, I want to add another 20 gb. How can I achieve this? I did not add a separate disk, I expanded the existing disk.
0
votes
0answers
444 views

USB Stick undetectable after first use on Ubuntu

Sometimes when I plug in a USB drive for the first time, my Ubuntu 16.04 kind of breaks it. If I plug it in back a second time, it will not mount and not show under fdisk anymore. It happened to me ...
0
votes
0answers
88 views

How to repair broken flash-device?

May be it was wrong decision, but I had no opportunity to make it in another way. I'd tried to burn image of Windows by means of dd on Ubuntu. I used it as usually, but once it'd gotten stuck on some ...
0
votes
0answers
48 views

why is the sum of size of NVMe disk partitions are less than actual size of NVMe disk?

I am trying to write a script which verifies the size of disk. So I thought I can get the total size of NVMe and add up all the size of partitions done on that disk. If both the values match, then I ...
2
votes
1answer
44 views

Create Extended partition taking entire HDD for data storage

Old forum posts suggests that hypothetically there's no reason you need a "Primary" partition and can make your whole disk an "Extended" partition (though it's always mentioned that gparted won't do ...
0
votes
1answer
266 views

Cannot resize rootfs partition on a emmc memory

I have a emmc memory containing a working Ubuntu system. I want to connect it to my Ubuntu PC and shrink the rootfs partition in order to create a new partition in the resulting free space. I tried ...
0
votes
1answer
40 views

RAID1 shows up twice in fdisk

I have a RAID1 that I'm trying to mount in Ubuntu. When I enter sudo fdisk -l I see the RAID show up twice at /dev/sdc and /dev/sdd. I don't see anything different about the info under them so I'...
0
votes
1answer
689 views

Struggling with new HDD sector alignment - parted likes it, fdisk and mkfs do not

I just attached a new 2TB HDD to an SBC running Ubuntu. There is no data on the HDD and so I can freely wipe it as needed as the OS is running on an SDCard. I want to format it as one large ...
0
votes
2answers
672 views

problem with resizing partition

I', trying to resize my partition to the maximum space available, I tried different tools and got the same result. The latest one is growpart. The problem is that all the process seems to work, and ...
0
votes
0answers
211 views

usb bootable flag not cleared by gparted but cleared by Windows

Model: Lexar USB Flash Drive (scsi) Disk /dev/sdb: 64.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 ...
0
votes
1answer
62 views

Why does this fdisk delete/new operation start at a different sector?

And will it lose my data? I reduced the size of my filesystem. Now reducing the size of the partition in fdisk, I notice that fdisk wants to create the resized partition at a different sector. Here'...

1
2 3 4 5 6