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)

86
votes
5answers
86k views

What is LVM and what is it used for?

As a Linux/Ubuntu newbie, what is LVM and what is it used for? In terms of a web server installation, what benefits does it provide? Would you recommend using it?
82
votes
7answers
270k views

How can I resize an ext root partition at runtime?

How can I increase the size of the root partition of a system at runtime? I have a partition that is not allocated after the root partition (which is also ext4), how can I add that unallocated space ...
50
votes
6answers
212k views

How to use manual partitioning during installation?

I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual ...
48
votes
6answers
53k views

My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room

My first issue was when i tried to apt-get update/upgrade. On upgrade I get the following error: You might want to run 'apt-get -f install' to correct these. The following packages have unmet ...
41
votes
4answers
55k views

How can I quickly copy a GPT partition scheme from one hard drive to another?

On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb. But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution, ...
36
votes
4answers
96k views

How to enable exFAT in Ubuntu 14.04

I just installed Ubuntu 14.04 and I can't mount my exFAT HDD. I get the following error: Unable to access “SeagateHDD” Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t ...
35
votes
1answer
27k 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 ...
33
votes
9answers
12k 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 ...
33
votes
6answers
127k views

How can I resize an LVM partition? (i.e: physical volume)

I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is ...
31
votes
5answers
115k views

How to resize partitions?

Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers. ...
30
votes
3answers
22k views

How to move Ubuntu to an SSD

My current situation is: One hard disk Dual boot Ubuntu 11.04 and Windows 7. Partitions: 100MB Windows System thingy 144GB Main Windows 160GB Ubuntu 4GB Swap 12GB System Restore stuff Now I want ...
29
votes
5answers
29k views

Installing Ubuntu with Windows, which is left and right when allocating space?

I'm installing Ubuntu (or Xubuntu/Lubuntu/Kubuntu) alongside Windows 7/XP. I got to the screen that says, "Allocate drive space by dragging the slider below." On the following screen, I'm not sure ...
28
votes
1answer
29k 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 ...
24
votes
8answers
270k views

“No root file system defined” error while installing ubuntu

I am new to linux/ ubuntu and just downloaded the v11 of ubuntu to learn linux. I faced this "No root file system is defined" error while trying to install it. This is how I was proceeding - ...
24
votes
9answers
135k views

Fix corrupt NTFS partition without Windows

MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I had Windows installed). I'm putting the debug output of fdisk and blkid here. At the same time, any OS is unable to ...
24
votes
11answers
24k views

How to hide a(n) (NTFS) partition from ubuntu

I need to hide an NTFS partition from listing in the nautilus. How can I achieve that? Is there any tool to do that? And how can I hide files in ubuntu (except . operator)
22
votes
4answers
40k 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 ...
22
votes
3answers
12k 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 ...
21
votes
9answers
53k views

How do I repartition with GParted? [duplicate]

I wanted to create more space for Ubuntu on my hard disk in favor of my Windows partition. I booted the livecd and resized the NTFS partition to 100 GB. Then I wanted to resize my Ubuntu (ext4) ...
20
votes
8answers
2k views

Check how space is distributed on Linux system

I know how to check space left with: df -h and I know to check the space of a folder with: du -ch /path/to/folder/ But let's say I have a 500 GB HardDisk and 350GB are used: Wich is the best ...
20
votes
5answers
4k views

What are the advantages and disadvantages of mounting various directories on separate partitions?

While installing Ubuntu with the "something else" option, I found out that there are many folders that can be mounted on separate partitions, as you can see in the image below. So what are the ...
20
votes
7answers
26k 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?
20
votes
8answers
59k 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
6answers
14k views

How would I speed up a full disk dd?

I am doing a dd on two identical drives with this command: dd if=/dev/sda of=/dev/sdb bs=4096 Both hard drives are the exact same model number, and both have 1TB of storage space. /dev/sda uses a ...
19
votes
4answers
41k 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 ...
19
votes
6answers
18k views

How do I get rid of “U3 System” on my USB drive?

I have a USB drive (SanDisk SDCZ40-016G) that mounts in a way I've never seen before. When inserted, two items appear in Places -> Computer: "SanDisk Ultra Backup: 16GB" contains my data, and "CD ...
19
votes
4answers
58k views

Partition does not start on physical sector boundary?

I've one HD on my laptop, with two partitions (one ext3 with Ubuntu 12.04 installed and one swap). fdisk is giving me a Partition 1 does not start on physical sector boundary warning. What is the ...
18
votes
7answers
45k views

My disk already has 4 primary partitions, how can I install Ubuntu?

I would like to install Ubuntu alongside Windows 7 on a HP G62 Notebook. Although I have installed Ubuntu in a dual-boot many times before, I found out that this model has already four partitions. ...
18
votes
1answer
24k views

How to expand the ext4 primary partition size in a VMware Player virtual disk?

I have a VMware Player virtual machine setup, running Ubuntu 10.04 as the a guest OS. The VM was created on a 20GB virtual drive, with a single partition for working space. Finally I got to the point ...
18
votes
2answers
15k views

How do I check whether partitions on my SSD are properly aligned?

I just installed ubuntu on my new intel SSD. Now I am not sure, whether paritions are properly aligned in respect to my specific SSD. Here's my fdisk output. $ fdisk -l Platte /dev/sda: ...
17
votes
8answers
11k views

Is it possible to install Ubuntu without formatting any partitions?

Can I install Ubuntu without formatting any partitions on my hard drive? I am already running Windows 7 and I want to install Ubuntu as well without formatting any of the partitions I have already ...
17
votes
0answers
14k views

How do I resize my current ubuntu partition? [duplicate]

I've got Ubuntu 10.10 installed to use my whole hard-disk, but would like to use the 130GB of free space I've got to create a new partition and do some development on Unity and Natty. Can I use ...
16
votes
3answers
6k views

How can I move my /home directory to another partition if it's already part of the / partition?

I have a wonderful running Maverick Meerkat install going on right now. I want to move my /home to another partition as per many suggestions. How can I go about doing this without reinstalling the ...
16
votes
5answers
12k 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. ...
16
votes
5answers
7k views

Why can't I install Ubuntu or Wubi on a Windows Dynamic Disk?

I've been trying to install 12.04 for a while now, I'm running on Windows 7 and I already made the partition (it's dynamic). I've tried booting from a disc and also the Windows installer. I haven't ...
15
votes
3answers
11k 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 ...
15
votes
1answer
46k views

Ubuntu installation partitioning: Logical or primary?

I am in the process of reinstalling Ubuntu. When I got to this step: I was prompted to choose a logical or a primary partition. I've never seen this dialog box before -- before it just told me to ...
15
votes
1answer
4k views

Can't boot into Windows 7 EFI GPT after recovery operation

My question, or rather issue, is in the extent of this previous case in which I wanted to grow my Linux (ext4) partition. The partition /dev/sda6 was in the way of doing this and since it contained ...
14
votes
3answers
2k views

Why is there 4.86(maybe 15.1) GB of USED-space on a newly partitioned and formatted 298 GB drive (as ext4 by Gparted)

Well the question says most of it... Gparted reports the used space as 4.86 GB Nautilus reports used space as 15.1 GB...(via Properties of /media/U_0298_data) Why is this space used? and who is ...
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 ...
13
votes
4answers
46k views

How do I align my partition table properly?

I am in the process of building my first RAID5 array. I've used mdadm to create the following set up: root@bondigas:~# mdadm --detail /dev/md1 /dev/md1: Version : 00.90 Creation Time : Wed ...
13
votes
4answers
10k views

How big should I make my swap partition?

I'm (re)installing Ubuntu on my Toshiba NB100 netbook (Intel Atom, 120GB HD, 2GB RAM). Already have a partition I call "Stuff" with all my media and docs. Will be deleting the one I had Win7 on ...
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, ...
12
votes
3answers
20k views

How do I resize partitions using command line without using a GUI on a server?

I only access the server via terminal and I can't use graphical tools such as gparted! I need it because I want to create a new partition from a part of root about 768mb to create a swap partition. # ...
12
votes
4answers
21k views

Put swap on SSD or HDD?

New installation coming up. 120gb SSD for OS and HOME and 1tb HDD for storage. 16gb of ram which means 16gb of swap if I recall correctly. SSD space is too valuable for a swap partition right? If my ...
12
votes
3answers
22k 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 ...
12
votes
2answers
35k views

How do I install Windows 7 alongside a pre-existing Ubuntu installation?

I purchased a PC six months ago for work related tasks. I do 95% of my work on Ubuntu (web development). Now, I want to install Windows on another partition to play a few games on my relax time. Which ...
12
votes
2answers
21k views

How to combine an SSD boot drive with a HDD data drive? [closed]

I have a SSD with 64 GB and a 6 GB/s 1 Terabyte harddrive. I want to use the SSD only as a boot device and maybe for swap storage. On the 1 Terabyte harddrive I want ot have the main file system. As ...
12
votes
1answer
4k views

Should I align partitions on an SSD, if so how do I do it at install time?

I just bought a new SSD (OCZ Vertex 2) and plan to do a clean install of Maverick on it (/home is on a separate HDD). I read that it is wise to align SSD partitions. What advantages does it truly ...
12
votes
5answers
360 views

How to make duplicate of whole HDD?

I have an Ubuntu 12.04 production server with a 500 GB (nearly 15 gb used) HDD. I want to duplicate whole HDD including, its partition structure, to another HDD with 400 GB size so that changing the ...