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
838 views

Moving a root directory to a separate partition

I'd like to create a new partition and move the contents of the /var directory to it for the security reason of having /var/www and other subdirectories "mounted" with nosuid, noexec, and nodev ...
2
votes
2answers
121 views

Does Linux support Mac OS partitions format?

I want to install Linux alongside Mac-OS. There is something I'm in doubt about. Does Linux support Mac-OS partitions format?
2
votes
1answer
62 views

Isn't /boot a separate mount?

My understanding is that /boot is being accessed by lower level tools (e.g. grub) during system startup and so it is formatted specially in a simpler format than the rest of the disk. But when I do: ...
2
votes
3answers
3k views

Shrink Windows partition to install Fedora 20

I want to install Fedora 20 along already installed Windows 8.1 on my notebook. I found a good how-to on Techotopia, however, the installer for Fedora 20 looks completely different, is simpler (cough ...
2
votes
3answers
813 views

boot partition is almost full in CentOS [duplicate]

I got a warning of my /boot partition is almost full(85%). What should I do? Can I remove one of the backup kernel? How to do it safely? My partition right now Filesystem 1K-blocks ...
2
votes
4answers
696 views

How do I find the offset of an ext4 filesystem?

I have a failing hard drive that is unable to write or read the first sectors of the disk. It just gives I/O errors and that is all there is. There are other areas on the disk that seem (mostly) fine. ...
2
votes
1answer
106 views

Partitioning. Arch vs Ubuntu manuals

I got a little confused after I had read advices on https://wiki.archlinux.org/index.php/Partitioning and on https://help.ubuntu.com/12.04/installation-guide/powerpc/directory-tree.html. Why is there ...
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
508 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
177 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
537 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
540 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
209 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
1k views

GPT "Type device filename, or press <Enter> to exit?

I am attempting to install Arch Linux (for the hundredth time) and I recently ran across another problem. I am trying to find a list of my partitions. In order to do this I entergdisk When I do this ...
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
515 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
237 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
422 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
13k 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
5k 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
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
1answer
35 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
88 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
156 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
6k 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
70 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
84 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
751 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
857 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
501 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
572 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
832 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
60 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
54 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
72 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
161 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
207 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
67 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
429 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
204 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
98 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
7k 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 * ...