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)

2
votes
2answers
1k views

Is there an excellent tutorial on how to resize a rootfs partition (and shrink another) on a drive that is 100% allocated?

I'm experiencing the all-too-common "root partition full" situation. 100% of my hard drive is allocated. My home (ext4) partition has plenty of space to give up for my full root partition (rootfs). ...
2
votes
1answer
496 views

Move / to a new partition

I have Windows 7 and Debian dual-booted on my laptop. I'm getting cramped for space on the Debian side, so I want to remove the Windows partition and use the whole computer for Debian. I'm currently ...
2
votes
2answers
161 views

How do I backup everything?

What can I use to create a backup image of my entire system that will be saved on a LAN computer via SSH? If I break anything later, I want to be able to restore my entire system as it was before the ...
2
votes
4answers
4k views

Best Disk Partitioning Scheme for a Linux-based Developer Machine

Is there some kind of "best disk partitioning scheme" for a Linux-based web and application developer machine, in terms of performance, organization or others?
2
votes
2answers
176 views

Why is my /home separate from /?

I was confused why I was getting out of space errors so I ran df and saw this: [me@fedlap /]$ df -h Filesystem Size Used Avail Use% Mounted on rootfs 43G ...
2
votes
3answers
428 views

Need more disk space for root

Several months ago I bought a new computer and installed/configured dual boot with Arch/Ubuntu Studio. I wanted to try Arch (because it was suggested as a great distro for audio production [since it ...
2
votes
2answers
498 views

area on disk after the MBR and before the partition start-point

If I use a MBR partitioning scheme and create a primary or extended partition with fdisk(version 2.20.1), then it starts on sector 2048. If I remember correctly, then older versions of fdisk started ...
2
votes
3answers
199 views

Mystery of a small 1K hard disk partition, and is it safe or malware on Ubuntu 12.04.02LTS Amd64 generic

Look at my bizarre sda4 partition. It is just 1K in size! Be mindful that this is not cluster size, this is partition size. I did not knowingly install this sda4 super small partition. This is not ...
2
votes
2answers
2k views

How to mount ext3,ext4 sitting on VDI VirtualBox HDD?

How to mount ext3, ext4 partition sitting on "Fixed-Size VDI" VirtualBox HardDisk ? To be more specific, I ma interested in case when VM is not running.
2
votes
1answer
503 views

Do I need to format a CF before installing Linux?

I recently purchased an 8GB Patriot CF card, like this one . I also have a Syba CF/Sata adapter. I put these together into my mini-itx computer (connected via Sata cables, not USB) and booted an ...
2
votes
1answer
235 views

Why does the /boot partition get updated when I install software

Based on some recommendations I read online, on install of a new (Ubuntu) system, I made my /boot partition separate from / and small in size (only around 50 MB). It makes sense to me that you would ...
2
votes
1answer
418 views

How to extend an ext3 partition over LVM inside a file (virtual machine)?

I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager). I can afford a few minutes of downtime so a VM shutdown/reboot is fine. The virtual hard disk is in ...
2
votes
3answers
12k views

How to change mount points

I'm not very deep into this mounting/unmouting think on Linux, so here goes my question: With df -h I get the following overview: Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
2
votes
2answers
5k views

How do I create a separate partition for my /home directory?

I was reading http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/s1-diskpartitioning-x86.html, but it's not clear to me what this means. What's an LVM Volume Group versus a Hard ...
2
votes
5answers
4k views

How do I resize a partition in Ubuntu linux without losing data?

I ran out of space in my on the drive only to find that there was another unformatted partition in the system that is available. I now want to resize the current partition to take in the empty ...
2
votes
4answers
3k 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
1answer
34 views

Where does dd start when copying a partition?

I'm copying an entire HDD using the dd tool, and I'm considering stopping part of the backup due to space limitations. Does the dd tool begin at the front of a partition when copying? The first ~90 ...
2
votes
1answer
80 views

Moving pacman from root to /home partition [duplicate]

Back before I knew what I was doing, I installed my Arch system with a 10 GB root and an 85 GB /home partition. Now my 10 GB root (where my pacman installs to) is full and I'm unable to get gparted ...
2
votes
3answers
142 views

What directories can be shared between distros?

After getting some information about partition scheme, I came to know that using discrete partitions will be more useful. If I'd to install another OS, and see having /home directory in seperate ...
2
votes
1answer
45 views

Command to reread partitions from media

When I insert media (e.g. an SD card) the system (Ubuntu 12.04) reads the partition table and creates all the /dev/*[1234] links to each partition. If I repartition the media I have to physically ...
2
votes
4answers
5k views

Partition scheme for installation of Debian

I'm installing Debian Wheezy on a 50 GB partition of a 500 GB Seagate SATA hard disk with 2 GB RAM. I want to use following partition scheme, but stuck at: How much (in percent) of disk space should ...
2
votes
2answers
68 views

How to configure hard drive

I have a hard drive that is not configured, it shows this in fdisk -l: Disk /dev/dm-2: 107.4 GB, 107369988096 bytes 255 heads, 63 sectors/track, 13053 cylinders Units = cylinders of 16065 * 512 = ...
2
votes
1answer
83 views

fdisk. What does the “free” partition mean?

I had two primary partitions (/dev/sda1 and /dev/sda2). Then I created an extended partition to segment it into logical partitions. After I had typed fdisk /dev/sda and n (add a new partition) the ...
2
votes
3answers
674 views

Cannot create a partition after the 4th

When using cfdisk to partition for Arch Linux, I found that after the 4th partition, I can't make any more. I'm using VMWare Player as a VM, and I'm using a single fake HD file. Earlier I thought ...
2
votes
1answer
1k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
2
votes
2answers
1k views

Moving /usr to its own filesystem/logical volume

My Fedora 17 (x64 - running on VMware Workstation 8) root filesystem is running out of space (this was an install using the default layout as suggested by the Fedora installer): # df -h Filesystem ...
2
votes
3answers
3k views

How to change the volume name of a FAT32 filesystem?

I know I can set the volume name when I format the partition with the -n option of mkfs.vfat. But how to just change the name without formatting? I especially want to be able to use lower and ...
2
votes
3answers
812 views

Root filesystem nearly full - should I be worried?

me@netbook:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 323M 292M 15M 96% / tmpfs 5.0M 4.0K 5.0M 1% /lib/init/rw tmpfs ...
2
votes
2answers
491 views

Does mkswap check that a partition is a swap partition before formatting it?

I checked the man page for mkswap and was left confused whether mkswap tests whether a partition is of type 82 before formatting it. Background: I am using Ubuntu 11.04, and I had just set up my swap ...
2
votes
1answer
557 views

Creating a new partition in empty space between 2 existing ext4 partitions

Output of fdisk -l: Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes ...
2
votes
2answers
817 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 ...
2
votes
2answers
45 views

dd to clone to smaller sdcard

One of my Raspberry Pi's is using a 4GB SDcard for the root/boot filesystem. As seen when mounted on another system: Disk /dev/sdc: 3904 MB, 3904897024 bytes 121 heads, 62 sectors/track, 1016 ...
2
votes
1answer
46 views

Why is my hard drive out of space if gparted says I have 500+GB

I recently installed Debian on my machine and made separate / and /home partitions. Yet my disk usage analyzer shows that my /home is inside /. But gparted shows that /home is indeed in it's own ...
2
votes
2answers
59 views

Error when creating BTRFS Filesystem

I'm attempting to install Arch Linux using the btrfs filesystem. I'm at the beginning of the install processes preparing my drive and I'm hitting an issue. Firstly I begin to clear any GTP and MBR ...
2
votes
2answers
148 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
2
votes
1answer
160 views

Disk is almost full on a server with CPanel

I have VHM system and I have a domain and two subdomain on this system. I tried to take a backup than after sometime I cannot access cpanel but I can access VHM. but some of the VHM options gives disk ...
2
votes
1answer
61 views

Accessing Windows7_OS partition from Linux on a dual-boot

Are there any limitations on accessing the Windows7_OS partition while I am booted on my Linux OS? Occasionally I like to browse files that are on my Windows partition or copy files to my Linux drive ...
2
votes
1answer
373 views

Software RAID 10 + LVM on mixed drives, sector alignment?

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
2
votes
2answers
167 views

Resize vdi size doesn't work as supposed [duplicate]

I just installed the new one Debian xfce via VirtualBox, but decided to increase the vdi size from 8GB to 20GB (because it requires 42% of all disk space at this moment): VBoxManage.exe modifyhd ...
2
votes
2answers
92 views

How does system know where the first logical disk starts?

I'm trying to understand the ms-dos partition table, and there's the following diagram: It comes from this site. Almost everything is pretty clear to me, but there's one thing I don't get. As you ...
2
votes
1answer
6k views

Installing debian 7 besides windows 8

I ask this question in superuser but no one can answer my question, I hope any one can help me: I bought a VAIO laptop which Windows 8 preinstalled on it in UEFI mode. Now I want to install Debian 7 ...
2
votes
1answer
4k views

extending a partition by resize2fs

I have a 4 GB SD card. Before the image load root@ubuntu# fdisk -l Disk /dev/sdb: 3965 MB, 3965190144 bytes 49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors Units = sectors of 1 * ...
2
votes
1answer
696 views

Graphical Btrfs tool

Is there a graphical tool for creating Btrfs sub-partitions and in particular, subpartitions like "GParted" or "system-config-lvm"? I'm running Debian squeeze. In response to the first comment, Btrfs ...
2
votes
2answers
117 views

Can I safely resize my partition from its beginning?

Currently dual booting Windows 8 and Linux Mint 14, sooner or later I will give more space to my Linux system. Is resizing my Linux partition from the beginning a safe operation ? If yes, could you ...
2
votes
1answer
3k views

fdisk isn't showing my hard drive as properly formatted (but it is)

I've got 3 1TB drives which I've set up to use LVM. Here's the output of pvdisplay: --- Physical volume --- PV Name /dev/sda1 VG Name vgpool PV Size ...
2
votes
1answer
642 views

Mac OS X partition type problem

As a 2 decades of MS-Windows user I have switched to Mac OS X a month ago. And my knowledge is not enough to fix my big problem which I encountered yesterday and my brand new MBPro is dead now. I ...
2
votes
1answer
687 views

convert /dev/md0 to /dev/sda1

I used a Software-RAID I and want to access the data without RAID now. After mdadm --fail /dev/md0 /dev/sda1 mdadm --remove /dev/md0 /dev/sda1 I tried mount -t ext4 /dev/sda1 /mnt but dmesg ...
2
votes
1answer
3k views

Unable to create logical partition with Parted

I was fiddling around with parted command on a loopback disk and tried to create some partitions using gpt part table but I keep getting Error: Unable to satisfy all constraints on the partition. when ...
2
votes
1answer
1k views

Why my partitions don't show the right capacity on a 4096 byte physical block hard drive?

After reading a lot about why newer 4096 byte physical block hard drives should be partitioned taking care of alignment (Linux on 4KB-sector disks: Practical advice, What is partition alignment and ...
2
votes
1answer
167 views

What is the smallest LVM2 logical volume unit?

Could you ensure me that minimal LVM2 size Unit is one extent to which all sizes are rounded up ? Is 4MiB the default size of extent for LVM2 ? Can it be configurable or is it the only size ? Small ...