fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

0
votes
0answers
29 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
18 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
23 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
23 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
104 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
84 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
10 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
75 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
104 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
44 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
20 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
37 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
18 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
170 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
71 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
1k 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
49 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
154 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
255 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
179 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
72 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
67 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
60 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
611 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
2k 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
95 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
36 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
317 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
124 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
210 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
65 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
2k 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 * ...
4
votes
2answers
392 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
1k 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
564 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
5k 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
80 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 ...
1
vote
0answers
343 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
268 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
260 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
276 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
259 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
208 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
142 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
69 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
144 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 = ...