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

2
votes
4answers
70 views

How To Format A Disk Image To Be Recognized By MS-DOS?

I'm trying to emulate windows with bochs on my android device. I've got the following drives: an empty disk image to install windows on, a virtual vvfat drive with the setup files, and a cdrom drive ...
0
votes
1answer
95 views

Creating GPT partition using sgdisk on emmc 2GB

I am trying to partition my 2GB emmc using sgdisk to have a GPT partion table. The commands show success and also the GPT partition table looks updated (even on reboot) but the partitions are not ...
0
votes
2answers
54 views

mount root (/) again after mistake, without /etc/

I think I accidentally mounted /dev/hde1 to / after formatting another disk with mkdosfs -F 32 -I /dev/hde1 /dev/hdc1 should be mounted on / but now there is no way to remount it again since ...
0
votes
1answer
29 views

Partition size from “df -h ” vs “fdsisk -l”

Partition size using "df-h" Filesystem Size Used Avail Use% Mounted on /dev/sda5 19G 17G 516M 98% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev ...
2
votes
2answers
104 views

Can't see Linux fdisk created GPT disk partitions in Windows 7 (64-bit)

I just added 2 new disks (only for data, no OS booting) and had them set up equally with GPT and equal partitions, to use the partitions as RAID1 in Arch Linux, and the rest of the storage for ...
0
votes
1answer
86 views

SSD Not Detected - Fallback on EFI Shell

Want to assess what are the odds of a hardware failure in a particular case. I have a laptop with an Intel SSD (160GB). I just installed Windows 8.1 on it and all was working fine, up until the point ...
0
votes
1answer
47 views

Not able to create more than 7 partitions on the am335x(beaglebone black) based custom board

I am trying to partition eMMC of BBB(am335x) based custom board, I am using sfdisk to do that. I am using following command to do that, #Partition emmc sfdisk -D -H 255 -S 63 -C 467 /dev/mmcblk0 -uM ...
0
votes
2answers
143 views

QEMU guest system starts off /dev/sdc but won’t start from disk image file

I have a copy of Windows XP installed on a hard drive which I would like to run with QEMU. When I start it directly from the HDD it runs fine: qemu -m 256 -hda /dev/sdc Starting ...
0
votes
1answer
34 views

fdisk shows existing partition in brand new hdd

I just bought a hard disk (Seagate ST2000DM001) and got from fdisk that it is already partitioned. crown mnt # fdisk -l /dev/sdc Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 ...
0
votes
1answer
20 views

Fdisk lists total hard drive space as 500G but lists a partition as 922G

Here is my fdisk output in the picture below. There seems to be some major discrepancies here. You can see that /dev/sda is only a 500 gig drive but contains nearly a 1 TB size partition on sda3. What ...
1
vote
0answers
37 views

Combine free space Ubuntu

I want to "merge" or combine a free space that i have on my main Ubuntu partition, i have tried with Gparted but i can't resize the main partition. This is the results of fdisk -l: Device Boot ...
3
votes
1answer
194 views

How to learn what `gparted`, `partitionmanager`… libcalls or `fdisk`, `parted`… commands are wrapping?

Querying partitionmananger --help does not document any verbose mode. Even gparted --help is not implemented. I wish I could use any --verbose mode without more esoteric thingy like using ltrace, ...
0
votes
1answer
69 views

Clonezilla gives disk in use on restore ( sfdisk This dis is currently used )

I am trying to automate a clonezilla imaging, Thie issue is that the restore fails due to it saying that the device is in use When I type "mount" /dev/sda is not anyware in the list ( and there mdadm ...
0
votes
0answers
118 views

fdisk shows cylinder while formating eMMC of BBB

I have repartitioned the eMMC of Beaglebone Black but when I partitioned eMMC with fdisk(busybox) It asked me the starting cylinder instead of starting block. I selected the default option and ...
0
votes
1answer
173 views

Overwrote startup disk's partition table with gdisk; how to restore?

I installed a new hard drive in my home server today, went to format it in gdisk (larger than 2 TB), set the changes and wrote them. Then I noticed that I had selected the wrong disk, in fact I just ...
1
vote
1answer
246 views

Counting disk capacity using cylinder-head-sector model

Let's look at fdisk -l /dev/sdc output. # fdisk -l /dev/sdc Disk /dev/sdc: 786 MB, 786432000 bytes 255 heads, 63 sectors/track, 95 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector ...
0
votes
0answers
148 views

CloneZilla, what are all these files?

I am trying to restore a clone of a disk, made with CloneZilla some time ago. I'm having trouble in general, and I can't seem to find the help I'm looking for, so I have to learn some of the basics, ...
1
vote
0answers
39 views

Safe to blank MBR of a disk after adding it to an RAID1 array with mdadm?

I created a RAID1 array of two disks, /dev/sda and /dev/sdb, using mdadm. After several booting problems related to the BIOS and SATA/RAID controller of the board, I accidently created some new ...
-1
votes
2answers
312 views

LVM: How to enlarge the extended partition without data loss?

How to enlarge the extended partition without data loss? Note that I have a LVM logical partition inside of this extended partition. # fdisk -l Device Boot Start End Blocks Id ...
-1
votes
1answer
200 views

Is there something wrong with my disk partition?

# fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 41940991 20719617 5 Extended ...
0
votes
0answers
53 views

Recover semi overwritten partition, with output from fdisk

Okay so I was trying to dd a Ubuntu disk to a USB pendrive from a Debian laptop, when I got my disk names messed up and managed to overwrite my external hdd that has all my backups on it, not the ...
0
votes
0answers
184 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 ...
0
votes
0answers
495 views

Disk Cloning Probelm

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
695 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
148 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
211 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
54 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 ...
1
vote
1answer
552 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
294 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
1answer
900 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 ...
1
vote
1answer
1k 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 ...
1
vote
2answers
2k 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 ...
3
votes
1answer
5k 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 ...
1
vote
2answers
4k 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 ...
11
votes
2answers
14k 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
574 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
3k 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
2answers
2k 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
435 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
2k 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
114 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
68 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
453 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
409 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
339 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
3k 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
945 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
2answers
891 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
526 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
4k 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 ...