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)

0
votes
1answer
54 views

Migrate /home to another physical drive

I recently cleared about 500GB of junk from my HDD. Since I'm pretty low on space on my Arch install, I figured I'd dedicate 200GB of that to /home. Problem is that my /home partition is located on my ...
1
vote
1answer
92 views

Fix LVM physical volume definition after removing /dev/sdb

Recently I set up LVM partition with an new disc /dev/sdc. I created the LVM with the following commands: pvcreate /dev/sdc vgcreate data /dev/sdc mkfs.ext4 /dev/data/srv tune2fs -m 0 ...
1
vote
1answer
33 views

Two HDD partitions with the same name result in uncertain directories

I'm running Ubuntu 14.04 on a machine that has a lot of hard drives plugged into it. These hard drives have partitions with old OS's which have a lot of key data that I use often. The problem is, I ...
-3
votes
1answer
75 views

Windows installer complains that it can only be installed on a primary partition

I have Linux mint installed on my system as primary partition. I want to install windows 8 along side with it (Dual boot). But when I try to install windows 8 installer says (windows can only be ...
3
votes
2answers
77 views

Can I partition around a bad block on a harddrive?

I used a computer too much, running a script for many weeks. Eventually, Debian printed a thousand errors and shutdown, and won't start again. When I ran DBAN on the drive, to write 0's to the disk ...
4
votes
2answers
14k 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 ...
4
votes
1answer
233 views

Partially overwrote /dev/sda, can I recover anything?

I was messing around with my new hard drive, which only contains some personal files, and to check its write speed, I typed: sudo dd if=/dev/zero of=/dev/sda, /dev/sda/ being the new 2 TB connected to ...
0
votes
2answers
45 views

change boot order

I have 2 partitions sda1 XP and sda2 CENTOS. I have reinstalled grub on /dev/sda but on rebooting, I experienced: error : 22 no such parition for Centos; while Windows boots charmingly on the other. ...
1
vote
1answer
87 views

Select drive partition table in preseed file automated Debian install

I am using a preseed file for my Debian installs. I am using 1TB drives, and I would like to use MS-DOS partition tables. It is defaulting to GPT. Is there a way to choose which type of table to ...
2
votes
2answers
1k views

Fedora 20 and windows 7 can't create partions

I have installed Windows 7 SP1 in my laptop. I have 4 partitions: System reserved (Primary partition): 100mb C (Primary partition): 70GB D (Logical partition): 150GB E (Logical partition): 175GB I ...
0
votes
1answer
44 views

Prevent linux from auto scan and mapping partitions on some disk [closed]

TL;DR Linux scan disk (for example /dev/sdc) and add files to address partitions on that disk (for example /dev/sdc1) - how can I tell Linux to not do that for some disk? Long story: I used VM ...
2
votes
0answers
87 views

Dual boot Linux partition scheme with encryption

I am trying to figure out how I should encrypt my machine. I am reorganizing and will have two 500GB drives. I am setting up a dual boot system (both linux). My prospective partition scheme: sda: ...
2
votes
1answer
634 views

Boot partiotionless disk with syslinux

A file system can be configured to span a complete disk, omitting any partition table. Notice intentionally the command to do so does not use /dev/sda1 but the raw, unpartitioned device instead. ...
0
votes
2answers
37 views

Know which partitions are primary and which logical

I have Windows and Ubuntu installed on the same laptop. How can I know which partitions are logical or primary using the command line?
14
votes
6answers
29k views

How to partition 22TB disk?

I have a 22TB disk on /dev/sdb. How do I create a 22TB partition? Don't really care about the file system - ext4 or zfs is fine. Running CentOS 6.2 - Partition will be used as a data dump. Only a ...
0
votes
2answers
45 views

Is there any danger in changing the labels of my hard drives?

I've have both Ubuntu and Arch installed on my computer, and want to change the labels of the / and /home partitions (four in total), to make it clear which is which. Can this potentially break ...
1
vote
1answer
40 views

Install Ubuntu partitions

I am a completely newbie. I want to install Ubuntu 14.04 in my laptop on which windows 8.1 is installed. I have read in some sites that I have to use Gparted or similar tools, but there are also sites ...
1
vote
0answers
36 views

How to repair lost gpt partition table?

I have a 3TB Seagate. The disk was from an raid system and had 1 partition sdb1 with 3TB and ext4 filesystem. As i wanted to prepair a new disk for a raid, i exchanged in sgdisk sdb1 with an raid disk ...
6
votes
2answers
1k views

How to properly unplug/plug removable LVM2 device?

How to properly unplug (remove) and later plug (insert) removable (hot-plug, usb etc) storage device with LVM2 on it ? I've found this note Remove (unplug, eject): lvchange -an ...
1
vote
1answer
84 views

Swap partition in LVM?

I was wondering if putting the swap partition into a logical volume group has any drawbacks (e.g. performance), or would it be "just the same" as having it as a separate primary/logical partition? I ...
2
votes
2answers
158 views

dd to clone to smaller sdcard

One of my Raspberry Pi's is using a 4GB SDcard for the root/boot filesystem. As seen when mounted on another system: Disk /dev/sdc: 3904 MB, 3904897024 bytes 121 heads, 62 sectors/track, 1016 ...
2
votes
1answer
88 views

Extend partition size without unmounting it

I would like to create an image of a Linux Mint disc. Then I'd like to copy it to a bigger disc and extend its partition to the full size of the disc. I have already copied the disc using WinImage ...
0
votes
0answers
134 views

Forced reread of partition table: difference between BLKRRPART and BLKPG ioctl? (Linux)

When I want Linux to consider newly created partitions without rebooting, I have several tools available to force a refresh of the kernel "partition cache": partx -va /dev/sdX kpartx -va /dev/sdX ...
9
votes
1answer
351 views

How can Solaris sub-partitions be accessed in FreeBSD?

First of all, Linux detects the partitions: sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 > However, FreeBSD 9.0 shows only the main partition. Is it possible that only Solaris ...
0
votes
1answer
105 views

Windows 7 not working correctly after partition resize

I resized the Windows partition from Linux in order to be able to install Elementary OS. After resizing I tried booting to Windows, however it asks to boot normally or in recovery mode. When I select ...
0
votes
2answers
51 views

On Arch Linux Partitioning [closed]

I've been going through the Arch Linux beginner's guide and I'm a bit confused on partitioning the OS. It says I can either have just a root partition or a root and /home partition. What are the ...
3
votes
1answer
64 views

Sharing partitions in qemu

Apart from networking and partition sharing I've made qemu work pretty much like I want it to. I've got a bit of a special setup, I need to pass through /dev/sda, /dev/sda1 and /dev/sda2. (Is it ...
1
vote
0answers
113 views

How to find hidden partition of a USB in linux

I have a USB, which has a protected partition. I think this USB has hidden partitions, which I can't see them. $ fdisk -l /dev/sdb: You must set cylinders. You can do this from the extra functions ...
0
votes
1answer
347 views

Recommended partition size of SD card for Ubuntu for BeagleBone black [closed]

I am using 16GB SD card for building Ubuntu from scratch for BeagleBone Black. So, I have to make two partition of my SD card, one for Rootfs and second one for Zimage and other stuff. Initially I ...
2
votes
1answer
72 views

Why is my hard drive out of space if gparted says I have 500+GB

I recently installed Debian on my machine and made separate / and /home partitions. Yet my disk usage analyzer shows that my /home is inside /. But gparted shows that /home is indeed in it's own ...
2
votes
3answers
4k views

Shrink Windows partition to install Fedora 20

I want to install Fedora 20 along already installed Windows 8.1 on my notebook. I found a good how-to on Techotopia, however, the installer for Fedora 20 looks completely different, is simpler (cough ...
1
vote
2answers
166 views

Why does “df -h” show out of sync space used? [duplicate]

I have tried different commands to see sizes of partitions and space used/left and it seems that they always differ in their results. Here is my space used/left with from the command df -h: Size ...
1
vote
1answer
63 views

mixed raid types

I am about to reinitialise my (SW) raid array. Previously the array was raid5 with 4 disks. I've removed one disk in order to install a new additional (larger) drive. What I'd ideally like to do is ...
2
votes
1answer
17 views

Backup and restore only some partitions

I have a system which runs an arcade machine. It has the regular swap and root partitions, but then I have an extra partition which I call data. Data holds many gigabytes of game content. The idea is ...
2
votes
1answer
61 views

How to restore a system?

I have a disk image from Acronis True Image 2011. My original disk, of 40 GBs, had 2 partitions, 1 for FS and 1 for swap, but it started to fail. I've tried to make a backup, which finished with ...
4
votes
1answer
87 views

Archlinux, move files to a different partition

During the installation I thought I had generated the correct fstab, but now, after cp complains that the filesystem is full, I discover that fstab is empty. I have this configuration: # lsblk NAME ...
1
vote
1answer
69 views

Recover from Grub error

I use windows as well as Linux in one laptop. I don't know what I deleted in the partition settings. Suddenly when I restarted my laptop, it showed me the below error message. GRUB loading. Welcome ...
5
votes
1answer
307 views

What's the easiest way to resize an ext4 partition from the command line?

What's the easiest way to resize an ext4 partition (or any type partition depending on the method) from the command line (potentially with the fewest commands, but also the easiest to understand)? ...
0
votes
1answer
63 views

Locating the /dev entry to make partitions on an SD card

I am trying to create partition of SD card, for this I am following this tutorial. When I type the command ll /dev/mmcblk* I got this ls: cannot access /dev/mmcblk*: No such file or directory ...
4
votes
1answer
199 views

Filesystems and Partitions

I have been reading up more on UNIX and have brushed up on different filesystems and partitioning HDs. In the book it mentioned that filesystems are very much different than partitions and one ...
2
votes
1answer
3k views

Dual booting with Windows 7 and Fedora 20

I am creating a dual boot system for Windows 7 & Fedora 20. While installing to hard drive I get this error Installation destination Error checking storage configuration. I have shrunk my hard ...
1
vote
1answer
67 views

Backup LUKS (cryptsetup Command) partition or volume

Can you create a file container/volume in LUKS in the same way that you could do with Truecrypt? Otherwise, how can you backup a LUKS partition? Do you have to clone it, for example with dd? or backup ...
0
votes
1answer
66 views

Linux shows one partition but windows shows 4

I have installed Windows 8 on my laptop and now I want to install Linux Mint 14. I want to use both of them. My disk management in Windows shows as follows:    . mint4win in ...
2
votes
1answer
431 views

How to extend an ext3 partition over LVM inside a file (virtual machine)?

I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager). I can afford a few minutes of downtime so a VM shutdown/reboot is fine. The virtual hard disk is in ...
2
votes
1answer
75 views

Filesystem types for encrypted partitions

I wish to encrypt two external hard drives using dm-crypt/LUKS for whole-disk encryption. I want one hard drive to have an ext4 filesystem for Linux use only, and the other to have an NTFS filesystem, ...
2
votes
3answers
139 views

How to know if /dev/hda2 is Primary partition or Extended partition

If all four primary partitions exist on an IDE drive, they are numbered as follows: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 We have also the partitions on a disk with one primary partition and ...
0
votes
0answers
1k views

Linux Mint can not see my partitions - installation problem

Scenario: On my laptop I have Windows 7 My disk drive has several partitions whereof not all are used (for now) My plan is to install Linux Mint on the 20000 MB (19,53 GB) partition (called I: in ...
1
vote
2answers
58 views

`dd` to specific location [closed]

dd is a great tool for copying and conversion. Is there any way by dd (or by any other way), to dump the first few bytes from a file to an unmounted partition? Something like this: dd if=hda2.pbr ...
2
votes
1answer
580 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
1answer
66 views

why 2TB external HDD is recognized as 800 GB only in Ubuntu 8.10

I had a 2 TB external HDD which I formatted as below. fdisk /dev/sdb After issuing the above command, I did the following steps. Then selected option p. (To print the partition table). Then ...