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)

1
vote
1answer
44 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
16 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 ...
1
vote
1answer
60 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 ...
4
votes
1answer
54 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 ...
4
votes
1answer
196 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 ...
0
votes
1answer
43 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 ...
1
vote
1answer
37 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 ...
5
votes
1answer
111 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)? ...
3
votes
1answer
45 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 ...
0
votes
1answer
55 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
62 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
79 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 ...
1
vote
2answers
53 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
48 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 ...
0
votes
2answers
82 views

Does Linux unmount the root partition when the partition is about 80% full? [closed]

Summary Linux seems to be unmounting the root partition, /dev/sda6. I noticed that sda6 is about 80% full. Does Linux unmount this root partition when it gets 80% full, to stop you adding more files? ...
0
votes
1answer
199 views

How to increase size of /dev/sda2 in suse running on vmware

how to increase the partition /dev/sda2 partition. df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda2 7.0G 3.7G 3.0G 56% / devtmpfs 432M 172K 432M 1% /dev tmpfs ...
1
vote
1answer
45 views

CentOS - Creating a partition for OpenVZ

I've recently installed a fresh copy of CentOS 6.4 and I was going to install OpenVZ on it however on the install instructions it said that it is advised to make a separate EXT4 partition for the VMs. ...
0
votes
3answers
105 views

How to merge partition with gparted?

How I can merge all of my three unallocated spaces? And i want the bigger one to be under /dev/sda5. Gparted screenshot:
0
votes
1answer
856 views

Zorin/Windows 7 Dual Boot on New Hard Drive, no GRUB!

So my computer had Windows 8 originally, and my hard drive died. I was able to get a dying hard drive from work to use temporarily, and decided to go with Windows 7 this time, as HP had drivers for ...
1
vote
1answer
73 views

Rebuild mount points after destroying partitions

When I installed Ubuntu, I had a partitions with the windows OS installed, but now I've made some changes, I've erased Windows, created two new partitions in the storage ocuppied by windows before, ...
1
vote
1answer
125 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
0
votes
2answers
80 views

Disk full on a server with a large /home partition

I've just got this CentOS Server but I think I've set it up wrong as I can only upload a few GB then I start getting errors, It should have ~1TB. this is the results of lsblk [root@ns4005990 ~]# ...
0
votes
1answer
48 views

Partition is out of space

When I was trying to resolve the issue as seen in this question, I figured out that a specific partition is out of space. I have a specified folder which I allow all ftp uploading of multimedia files ...
1
vote
1answer
51 views

Could not allocate requested partitions while instaling Scientific Linux

I am installing Scientific Linux, and I must choose a drive to install it. I have a deleted partition with the size of 150 GB. When I select the deleted partition and try to create a partition ...
0
votes
0answers
19 views

Boot-Repair ineffective

I was attempting to install a linux partition(Kali to be specific) alongside Windows8(Not 8.1) and I seem to have run into some trouble. My system information is located at : paste.ubuntu.com/7512281 ...
0
votes
1answer
324 views

How to mount the `D:\` disk of Windows in linux mint? [closed]

I am unable to mount the D:\ disk of windows in linux mint. What to do?
1
vote
1answer
56 views

Encrypt my disk but allowing to enter the password with SSH

Can you help me with this problem please? I need encrypt whole disk on Debian 7.5, (it will be work as server) but I need enter encryption password via SSH. So I need encrypt whole disk except primary ...
1
vote
3answers
272 views

Moving /var, /home to separate partition

I am attempting to move some folders (such as /var and /home) to a separate partition after reading this guide: 3.2.1 Choose an intelligent partition scheme I was able to move one folder ...
2
votes
1answer
36 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
3k 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
26 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
3k 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
51 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
48 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
73 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
104 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
73 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
78 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
271 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
100 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
725 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
120 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
57 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
35 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
308 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
212 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
196 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
36 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
110 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?