fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

1
vote
1answer
3k 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
19 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
57 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
993 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
18 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
29 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
108 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
25 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
59 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
43 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
50 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
223 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
40 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
86 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
72 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
30 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
55 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
48 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
33 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
195 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
213 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 ...
1
vote
0answers
12 views

Mounting disk being used on RAID

I have a server with two 2 TB drives (so 4 TB total capacity). But because of RAID only 2 TB is available for storage. I would like all 4 TBs to be available for storage. This means disabling RAID and ...
0
votes
1answer
125 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
141 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
64 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 ...
0
votes
0answers
45 views

disk image creation outputs zero sized cylinders

I use the following command to create a disk image dd if=/dev/zero of=/tmp/image.ext2 bs=1k count=100000 This is the odd observation, the output of fdisk -l image.ext2 this instruction on my ...
3
votes
2answers
58 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
20 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
271 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
85 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
185 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
65 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
458 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 ...
1
vote
0answers
214 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 ...
0
votes
0answers
95 views

external firewire hard drive

I have a 320Gb external hard drive that has both usb and firewire. When i try and fdisk -l using the firewire connection i get this result. Disk /dev/sdc: 320.1 GB, 320072933376 bytes 255 heads, 63 ...
2
votes
1answer
163 views

What is the “Loop” partition in ubuntu?

I'm a new user to Ubuntu, to just installed and used the command sudo fdisk -l. I found out that my Windows partition is SDA and my ubuntu is loop. What is this loop thing?
1
vote
0answers
221 views

NTFS Corrupted HDD

I just installed a new HDD in my computer. I booted up and formated it in NTFS and copied about 500 GB of Videos onto it. My computer (few hours later) froze while a was watching a video off that ...
1
vote
0answers
79 views

my external HDD has stopped working Need help to backup the files

I have got a 320gb external hdd (seagate) and few days ago it stopped working.. when connect to a PC i can see the hdd is connect but can not view the files inside it... when used in windows 7 OS the ...
0
votes
0answers
64 views

Can fdisk from Ubuntu 11.04 be used to fix a 12.04 disk

Can fdisk from a previous version of Ubuntu be used to repair a disk that has 12.04 on it? I am in a situation where I can not boot from 12.04 (not via USB, CD is too small and DVD wont boot) so I ...
4
votes
1answer
6k 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
38 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 ...
1
vote
3answers
189 views

sudo wipe command in terminal error

I did the command sudo wipe /dev/sdb where /dev/sdb is my 1TB HDD and I got a "command not found" message. How would I be able to prepare the drive for new OS? Wipe it, I mean. Thanks
0
votes
2answers
5k views

Add two new HDD in Raid 1

I just made a fresh install of Ubuntu 12.10 on a new SSD (/dev/sda). Now I would like to add two 1TB drives (/dev/sdb /dev/sdc) in RAID 1 but I'm pretty clueless on how to do it. This is what I came ...
0
votes
1answer
67 views

Create partition on new raid1 hardware

In future, I'll need to add more 2 disks over RAID1 on my ubuntu server. I already has a RAID1, but I have more 2 slots in my server and I'll put there more 2 disks to create another RAID1. I never ...
1
vote
0answers
3k 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 ...
10
votes
3answers
48k views

How to resize / enlarge / grow a non-LVM ext4 partition

I have already searched the forums, but couldnt find a good suitable answer: I have an Ubuntu Server 10.04 as KVM Host and a guest system, that also runs 10.04. The host system uses LVM and there are ...
1
vote
1answer
2k views

Why is my “sudo fdisk -l” output so messy?

How do I fix this and is it even a problem. sudo fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * ...