fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

0
votes
0answers
7 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, ...
2
votes
3answers
2k 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
14 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
70 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
116 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 ...
1
vote
1answer
110 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
32 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
86 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
142 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
402 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
127 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
42 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
66 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
195 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
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 ...
1
vote
0answers
51 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
58 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 ...
2
votes
1answer
225 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
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 ...
1
vote
3answers
91 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
306 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 ...
0
votes
2answers
3k 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
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
60 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
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 ...
8
votes
3answers
33k 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

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 * ...
2
votes
2answers
4k 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 ...
3
votes
2answers
226 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
963 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
536 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] ...
0
votes
0answers
374 views

How to convert an extended partition to a type of Linux raid autodetect? (trying to setup raid-1)

I am using this tutorial: http://www.howtoforge.com/how-to-set-up-software-raid1-on-a-running-system-incl-grub2-configuration-debian-squeeze Unfortunately the above tutorial is outdated for Ubuntu ...
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 ...
1
vote
1answer
3k 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 ...
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 ...
2
votes
1answer
3k 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: ...
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 ...
0
votes
0answers
546 views

Mounting a partition and chroot

I'm in the process of recovering my server's files in a "Rescue" mode. Its a Ubuntu 12.04 with 2x3TB in RAID1. The instructions were to SSH into the server in "Rescue" mode, mount the partitions, ...
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
253 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
229 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 ...
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
544 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 ...
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 ...
2
votes
2answers
128 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 ...