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)

9
votes
1answer
12k views

How to (safely) move /tmp to a different volume?

Today the /tmp directory filled up on a machine at work. The problem was, it was on the root partition which wasn't very big. In order to fix this, a co-worker created a /new/tmp directory elsewhere, ...
5
votes
1answer
412 views

Is there a BSD operating system that can be booted off a logical drive partition?

From several BSD operating systems' documentation, there is a requirement for it to be booted off a primary partition. Is there any BSD that can be booted off a logical partition in some indirect ...
4
votes
1answer
371 views

Problems moving home partition

I was running low in disk space on my Linux box, Ubuntu 10.10 Desktop, (specifically on my /home partition) so I added another disk to it and I am trying to move the home partition into it. I am ...
3
votes
2answers
2k views

How to create a new partition on a hard disk?

How do I create a new partition on a hard disk, from the terminal? I've been reading the man pages for fdisk and mkfs, but they're confusing. I need to know how to create a new partition on a blank ...
2
votes
1answer
104 views

renaming a fat16 volume

What's the easiest way to rename (change the volume label of) a fat16 volume (e.g. on a USB drive) from linux? It seems like mlabel from the mtools package is meant to do this, but the documentation ...
9
votes
1answer
4k views

How does partprobe work?

I was looking for a way to refresh the scsi bus (or any other bus, for that matter) that would allow my kernel ( 2.6.18-194-el5 on CentOS 5.5) to know about the partitions on a drive, and I couldn't ...
1
vote
3answers
184 views

back-up database in Linux partition from windows partition!

Hello I am in a very embarrassing situation, I was trying to upgrade to ubuntu 10.04 from ubuntu 9.10 yesterday and while updating I forgot to put my laptop on charger and the battery ran out. Since ...
5
votes
6answers
254 views

What's the best tool chain or single tool to transform a NTFS to ext[n] filesystem?

I've decided to go Linux only, finally! This also means that I have a bunch of disks still under NTFS. I don't have spare space anywhere to transfer the files to and then just re-format the drive so ...
0
votes
2answers
526 views

Meaning of hard disk drive software partitions? [closed]

I would like to know What is the exact meaning of primary partitions? Why it is named so? and why it is restricted to 4? What is meant by extended partitions? Why it is named so? and what is the ...
4
votes
3answers
4k views

Hard drive/device partition naming convention in Linux

What is the hard disk drive/device partition naming convention in Linux? For example, [hd0,0], sd0, etc. What does it actually mean? What is the significance of this when i need to install multiple ...
4
votes
1answer
376 views

Preseeding Ubuntu 10.04

I need to preseed a dual boot installation of Ubuntu 10.04. I want partman to use all already existing Linux partitions and all free space (like the option when installing Fedora) what would that ...
6
votes
2answers
7k views

Finding the sector size of a partition

I answered this question, assuming that the *.img file had a sector size of 512. How do I query a device, or the image of a device, to find the correct sector size?
3
votes
2answers
323 views

Change main partition size to install another distribution

I have CentOS 5.5 installed, I have no un-partitioned space and the only ext3 partition I have is huge with lots of free space. Can I change that partition size in order to allocate another one? I ...
6
votes
3answers
2k views

Primary vs Logical partition

I know that you can only have 4 primary partitions on a hard drive. But if you're using less than 4, is there a benefit/penalty for using logical partitions?
8
votes
1answer
498 views

Can I convert an ext3 partition into ext4 without formatting?

my home directory is on a separate partition which still uses ext3. Is there a way to convert this partition into ext4 in a non-destructive way?
8
votes
5answers
495 views

Mounting a partition into a 'sandbox'

I'm wondering if this is possible. I want to set up a linux system that mounts / remote linux machine to / on the local machine. However, I want all changes on the local machine to be saved to ram so ...
6
votes
2answers
391 views

Defragging an ext partition?

Why don't ext2/3/4 need to be defragmented? Is there no fragmentation at all?
2
votes
4answers
4k views

Linux partition table

What kind of partition table does Linux create by default? Is it msdos? Is it different depending on the Linux distribution used(I'm using Ubuntu)? Is there any command line utility I could use to ...
2
votes
2answers
917 views

Installing a second hard drive

My system currently runs an XBMC live install. I am installing a second hard drive in my system, but I am somewhat of a linux newb and only know the basics. Since it is XBMC I believe I need to do ...
30
votes
9answers
12k views

Why put things other than /home to a separate partition?

So recently a Debian 5.0.5 installer offered me to have separate /usr, /home, /var and /tmp partitions (on one physical disk). What is the practical reason for this? I understand that /home can be ...
39
votes
11answers
10k views

Is it good to make a separate partition for /boot?

I've seen some people make a separate partition for /boot. What is the benefit of doing this? What problems might I encounter in the future by doing this? Also, except for /home and /boot, which ...
12
votes
3answers
7k views

How can I move the home directory to a separate partition?

I would like to install another distribution but keep my home directory. Is there a way to move the home directory to a separate partition? I don't have an external hard drive available to back up my ...
13
votes
6answers
6k views

What's the best way to partition your drive?

I usually install Linux on a single partition since I only use it as a personal desktop. However every now and then I reinstall the box and what I simply do is to move my files around with an ...
22
votes
7answers
5k views

How can I use DD to migrate data from an old drive to a new drive?

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple ...