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
33 views

How can I partition and format my disk to an accuracy of “LBA” by commands?

How can I partition /dev/sdb into /dev/sdb1 and /dev/sdb2, and then format /dev/sdb1 to exFAT ( or FAT32 ) from LBA=1 to 2097152 by commands? ( LBA=0 is reserved for MBR )
2
votes
1answer
2k views

Ubuntu 14.04 hard drive partitioning help wanted

I'm in need of some assistance with manual partitioning from the Ubuntu 14.04 install GUI. I'm trying to do a fresh install of Ubuntu 14.04 desktop. I have a 60GB SSD as that I want all my OS files ...
2
votes
2answers
24 views

Backing up a partition

I am pretty new to linux. I mostly started learning after I purchased a couple of Raspberry Pis. I like to make backups of my images as I have often made the mistake of corrupting my data :). ...
4
votes
0answers
2k views

Problem Installing UBUNTU 14.04 (AND Mint 16, which is based on UBUNTU 13.10) as dual boot on RAID 0 with Windows 8.1

Ok, I know that there is Dual-Boot Ubuntu 14.04 and Windows 7 on FakeRAID Installation error - question marks "????..." and that that post has some answers for me, but I don't know if it ...
0
votes
2answers
48 views

Shrink btrfs from /dev/sda to /dev/sda1

suppose I have 2 btrfs filesystems: one mounted on /mnt/big spanning across /dev/sda /dev/sdb /dev/sdc /dev/sdd the other mounted on /mnt/small on a single drive: /dev/sde How would I shrink the ...
1
vote
1answer
44 views

Shrink /home partition to two partitions

I have one hard disk on my server [root@CentOS dev]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 4.9G 722M 3.9G 16% / tmpfs 246M 0 246M 0% /dev/shm ...
1
vote
1answer
62 views

Systemd fails to start after removal of encrypted swap partition on Fedora 20

In order to resize my boot partition I had to recreate my swap partition. After this systemd does not seem to be able to start. I am new to Fedora/systemd and don't quite understand where I could ...
3
votes
2answers
98 views

/etc files on a different partition

My setup requires that some of my /etc files reside on a separate partition. For this purpose I've created a softlink: ls -li /etc/group 956 lrwxrwxrwx 1 root root 21 May 7 15:48 /etc/group -> ...
2
votes
2answers
59 views

Error when creating BTRFS Filesystem

I'm attempting to install Arch Linux using the btrfs filesystem. I'm at the beginning of the install processes preparing my drive and I'm hitting an issue. Firstly I begin to clear any GTP and MBR ...
0
votes
1answer
57 views

Move Data from Partition to Partition on Same Drive

Moving data from one drive to another is slow. Copying data on a drive to it's self is slow. Moving data from one drive to it's self is fast. If I'm moving data on the SAME drive but a different ...
1
vote
1answer
188 views

Why should we use a ~15-25 GB root partition?

I have separate partitions for / and /home, yet my root partition is ~30 GB and growing. Why does everyone recommend a 15-25 GB root partition, and how is this achieved? Here is my space usage, along ...
0
votes
1answer
83 views

Error installing Grub

I'm trying to install grub but I'm getting the error: Warning This GPT partition label contains no BIOS boot partition: embedding won't be possible I'm using GPT to partition, and the file system ...
10
votes
2answers
714 views

What is this 1K logical partition?

I noticed that I have a strange partition under sda3, with a size of 1K. I am about to reformat my hard drive and re-install my OS with Ubuntu 14.04 while creating separate partitions for / and /home. ...
2
votes
1answer
91 views

How to copy partioning information with dd?

I am trying to recover partitioning information using TestDisk. To try things out I copied all data from the original harddisc to another physical drive using dd as follows: $ dd if=/dev/sda ...
2
votes
0answers
48 views

expanding boot, moving LUKS root

GPT > Partition2 > LUKS > btrfs I need some additional space for my boot volume, so far I did: Shrink my btrfs volume by 250MB. btrfs resize -250M / Shrink the LUKS root volume cryptsetup ...
2
votes
1answer
34 views

Where does dd start when copying a partition?

I'm copying an entire HDD using the dd tool, and I'm considering stopping part of the backup due to space limitations. Does the dd tool begin at the front of a partition when copying? The first ~90 ...
0
votes
1answer
216 views

Dual boot win/kali - virtualize the linux partition

I have one HDD. 2 partitions with Kali and Windows 8. GRUB is installed. Both OS work fine. I want to remove my Kali partition, and get it as a VM in my Windows 8 partition (I'm using VMware ...
1
vote
4answers
160 views

How to check physical device contents

I got a server with 2 hard drives. I would like to know what is on 2nd drive. How would I list all contents on physical device ? lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 ...
1
vote
1answer
144 views

Stat disk drives wihout lsblk?

I have a minimalist busybox system that I was recently trying to use, and I found a small problem: it has no lsblk command. Is there another command to list disks, partitions, and sizes like lsblk? ...
3
votes
0answers
34 views

Fix partition alignment in FreeBSD

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out. ...
3
votes
1answer
85 views

How to renumber GPT partitions on an umounted disk?

I tried to sort (renumber) partitions on /dev/sdb via terminal, using gdisk from the operating system (running on /dev/sda) and none of the sdb partitions mounted but the only option I get is [-l] ...
1
vote
0answers
29 views

Why should /var /opt /tmp /home /boot directories be on different partitions? [duplicate]

As the title says, why should I split these directories across multiple partitions? Performance? Security maybe?
1
vote
1answer
78 views

How to make an unallocated space “exist”?

I have Ubuntu and Windows installed together. I'm going to install Arch also along with them. For now, I what them to live there all together in my computer. I have the following: I'd like to ...
0
votes
1answer
413 views

How to recover the partition table (Windows, Ubuntu) of an unallocated disc?

The following screenshot shows the current state of my hard disc. The unallocated part of the disc used to contain two operating systems: Windows and Ubuntu, in this order. Windows has been ...
0
votes
1answer
53 views

Dual Booting with windows

I am trying to dual booting elementary OS with windows 7. Basically on my 160 GB HDD, i have following partitions: sda1 which is C drive having windows 7. sda5 which is D drive with data and an 10 ...
4
votes
1answer
430 views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...
2
votes
1answer
793 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
0answers
51 views

Create partition on CentOS server?

I have a headless CentOS server that I'd like to create a new partition on so I have a separate boot and data partition. I have an existing server with the setup that I want to achieve and running ...
2
votes
1answer
80 views

Moving pacman from root to /home partition [duplicate]

Back before I knew what I was doing, I installed my Arch system with a 10 GB root and an 85 GB /home partition. Now my 10 GB root (where my pacman installs to) is full and I'm unable to get gparted ...
2
votes
0answers
65 views

root directory almost full but still lots of free space on the partition [closed]

Some time ago I installed 12.04 from windows xp on a separate "linux" partition via wubi. this partition was allocated 50 GB. my problem now is that obviously the root directory does not have access ...
2
votes
1answer
59 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 ...
0
votes
0answers
83 views

When I create a new partition for /home, the partition editor moves it to /dev/hda2 instead of /dev/hda3

I have a CentOS system I'm tying to duplicate. I can't use dd or cat over SSH from the source server so I have to initiate the command from the target server. My first choice is to duplicate each ...
3
votes
2answers
123 views

Moving unallocated space from Extended partition to create a Primary partition

This is my partition structure : I want to create another primary partition from that unallocated space. If I shrink sda2 to a size less than what I needed for to create another primary partition, ...
1
vote
1answer
123 views

Best parameters for ext4 filesystem to handle virtualbox disk images

I have ext4 partition, which holds disk image files VirtualBox works with. They all are fixed-size images (i.e. files never change their size). They are defragmented as much as possible (with ...
0
votes
1answer
45 views

Shrink/reduce non-lvm disk file system

I have an vmware ext4 file system that non-lvm, non-partitioned file system that resides on a virtual 300GB disk. In other words, there is no partition and the file system was probably created by: ...
3
votes
1answer
309 views

While trying to open /dev/mtd2 for read/write access: Permission denied

Looks like my MTD2,and MTD3 partitions are write protected. The OS is booting from SD card on a ARM Cortex A 9 processor. root@Xilinx-ZC702-2013_3:~# mount /dev/mmcblk0p1 /mnt/ ...
2
votes
1answer
183 views

GRUB doesn't see ext4 partitions (error: no such partition)

I have strange trouble with Linux Mint 13 installation. I have Windows XP installed, I want to install Linux Mint as a second system (with dual boot), I've already done it multiple times on several ...
4
votes
1answer
44 views

Why does the MINIX installation ask how big /home should be?

While installing MINIX is was asked how big do want /home to be. --- Step 5: Select the size of /home --------------- MINIX will take up 611 MB, without /home. How big do you want your ...
4
votes
1answer
200 views

How we can avoid rebooting the system after partition change with fdisk?

When modifying the partition table, fdisk usually returns the following error message: WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still ...
2
votes
2answers
148 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
0
votes
1answer
251 views

Can't access NTFS drives after Elementary OS install

I have just setup Elementary OS. I have two hard drives on my desktop and I can’t access either one of them via file manager. To be precise I have two partitions with data that I need to access; ...
2
votes
1answer
71 views

How can move a LUKS container from the middle of a partition to the beginning?

For the tl;dr, skip to the bottom. I have a dual-boot setup with Mac OS X at the beginning of my drive and three GNU/Linux partitions at the end of the drive. I don't have the relevant machine on ...
0
votes
3answers
2k views

How to install Kali linux on to a specific (existing) partition on a USB stick

I'm endeavoring to put Kali linux onto a USB stick - I know it's already written up, but I'd like to use only a portion of the total space (the aforementioned link will use the entire drive space). ...
2
votes
1answer
160 views

Disk is almost full on a server with CPanel

I have VHM system and I have a domain and two subdomain on this system. I tried to take a backup than after sometime I cannot access cpanel but I can access VHM. but some of the VHM options gives disk ...
1
vote
2answers
55 views

Restore formated Partition Table on LVM Physical

I have a machine (guest VM running CentOS 6.5) with 2 disks. Main OS on sda and then a 2TB LVM on the second sdc. I added 2 more 2TB disks to the machine and was going through the process of ...
0
votes
2answers
123 views

this mount point is invalid. The /root directory must be on / file system

I'm preparing CentOS 6.5 x86_64 system with following mount points /usr/local – 10 GB or more *** /var – 10 GB or more *** /root – 200 MB or more *** /tmp – 200 MB or more *** The ...
1
vote
0answers
44 views

How to install linux (with crypto /Home + / partition) with enough swap space to hibernate

What are the steps to install Linux (with cryoto /Home + / partition) Mint on a empty hard drive with 1.5x swap space as RAM. I am aware that the CD allows this as a default option but it doesn't ...
42
votes
1answer
1k views

Why are there so many different ways to measure disk usage?

When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
2
votes
1answer
249 views

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS ...
3
votes
2answers
155 views

Why is GParted listing an empty parition as using 43.90 GB? [duplicate]

I have a fresh install (well, with package updates) of Linux Mint 16 (Maté) on a 3TB hard drive. I installed with the following partition table: /dev/sda1: bios_grub 1MB /dev/sda2: / 8GB ...