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

Stuck installing Arch Linux. How should I proceed?

I am following a tutorial here. I'm on step 2.2. I'm supposed to find out if I have a uefi motherboard by sending the command efivar -l. But I don't get the expected output. Instead I get efivar: ...
1
vote
3answers
55 views

Resize LVM at the beginning

I have a LVM primary partition at the end of my disk, Windows is at the beginning, there was an unused partition in between but I need some space for Linux so I removed it. Now I'm trying to figure ...
0
votes
0answers
20 views

Accidental deletion Windows 10 partition and now cannot boot Arch Linux

I inadvertently deleted my Windows 10 partitions on /dev/sda, and as /dev/sda2 was my UEFI partition I can no longer boot Arch Linux (which I was booting using systemd-boot). I cannot figure out how ...
0
votes
0answers
7 views

Where is the “use empty space” option in centos 7?

I didn't find the "use empty space" (the option was available in centos 6) during the installation of centos 7. I need this option because I am using gparted to have a GPT partition and not an MBR ...
0
votes
1answer
36 views

Can the EFI System Partition be a logical partition on MBR disks?

I'm finding a lot of information concerning the ESP inside GPT disks, but none about them being inside an MBR based disk as a logical partition. The thing is, I don't want to convert my disk to GPT ...
3
votes
3answers
48 views

Merge contents of two partitions into one singular partition

I have a machine that has a 20GB FS at /dev/md1 mounted on /, and a ~200GB FS at /dev/md2 mounted on /home. A large amount of data will soon be stored in /var. How can I merge these two partitions ...
0
votes
0answers
13 views

Can I delete a Linux Mint partition and keep the Ubuntu one I have while installing Fedora?

So just yesterday I downloaded and installed Linux Mint on my machine. I wanted a dual boot so I now have two partitions. Linux Mint is great but it lacks one thing- Arc theme support And yes I didn'...
0
votes
0answers
15 views

Instaling Linux Mint with Windows 8.1

I am trying to dual boot Mint with Windows 8.1. So far I formatted disk with fdisk in windows cmd and then installed Windows. Now I am trying to install Mint but mint and even gparted don't see ...
1
vote
1answer
25 views

How to work out which drive and directory your system booted from if it is not mounted in /etc/fstab?

My /etc/fstab doesn't include the disk the system booted from, basically because I made some changes and forgot to include this. The initial /boot and / directories are on different drives. I noticed ...
0
votes
1answer
23 views

How to increase space allocated for linux

I am using Linux mint and at the time of installation I allocated 2GB space for file root of Linux. Now I need more space for Linux I tried to do it via gparted. But I can't figure out how to do it. ...
3
votes
1answer
45 views

Making a swap partition using lvm

When we make a swap using a regular physical drive, we just use fdisk and make a partition with type swap, using the swap code for that partition, followed by mkswap and swapon commands. But what if,...
1
vote
2answers
142 views

Mount FreeBSD UFS from logical partition under Linux

How can I mount the FreeBSD UFS boot partition under Ubuntu in this setup: a single HDD which contains an MBR partition table which contains some primary Linux partitions and an extended partition ...
0
votes
1answer
39 views

Displaying disks without partitions in openSUSE Leap 4.21

I am trying to allocate a Linux partition to a disk using an openSUSE VM (in VMPlayer). I have tried running sfdisk -l to find the disk, but when I do so I can only see drives with an existing Linux ...
0
votes
2answers
33 views

Bootloader Grub2 - delete partition where ubuntu resides

I have a dualboot with the following two Os's: Windows10 Kubuntu And the bootloader Grub2 What happends with the bootloader if I delete/formats the partition where Kubuntu is installed? Does it ...
1
vote
0answers
13 views

Different partition after upgrade of OPENWRT

I have just updated the firmware of my olinuxino rt5350f to the last release of chaos calmer 15.05.1 (website, image). After having finished the installation via tftp I noticed that the free space is ...
0
votes
0answers
109 views

Stuck on grub rescue with no /boot directory?

Deleted a partition during Windows 7 installation. Now all I get is error: no such partition. Entering rescue mode.. grub rescue> I tried to look for /boot directory: grub rescue > ls (...
0
votes
0answers
29 views

sfdisk does not create block files for corresponding partition

I have partitioned my disk using sfdisk. And the (7)partitions got created successfully. sfdisk -l also lists all the (7) partitions which I configured. But the strange thing is, the corresponding ...
3
votes
1answer
49 views

Why is the block size of a partition smaller than that of the underlying disk?

My understanding is that the block (in the phrase "block size") is like an IO buffer, or minimum IO size for a device. Since partitions are built on top of physical devices, how can they have blocks ...
0
votes
1answer
77 views

How to move empty disc space between partitions

I want to move an empty disc space from one partition to another. Is this possible? In the below image, I have free space under /local (/dev/sda3). I want to allocate this space to / which is on /dev/...
0
votes
0answers
35 views

Is there a way to get partition information of a disk with sysfs?

my first question here - so please, don't be too hard with me... As the title says: I am wondering if there is a way to get partition information of a disk with sysfs. I know about some different ...
2
votes
1answer
41 views

How to properly plan relative sizes of partitions?

At work our systems must have the following directories each on a dedicated partition: /boot /home /audits /opt /tmp /var /home / There is no company policy or guidelines on the sizes they must be; ...
1
vote
2answers
128 views

Does Debian use GB or GiB for it's partition manager during installation?

I'd like to create a 5GB (1000) as one partition during the install of Debian. However, I'm not sure if if the partition manager uses Gib or GB. The version of Debian to be installed is 8.4 using the ...
0
votes
0answers
19 views

multi boot win 7 ubuntu 15.10 kali

this is my first time using grub and I am hitting a problem. I can't seem to install ubuntu in the manner I "think" I should AND added to that I get unusable space. Here's what I am doing could ...
0
votes
0answers
24 views

swap goes the second drive, how can I return it to normal from command line?

The following is my plan for partition of CentOS 6.7. I have two disks with A for system and files, B totally for backup. But, after installation, I log in using ssh root. Here is what I see: (...
0
votes
2answers
73 views

Move FreeBSD installation to smaller HDD [duplicate]

Good day! I have FreeBSD installation with next partitions: Now FreeBSD is installed in 500GB hard drive. I want to move it to 250GB hard drive. What is safest and correct way to do it? I'm afraid ...
0
votes
1answer
26 views

I have 3 primary partitions already, can i shrink one of them and install kali-linux?

I have 3 primary partitions and 2 logical partitions already in my windows 8.1 PC. But now i want to shrink a 20gb space from c drive and install kali-linux 2.0 in it.. i tried to install kali linux ...
1
vote
1answer
51 views

How to reduce root Volume Group size in LVM?

I found a similar question here, but there's one different point on my server: --- Volume group --- VG Name vg System ID Format lvm2 Metadata Areas 1 ...
-1
votes
1answer
83 views

Retrieve data from “erased” home partition while installing win7

I had a computer with a windows 7 and I installed lubuntu 14.04 on another partition (I think I shrinked the windows NTFS partition first). I installed lubuntu this way: -> NTFS boot -> NTFS ...
2
votes
1answer
85 views

Move free space from end of the drive to first partition with gparted

I am in a frustrating situation - no matter how I try, gparted won't let me assign the empty space to the first partition: The middle partition is blocking me from expanding /dev/sda1. I need to ...
1
vote
2answers
35 views

Linux mounts cloned partition instead of original

I'm trying to set up a laptop running Kali rolling to act as if it was running 'DeepFreeze". My goal is to be able to do the following: Set up sda1 clone it to sda3 with Clonezilla as a "clean ...
3
votes
1answer
20 views

sfdisk lists an unknown device /dev/xvda4

When I run sfdisk -l on my Ubuntu 14.04 machine, it returns the following: Disk /dev/xvda: 36473 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, ...
0
votes
1answer
20 views

Azure Ubuntu Partition management

I'm working on an Azure Ubuntu VM root@dalil:/# df -h Filesystem Size Used Avail Use% Mounted on udev 1.7G 8.0K 1.7G 1% /dev tmpfs 345M 392K 344M 1% /run /dev/sda1 ...
0
votes
0answers
68 views

Partition alignment when imaging with dd

I'm running Debian 7 (Wheezy) on my notebook and want to update to Jessie. When installing, I took care of the partition alignment on the ssd. My next steps would be to clone the existing SSD to a ...
1
vote
1answer
31 views

why can I not see the unallocated space in gparted

so I have triple booted windows, kali, and ubuntu. I am trying to resize ubuntu /home directory which sits on the HDD. So I created a new unallocated space in windows of 200gb size, and I want to add ...
1
vote
0answers
29 views

Rewrite partition table

I made a mistake and I removed multiple partitions from my partition table. I want to rewrite my partition table. I tested "TestDisk" but when I wanted to set the type, I always got "Structure Bad" ...
3
votes
2answers
63 views

How do I get the UUID of a partition and define a Bash variable as being equal to it?

I would like to define a Bash variable PART_ID as being equal to the UUID of the /dev/sdb1 partition. The closest I have gotten to the desired answer is the output of: ls -ld /dev/disk/by-uuid/* | ...
3
votes
1answer
69 views

How can I see the size of a partition's unallocated size on the command line after shrinking a partition with resize2fs?

I want to shrink my /dev/sda2 partition from 463.37GB to 400GB to make room for a new partition. So I did e2fsck -f /dev/sda2 followed by resize2fs /dev/sda2 400G. As per man resize2fs, the ...
0
votes
0answers
14 views

How do I increase a partition size of a virtual disk?

I created a file using dd if=/dev/zero of=virt_disk bs=1024M count=50. I then formatted this is a vfat file system. Now I want to extend this. I added 5 more MiB of space as dd if=/dev/zero bs=1024M ...
-1
votes
1answer
21 views

how to install ubuntu on part of the disk? [closed]

I have new laptop with 500 giga hardisk size. I want to install 3 kind of Linux distribution. The first linux will be ubuntu. Now, i want that the installation of the ubuntu will take over only 100 ...
0
votes
1answer
18 views

Dual boot, I've not created the grub file on the 2nd OS

I have Ubuntu 14 and Windows 10 installed on the different partitions and working well. I've created one more partition and installed Arch into it. Actually, I made only the 1st part of installation ...
0
votes
2answers
85 views

How to extend root partition

As you can see from the figure below I have 19.34gb unallocated space. I want this space to be added to my root partition sda11. How can I do that? I read few posts related to this but some of them ...
1
vote
1answer
39 views

Swap /dev/mapper/* devices

I have been given a box that has /dev/mapper/root mounted as / and mapped to /dev/dm-0. It has /dev/mapper/home mounted as /home and mapped to /dev/dm-2. The dm-0 device is 5G and the dm-2 device is ...
0
votes
0answers
25 views

Partition for Linux Mint

I tried using GParted using a tutorial but i kind of made a mistake i guess in the middle. I put 40GBs from /dev/sda5 to unallocated as i read in the tutorial. I got an error message saying that i ...
0
votes
1answer
38 views

How to mark a partition as unmountable?

I partitioned a MMC card into multiple partitions (in GPT format), and the very first partition is just padding space so that all other partitions are aligned to a optimal boundary. Problem is, on ...
0
votes
1answer
69 views

usb linux format

I have a Usb drive and that is connected to a laptop running Linux (Mint). As soon as I install some software in it (USB memory) seems like it recognizes it as a windows partition and doesn't install ...
1
vote
1answer
28 views

Ubuntu 14.04 LTS: Auto-mount partition

Here's the situation: I have a nice 399 GB NTFS partition with a lot of files on it I access regularly but still need to access in Windows. My question: What is the best way to automount this ...
2
votes
1answer
179 views

Extend XFS parititon ( xfs_growfs )

Here are the partitions of my server : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 54.6T 0 disk ├─sda1 8:1 0 1004.5K 0 part ├─sda2 8:2 0 19.5G 0 part / ├─sda3 8:...
1
vote
2answers
76 views

Partition disk into two equal partitions in a shell script

I am trying to partition my disk into two equal partitions. So far I was doing everything manually using fdisk command and then modifying fstab file with UUID for both the partitions and I have around ...
1
vote
0answers
39 views

CentOS install - select existing partition as /

I'm installing CentOS on a system that has pre-defined partitions (XFS, created by Ubuntu 14.04 Live CD). I can select the little 500MB partition and give it a mount point of /boot no problem. When ...
0
votes
1answer
43 views

/ directory at 100% capacity. Not sure where I went wrong in my partitioning or how to proceed

I'm running a dual boot Windows/Mint partition. Everything is going fine until things suddenly get REALLY screwy and slow. I get a popup that "Filesystem root only has 297.8 MB disk space remaining." ...