fdisk command-line utility that provides disk partitioning

learn more… | top users | synonyms

1
vote
1answer
28 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 ...
0
votes
0answers
38 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
92 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
1answer
40 views

/dev/sdb SATA-disk does not even show up in syslogs if I plug it in while machine is running

I have Ubuntu 12.04 LTS on an Intel machine:, uname -a gives 3.2.0-38-generic #61-Ubuntu SMP [..] x86_64 x86_64 x86_64 GNU/Linux The mainboard is a Intel S3420GP board. Until recently, I cannot ...
0
votes
0answers
47 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
68 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
69 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
123 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 ...
2
votes
1answer
70 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
76 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
65 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
0answers
220 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
86 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
38 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
62 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 ...
0
votes
0answers
51 views

How to command fdisk actions to be in one single instructions?

For example: sam@sam:~$ sudo fdisk /dev/sdb [sudo] password for sam: Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk ...
1
vote
0answers
11 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
82 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
76 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
122 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
153 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
667 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% / ...
0
votes
0answers
144 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
178 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
1k 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
1k 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
0answers
1k views

Can't format MicroSD card (partition table messed up)

I was using my 32gb microSD in my LG optimus Net, and my battery died, and after charging, my phone got stuck in a boot loop. so I removed the SD card, and restored to factory defaults, I inserted my ...
0
votes
1answer
742 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
0answers
312 views

Ubuntu Wont Read My Phone Any More, fdisk Does Not Recognize It

My phone has USB Mass Storage Capabilities. It works on any other computer. It even worked on this computer at one point, then it stoped working all of a sudden. fdisk -l does not recognize it and ...
0
votes
1answer
315 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 ...
1
vote
2answers
659 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?
2
votes
1answer
613 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
347 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 ...
0
votes
0answers
90 views

C drive unable to mount, returns signal 11

I am running a dual boot system with Ubuntu 12.04 and Windows 7. When I try to boot Ubuntu, it return signal 11 on /dev/sda2 (C drive) and takes a long time to boot. Also I am unable to mount my ...
2
votes
2answers
3k 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
472 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 ...
1
vote
1answer
2k 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
393 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 ...
2
votes
2answers
2k 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) ...
0
votes
0answers
88 views

Ubuntu won't install [closed]

I get a errno 5 input/output message. Is the CD disc not oK? Or maybe some of my partions aren't ok. I tried chdsk but it didn't worked. What should I do?
1
vote
1answer
1k 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
1k 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
114 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 ...
2
votes
2answers
14k 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
484 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
0
votes
0answers
201 views

What are the benefits (or drawbacks) in creating file-system directly on hard drive rather than on a partition? [closed]

For an example, what are the advantages (or optionally disadvantages) of creating a Linux file-system (ext3 or ext4) directly on hard drive (i.e mkfs.ext3 /dev/sdb) rather than making it on a ...
1
vote
1answer
1k 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
236 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
283 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
716 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 2