fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

2
votes
2answers
10k 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 ...
2
votes
2answers
225 views

Having trouble with mounting the hardisk

My Seagate USB hard disk won't mount. fdisk -l reports: Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * ...
0
votes
2answers
177 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 ...
3
votes
1answer
235 views

whats going on with fdisk?

I was trying to find the device mount point of my smart phone, when I ran sudo fdisk -l and saw something more curious. ... Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of ...
2
votes
1answer
1k views

USB stick 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 ...
2
votes
1answer
903 views

Increase size of partition (ext4) or automount it

I wish to increase size of my / partition (current size 21 GB), is that possible somehow? I have more free space available, but don’t know how to add it into the existing partition. I have created a ...
1
vote
1answer
129 views

Automated Shell script to run fdisk command with user input

I'd like to create a bash shell script that can run commands and provide input as if I was typing it on the terminal. I have written bash shell scripts before and understand how to but I'm a bit ...
1
vote
1answer
274 views

why fdisk doesn't show free space and cfdisk does?

root@mik-Aspire-E5-571:~# lsb_release -a|grep Ubuntu Distributor ID: Ubuntu Description: Ubuntu 15.04 root@mik-Aspire-E5-571:~# root@mik-Aspire-E5-571:~# fdisk -l /dev/sda Disk /dev/sda: 465,8 ...
1
vote
1answer
5k views

no media detected on a usb flash drive

I have a Kingston DT MicroDuo 3.0 and it was working fine till it didn't mount on Windows, Mac nor Ubuntu It appears in the disk utility as /dev/sdd and in the volumes area it shows no media detected ...
1
vote
1answer
483 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
vote
1answer
221 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 ...
1
vote
1answer
2k views

Ubuntu 13.04 doesn't see my 2TB hard drive

I have a small problem. I switched today from Windows 7 to Ubuntu 13.04 on my home PC. I have installed 3 hard drives - 250GB, 500GB and a 2TB. On the 250GB I have installed the system - clean ...
0
votes
1answer
106 views

Different file system types in fdisk; no HPFS/NTFS

I am running Ubuntu 15.10 and trying to format a USB drive to load a Windows ISO on. Every tutorial has you install ntfs-3g so that you can format to NTFS using fdisk, hex code 7. But when I go to ...
0
votes
1answer
26 views

How do I fix my partitions?

I installed Ubuntu for an rPi 2 on an 8GiB micro SD card. However, when I subsequently set about installing software I ran out of space. That's because I forgot to repartition immediately after ...
0
votes
1answer
95 views

Large Sized HDD not recognized correctly?

Hello I have a question with newly installed HDD for my ubuntu file server. Motherboard: P7P55D-E LX<br> New HDD: WD NAS RED 4TB<br> OS : Ubuntu 14.04.1<br><br> ---------------...
0
votes
1answer
510 views

The CRC for the main partition and back up partition table are invalid

I've been having problems with my HDD since I tried dual booting ubuntu 14.04 with windows 8.1. When I was installing from the ubuntu installer I was receiving "input/output error during write on /dev/...
0
votes
1answer
50 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 ...
0
votes
1answer
32 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
0
votes
1answer
2k 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
1answer
367 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 ...
0
votes
1answer
41 views

Partitions appear larger than supposed to be

I've resized my C:// (Windows7) partition by 41GB, hence made it smaller and Merged the extra space with the other Data Partition I had. Now Ubuntu is 'seeing' both partitions as larger when compared ...
0
votes
1answer
1k views

Merge partitions (that aren't next to each other)?

All, So I've already read through quite a few threads, but didn't quite find an identical situation. I have 4 partitions, and I want two. I'm running Ubuntu 10.04.1 LTS. I have gParted installed (KDE ...
2
votes
0answers
37 views

What is the partition type ('t' command) in fdisk good for?

I can't understand the difference between the filesystem specified using fdisk's command line interface with t. And the one used to format it later using say mkefs. Why do we need to specify it twice?...
2
votes
0answers
143 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 of=...
1
vote
0answers
13 views

How can I split a partition in a RAID1 array on ubuntu?

I just purchased a brand new server on OVH with disk specification: 2 x480GB of SSD SOFT. When I do df -h, the output is: Filesystem Size Used Avail Use% Mounted on /dev/root 20G 13G ...
1
vote
0answers
169 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 ...
1
vote
0answers
887 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 sectors/track,...
1
vote
0answers
25 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 ...
1
vote
0answers
328 views

How to expand the ext4 partition of virtualized Ubuntu running on top of CentOS/QEMU?

My company is running Xen--VMs run on top of CentOS/QEMU. Recently a customer using virtualized Ubuntu asked that his HDD space be increased. Now, with Windows, this is a joke. You type the new size ...
1
vote
0answers
4k views

Data Recovery from a MicroSD in Ubuntu

I have a microSD card that was in a camera that got hit by a rally car... I'd like to recover the videos that are on the card, but I'm not having much luck. I've tried mount it using an external ...
1
vote
0answers
416 views

No device file for partition in /dev/

I did partition /dev/sda1 using fdisk. After creating two partitions, saved the table. And rebooted the server. But there is no device file present for new partitions. :~$ sudo fdisk -l Disk /dev/...
0
votes
0answers
22 views

creating an elaborate partition table (13 partitions)

I'm trying to create a partition table for an Android system to use on the odroid-c2 board but the table I need to create is so complicated; it consists of 13 partitions as shown in this link I tried ...
0
votes
0answers
40 views

LiveUSB install ubuntu-14.04.4-server-amd64 inconsistent results

Ok folks, I need your input please, I've spent a week on this one. There are a few things going on and I am not sure of the exact issue so I will detail the whole problem. My company got a demo unit ...
0
votes
0answers
12 views

Repartitioning on dual boot machine

Years ago, when Redhat failed on LILO, I was given an Ubuntu CD and booted from it. From there, I could see how the partitioning was set up. I was not only able to correct the issue with finding ...
0
votes
0answers
50 views

mount xbox 360 formated disk

I have a game save data on a usb pen drive. Ubuntu doensnt recognize the disk file system though. I used the command fdisk -l, and tried installing netware 386 packages, but the disk still wound ...
0
votes
0answers
39 views

Ubuntu disk msdos partition fix reverse order

the disk info Hey.. I just made a mistake trying to convert a primary into a logical partition. and then it become a disaster to me.. my original disk partition: /dev/sda1 Windows Disk C, ntfs /...
0
votes
0answers
58 views

Server partition problem /boot full

we are using a 1un1.de server which comes with a very strange arrangement of partitions. I need to reallocate the space from /data to / because / has only 4GB in total and /data has all the space in ...
0
votes
0answers
107 views

disk in fdisk but not by-uuid

I have 3 disks that are showing up in fdisk, they appear to partition correctly but 2 of them (sdc and sdd) won't show up in /dev/disk/by-uuid. My fdisk output looks like this, _____@_____:~$ sudo ...
0
votes
0answers
42 views

Formatting a disk as a single partition

Up until recently, I used to be able to create a volume on AWS, then format it ans use the entire disk as a single partition. I tried doing the following: Crate a volume using the AWS EC2 admin ...