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)

57
votes
12answers
29k views

What's your recommendation on drive partitioning schemes for a desktop and home server? [closed]

What partitioning scheme do you recommend for a desktop? I've always created three or four primary partitions -- root, swap, home, and sometimes a separate boot partition. Ubuntu's default install ...
52
votes
4answers
39k 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?
43
votes
8answers
156k 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 ...
28
votes
5answers
21k 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 ...
26
votes
9answers
6k 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 ...
26
votes
3answers
13k 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 ...
24
votes
4answers
26k 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, ...
22
votes
6answers
23k 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 ...
20
votes
1answer
13k 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 ...
19
votes
9answers
39k 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) ...
19
votes
1answer
15k 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 ...
19
votes
6answers
37k 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 ...
18
votes
3answers
24k 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 ...
17
votes
8answers
6k 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
3answers
55k 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 ...
17
votes
0answers
13k 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
6answers
9k 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 ...
15
votes
6answers
20k views

My laptop 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. ...
15
votes
7answers
14k 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?
15
votes
1answer
984 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
8answers
138k 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 - ...
14
votes
3answers
5k 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 ...
14
votes
3answers
5k 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 ...
14
votes
5answers
4k views

Why can't I install Ubuntu or Wubi on a dynamic disk? (“The request isn't supported” from bcdedit.exe)

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 ...
14
votes
2answers
9k 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: ...
13
votes
5answers
62k 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. ...
13
votes
8answers
56k 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 ...
13
votes
4answers
955 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
3answers
1k 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 ...
13
votes
4answers
22k 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 ...
13
votes
4answers
7k 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 ...
13
votes
4answers
35k 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
3answers
4k 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 ...
12
votes
7answers
9k 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
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
2answers
29k 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 ...
12
votes
2answers
2k views

btrfs partition won't mount after upgrading 64bit Ubuntu 11.10 laptop

I have tried many ideas from the net, but none of them work. This looks correct and in good order **sudo btrfs filesystem show /dev/sda2** failed to read /dev/sr0 Label: none uuid: ...
11
votes
3answers
2k views

Is the swap partition encrypted?

Selecting the encryption option at install time to encrypt the home partition. Does this enable encryption of the swap partition or is the swap partition unencrypted. If the swap partition is ...
11
votes
2answers
21k 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 ...
10
votes
8answers
11k views

How to hide an 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)
10
votes
3answers
6k views

Mount Ubuntu's partition on Windows 7

Is it possible to mount Ubuntu 10.10's partition on Windows 7?
10
votes
2answers
11k 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 ...
10
votes
2answers
1k views

Why does the first partition start at sector 34 when I choose “Guided - Use entire disk” during install?

After choosing "Guided - Use entire disk" during installation of Ubunsut Server 12.04 I find that the first partition starts on sector 34. Why that specific sector and not the first one? (parted) ...
10
votes
3answers
10k views

Should I use btrfs or Ext4 for my SSD?

Should I use btrfs (with discard, compress=lzo and space_cache options) or Ext4 (with discard option) for the SSD for my Ubuntu 11.10 (Oneiric) amd64 desktop root partition of my office machine? ...
10
votes
5answers
253 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 ...
9
votes
4answers
2k views

How to avoid problems when installing Ubuntu and Windows 7 in dual-boot?

I want to try out Ubuntu (and hopefully choose it as my primary OS). After looking at many versions of it in VirtualBox and from Live CD, I've finally decided to install it. So I defragmented and ...
9
votes
3answers
16k views

How to format/partition SD card?

How can I format or partition SD card in Kubuntu? Is there an application with GUI for this?
8
votes
2answers
8k views

What GPARTED alternatives are available?

What is a good partitioning tool for Ubuntu 10.X as an alternative to GPARTED? I haven't been able to find one that is easy to use. A commercial product is OK if necessary for ease of use.
8
votes
7answers
1k views

How safe is it to install Ubuntu on a Windows 7 PC - repartitioning the disk?

I am going to install Ubuntu on a brand new PC, which comes with some OEM installation of Windows 7. I know that Ubuntu can resize an existing Windows NTFS partition, so that it has free space to ...
8
votes
3answers
5k views

Move Installation to new disk

I currently have one hd with these partitions: /dev/sdb1 / /dev/sdb2 swap /dev/sdb3 /home I'm thinking about buying a ssd for my / partition. Now my question is: Is it possible to ...