fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

1
vote
2answers
322 views

Problem when creating new partitions?

I've created a new disk partition by sudo fdisk /dev/xvda1 and the following commands: n p 1 Enter Enter w After, when I want to change the partition system file into xfs by sudo mkfs.xfs -i ...
1
vote
0answers
284 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 ...
1
vote
0answers
337 views

Buffer I/O error on device sdb after dmsetup

I reinstalled a server which was obsolete for its normal business. There is a RAID controller inside with 2 HDD's (80GB each, with Ubuntu 12.04.2 Server installed) and 4 SSD's (32GB each) with a ...
3
votes
1answer
297 views

How to get rid of a zero-size invisible partition left after deleting Windows boot partition

Computers sold with pre-installed Windows 7 have a small "System Reserved" boot partition at the beginning of the disk which is not really necessary as Windows can boot alone or alongside Ubuntu ...
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 ...
3
votes
1answer
1k views

Changes to SD card undone after re-mount (e.g. deleted files re-appear)

After having a corrupted file system on my SD card due (probably due to unsufficient power supply) I want to make a new filesystem. (e2fsck fails, log below.) However, any file-related changes on the ...
2
votes
2answers
157 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 * ...
1
vote
1answer
75 views

Which files refer to unallocated partition?

# fdisk -l Disk /dev/sda: 34.4 GB, 34359738368 bytes 255 heads, 63 sectors/track, 4177 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes ...
2
votes
1answer
166 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 ...
1
vote
0answers
14 views

Why fdisk disk size use 1000 not 1024 to calculate? [duplicate]

Possible Duplicate: Why is my storage partition xxGB, when Disk Utility, and Gparted say otherwise? I found that 429496729600 bytes change to 429.5 GB is calculated by 1000. But Units = ...
1
vote
1answer
86 views

Add Ubuntu live to another ubuntu+windows system

I've got Win7 in a ntfs-partition and lubuntu 12.10 in another one. **sudo fdisk -l** Disco /dev/sda: 160.0 GB, 160041885696 bytes 255 cabezas, 63 sectores/pista, 19457 cilindros, 312581808 ...
1
vote
1answer
120 views

Recovery after installing ubuntu

I know this question has been asked many times and even I have asked it once...But as today I came to know about fdisk so thought of posting it so that someone having good knowledge can help me ...
0
votes
1answer
632 views

Linux Partition is not shown by fdisk

I want to reinstall my grub boot loader but when I boot Ubuntu from USB and type sudo fdisk -l on terminal, it don't show my linux partion which I need to know to reinstall grub.I had used this ...
2
votes
1answer
621 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 ...
2
votes
2answers
2k views

Ubuntu 12.10 - where are block devices of whole disk /dev/sda /dev/sdb

I have server in OVH with newest Ubuntu 12.10, but where are block devices of whole disk? root@ns:~# df -h Filesystem Size Used Avail Use% Mounted on rootfs 222G 2.4G 208G 2% / ...
2
votes
1answer
730 views

cannot format a fat filesystem, getting error “Both FATs appear to be corrupt. Giving up.”

I am trying format an FAT (or FAT32) file system on my ubuntu system, but I am not able to format the device, each time I am getting the error Both FATs appear to be corrupt. Giving up. I have tried ...
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 ...
2
votes
1answer
4k views

My WD 1TB external HDD is not mounting

I am getting this error when I click on devices list: DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending and when I remove the device, it says: Error mounting: ...
0
votes
1answer
993 views

I recreated my root partition using fdisk (resized it), but now the filesystem is corrupt

I was under the impression that i could resize my root partition, recreate it using fdisk but only larger. And then reboot, and do an online filesystem resize with resize2fs. however, that doesn´t ...
0
votes
1answer
667 views

Having issues using fdisk and GParted with Lexar 64GB USB, but reading and writing is fine

I have recently bought a new 64GB Lexar USB with the long model name of LJDV10-64G-000-106, and I am having issues partitioning it. I am able to mount, read and write to the USB without any issues but ...
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?
3
votes
1answer
3k views

swapon --all --verbose : 'read swap header failed: Invalid argument'

Recently ran through EnableHibernateWithEncryptedSwap and ran the following command: swapon --all --verbose and received: 'read swap header failed: Invalid argument' How do I fix this? Here's some ...
3
votes
1answer
2k views

After making partition, I couldn't see device (/dev/sda3)

I made a partiion sda3 using fdisk, but after that, I don't see /dev/sda3. If I fdisk -l, I see this. test@jylenovo:~$ sudo fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 ...
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 ...
1
vote
2answers
1k views

FDISK Logical Partition

I have tried to create a logical partition via Fdisk for a flash drive. The problem is that I choose the option -n to create a partition, of course , and fdisk gives me only two options "extended and ...
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
1answer
4k views

Questions on Loop Devices and Mounting a Disk Image

The commands are from here: Mount disk (device) image About the first command' I need to "Calculate the offset from the start of the image to the partition start", but don't know what the numbers ...
0
votes
1answer
784 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 ...
3
votes
2answers
6k views

mkfs.vfat: unable to open /dev/sdg1: Device or resource busy

I am using a script from http://www.angstrom-distribution.org/demo/beagleboard/ that uses mkfs.vfat and mkfs.e2fs to create 2 partitions on a sd card but I get mkfs.vfat 3.0.12 (29 Oct 2011) ...
1
vote
1answer
2k views

Raid Shows Up as Multiple Drives - Can't Mount

I have a single hard drive that the OS is installed on and I have Sil raid card installed with two matching 500GB hdds set up in Raid 0 and formatted- they're completely empty. For whatever reason ...
1
vote
2answers
3k views

How to install gpt fdisk 8.4 in Kubuntu 12.04

I'm using Kubuntu 12.04 (64bit). The Ubuntu repos contain gpt fdisk 8.1 which is not the latest. The latest version is 8.4 and it contains some bug fixes I want to have. I downloaded the latest deb ...
1
vote
2answers
176 views

Missing space in Win95 fat32 partition

I'm trying to set up an 8GB USB drive a persistent live boot. The tutorial I am using told me to use fdisk and create two partitions. The first partition is supposed to be just large enough to hold ...
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
1k 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
1
vote
1answer
4k 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 ...
1
vote
1answer
623 views

LVM tries to de-activate in use volume at shutdown and partition alignment concerns

Is it okay to have root file system on a lvm2 logical volume? Because, I always get the following error on every time I reboot or shutdown the machine. Can't deactivate volume group "vgSystem" with 1 ...
1
vote
1answer
545 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:~$ ...
1
vote
1answer
1k 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 ...
1
vote
1answer
358 views

Why doesn't Ubuntu read my disk partition? [closed]

The answers to similar questions have not been useful to me. I installed Ubuntu 11.10 with Wubi on Window 7. My HD has two main partitions: C and D. Ubuntu is installed in C, where all my media ...
2
votes
1answer
213 views

How much space do I need to create a backup with fsdisk

I get this error when mounting a drive [ 4337.380506] EXT4-fs (sda): bad geometry: block count 156282966 exceeds size of device (156282701 blocks) So if I try to fix it with sfdisk do I need space ...