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

Rezise root partition using other hard disk

I have a hd of 150GB and other of 300GB, both partitioned, the former with a root partition and the latter with some unused space. How can I use the unused space of the second to extend the root ...
2
votes
1answer
60 views

Cannot boot into LUbuntu after configuring RAID

I am having some problems trying to get LUbuntu working with RAID 0. (I am using LUbuntu Alternate 64bit). My Setup: /dev/sda 2.0TB Physical Disk; /dev/sdb 2.0TB Physical Disk; /dev/sdc 2.0TB ...
3
votes
2answers
59 views

How to split FHS read-only and read/write directories across two disks with Linux/systemd, without partitioning the raed/write disk?

My objective is to have the physical storage for the Linux FHS read/write directories (/home, /srv, /tmp, /var) on a separate (logical or physical) disk from the potentially read-only rest of the root ...
2
votes
0answers
23 views

How to install Linux from live to normal on the same drive?

My PC has 2 HDs (sda, sdb) And I also have a 1TB hard drive which is connected by USB (sdc) I installed a live Linux distro (Fedora) on one of the partitions on sdc. It works nice but after I reboot ...
1
vote
1answer
309 views

Windows boot partition missing after Kali Linux installation.

[Windows 10 User Installed Kali 2.0] This seems to be the issue of many beginner users of Kali Sana. Installing Kali and either formating their windows partitions not making windows bootable any more ...
5
votes
1answer
40 views

How is the size of the block containing the “MBR” determined

I have used fdisk to move Ubuntu Mate partitions from a 1M boundary to start on a 4M boundary on a SD card. The "boot" partition now starts at block 8192. This is how the Raspbian distributions are ...
4
votes
1answer
28 views

Get label of Linux storage partition device file

Given the partition device file /dev/sdh1, I need to find out the label of this device. dmesg doesn't mention its label while GParted reveals that it is called H2N_SD: I need to build a way to be ...
1
vote
1answer
138 views

Installing Debian 8 (Jessie) from HDD Partition

I tried to install Debian 8 (Jessie) with the official DVD 1 from my Card Reader (SDHC UHS-I Card 32GB). Now that does not work, because I am unable to mount it (no signal at all). Now I want to know ...
3
votes
2answers
90 views

What is happening with the Linux swap partition data when running Windows via dual-boot

Hmm, I would like to know what is happening with the data on the Linux swap partition when the Linux system is turned off and by the next start the Windows operating system via GRUB2 will start. 3 ...
2
votes
1answer
722 views

Convert Physical partition to LVM

I have a local web server running locally in the office. It has two hard drives: 120 GB SSD - on which / is mounted, So the web server /var/html is on the SSD 1TB HDD - mounted in /media on which ...
2
votes
1answer
102 views

Is it required to make a separate /boot partition for for multiple linux os installation?

Is it required to make a separate /boot partition for for multiple linux os installation ?
1
vote
1answer
498 views

Gparted Not letting me Resize Partition and Add more Disk Space

Forgive me, as I am not the best at describing tech problems. I have a /dev/sda5 ext4 partition running Linux Mint, and a /dev/sda7 running Kali Linux, both of which are in an extended partition.. I ...
2
votes
1answer
23 views

Help with partitions for dual booting

I need to install Ubuntu on my new laptop for some development. I want to dualboot, which I've done a few time before, however I'm having some trouble with the partitioning. There are lots of ...
2
votes
1answer
76 views

SSH: Shrinking root partition

I have a server accessible via SSH and it has a 3.6TB hard disk with one partition I want to shrink / partition to 92GB and make a 8GB partition for /tmp and make another one (3.5TB) for /home but ......
12
votes
1answer
355 views

Partitioning done incorrectly?

Long story short, we had issues installing linux on this system. It magically decided to work, but now I'm unsure about the hard drive partitioning. One hard drive has linux installed on it and the ...
2
votes
1answer
372 views

Partitioning difficulties with parted

I'm trying to install arch linux alongside windows 10 and have created a separate partition in (while running) windows as exFAT32. While booting from the arch USB image and running lsblk the following ...
2
votes
1answer
783 views

GRUB not loading after installing OpenSuse TumbleWeed

Recently I decided to switch from Ubuntu to OpenSuse so normally I attained the TumbleWeed image from OpenSuse and began installing it. The installation process finished without any problem but after ...
2
votes
1answer
30 views

Is partition created by dd (and cached) instantly available for writing

I'm creating a partition (from backup) with dd and need to know if there is a need of some sort of sync/timeout before I can access it. As I know data may be cached in dirty pages. But what if I read/...
2
votes
1answer
75 views

How to increase main partition size in a CentOS system over ssh?

I have this: ########################### # df -h Filesystem Size Used Avail Use% Mounted on /dev/root 20G 2.1G 17G 12% / devtmpfs 2.0G 0 2.0G 0% /dev tmpfs 2....
1
vote
0answers
28 views

Recover file from partition after writing on it

I really did a big mistake. I have a partition sda6 for backup, when writing the iso to a pendrive, instead of typing sdb6, i've typed sda6, is there any way to get back the files
1
vote
0answers
55 views

Different boot partitions for dual boot

I finally decided to manage partitions in my hard drive and install different OS's. I have used Ubuntu for a few years, and I'm fairly familiar with its installation. Now I want to try OpenSUSE, but I ...
1
vote
1answer
3k views

Arch Linux cfdisk asking for disk label type

I am trying to partition my hard drive I just wiped with dban so that I can install arch linux but when i run cfdisk /dev/sda It says: Select table type gpt dos sgi sun I don't know which to ...
2
votes
1answer
1k views

how to check the filesystem type of a logical volume

How to check the filesystem type of a logical volume using lvm or any other utility.. For example, if my logical volume is /dev/vg1/lv1 then how to check its filesystem type ? I have made a ext4 ...
4
votes
2answers
433 views

Resize XFS home directory in LVM

I am desperately trying to increase the swap space available to my server from 4GB to 16GB, however at present XFS + something is making this impossible. I have a single SSD hosting the OS (CentOS 7),...
1
vote
2answers
114 views

Symlinking /var/lib to another partition

Sorry if this question is too similar to others, I didn't find anything that helped me. Following "best practices" I installed my debian with partitions: root, tmp, var and home. Also for the sizes I ...
2
votes
1answer
124 views

how to create a partition in free space using GNU Parted

Below is my hard disk shown in gnu parted: (parted) print free Model: ATA HGST HTS541075A9 (scsi) Disk /dev/sda: 750GB Sector size (logical/...
2
votes
1answer
61 views

Comparing 2 partitions on identical disks

I have 2 physically identical disks. Each with 1 partition: | Disk | FS | Size | Comment | |----------+------+----------+----------------------------------| | /dev/...
3
votes
1answer
246 views

Solaris 10, change partition size

I have a ultra 10 with solaris 10. I would like to increase the size of the / partition (by reducing /export/home). I'm rarely working with solaris. Some "hands on" advice would be great :) df -h ...
2
votes
2answers
37 views

merging hard drive partition

I removed Windows XP from my hard drive from a dual boot setup with Linux Mint 17.2 which I have just installed recently. How can I merge the unallocated space created by the XP removal with the Linux ...
2
votes
1answer
105 views

Can I change /home partition to /boot?

When installing Arch I did (or I though at least) a /, swap and a /boot partition. I just found out that I have a /, swap and /home partition. Which isn't what I had in mind, I just have like 400mb ...
4
votes
1answer
224 views

“Can't have a partition outside the disk!” for vdi created from a truncated image

I have used dd to create a partial/truncated image of a disk which only includes allocated spaces, then converted it to a vdi file for VirtualBox. I have successfully used the vdi image to run the ...
1
vote
0answers
33 views

Moved /var/log to a new logical volume now data is missing

I have a RHEL server that has /var mounted inside an LVG on its on dedicated LV. Per RH Security Advisory CCE-26215-4 I needed to migrate /var/log to its own dedicated partition. So I shrunk /opt to ...
2
votes
0answers
125 views

How to restore casper-rw file to a casper-rw partition

New to Linux and using Mint 17.2. Started with persistent Live USB that ran out of space after a week. So made a backup of everything (entire filesystem) including the casper-rw file, created new Live ...
2
votes
1answer
295 views

Move root partition to another disk

Below is my df -h output. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 20G 18G 1.2G 95% / tmpfs 2.0G 0 2.0G 0% /dev/shm /dev/xvda2 138G 4.4G ...
1
vote
1answer
841 views

Cannot format device /dev/sda4 which is still in use

When I try to LUKS encrypt a partition on a CentOS 7 server using the command cryptsetup -y luksFormat /dev/sda4, the attempt fails with the error Cannot format device /dev/sda4 which is still in use. ...
2
votes
1answer
42 views

understand the output of bsdlabel

I have a Juniper router which uses Junos(based on FreeBSD) operating system where I can backup certain partitions from router CLI. Under the hood router starts the restore process and copies /dev/...
0
votes
2answers
277 views

Can I install the /home and swap partitions to a different drive than /?

I am in the process of dual-booting my Windows 10 PC to also run Linux Mint. I have both a 240 GB SSD and a 1TB HDD. The SSD is for the Windows 10 OS, and the HDD is for my files/documents/everything ...
0
votes
0answers
90 views

why can't I partition a LUKS mounted partition?

A CentOS 7 server has to have LUKS encryption for everything but /boot and /boot/efi. And the large LUKS encrypted remainder partition (1.8 TB) will then need to be partitioned further. I was able ...
0
votes
1answer
72 views

Increasing partition of a SD card

I have a SD card that has two partitions /dev/sdb1 that holds the boot sector, and /dev/sdb2 that holds the OS. The card still has unpartitioned free space. How can I take all the unpartitioned free ...
0
votes
1answer
68 views

why are DATA partitions not consistently reported in CentOS 7?

Why am I getting inconsistent/conflicting pictures of the DATA partitions that were created in the CentOS 7 installation process when I use df -T -h, parted ... print, and fdisk -l? In case it ...
0
votes
1answer
368 views

Grub won't boot after Linux installation

After getting fed up with Ubuntu because it wouldn't boot grub, I decided to use the distro Elementary OS. Elementry OS won't boot grub either. I'm not dual-booting, and I've installed Ubuntu in the ...
1
vote
0answers
86 views

Having trouble setting up an Ubuntu/Windows 8 dual boot

I hope I'm not posting this in the wrong place (and if I am, please direct me to where you think would be a better place to post it) as this doesn't relate entirely to Linux and is really more to do ...
2
votes
1answer
824 views

how do I partition a CentOS 7 server using parted?

I am planning to divide the largest partition on the hard drive of a CentOS 7 server into four smaller partitions using parted. Three of the new partitions will be 300 GB each, and the fourth ...
1
vote
0answers
386 views

GParted on USB: Backup GPT Table is Currupt

I have a new USB and have used it before however when plugging it in, it does not show up on my desktop in Linux Mint. When opening GParted, a message pops up that says Libparted Bug Found! The ...
0
votes
1answer
81 views

Data recovery from corrupted Mint 17 partition

I'm facing a strange issue, I will try to give as much details as I can. I already tried lot of things from stackexchange and ubuntuforum and nothing seem to work. My HDD looked like this : /dev/...
0
votes
0answers
114 views

Partition unaccessable - I/O error

In my laptop I have one drive that has been split in several partitions: sda1 swap sda2 vfat sda3 ext4 (home + root) sda5 ntfs (just for files) One day I wanted to move folder from sda5 to ...
0
votes
1answer
79 views

The file system type of my home partition is 'swsuspend'. Is this recoverable?

Here's how this happened: I've got separate root, home, boot and swap partitions for my Arch Linux installation. Today I booted from a USB stick and mounted my root, boot and home partitions to /mnt,...
3
votes
2answers
751 views

How can I set a label on a dm-crypt+LUKS container?

I just received a new USB flash drive, and set up 2 encrypted partitions on it. I used dm-crypt (LUKS mode) through cryptsetup. With an additional non-encrypted partition, the drive has the following ...
6
votes
1answer
120 views

Moving /boot partition without messing up the system

I have deleted my old Linux Mint partition I had installed beside my new current Rafaela one. Thus, I have free space I want to add to my home partition. Above you can see the partition layout: sda4 ...
1
vote
1answer
68 views

/home on 2 separate hard drives

I use my laptop for work and for personal (eg gaming). I need to keep the two separate, which I currently do with two users. I'm currently running Linux Mint 17.2 64-bit (Cinnamon edition), and would ...