fdisk is a utility present in many operating systems that perform partitioning on hard drives. There are versions of fdisk for Linux, DOS, Windows, FreeDOS and OS / 2. It handles DOS FAT partitions only.

learn more… | top users | synonyms

0
votes
0answers
7 views

fdisk doesn't see ssd, clonezilla does but fails anyway

I'm trying to clone a Windows 7 Pro installation from one SSD to another. The current SSD is nearly full, so I'm cloning it to a larger disk. My problem is that there is something about the source ...
1
vote
1answer
68 views

Extended partition does not start on physical sector boundary on 512e (emulated 4k) hard-drive

My fdisk -l output tells me that my extended partition (sda4) is misaligned. But partitions inside it are aligned (their start sector is divisible by 8). Will the misaligned extended partition somehow ...
1
vote
1answer
62 views

Windows doesn't boot anymore after partition change

Background: I normally use Linux as OS. I had a dual boot with Windows XP. Since I had some problems with the windows partition (too long to explain), I shifted it of a while. This is what I have ...
0
votes
1answer
66 views

ArchLinux installation - missing tools

I'm trying to install ArchLinux by following the beginners' guide on the Arch wiki. I managed to establish a internet connection, but right now I'm stuck with preparing the storage drive. Whenever I ...
0
votes
2answers
36 views

Partition Hard disk with start sector 1

I have a new Hard Disk which I want to use for NAS drive. The requirement is that the partition as seen in fdisk should be as below. Device Boot Start End Blocks Id System ...
0
votes
1answer
101 views

Interpretation of number of heads returned by fdisk

Info about HDD: $ sudo fdisk -l Disk /dev/sda: 250.1 GB, 250058268160 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488395055 sectors Units = sectors of 1 * 512 = 512 bytes Sector size ...
1
vote
2answers
102 views

Installing a 3TB drives on Debian

I am using an internal hard drive USB adapter to mount backup drives. The adapter was working well with my previous 1GB backup drives. We just got two new 3TB hard drives. We connected it with the ...
0
votes
0answers
52 views

SD card never detects through card reader

MY SD card works fine on windows when I use the inbuilt reader in the laptop. But when I use it with card read (Quantum), it does not work at all. On a linux machine (where I do not have inbuilt ...
0
votes
1answer
265 views

Error Broken pipe while install chrubuntu

Okay, I need help My chromebook is Acer c720 So., I trying to follow this guide -> http://www.amirkurtovic.com/blog/installing-chrubuntu-on-the-samsung-arm-chromebook-a-step-by-step-photo-guide/ I go ...
0
votes
0answers
44 views

Using Pipe Operator With fdisk

On my Mac OS X, I am trying to provide input to fdisk command via echo and Pipe Operator, And in this process i wants to provide bootable flag to partition number 1 of attached USB Drive and then i ...
1
vote
1answer
750 views

Kali/Ubuntu doesn't detect windows partition

I am trying to dual boot Windows 7 with Ubuntu or Kali Linux but i am unable to do so. I have backed up all my data to an external hard drive. So it is safe to work with partitioning. I have a 500 ...
0
votes
2answers
556 views

How can I merge partitions in Linux without losing data?

So, I'm working on a couple VMs for a high-profile site, and they have /home partitioned separately from / (root). The owner has asked me to merge the two partitions so that /home is not partitioned ...
1
vote
1answer
1k views

How to force a USB disk to format?

I can't seem to get my USB drive to format anymore or be recognized by the file system (including gparted). How do I just wipe the whole thing and start over!? dmesg [ 5036.408102] usb 2-3: new ...
0
votes
1answer
1k views

Partition Not Showing up in /dev

I recently unmounted a 4TB hard drive from one computer in order to access the files directly from another computer. It seemed like there were no problems with the unmounting process. When ...
4
votes
1answer
3k views

What is the equivalent of the Linux command “sudo fdisk -l” in MacOS?

In Linux, the command sudo fdisk -l produces an output the lists all the disks and partitions in the computer. The following is an example of fdisk -l output: If I try to use sudo fdisk -l in MacOS ...
0
votes
1answer
308 views

Format flash drive without partitions

I'm trying to format a flash drive with a FAT partition to use in my car stereo, but running into a small problem. I've tried making it all one big FAT 16 partition, and the stereo won't accept it. ...
0
votes
1answer
2k views

Canot format MicroSD. File system is read-only

I formatted it for my special needs some time ago using fdisk. Don't remember the partition table, but there was 1 fat32 and 1 ext4 partition. Now I want to format it fat32 clean, but I get the ...
0
votes
1answer
49 views

Trying to access laptop's internal HD from live USB

What's the most straight forward way of accessing a laptop's internal HD from a live USB? I've tried a damn small linux live USB drive, and then tried mounting the internal HD, but fdisk only finds ...
0
votes
2answers
844 views

“mount: special device /dev/sdc1 doesn't exist” but according to fdisk -l, it does

I'm booted into a live usb linux environment, and I plugged in a hard drive. It's listed in fdisk -l as /dev/sdc{,1}, is a 3tb drive, and has a single partition containing an xfs filesystem. But when ...
1
vote
2answers
309 views

How to recover data from a USB-connected hard disk that shows no partition?

Is there a possible way to recover data on my Western Digital 2TB drive? I have tried different ways like using gparted and fdisk etc.. but nothing helped. The error I get is that it cannot find a ...
0
votes
1answer
1k views

Partitioning an SSD with sfdisk

I have been trying to partition this SSD (Samsung 840) nicely for a while now. I want to make sure the pages line up with the SSD pages to limit the amount of writes. I found this site which ...
0
votes
1answer
70 views

Is it possible to recover a hard drive which is listed by lsblk but not by fdisk -l?

Having a "dead" hard drive that spins but that is not listed by Linux's "fdisk -l" utility, nor Windows, but which is listed by lsblk Linux command as /dev/sdb, is there any way to make "fdisk -l" ...
0
votes
2answers
53 views

Should I format all disks after fdisk?

I created disks with fdisk: Device Boot Start End Blocks Id System /dev/sda1 * xxx xxx xxx 83 Linux /dev/sda2 xxx xxx ...
1
vote
1answer
381 views

linux: utility to find good partition alignment on ssd

I am getting a new SSD. is there a linux utility that aids me by recommending/choosing/checking the correct partition (and potentially ext4) parameters to avoid the performance penalty? my "default" ...
-1
votes
1answer
186 views

NTFS partition mount but doesn't show any files

The partition was bootable, but it's not anymore. I booted with an ubuntu live CD. "fdisk /dev/sda3 -l" shows this: Disk /dev/sda3: 626.4 GB, 626396585984 bytes 255 heads, 63 sectors/track, 76155 ...
0
votes
0answers
238 views

What is the largest size of HDD that can be recognised by SuSE 10?

I have a venerable but rock solid server running SuSE 10, acting as a webserver, running a relatively few, but significant, websites. The machine has multiple disks ranging from a nearly decade old ...
0
votes
2answers
1k views

Recover lost partitions ( or partition table) after fdisk in debian

I am running Debian Squeeze in my laptop. I did a big mistake. Instead of doing fdisk /dev/sdb (which is my usb pendrive), I fdisk-ed /dev/sda, which is my primary hdd. When prompted, I chose options ...
0
votes
1answer
582 views

Why is Ubuntu 12.10 listing three disks in my RAID 1?

For the same computer that I tried fixing Windows XP on, though the installation was successful, it kept blue screening so I've decided to switch to Ubuntu. The problem is that Ubuntu is also having ...
2
votes
1answer
430 views

real number of sectors on HDD

This is part of output of fdisk -l Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector ...
0
votes
2answers
384 views

Aligned partitioning of 2TB disk with Linux fdisk

Is there a way to create a single 2TB partition, which is 4096-byte-sector aligned, on a disk using the standard Linux fdisk (I have tried version 2.17.2)? I've tried the following things and ran ...
1
vote
1answer
3k views

Can't format or delete any files on SD card

I have a 16 GB SD card i'm trying to format for use. In Windows if I try to format it says Windows was unable to complete the format, and in Linux when I do fdisk -l -u, fdisk just hangs when the SD ...
2
votes
2answers
429 views

quick format vs format

What is the primary difference between quick format and format. Does a format write 0's before writing the inodes/allocation table and a quick format just write the allocation table/inode without ...
4
votes
1answer
544 views

What does the output of fdisk mean?

I've got a flash drive and I want to understand the properties of it as is outputted from fdisk. I inserted it and check the dmesg and I could see that it was mounted as /dev/sdb1 so I ran fdisk to ...
1
vote
2answers
1k views

Can you expand a linux partition while it's in use?

I'm running a linux server and I need to expand the /tmp partion. Everything I come across using fdisk or parted is saying that I need to unmount before expanding. Is this true, or can it be safely ...
1
vote
1answer
133 views

partition table looks different between Linux and Windows

I'm having some odd issues after deleting and resizing an NTFS partition with Gparted. Windows doesn't seem to see the same partition table as Linux. At first, the deleted partition showed up as ...
3
votes
1answer
3k views

How do you create and partition a raw disk image?

I need to create a raw disk image for use in a virtual machine, but I need to create the partitions before creating the file system or installing the operating system. Can anyone describe a process ...
0
votes
1answer
127 views

Add new partition under raid-1 array

I have small /tmp partition, and I want to create new partition with size 10 GB than current one, I have two hard disk on raid-1 array # mdadm --query --detail /dev/md0 /dev/md0: Version : ...
1
vote
0answers
212 views

TestDisk - Recovered partition not mountable

First here's my Partition Table reported by fdisk. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector ...
0
votes
2answers
1k views

linux can't read partition table

My laptop has a Hitachi HTS725050A7E, this is 500GB with 4k block size. It shipped with two partitions, a 10G recovery partition on the front of the disk and the remainder of disk space in one big ...
3
votes
1answer
1k views

Partition table independent of sector size

The plot I have a WD10JPVT 1Tb disk inside an IcyBox IB-290StUS-B USB/esata enclosure. When I connect the disk via USB, I get a 512 logical / 512 physical sector size. When I connect the disk via ...
3
votes
3answers
728 views

Partitioning a disk with already existing partitions

On a Linux Virtual Machine that i recently setup, I had a disk /dev/sdb of size 20G in which i created 8 partitions (3 primary, 1 extended containing 5 logical partitions), using upto 10G of space. So ...
0
votes
0answers
587 views

external USB HD doesn't show up on 'sudo fdisk -l' on one Ubuntu, shows up on another (same version)

I have a 1.5TB WD external USB HDD and two Ubuntu systems, both 'precise'. When I plug the disk on system A it doesn't show up on the output of sudo fdisk -l nor is it automatically mounted (note that ...
5
votes
2answers
3k views

Re-reading the partition table failed with error 22: invalid argument

I have Oracle Linux on a VM and I'm trying to create partitions on /dev/sda2 of size 30 gigs using fdisk utility. I made four partitions each of size 512M and they appear in the partition table. ...
3
votes
2answers
1k views

After doubling virtual disk size in VirtualBox, fdisk -l still shows old disk size in guest CentOS

I'm running CentOS 6.1 as a guest in VirtualBox 4.1.18 on a Mac OS X (Snow Leopard) host. Since 50 GB for my CentOS guest proved to be insufficient, I resolved to double its available disk space. ...
0
votes
1answer
543 views

Problems while formatting SD card

So I've been trying to format an 8 GB SD card on my Ubuntu 11.10. I started with using fdisk and followed the step by step instructions to the letter using the appropriate values from the ...
0
votes
1answer
322 views

fdisk: Why is Default for First Cylinder not 1?

I'm experimenting with files mounted as loop devices which are tied together to a RAID 5. When I use fdisk to create a primary partition for the array, it asks me for the first cylinder which can be ...
6
votes
2answers
8k views

How to create NTFS partition in Linux to install Windows 7 from USB?

I messed up with my computer and need help. Generally: install Windows 7 from USB. Problem: "setup was unable to create a new system partition" When first attempt to install Windows 7 failed I ...
1
vote
1answer
3k views

Using LVM after installing Debian

I have Debian Squeeze installed on VirtualBox. While installing I've chosen Ext3 filesystem and it takes whole virtual disk space. fdisk says: Disk /dev/sda: 33.0 GB, 32986103808 bytes 255 heads, 63 ...
1
vote
1answer
318 views

Mismatch between CxHxS and “total number of sectors”

Model: ATA ST320LT007-9ZV14 (scsi) Disk /dev/sda: 38913,80,62 Sector size (logical/physical): 512B/4096B BIOS cylinder,head,sector geometry: 38913,255,63. Each cylinder is 8225kB. Partition Table: ...
0
votes
1answer
535 views

How to renumber a partition?

I used to have a primary partition, /dev/sdb1, and an extended partition, /dev/sdb2. Since I deleted sdb1 and merged it into sdb2, I’ve been trying to think of a way to modify the id '/dev/sdb2' to ...