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

Questions tagged [fdisk]

fdisk command-line utility that provides disk partitioning

0
votes
2answers
33 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
50 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
22 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
69 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
0answers
23 views

External HDD can't detect using sudo fdisk -l

Someone know how to get my external hdd working again? I can't get it working even using sudo fdisk -l. It can't detect the drive. Running dmesg | tail -n 20 in the terminal seems to detect it but how ...
0
votes
2answers
271 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,...
-2
votes
1answer
91 views

Can't add additional drive to Windows - how can I convert ext4 drive to a Windows-readable filesystem? [closed]

I need a way to covert a 500GB ext4 disk to FAT32. No matter about data loss. I am Using Ubuntu 18.04 Digital Ocean. Actually, I have installed Windows in Digital Ocean. The problem is that I can't ...
1
vote
1answer
88 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
30 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
52 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
14 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
8 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
108 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
116 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
54 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
21 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
32 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
29 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
88 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
61 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
126 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
169 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
16 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
888 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
52 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
47 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 ...
2
votes
0answers
78 views

Mount dd image for my USB

I'm trying to mount .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
63 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
82 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
902 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
41 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
483 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
1k 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
411 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
432 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
2k 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
442 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
244 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
593 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
548 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
494 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
127 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
1k 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
121 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
402 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 ...
2
votes
1answer
103 views

I've accidentally overwritten my partition table

I was supposed to run a command on /dev/sdb which is a flash drive to create a new GPT table. Accidentally, I've not noticed that I was working on /dev/sda and I've created a new GPT table using fdisk ...
0
votes
0answers
46 views

Ubuntu Live Cannot detect my harddisk or its partitions

I have a dual boot setup of ubuntu with windows 10. I recently started having a problem that didn't let me boot into my ubuntu installation. So to figure out the problem i tried using a usb to run a ...
0
votes
0answers
90 views

Dual boot disks not being detected and nouveau unknown chipset

I have a Dell XPS 15 and have a dual boot setup with ubuntu 16 and windows 10. It was working fine then one day randomly ubuntu stopped loading and i started getting the error: [ 2.597747] nouveau ...
0
votes
0answers
29 views

How to know the size of a blank DVD? [duplicate]

How can I know the size of a blank DVD?. The 'Disks' Tool shows it only as 2kb in size.