Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [fdisk]

fdisk command-line utility that provides disk partitioning

0
votes
0answers
13 views

Creating a NTFS partition table using sfdisk or mkfs?

Long story short. I'm completely new to Linux (I literally was introduced to the terminal 4 hrs ago). I want to create a script to systematically wipe everything form a HDD ( I will not know if the ...
0
votes
0answers
22 views

SAS Drives Ubuntu Server 18.04 [duplicate]

I have two SAS drives of the same type. I have install the ubuntu operation system on the first SAS drive. Now I want to use the other drive for storage, but it doenst seem to show up on parted, lsblk,...
0
votes
0answers
21 views

Why does fdisk and parted not show same partition table on a fresh bootable usb image

I follow the instruction on https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu except I use a SD-card to flash. When I use fdisk and parted to investigate the result of the ...
1
vote
1answer
51 views

Cannot mount drive under ubuntu server 18.04

I have upgraded my home server from ubuntu 12.04 to 18.04. The system holds 2 disks of 2.0TB in Raid 1. When I try to mount them on the 18.04 I get the following error. mount -t ntfs /dev/md126 /mnt/...
0
votes
0answers
15 views

Read only disk then disk gone missing after reboot

I have a 3TB HD on /dev/sdb mounted as /media/work where I put all the heavy stuff from work. (I dont know if I've put the info correctly, I'm new to Linux) Today I tried to edit a file then noticed ...
0
votes
0answers
112 views

GPT PMBR size mismatch after dd clone - why it only happens sometimes

I have used dd command to clone disk A to disk B. However, in some cases (not always), after a successful clone, fdisk on disk B gives me: GPT PMBR size mismatch (937703087 != 1000215215) will be ...
0
votes
2answers
46 views

How to change root directory from different device (e.g. /dev/sdb1 to /dev/sda2)

I have an Ubuntu when booted it has the root system is stored under /dev/sdb1, as can be shown with df command: the fdisk -l looks like this: My question is how can I change the root system from /...
1
vote
1answer
151 views

gparted, fdisk and gnome-disks stuck (in various ways)

I've been having trouble getting gparted to run. I'd like to format a usb stick. . . but when I attempt to load gparted it endlessly cycles through "scanning all devices". This is a fresh Ubuntu 18....
0
votes
0answers
25 views

Increasing disk space

I just created a new Ubuntu VM on 18.10. I started it with a 1TB hard drive and went back in after install, and increased the size of the hard drive in VMWare to 2TB. However, when I run fdisk, this ...
1
vote
0answers
84 views

cannot resolve “No space left on device”

I'm installing one package while getting the error that Could not install packages due to an EnvironmentError: [Errno 28] No space left on device However, I'm pretty sure my space is sufficiently ...
0
votes
2answers
567 views

Partition 1 does not start on physical sector boundary - cli methods

I have followed the procedures in other AskUbuntu question, however, it did not solve my issue. I have a 6T hard drive with the following info: Disk /dev/sdb: 6001.2 GB, 6001175126016 bytes 255 heads,...
1
vote
1answer
94 views

Creating a multi purpose thumb drive: best practice

I have a 64 GB (USB 3.0) thumb drive which I would like to seperate in three different parts. A section for a bootable XUbuntu image. A 10 GB section (ext4 formatted). A ~50 GB section (fat32 ...
3
votes
2answers
35 views

summary and restricted output from fdisk in ubuntu bionic beaver

I don't know if this is a hardware or software issue, but on my Dell XPS, running 18.04, when I type sudo fdisk -l I get all sorts of garbage that I don't want to see of the form Disk /dev/loop21: ...
1
vote
0answers
218 views

Mounting won't work: bad magic number on newly created partition, none of the rescue blocks work

Good Day everyone. This is my first question. So I have this drive from an old RAID-System with 2.7TB of storage and I want to use it for some regular ext4 partitions: root@FluxCapacitor:/dev# fdisk ...
0
votes
1answer
16 views

Resizing Logical Group and Physical Volumes to use free space

I recently moved the unencrypted /boot from /dev/sda1 into the root of my encrypted LVM. Afterwards I deleted the /dev/sda1 and ended up with roughly 513MB of free space that I would like to reclaim. ...
0
votes
0answers
12 views

How to attach a disk to the existing ubuntu16.04 vm in the azure cloud ?

I have an azure vm which has 30gb in the intial stage which was not sufficient for me ,so I have created a new HDD with 200GB and I was unable to attach it to the Azure VM (Ubuntu 16.04).
1
vote
1answer
192 views

fdisk output is differ from gparted for my USB Stick

I found a strange partition table on an 32GB usb stick (Hama FlashPen Elatio 32GB). The fdisk output differ from gparted: Disk /dev/sdb: 29.3 GiB, 31466323968 bytes, 61457664 sectors Units: sectors ...
0
votes
1answer
168 views

Mounting an external drive: Need help translating dmesg output

I'm troubleshooting an external hardrive for photographer friend. She has a year's worth of photos stored on the external drive, unfortunately, Windows (her go-to operating system) does not recognize ...
0
votes
0answers
76 views

disk i/o error on multiple disks after format failure

I have 2 3.5" WD20EARS disks. durring a format/wipe, there was a power failure and now i'm unable to access either disk. I would normally think that it's just a dead disk but since it happened on both,...
0
votes
0answers
23 views

“Partition does not start on physical sector boundary” and external hard drive is not showing up [duplicate]

$ sudo fdisk -l Disk /dev/loop0: 86.9 MiB, 91115520 bytes, 177960 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 ...
0
votes
0answers
38 views

File system problems, sudo parted -l, sudo fdisk -l show16 loops? [duplicate]

I guess something is wrong with my filesystem. Gparted shows: sda 1 (boot 487 MB), sda 2 (extended 238 GB), sda 2, sda 5 (lvm2 pv 238 GB) of the 238 GB, only 48 MB are unused The fdisk -l ...
0
votes
1answer
36 views

why fdisk doesn't show hard disk(/dev/sdf) while lsblk shows hard disk(/dev/sdf)?

I'm trying to mount additional hard disk. lsblk shows /dev/sdf1..3. However, sudo fdisk -l doesn't show /dev/sdf1..3 What is the problem?
0
votes
1answer
113 views

fstab errors when mounting a SSD connected via USB

Have a 500GB SSD attached by USB, in NTFS format made by Windows Server 2012. I want to copy the contents of a folder (and subfolders) on sda2 called myfiles to the folder /opt/myapplic/myfiles on ...
2
votes
1answer
62 views

Optimum reinstall of Ubuntu 16.04 and partition choices [closed]

I'm going to format my computer because of problems. The first time I installed Ubuntu, I did not do the partitioning very well, and the machine does not like how it works. I have 160 GB and little ...
1
vote
0answers
182 views

Gparted/parted/gdisk/fdisk all pretend to create partition table?

I have been trying to wipe and reset an entire HDD. Something went wrong when moving a drive from Windows to Ubuntu. So in the midst of a tutorial or two.. I wiped the whole drive. Here's the rub: I ...
0
votes
1answer
303 views

How to find superblock?

I am trying to find the superblock with dumpe2fs command, but with this output there is no information about superblocks.
0
votes
0answers
18 views

Is my hard drive going fine?

I have made smartdisk scan using sudo smartctl -h /dev/sda. my problem is that I can not format my disk du to input output error here is the output of my command smartctl 6.6 2016-05-31 r4324 [...
1
vote
0answers
935 views

Ubuntu 18.04 installer is not showing partitions

I have an HP pavilion workstation, that came with windows 10 preinstalled, and I want to make it a dual boot with Linux. The problem is that even after doing all the following: Disabled secure boot ...
2
votes
1answer
63 views

How to erase a surviving MBR and format a disk?

I'm trying to format a disk but whatever I try after a reboot the old partition is always there. I tried to see the partition with fdisk and format again using mkfs.ext4 mirto@mirto-C35:~$ sudo ...
0
votes
0answers
54 views

Troubleshooting a non-responsive external HDD; “pauses” Linux

I have a My Passport 1,8 Tb external HDD which suddenly caused Windows to crash when I connected it. This means that I do not have access to my files, and I want to recover them.. Naturally I used ...
3
votes
1answer
133 views

Mount dd image for my USB

I'm trying to mount a .dd image. I followed 2 methods without success ... Method 1 1st step: root@evilcode1:/root# blkid qassam.dd qassam.dd: UUID="524F4B6665E82B4E" TYPE="ntfs" 2nd step: I ran ...
0
votes
0answers
83 views

Can't fix the partitions of 64GB MicroSD Card used in Dual-boot Windows / Android Tablet

I had one of those windows / android chinese tablet and I believe I somehow spaced out 40GB / 20GB respectively as storage for each OS. Now some phones will recognize the only the first partition of ...
0
votes
1answer
100 views

Unknown filesystem after fdisk partitioning

I just resized my primary partition according to the answer given in StackExchange. I used the method with fdisk. I deleted the partition and then recreated it and as suggested in the post. After this ...
1
vote
1answer
1k views

How to delete files from usb drive [duplicate]

I have just burned an .iso onto a usb drive, and i suspect something has gone wrong as it won't boot, so i want to wipe it and try again, but it won't let me remove files. When I use fdisk -l I get: ...
0
votes
0answers
44 views

Corrupted USB disk listed by lscsi. how to fix

I have a Kingstone USB flash disk which is corrupted. Trying to use sudo mkfs.vfat /dev/sdc1 or sudo fdisk /dev/sdc shows error message: fdisk: cannot open dev/sdc: No such file or directory . ...
0
votes
0answers
549 views

SSD SanDisk Ultra-II GPT PMBR size mismatch

My SSD was used in my MacBook after some month without any problem the SSD is not usable anymore. I can't mount it, I can't format it. I Dont know what to do. I do not mind about any data their lost, ...
0
votes
0answers
2k views

External Hard Disk not showing in fdisk -l output

I just bought a new hard disk and fdisk -l doesn't show me this hard disk. Below is what dmesg says about it--> giroo@ubuntu:~$ dmesg [ 86.912522] usb 3-6: new high-speed USB device number 6 ...
0
votes
0answers
448 views

External HDD shows up in dmesg but not in fdisk

I have an hdd with important data inside and I can't get it mounted to access the data. When connected I can hear it spin. dmesg: [11868.068196] usb 2-2: new SuperSpeed USB device number 2 using ...
0
votes
1answer
539 views

Ubuntu installer/ fdisk/ gpart Can not find my SSD partition

I just bought a lenovo flex5 today. Windows 10 was installed on the computer. Trying to make a ubuntu partition for dual boot system. My process: -Made a 100GB free partition using windows 10 ...
4
votes
1answer
3k views

fdisk does not show boot flag

I normally use fdisk -l to look at partitions. I recently installed ubuntu 17.10 on a computer, and noticed that fdisk is not showing me the boot flag as it used to do. The output now looks for ...
0
votes
0answers
495 views

8TB Hard Disk mount failed

Environment 1. OS : Ubuntu 16.04.3 LTS 2. HDD : 8TB HDD Symptom : /dev/sdb1 does not exist. root@hprnd:/home/hprnd# mount /dev/sdb1 /hprnd0004 mount: special device /dev/sdb1 does not exist ...
0
votes
1answer
327 views

ubuntu 16.04 gparted resize root boot fails

I was running out of disk space on root for ubuntu 16.04. I used gparted to resize it. It seemed to go okay (no error messages). gparted showed everything okay. On boot, I get my grub menu okay ...
0
votes
1answer
728 views

SD card partitions not visible on Ubuntu

I am trying to create a SD card with partitions for using the SD card to boot Linux on a ARM A9 processor. Now initially when the SD card was equipped with all partitions, I inserted it into the ...
0
votes
0answers
2k views

Why fdisk -l shows the Ext4 as Microsoft basic data

I have dual boot machine (Ubuntu 16.04 + Windows 10). Today I was mounting a flash disk then I executed the command fdisk -l but I saw something weird. Device Start End Sectors ...
1
vote
1answer
747 views

Volume group showing size incorrect

The problem i have is that my volume group size is much bigger than it possible could be. I have a physical disk of 300Gb. I initially created a volume group on sda1. The size below is showing ...
0
votes
0answers
596 views

How to fix a (possibly) corrupt flash drive?

To preface, I'm relatively new with linux-based systems, so please try to keep things relatively simple. Before experiencing any issues, I had an 8GB flash drive that was recognized by sudo fdisk -l ...
-3
votes
2answers
133 views

Do I need to create Partition in Linux 3.4 [closed]

My question is regarding partition(creating manually). Do i need to create a partition in Linux 3.4 to save files & documents.In windows if the partition is not created system will still run ...
3
votes
1answer
2k views

USB stick not recognized by fdisk

My USB stick got corrupted. I am not even able to format it as it is not found properly by my OS (Ubuntu 16.04). What I tried: It is found by neither fdisk -l, lsblk nor gparted. It is shown by ...
1
vote
0answers
145 views

how to automount an external HDD to nautilus?

After using unetbootin to install an iso image to a portable hdd disk enclosure I cannot view or mount the drive through nautilus. How can I make the drive viewable in nautilus? It does show in ...
2
votes
1answer
458 views

Different print reports between fdisk and parted

long time Linux user, but can't find an answer to this. The makers of parted/gparted completely ignored my question. Some time back in slackware, I'd formatted a 2TB with two ext2 partitions, but ...