Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as 'partitions'

learn more… | top users | synonyms (1)

16
votes
6answers
32k views

Do we still need swap partitions on desktop?

I have read this question, but it was asked in the context of servers not desktops or notebooks. If a good amount of RAM is installed on a notebook, say 8 GB, do we still need a swap space?
5
votes
1answer
3k views

How to recover files after deleted my Ubuntu partition?

I normally dual-boot with 12.04 and Win XP pro sp3 on a Thinkpad R60. I needed to reinstall windows because of problems piling up, so I ran the computer's built-in hard-disk recovery software. I ...
2
votes
2answers
60k views

Installing Ubuntu 13.10 alongside Windows 8.1 [duplicate]

I have a Dell Inspiron 5520 (8GB Ram, 1TB HDD) and I have installed Windows 8.1 x64 on it. I want to install Ubuntu and dual boot Windows 8.1 with Ubuntu but I can't (my problem isn't the dual booting ...
8
votes
1answer
8k views

Shrink a partition without losing data

I've got a Linux-based OS installed on a partition I want to shrink. Want to avoid reinstallation or losing/corrupting data, if possible.
3
votes
0answers
217 views

Using LVM in the already running Ubuntu system

I am using Ubuntu 14.04 dual booting Windows 10. I had one hard drive and now I've added another. I've allocated around 840GB for Ubuntu. In the past I've been able to mount this drive to /media/...
3
votes
1answer
3k views

Remove Windows Vista Partition So Ubuntu Fills Entire Hard Drive? [duplicate]

I created a partition for Ubuntu so I could dual-boot Windows Vista with it. However, Windows is no longer necessary and I want Ubuntu to take up the entire hard drive. I was wondering how to safely ...
2
votes
1answer
1k views

DUAL boot issues with windows 8 and Ubuntu 12.04

I have installed Ubuntu 12.04 on Sony VAIO with preloaded Windows8. I allocated a space of 16gb seperately without creating a new volume and then put the Ubuntu installation disc.I had to Boot in ...
0
votes
1answer
852 views

'Upgraded' to Windows 10 on dual boot, and can't boot to Ubuntu partition

I recently updated my windows 7 to 10, and destroyed grub in the process. I ran Boot-Repair on a live CD and managed to get the Windows Partition back. However grub still doesn't come up for me. The ...
49
votes
1answer
36k views

What are “/run/lock” and “/run/shm” used for?

I just want to know where and how /run/lock and /run/shm can help our PC . $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 56G 13G 41G 24% / udev ...
25
votes
8answers
88k views

How large should I make root, home, and swap partitions?

I have a laptop with win7 installed. I have now made a 60gb partition which I want to install ubuntu into. The question I have, before I do the installation, is how large each of the root, swap, and ...
19
votes
2answers
132k views

Terminal method of formatting storage drive

I want to know how to format a storage drive from the terminal. Helpful things to provide in the answer would be often used options for commands and base knowledge that one can use to extrapolate ...
22
votes
4answers
59k views

Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point). One partition is owned by root and therefore does not mount ...
28
votes
3answers
21k views

What are the pros and cons of having a separate home partition?

This is not a question about how to create a home partition, just as a caveat. :) What are the pros and cons to having a separate home partition? How do I know if having one is right for me? Will it ...
8
votes
3answers
13k views

ext4 partition size / free space discrepancies

While creating a 250GiB backup partition for my data, I have noticed lots of discrepancies between reported partition size and free space in Nautilus, gParted, df, tune2fs, etc. At first I thought it ...
5
votes
1answer
1k views

Constant UUID on USB install

I've got an Ubuntu install on a USB with a separate NTFS partition, can I expect the same UUID for the partition if I removed and reattached the USB to a computer?
24
votes
5answers
20k views

Swap not working on clean 14.04 install using encrypted home

Update 3: I decided to reinstall the system from scratch to remove any old cruft lying around since I had been experiencing some other issues after the upgrade aswell. Howver, this issue persisted. ...
25
votes
7answers
38k views

Should I choose exFat or NTFS for a “shared” partition in a dual-boot system?

I have a new laptop which I am setting up as dual boot Windows/Linux. I would like to access files from both Ubuntu and Windows 7. Should I create a separate NTFS partition?
16
votes
3answers
16k views

Is a /boot partition necessary anymore?

A fair while ago (~ 2004) I was told to always create a separate partition for the boot directory. And since then I always have. But after reading a few questions about partitioning questions, I'm ...
9
votes
1answer
27k views

Is it safe to format msftres, msftdata and hidden partitions?

I have an acer V7 which came with a 1TB HDD, 24GB SSD and Windows 8 installed. I have installed Ubuntu onto the SSD and formatted the main partitions of the HDD. However, I also notice 3 other ...
14
votes
4answers
1k views

Home on a different partition

How do I define a separate partition for Home? How does it affect systems with multiple users? EDIT Okay, thanks for all the answers, I understand the thing about Home on adifferent partition, so ...
11
votes
2answers
29k views

GRUB: “invalid arch independent ELF magic” after install on SSD [duplicate]

I've got a brand new laptop with a 128GB SSD drive. I read that aligning the partitions to match the Erase Block Size of the SSD is important. I followed William Scott's guide SSD Tweaks in Linux and ...
2
votes
1answer
465 views

How to Create a seperate partition for home after accidentally installing ubuntu under single / partition

I have got a dual boot system here with a couple of partitions: Windows 7 OS partition Another partition for office data One partition for Ubuntu And ofcourse one 100Mb partition automade by ...
4
votes
1answer
6k views

How to recover lost partitions data?

I have a 2TB SATA drive that was being used as file storage on my UBUNTU computer. I was re-imaging my windows box so I used that drive to back up some files to it. I did this by taking the drive from ...
3
votes
1answer
5k views

Partitions created in Windows are not showing in Ubuntu

I want to install Ubuntu 12.10 64 bit alongside Windows 8, so I created some free space in Windows 8. When I try to install Ubuntu using a Live USB, the free space created is not visible and the ...
3
votes
1answer
9k views

Recover EXT4 partition

I was trying to resize my EXT4 partition and something went wrong. I lost it. The space in once consumed is now being represented as Unallocated. How do I recover the partition?
14
votes
7answers
100k views

How do I remove my Ubuntu partition from Windows 7 and reuse the space?

I am dual-booting Windows 7 and Ubuntu, both installed on separate partitions. I don't need Ubuntu anymore. How can I remove the Ubuntu partition(s) and add the reclaimed space to my Windows 7 ...
12
votes
7answers
11k views

Can I remove Windows Vista from my notebook and only install Ubuntu?

I would like to remove Windows Vista from my notebook which is currently running a dual boot Windows Vista + Ubuntu and use Ubuntu as the only OS. The notebook is unstable when running Windows Vista, ...
8
votes
2answers
4k views

Reinstalling Ubuntu without formatting partition - what folders are deleted?

When re-installing Ubuntu on a partition where an existing Ubuntu installation already exists, and not choosing to format the partition, the installer shows a warning message before it begins ...
10
votes
1answer
9k views

How can I store /var on a separate partition?

I'd like to store /var on a separate partition from /. What is the correct way to set this up?
7
votes
2answers
12k views

How do I remove Windows 7 from my dual boot system with Ubuntu?

Hello can someone give me short tutorial how to: Remove Windows 7 from my dual boot system (Ubuntu/Windows7) Let me use free space as new partition for data (so I dont need to extend ubuntu itself ...
15
votes
1answer
21k views

GParted wont resize extended partitions

I have dual booted windows 7 and Ubuntu 12.04 LTS and have decided that I need more space on my Ubuntu partition. I used gparted on a Live CD to shrink my Windows 7 partition (/dev/sda3) but when i ...
4
votes
2answers
4k views

How to design partitions for SSHD?

I'm going to install Linux on Lenovo B5400, which contains: 500GB Hybrid SSHD with a 8 GB SSD and 500 GB HDD Designing partitions for my 2 Linux distros was quite easy before, when I had only HDD. ...
2
votes
1answer
5k views

Extending my Root Paritition

I've Win8/Ubuntu Dual boot. I already have 4 partition so i cannot create a new partition and mount it elsewhere. So, this (How can I increase a partition's size?) question did not help. Here's a ...
2
votes
2answers
405 views

My partition table is facing limitations; having problems creating more partitions

I first noticed an issue when trying to install Linux Mint 14 as a third OS alongside Ubuntu 12.10 and Windows 7 - I was unable to create another partition to install Mint to. Poking around, I ...
1
vote
3answers
2k views

How to prevent a partition from being mounted?

I have two NTFS partitions that constitute a Windows 7 install. I am running Ubuntu and virtualize that Windows install off the physical disk. While the VM is working it could be disastrous if mount ...
0
votes
1answer
83 views

How do I prevent one of my partitions messing with Lubuntu Grub entries?

I recently deleted my Windows XP partition in my dual boot machine (Lubuntu/Windows XP), replacing it with Bhodi Linux. Everything went smoothly, but now I have a problem: Bodhi Linux is messing with ...
36
votes
9answers
16k views

What is the meaning of the default directories in the Linux filesystem hierachy?

Having installed various Linux distros for tinkering, I'm puzzled by the installers offering partition layouts - for an easy way out I just use the whole available disk space. Some of the partitions ...
15
votes
3answers
32k views

How to move boot and root partitions to another drive

I have two drives on my computer that have the following configuration: Drive 1: 160GB, /home Drive 2: 40GB, /boot and / Unfortunately, drive 2 seems to be dying, because trying to write to it is ...
28
votes
4answers
51k views

Trouble creating 3TB ext4 partition due to msdos-partition-table-imposed error

I just bought a 3TB WD green drive, but when I try to partition in in gparted I get an error like: ====================== libparted : 2.3 ====================== partition length of 5860530176 sectors ...
36
votes
1answer
41k views

What's the difference between ddrescue, gddrescue, and dd_rescue?

The dd command is commonly used to make image backups of a drive or partition. However, it performs poorly if the source drive is unreliable or failing. I read that ddrescue/dd_rescue is a good tool ...
14
votes
5answers
56k views

Can't format / delete locked partition from gparted?

I can't format my hard disk for Ubuntu installation. It has Fedora installed in it. I wonder how to unlock the locked partition to delete and format it, since I am stuck at installing Ubuntu. I am now ...
13
votes
1answer
43k views

How do I create and tune an ext4 partition from the command-line?

PARTITIONING (e.g. fdisk) What are some useful commands used for partitioning an additional hard drive from the command-line? Since most published guides steer towards GParted and other graphical ...
3
votes
2answers
6k views

How do I use my home directory on a separate partition?

My understanding of disc partitioning has always been that you partition a disc to install multiple operating systems so you can boot from multiple operating systems on a single disc. However I'm ...
13
votes
3answers
86k views

How to resize / enlarge / grow a non-LVM ext4 partition

I have already searched the forums, but couldnt find a good suitable answer: I have an Ubuntu Server 10.04 as KVM Host and a guest system, that also runs 10.04. The host system uses LVM and there are ...
8
votes
3answers
21k views

Live USB on a 2-partition usb-drive

I was wondering if I could have 2 partitions on a USB-drive that would allow me to boot on my key as a regular USB-installation-disk (partition1), and another partition for regular storage under ...
5
votes
5answers
11k views

Cannot remove hiberfile on ntfs partition

I've been looking at questions like Unable to mount Windows (NTFS) filesystem due to hibernation and How do I mount a hibernated NTFS partition? and they all say "Boot into windows" which I am unable ...
5
votes
2answers
16k views

Resize Disk Partition on Remote VM Server

I'm running Ubuntu Server 10.04 on a remote server as a VM. I only have access to the VM. The VM is assign a disk space of 20GB, however the drive is currently only partitioned to use about 4.7GB. I ...
7
votes
2answers
33k views

How do I erase/format a harddisk from a live CD?

I need to format a drive containing an old install of Ubuntu 10.04, to install Vista (not my idea!) Vista setup apparently refuses to format non-FAT32 or NTFS partitions. However, I can't seem to ...
6
votes
5answers
24k views

Failed to access Windows 8.1 NTFS partition from Ubuntu 13.10, even after disable fast startup

I am using Ubuntu 13.04, 32 bit and Windows 8.1. When I try to mount Windows 8.1 NTFS Partition it is showing this error message as below. Previously I was using Windows 7, but I have no problem to ...
5
votes
2answers
14k views

Setting Up RAID During 13.04 Install

I am attempting to install Ubuntu 13.04 Desktop on RAID 5, but I can't figure out how to do it. I have read that it can be done during the install, though I haven't found a good explanation of how ...