fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

1
vote
2answers
5k views

cannot create a partition table on /dev/sdb

when I'm trying to create a partition table on my 8gb sd card, its showing this error: fdisk: unable to read /dev/sdb: Input/output error I have used sudo fdisk -l , there the /dev/sdb is not ...
0
votes
1answer
21 views

fdisk sector size and alignment issues

I executed the command: # fdisk /dev/sda1 The output was: The device presents a logical sector size that is smaller than the physical sector size. Aligning to a physical sector (or optimal I/O) ...
1
vote
1answer
25 views

Can't resize partiton on Lexar USB drive

Strange reading from fdisk... ~# fdisk -l /dev/sdd1 Disk /dev/sdd1: 29.2 GiB, 31378272256 bytes, 61285688 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / ...
0
votes
0answers
26 views

Micro SD card problem : file deleted successfully but not actually

I have a micro SD card from Sandisk which is Mobile ultra of size 64 GB class 10. I was using with my mobile. I wanted to format it after 1 year. I deleted several files successfully as per system ...
0
votes
1answer
27 views

Testdisk can't/won't recognise hard disk

After moving a number of hard drives from an Ubuntu desktop to dedicated Ubuntu server, I'm finding it hard to get Ubuntu server to recognise one of the drives. It's a 4tb WD green which was formatted ...
0
votes
1answer
36 views

Gparted Error “Unable to satisfy all the constraints on the partition”

I have dual booted Windows 7 & Ubuntu 14.04 with EasyBCD, i.e. I have installed grub on the Ubuntu root partition & added entry of linux to Windows bootloader using EasyBCD. So effectively i ...
0
votes
1answer
30 views

Help interpreting fdisk after boot problems

I duelboot Windows 8.1 and Ubuntu on my laptop (unfortunately I can't remember which version of ubuntu I have). I today tried to boot it up and received the message "error: no such partition" when ...
2
votes
0answers
82 views

Why doesn't this custom created usb drive image mount?

I'm trying to mount a custom usb drive image created with fdisk. This is how I created the image: Created a file of the exact same size of an old usb drive image used as a model: dd if=/dev/zero ...
0
votes
1answer
40 views

Mounted External Drive Doesn't Show Correct Size

I have an external USB drive with 2.0 TB connected to a machine running Ubuntu Server 14.04. I used: fdisk -l and I can see that my at dev/sdd1. Here is the output: WARNING: GPT (GUID ...
1
vote
1answer
9k views

How do I create a backup image of an SD card?

I have to copy my SD card to my hard-drive. I know that I have to mount and unmount it, but the following line doesn't work: dd if=/media/oneiric of=~/sd-card-copy.img That was my first try, but ...
0
votes
1answer
35 views

Drive bay not working when empty on startup

I have a SATA drive bay, which only works when having a drive inserted at startup. If I start the system and then enter a drive, it starts running (makes sounds and is vibrating), but it won't even ...
2
votes
1answer
25 views

Repartition drive without caring what's on it

I've got a microSDHC which appears to have a broken partition table. When I plugged it in there where a lot of folders and I was able to copy some files of it. But most files had a filesize 0 and most ...
0
votes
0answers
48 views

fdisk /dev/sda fail, possible to restore?

I'm new here, so I hope I post this in a place where someone is able to help me. Earlier today I was messing around with fdisk to be able to run my windows partition through a VirtualBox. At a point ...
0
votes
1answer
27 views

odd results in fdisk for a USB sound card with storage

I have a USB sound card (a Creative SB X-Fi Go!) which works perfectly (both as a soundcard and as a storage device) under Ubuntu and reports to Disks as having a 1GB Fat partition as in this ...
0
votes
1answer
48 views

mount boot camp partition

I have my hard drive from my mac it has a boot camp patition, but the mac is dead. Ubutnu sees the partition, calling it /dev/sdc3 and reporting that it has a basic linux data partition. I tried to ...
5
votes
1answer
14k views

How do I create and tune an ext4 partition from the command-line?

PARTITIONING (e.g. fdisk) What are some useful commands used for partitioning an additional hard drive from the command-line? Since most published guides steer towards GParted and other graphical ...
0
votes
1answer
32 views

Fdisk cylinder doesn't match device format

I plugged in a USB device into my computer and ran fdisk on the partition, giving the following: Disk /dev/sdb: 16.9 GB, 16944988160 bytes 255 heads, 63 sectors/track, 2060 cylinders, total 33095680 ...
0
votes
1answer
49 views

mount laptop hard drive disk from live DVD

I was following directions for changing the password for Microsoft Windows (on a laptop) with chnptw, but when I navigated to /mnt and /media the directories were empty -- I believe that the /mnt ...
0
votes
0answers
213 views

Whole disk unallocated? Gparted error or partition overlapping?

Story: Yesterday I wanted to make my Ubuntu partition bigger so I ran Windows (Dual boot) and decreased size of my D drive size. It wanted me to reboot computer, when it was starting up it done ...
0
votes
2answers
1k views

disk space wrongly displayed after installing LVM disk

I installed ubuntu server using LVM partitioning on a 1 TB hard disk. However, after installation, i can only see 10 Gig space here is the fidsk output ` # fdisk -l Disk /dev/sda: 1000.2 GB, ...
0
votes
0answers
76 views

properly resize OS partition on logical volume

I'm trying to resize my Ubuntu 14.04 VM's OS partition because for some reason it was incredibly small from the beginning. I'm running it on a google compute engine VM and so far ive never touched ...
1
vote
1answer
48 views

Weird NTFS partition display

I just installed Ubuntu 14.04 on my PC next to Windows 8.1. I have a second HDD which I use to save my documents etc... I have partitioned the disk (SDB) in four NTFS partitions (I made them in ...
0
votes
2answers
584 views

Setting up LVM and deleting partition volume

I am running Ubuntu 14.04 LTS in VMware. I recently ran out of space so I decided to add a 10GB volume. The problem is I didn't install ubuntu with lvm initially so now I am trying to do it ...
0
votes
1answer
26 views

having trouble with partitioning the harddisk

While I use the command fdisk /dev/sdb1 the following error happens. fdisk: unable to read /dev/sdb1: Inappropriate ioctl for devic
1
vote
1answer
167 views

Hard drive reporting wrong size

I have a 1TB Hitachi drive that has been working just fine. I had to repartition it into vfat because a co-worker's Mac drive was dying and I needed to copy what I could. He took the 1TB drive home ...
-1
votes
1answer
50 views

How do I access my window's files? [duplicate]

I recently replaced the Windows by Ubuntu and I have any files in my Disc. When I had Windows. How Can I Do to access $ sudo fdisk -l to I to recover my disc?
1
vote
0answers
92 views

Gparted and installed don't see partitions after boot-repair

I'm trying to fix my friend's computer after it got borked by a power surge. It can boot fine from USB, but if you boot the disk, it makes it to grub and then fails no matter which you select. He had ...
2
votes
2answers
5k views

Resize a 2TB partition on a 3TB disk created with fdisk

I recently added a new 3TB hard drive to a headless media server (HP proliant microserver) running Ubuntu server 12.04. I followed this tutorial, which uses fdisk to create a single partition of the ...
0
votes
1answer
955 views

Creating a RAID1 Array, “Disk doesn't contain a valid partition table”

I'm trying to create (two) software RAID1 arrays on two identical 4TB non-boot drives. I'm following advice from several forum posts but keep running into trouble. Here's what I've done so far: for ...
0
votes
0answers
59 views

Understanding result of sudo fdisk -l

Please help me decipher the following terminal response: sudo fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = ...
0
votes
0answers
217 views

Help fdisk 4 (near) identical 1TB drives

I have 4 drives to setup a Raid 5, but apparently they are not identical. I am not sure what steps to take next. It seems that I have (3) 512 and (1) 4096 sized drives. What should I do to format, ...
0
votes
0answers
98 views

format/build raid 5 with one 4k drive, three 512b

I have 4 WD 1TB drives which I want to 4x1TB Raid5. I am not sure what course of action to take next. How do I configure my 4th drive (sde) to align with the rest? Will this affect performance? I ...
0
votes
0answers
31 views

Mounting Disk by UUID - FIle Or Directory Does Not Exist? [duplicate]

I have a ubuntu server (14.04) with a few issues. It's rackmountable, but running the desktop version of Ubuntu. It has 3 HDD bays and 1 internal SSD running the OS. Only one of the HDD bays is being ...
0
votes
0answers
63 views

Formatting for Windows 8 Dual Boot - Drive Not Found

I have a ubuntu PC that I'm trying to install Windows 8 on as a dual boot. I used gparted to shrink the existing partition and create a new one formatted as ntfs, but when I tried to install windows ...
1
vote
1answer
76 views

Question about sudo fdisk -1

I've been trying to mount an external HDD to my ubuntu server (14.04) but when I try to use the sudo fdisk -1 function it tells me that its an invalid option, is there any way I can fix this? Or any ...
0
votes
0answers
41 views

Some info about SD card patitions after the use of the dd statment and some oiters doubts?

I am not very experienced using Linux and I have the following situation that cause me some doubts. I have wrote RaspBian (the RaspBerry linux distribution) on an SD card using Ubuntu dd statment: ...
1
vote
0answers
304 views

Fix write-protected(read-only) filesystem

I made bootable usb drive , then USB drive was write protected. I used followng command hrirks@hrirks-MS-7592:~$ sudo fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 ...
0
votes
2answers
328 views

Poor SSD RAID0 write performance, alignment on raid?

We have Samsung840Pro 512gb x2 connected to the motherboard's c600 6gbps SATA3.0 ports. The RAID partitions use 100% of each disk: user@blockparty ~ $ sudo fdisk -lu /dev/sdb Disk /dev/sdb: 512.1 ...
0
votes
1answer
162 views

Cannot mount partition with cryptsetup

I have a spare drive. I've attempted to format it and encrypt it. But even though the process appears to succeed and I can open the crypt, I cannot mount the newly mapped device. Here is the output of ...
1
vote
2answers
165 views

what does the fdisk output mean

what does sudo fdisk -l mean? This is the output. I installed win7 and ubuntu. Using fdisk, I got four partitions. What does each partition mean? which one is ubuntu? which one is win7? Thanks !
-1
votes
1answer
77 views

how to know partitions size [duplicate]

I entered sudo fdisk -l now I want to know how much of my hard disk belong to this partition: Device Boot Start End Blocks Id System /dev/sda2 156264318 273474494 ...
3
votes
2answers
87 views

Used dd to backup a disk, now want to look at the filesystem

I dd copied /dev/sdd sudo dd if=/dev/sdd of=backup.img sudo fdisk backup.img Command (m for help): p Disk backup.img: 143.3 GB, 143274860544 bytes 61 heads, 35 sectors/track, 131069 cylinders, ...
4
votes
3answers
3k views

Why “fdisk -l” does not give any output in terminal?

When I do fdisk -l in terminal there is no output? What can be the probable reason? How to fix it?
1
vote
0answers
22 views

Lv not showing correct in fdisk

I am working on a project with iscsi to create a iscsi-target and initiator. Right now i made a logical volume which looks like this: But when I do fdisk -l it shows: The problem is why does it ...
2
votes
2answers
414 views

Not enough space to build proposed filesystem while setting up superblock

Just bought a new external drive. Plugged it in, erased current partition using fdisk and created a new extended partition using fdisk. Used all the defaults for start and end blocks: I then try to ...
1
vote
1answer
93 views

how to mount file type

I have recently imaged some floppy disks to img files. the disks had some bad blocks. So I am trying to figure out the File system type, so that i can mount, and repair the files. I tried $ sudo ...
1
vote
1answer
209 views

Installing 13.10 alongside preinstalled Windows 8

I followed this guide to a T: http://www.everydaylinuxuser.com/2013/09/install-ubuntu-linux-alongside-windows.html However, when I get to step 6, I just see my /dev/sda and it says it's completely ...
0
votes
3answers
99 views

Disk Failure is Imminent after Partion with gParted

I was trying to partition my drive. I used gparted live iso using usb drive. It partitioned successfully but when I logged in Ubuntu again it is showing some problem in my hard drive. Error is Disk ...
1
vote
1answer
575 views

USB shows up as two drives!

I was given a free 1GB USB at an event a few months ago - however, when I plug it in to my Ubuntu laptop, the USB shows up as two drives (/dev/sdb and /dev/sdc). I have checked it isn't just ...
1
vote
2answers
1k views

How can i skip bad sector on my hard Drive?

I have one external hard drive which i plug to my linux machine. It causes read and write operation problems. When i check it with fdisk -l it wait for information to display for while. After few ...