fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

0
votes
1answer
10 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
36 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
20 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
8 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
28 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
17 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
78 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
43 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 ...
0
votes
1answer
140 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
34 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 ...
0
votes
0answers
91 views

lsblk and fdisk show no filesystem on hfs+ OS X partition

A b-tree node error has caused my macbook (Mavericks) to crash. Disk Utility and /sbin/fsck -fy do not fix the problem. So, I am running Ubuntu 12.04 LTS live on a USB stick in an effort to grab my ...
1
vote
1answer
118 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
147 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
128 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
48 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 ...
1
vote
0answers
53 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
59 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 ...
1
vote
2answers
413 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 ...
2
votes
1answer
249 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
70 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
35 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
0answers
307 views

Error while creating new partition on SD card

My SD card was locked, using a Nokia phone, and I had forgotten the password. So I cleared the SD card in my Ubuntu 13.10. When I tried to create a new partition, it showed the following error: Error ...
1
vote
3answers
93 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
0answers
27 views

fdisk yielding different results between kernel versions

I wrote a small script to calculate partition sizes based on some set rules ( 1 GB for /boot, 8 GB for swap, 30 GB for /, 30 GB for /var, and the remaining space split 40%/60% between /home and a ...
0
votes
0answers
154 views

GParted/fdisk gives wrong size for drive

I have an 8GB USB Memory stick that I want to format. When I call fdisk -l, I get the following: Disk /dev/sdc: 1004.6 GB, 1004611174400 bytes 255 heads, 63 sectors/track, 122137 cylinders, total ...
0
votes
1answer
61 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
1k 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 * ...
3
votes
2answers
234 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
983 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 ...
1
vote
0answers
539 views

USB drive not recognized, doest now show in lsusb or fdisk -l

I have a Ubuntu ppc install: Linux mini 3.2.0-17-powerpc #27-Ubuntu Fri Feb 24 15:40:47 UTC 2012 ppc ppc ppc GNU/Linux When I plugin an usb device I get the following in dmesg: [1253131.264079] ...
1
vote
0answers
2k 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
1answer
4k views

How do I create a backup image of an SD card?

I am quite new to Ubuntu and i have to copy my SD-Card to my hard-drive I know that i have to mount and unmount it but i have the problem, that the following line doesnt work: dd if=/media/oneiric ...
1
vote
0answers
74 views

I cannot boot my ubuntu desktop

I'm new to managing hard disks, and was editing partition table. Today, I accidentally restarted my ubuntu after deleted partition(/dev/sda1, /dev/sda2/, /dev/sda5) and before create new partition ...
2
votes
0answers
321 views

Ubuntu 12.04 boot crash - cannot locate sda

my hardware: Asus Eee PC 901go, Ubuntu 12.04. System has crashed and doesn't boot without USB Ubutnu 12.04 stick. When trying to load normally (when choosing Ubuntu newest ver. via Grub) I get blank ...
1
vote
2answers
231 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
255 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
235 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
230 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
197 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 ...
0
votes
0answers
96 views

Trying to fix a corrupted ntfs through ubuntu. Could I get some code help?

Windows won't boot but I think both my HDDs still work because they are recognized in other computers and in BIOS. I'm trying to fix them through Ubuntu USB using this tutorial on ...
2
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
129 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
66 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 ...
1
vote
1answer
124 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
12 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
85 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
108 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
532 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
505 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% / ...