Questions tagged [fdisk]

fdisk command-line utility that provides disk partitioning

Filter by
Sorted by
Tagged with
51 votes
2 answers
206k 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 ...
gth's user avatar
  • 1,433
22 votes
3 answers
146k 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 ...
Mischa's user avatar
  • 325
3 votes
1 answer
4k views

Mount dd image for my USB

I'm trying to mount a .dd image. I followed 2 methods without success ... Method 1 1st step: root@evilcode1:/root# blkid qassam.dd qassam.dd: UUID="524F4B6665E82B4E" TYPE="ntfs" 2nd step: I ran ...
evilcode1's user avatar
7 votes
2 answers
3k views

In Ubuntu ISO MBR, why does a GPT partition overlap the boot partition, and make MBR uneditable?

Question and context: In the MBR partition table of distros like for example ubuntu-16.04-desktop-amd64.iso, why does a GPT partition appear to overlap the primary boot partition? This seems to ...
Elliptical view's user avatar
2 votes
2 answers
4k views

How to make an external hard drive bootable with unetbootin?

The SATA hdd is connected with a USB adapter cable. How is unetbootin used to write an ISO image: to an external hard drive for installing Ubuntu? It's not clear that unetbootin is listing the ...
Nicholas Saunders's user avatar
16 votes
2 answers
15k views

Text User Interface for fdisk?

Is there a TUI for fdisk ? Where can I get it from and how can I use it? I would like one which is in the ubuntu repos
Amith KK's user avatar
  • 13.4k
2 votes
2 answers
5k views

How to setup a 6TB HD on Ubuntu

I just bought a 6TB HD from WD and I cannot make bigger partitions than 2TB. I looked up in some tutorials like this one, but I still have the problem that fdisk, parted and lsblk display that there ...
metty's user avatar
  • 21
0 votes
1 answer
4k 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 ...
Drp RD's user avatar
  • 161
0 votes
0 answers
1k 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 ...
Jacajack's user avatar
  • 694
0 votes
2 answers
9k 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 ...
Nin's user avatar
  • 791
9 votes
3 answers
13k views

File system has become read-only after updating to 15.04?

I stupidly decided to update from 14.04LTS to 14.10 and then 15.04. Since doing that, my website has gone down and file system has become read only. I have no idea what has gone wrong, as the updates ...
Lewis Lebentz's user avatar
7 votes
2 answers
3k 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 ...
Grumbel's user avatar
  • 4,719
6 votes
2 answers
37k 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 ...
Tanmoy's user avatar
  • 71
4 votes
1 answer
41k views

how to completely reformat a usb using fdisk?

I have a usb drive which I would like to put a linux distribution on but it already has some files on it on /dev/sdc1. Using fdisk, I deleted the first partition and wrote the changes. When I ...
user784637's user avatar
  • 10.9k
4 votes
2 answers
5k 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 ...
user196969's user avatar
3 votes
1 answer
10k views

How to find superblock?

I am trying to find the superblock with dumpe2fs command, but with this output there is no information about superblocks.
Ani's user avatar
  • 31
3 votes
1 answer
13k 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/...
makavenne's user avatar
2 votes
1 answer
687 views

where did my 766 kb in partition go?

I used fdisk -l and saw this. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size ...
Gaurav Sharma's user avatar
2 votes
2 answers
9k 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 ...
mR_fr0g's user avatar
  • 121
2 votes
1 answer
944 views

how to use the free space after increasing the size of the disk on VMWare Workstation

I have ubuntu installed in a VM run by VMWare Workstation. I was able to increase the size of the disk via VMWare Workstation to 70Gb (which I see on the line Disk /dev/sda: 70 GiB) but I cannot ...
Ted's user avatar
  • 21
1 vote
1 answer
400 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 ...
Jeroen's user avatar
  • 13
1 vote
1 answer
181 views

Why don't all programs recognize certain drives that have mounted at startup?

My internal Samsung 970 EVO 500 GB drive contains my OS. I have two Crucial internal solid-state drives that contain files, and have defined symlinks so that I can get to them from ~/Documents. I've ...
Dan Green's user avatar
1 vote
1 answer
2k views

Instructions to mount an internal hard drive?

How do you mount an internal hard drive? I have a 500GB internal hard drive that has both linux and windows 7. Upon booting up I decide which one to use. My windows 7 OS has a user, which requires ...
user784637's user avatar
  • 10.9k
1 vote
1 answer
1k views

MP3 Player: "This does not look like a partition table"

First of all, I'm not sure if this belongs on AskUbuntu. I'm sorry if it doesn't. When I ran sudo fdisk -l I get some messages that worry me. This is the output: > robin@robin-Latitude-D620:~$ ...
RobinJ's user avatar
  • 8,910
1 vote
1 answer
10k views

Partition 2 does not start on physical sector boundary

I Installed Ubuntu erasing Windows couple of days ago. Now Ubuntu is using the entire HDD. When I run fdisk -l result shows something like: ......... Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 ...
alaminio's user avatar
0 votes
1 answer
72 views

Partition doesn't show after formatting failed

Installed ubuntu alongside windows (windows doesnt show in boot menu that is another issue) After loggin in to ubuntu, I formatted a partition (not one which the OSes were installed on. It had just ...
Viral Patel's user avatar
0 votes
1 answer
2k 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 ...
Joel Bailey's user avatar
0 votes
0 answers
263 views

Dual boot disks not being detected and nouveau unknown chipset

I have a Dell XPS 15 and have a dual boot setup with ubuntu 16 and windows 10. It was working fine then one day randomly ubuntu stopped loading and i started getting the error: [ 2.597747] nouveau ...
Aymen Rizwan's user avatar