Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as partitions, to treat one physical disk drive as if it were multiple disks.

learn more… | top users | synonyms (1)

2
votes
1answer
6k views

extending a partition by resize2fs

I have a 4 GB SD card. Before the image load root@ubuntu# fdisk -l Disk /dev/sdb: 3965 MB, 3965190144 bytes 49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors Units = sectors of 1 * ...
1
vote
1answer
415 views

How to realign a disk on logical volume with minimum to zero down time

A system running un-align disk partition that needs to be aligned without loss of data on all the partition including mbr with the minimum to no down time.
5
votes
2answers
1k views

Linux/GParted can see partition table but dd bs=512 count=1 can't

I have an MBR formatted sd card and when connect to a Linux machine (xubuntu 12.04) it can mount a partition and parse the file system (as can GParted). However, when I try to read the MBR from the ...
3
votes
4answers
2k views

Dual boot - Kubuntu and Windows 8 - how to?

I recently installed Windows 8 on my computer. These are the specs: Fx-8150 CPU 8 GB RAM ATI HD7870 120 GB SSD 2 TB HDD Mainboard: Gigabyte GA-970A-UD3 (rev 1.1) (only bios but EFI mode possible ...
5
votes
2answers
307 views

Rearrange partitions to install a second Linux distribution

I am new to Linux and just got some foggy idea of partition tables. To be precise here it is: Model: ATA ST3500418AS (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition ...
1
vote
0answers
32 views

Can I use a disk without partitioning it? [duplicate]

If I have a disk (whether a physical disk or a virtual disk managed by a some VM hypervisor) that I want to use as a single big partition, do I need to actually create a partition table with one big ...
0
votes
1answer
173 views

Disk Partitioning - Can't create partition

I've been following this example to restore capacity to my microSD --> SD card corrupt and stuck at 32MB, any way to fix it? Everything seems to work until I get to mkfs /dev/sdx1 It tells me ...
3
votes
1answer
817 views

Finding all partitions with filesystems

I'm writing a script that will copy all of the files on a device to a directory. The problem is that some of the devices have multiple partitions and some of the partitions don't have filesystems to ...
2
votes
1answer
93 views

fdisk. What does the “free” partition mean?

I had two primary partitions (/dev/sda1 and /dev/sda2). Then I created an extended partition to segment it into logical partitions. After I had typed fdisk /dev/sda and n (add a new partition) the ...
0
votes
1answer
2k views

Question About Bootloader Partition (Mint)

I have a quick question that I ran across while trying to install Linux Mint along with Windows 8 on my computer. I'm pretty new to Linux stuff so I'm sorry if this is pretty obvious. I'm mainly ...
2
votes
1answer
96 views

Flashing rootfs on Embedded Linux with Limited RAM

I'm fairly new to the embedded world, so forgive me if this seems obvious. I'm working on a board based off of the AT91SAM9260. I have 256MB of flash and 64MB of RAM. The current setup flashes two ...
2
votes
1answer
733 views

How to boot into FreeBSD installed in the second partition of an external drive

I have installed FreeBSD 9.1 on the second partition of an external hard disk and I'm not able to get my computer to boot from it. FreeBSD was installed using the FreeBSD memstick image dd'd onto a ...
2
votes
2answers
1k views

How to use DD to clone a partition off a disk image?

I have a disk image, it's a "whole" disk image, e.g., contains multiple partitions, and I want to clone just one of them (not the first one..) onto a partition on an external drive with multiple ...
1
vote
3answers
430 views

Why does this work: “cp image.bin /dev/mapper/loop0p1”?

Why does this work? cp image.bin /dev/mapper/loop0p1 image.bin is a partition image. I have tried it and works, but why? Shouldn't a dd be used?
3
votes
2answers
634 views

How do I name a partition?

Currently, I have a partition where Crunchbang is installed, which shows up as a folder in Mint named either 0d71227f-66fc-45ac-8bfc-93280b93dc8c or "10.0 GB Volume". First question is, of ...
4
votes
2answers
105 views

Fully seperate two accounts without installing seperate operating systems?

Our class is finally installing Mint Linux on our machines. The problem is our teacher is scared that we'll play war games against the two classes that use the computers. His solution is to install ...
2
votes
3answers
246 views

Mystery of a small 1K hard disk partition, and is it safe or malware on Ubuntu 12.04.02LTS Amd64 generic

Look at my bizarre sda4 partition. It is just 1K in size! Be mindful that this is not cluster size, this is partition size. I did not knowingly install this sda4 super small partition. This is not ...
3
votes
2answers
556 views

How to add a ms-dos partition table to a loop device?

I recently made a dd from a disk partition. I want to use it as a disk in a virtual machine. I can't because the disk has no partition table. Can I had a partition table to a loop device? how? ...
1
vote
1answer
218 views

Accessing hidden partitions [closed]

I have two disks. They're both bootable and run Linux. When I physically mount the disks, I can see scsi devices get added. /dev/sdb and /dev/sdc. However the partitions are not detected. I can't see ...
2
votes
3answers
1k views

Cannot create a partition after the 4th

When using cfdisk to partition for Arch Linux, I found that after the 4th partition, I can't make any more. I'm using VMWare Player as a VM, and I'm using a single fake HD file. Earlier I thought ...
2
votes
2answers
2k views

GPT "Type device filename, or press <Enter> to exit?

I am attempting to install Arch Linux (for the hundredth time) and I recently ran across another problem. I am trying to find a list of my partitions. In order to do this I entergdisk When I do this ...
2
votes
0answers
146 views

Block Devices & Partitions

I partitioned a microSD card (mmcblk1) into two partitions mmcblk1p1 and mmcblk1p2. If use a dedicated card reader I am able to see the entire SD card and its partitions using various disk management ...
2
votes
1answer
109 views

Partitioning. Arch vs Ubuntu manuals

I got a little confused after I had read advices on https://wiki.archlinux.org/index.php/Partitioning and on https://help.ubuntu.com/12.04/installation-guide/powerpc/directory-tree.html. Why is there ...
0
votes
0answers
55 views

I have replicated partition after I delete it using diskmgmt

I'm a linux newbie, and I messed my partition. I have 5 partition in my 500GB HD, Windows 7, Data, Data, Linux Mint and Lubuntu. I accidentally deleted Lubuntu partition using diskmgmt in Windows 7. ...
0
votes
2answers
2k views

increasing a logical volume

I need to increase the logical volume of the var directory, the maximum size of var right now is 10GB, I need to make it 50GB. I have a Centos 6 server. The output of df -h is: Filesystem ...
2
votes
1answer
559 views

fdisk, dd, and the Rapsberry pi

I was trying to wipe my 4GB SD card which acts as the hard drive for the Raspberry Pi, so I went into Mac OS X Disk Utility* and Erased the entire disk, and specified that the whole disk be one big ...
0
votes
1answer
559 views

netinstall media of CentOS 6.4 is broken?

I couldn't find a way to customize the partition schema during installation of CentOS 6.4, all these 3 options lead me directly to the "confirm disk change" screen. Was it configured to be so? ...
3
votes
1answer
929 views

Trying to install Windows on a system that has Ubuntu 12.04 installed

I'm a novice in installing & debugging OS errors. I had Windows 7 installed & it crashed today (the great blue screen). No matter what I did (tried to install Windows 7 again & again from ...
0
votes
1answer
349 views

Moving stuff off of SSD to HDD after installation. Using mount --bind? LiveCD?

I installed Ubuntu 12.10 on my SSD. /dev/sda1. No other partitions. No swap. Then I went about reading how to optimize usage, and have come to the conclusion I want my /home, /var and /tmp mounted on ...
0
votes
2answers
6k views

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem. I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
3
votes
1answer
996 views

Remount lvm partitions after OS reinstallation

I recently upgraded to Linux Mint from Ubuntu. I have overwritten /dev/sda2 which had Ubuntu. I had earlier created two logical volumes opt and virtualization from /dev/sda1. I forgot to take the lvm ...
2
votes
1answer
821 views

GParted messed up my partitions

Update: running testdisk I can actually see all of my files in /dev/sda1! I wanted to install Windows alongside my Debian installation in order to play some games. In order to do that, I had to boot ...
11
votes
2answers
15k views

How to reduce Volume Group size in LVM?

[root@localhost ~] vgdisplay --- Volume group --- VG Name vg_root System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 7 VG ...
2
votes
3answers
381 views

How to create partition in ubuntu server 12.10

I'm trying to create partition during Ubuntu Server installation(12.10).Now I have a 500GB hard disk where I need to create a partition of 200GB for root file system and another 20GB for swap space ...
4
votes
1answer
1k views

How to mount an encrypted TrueCrypt partition always in the same point?

I just formatted my external HD and divided it in two partitions: an ext4 where important information will be, and a ntfs for "compatibility" things (i.e. movies, music, etc). I encrypted the ext4 ...
4
votes
2answers
19k views

How can I expand ext4 partition size on debian

I have a drive with this configuration: fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
0
votes
2answers
60 views

Ubuntu 12 installation - partitions

I want to install Ubuntu 12 and I would like to partition my hard drive so that the OS lives in its own partition and the data in a different one. Thus if the system breaks for some reason, the data ...
0
votes
1answer
632 views

Grub with two hard drives

I am trying to install Mint14 on my machine having two hard drives : Samsung SSD PM830 SATA : 128 Gb ( sda ) - Windows 7 (i want to keep this) ST9500423AS ATA : 500 Gb ( sdb ) - ...
1
vote
0answers
142 views

/home partition recovery

Unhappy with Gnome 3 in Ubuntu I tried Mint 14. Had a backup of my home partition. During the Mint installation I designated my old home partition, and when it booted everything was fine. There ...
1
vote
0answers
37 views

Reasons for choosing primary over logical partitions [duplicate]

I guess anyone knows the benefits of logical volumes. But are there any reasons why I should choose primary partitions if I can?
1
vote
1answer
193 views

GPT Partition - Used Space immediately after creating partition [duplicate]

I wanted to try out the new GPT system, and used it to partition my new HDD, with the partitions themselves using ext4. For some reason, about 1-2% of the space in each partition is already shown as ...
2
votes
0answers
114 views

Why does my Pandaboard boot partition need to be vfat, and the rootfs need to be ext3 or ext4?

While booting Android on a Pandaboard, I am partitioning the SD card into two partitions, boot and root. They contain different filesystems. Why does the boot partition need to be vfat, while the ...
0
votes
1answer
161 views

I'm running out of room on my root partition. How do I expand it with free space?

I'm running Debian (wheezy) on my Raspberry Pi, and I apparently allocated something incorrectly when setting it up awhile back. I have a 16GB SD card, and I'm only using a couple GB for the root ...
2
votes
0answers
392 views

Multiple Linux or Unix Distributions, Same Home Partition or Data?

To avoid conflicts I have always installed multiple Linux and Unix distributions each with it's own home partion or directory, and in the era of 3TB hard drives this is often very practical; I also do ...
0
votes
1answer
110 views

/var has most of the drive space. Need / to have most of it

So when my host setup my dedi, they seemed to apply most of the drive space to /var I am on cpanel, and need most of the space for the /home directory where all the accounts and data are. But on ...
0
votes
1answer
1k views

How to make “/home” partition after installation completed in Fedora 18?

I've installed Fedora 18 Spherical Cow with the new installer and I created 3 partitions from free space on the hard drive (/, /boot and swap). After I completed the installation, I figured out that ...
0
votes
2answers
335 views

Explanations of an Android image build script

I was getting one program for partitioning SD card.I have given that script below: #!/bin/sh if [ $# -lt 2 ]; then echo "example usage: $0 /dev/sdc \$ANDROID_ROOT" exit 1 fi DRIVE=$1 ...
1
vote
1answer
94 views

Really umount external drive

I had a USB drive mounted on /dev/sdb1 and I want to reformat from NTFS to ext3. I did umount -l which unmounted the disk. I deleted the old partition using cfdisk. I ran mkfs.ext3, but got the error: ...
0
votes
0answers
58 views

Boot disk unavailable

Background I've got one 32GB SSD that I have Ubuntu 12.10 installed on (this drive is encrypted), and two 1.5TB drives that will serve as storage and backup respectively. I have formated both drives ...
5
votes
2answers
4k views

Linux Mint freezes on startup

Premise I am running Linux Mint on my sister's computer. Everything was working fine, but than one day she turned it on and she got a strange message she didn't understand. I think it was some kind ...