fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

0
votes
1answer
17 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
24 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 ...
2
votes
0answers
37 views

Create correctly and mount custom drive image

What i'm trying to accomplish is to create a custom usb drive image from scratches and to mount its filesystem locally, using an old image taken from a usb drive i own as a model. What i did at first ...
0
votes
0answers
14 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
19 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
0answers
46 views

Unable to access ntfs partitions from Seagate 1.0TB USB HDD in UBUNTU 14.04 Installer [closed]

I am new to Ubuntu and I wanted to try it alongside Windows 7. I used to have Ubuntu installed on my USB drive but I formatted the partition and now when I am trying to install it again I cannot see ...
0
votes
1answer
17 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 ...
0
votes
1answer
22 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
37 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
130 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
0answers
54 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
42 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
331 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
108 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
49 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
71 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 ...
0
votes
1answer
563 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
49 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
159 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
88 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
61 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
61 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
36 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
237 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
259 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
147 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
151 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
68 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
52 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
73 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, ...
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
341 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
89 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
2answers
4k 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
3answers
79 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
203 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
530 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
0answers
229 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
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 ...
4
votes
1answer
9k 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 ...
2
votes
1answer
238 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?
0
votes
1answer
39 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
238 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
1answer
68 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
1answer
3k 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 * ...
5
votes
2answers
954 views

The state of partitioning tools?

What is the state of partitioning tools in Linux? Which tools are recommend and which should I stay away from? Namely I am interested in fdisk, cfdisk, sfdisk and the fdisk and cfdisk variants that ...
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 ...