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)

1
vote
1answer
119 views

changing the partition of a linux

I have a ubuntu system as a virtual system on Virtual Box. It uses VHD as its hard disk. I manged to change the size of VHD using VHD resizer, now I want to expand the partition on vhd so it uses the ...
0
votes
1answer
2k views

Resize non-LVM ext4 root partition

How can I shrink/resize a non-LVM ext4 root partition? The problem is I can't unmount it and I don't have physical access.
5
votes
3answers
627 views

How can I script the creation of a single partition that uses the entire device?

I am specifically using this to partition and mount EBS volumes on Amazon EC2 instances, but really this should be generally applicable to initializing any new drive. As the question says I want to ...
0
votes
3answers
258 views

Partition /usr/local : Can I use the software there after reinstall?

I want to reinstall Linux OS, and before that, I think I will partition my hard disk again. (I just use a simple one partition / for root, and make Linux automatically put all other directories ...
1
vote
1answer
831 views

How to resize root Volume Group

How Can I reduce size of root volume group? /dev/VolGroup00/LogVol00 I just have SSH access to Linux host.
3
votes
0answers
248 views

Setup Cloudmin on Centos installed in LVM

I installed CentOS 6 with default LVM partition pattern. according to this pattern Can I use Cloudmin and store KVM Disks in LVM as Logical Volume? I think Cloudmin requires creating new logical ...
2
votes
1answer
6k 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 ...
4
votes
2answers
561 views

LVM with SSD and SATA hard disks

Is it possible to create LVM partitions for both SSD and SATA hard disks? I mean if there isn't any conflicts.
1
vote
1answer
864 views

Identical mount points for two file systems when installing Linux

So, I'm going through Crunchbang's installer (very similar to Debian's), and am at the partitioning step. I chose the 'Guided - use entire disk and set up encrypted LVM' method (usually I do manual ...
4
votes
3answers
2k views

When and why do block devices need to be partitioned? [duplicate]

Possible Duplicate: The merits of a partitionless filesystem So I've got a block device, say /dev/sda or /dev/loop0. Clearly if I want to boot from the former, or I want to subdivide it ...
2
votes
2answers
9k views

Partition table not recognized by Linux kernel

I experience relatively often that the partition table of a USB stick or SD card is suddenly no longer recognized by the kernel while (g)parted and fdisk still see it, as do other systems. I can even ...
3
votes
2answers
951 views

Is it possible to remove Windows 7 from dual-boot?

I have Windows 7 as primary OS with Linux Mint as secondary OS. I am just feeling comfortable with Linux and want to remove Windows from the disk. Is it possible to remove it without damaging data? ...
0
votes
1answer
522 views

how to restore a logical partition to it's original ext4 format

This question is following Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7 where the diagnostic was that installing windows 7 deleted my /home partion, lovingly ...
2
votes
1answer
2k 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 ...
4
votes
1answer
838 views

How to add a Linux Partition on FreeBSD

Today I installed FreeBSD 9.0 PPC on my Mac mini G4 with 40GB HDD. During installation, (using the FSBD utility 'gpart') I have allocated a total of about 23GB for FreeBSD leaving 17GB totally free ...
4
votes
2answers
823 views

Help with unzipping a .dd.gz, possibly corrupted

I recieved this file that I was told was a copy of a hard drive (or disk). The file is "sheeva-mem.dd.gz". I tried to unzip the file in a linux Fedora machine. This yielded "unexpected end of file". ...
2
votes
1answer
677 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 ...
4
votes
1answer
1k views

Expanding root partition in SUSE Linux

I have a server where the space distribution among partitions is as follows: GSSJMB02:~ # df -kh Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p5 25G 5.9G 18G 25% / ...
6
votes
1answer
2k views

How to properly align partitions?

I'm trying to understand what are the rules for creating correctly aligned partitions. For the moment I'm playing with parted on a virtual machine, but I'm planning to move to a real hard disk when I ...
1
vote
1answer
240 views

partprobe displays 'msdos'

Why is partprobe -s displaying 'msdos', when I run it in Linux?
1
vote
2answers
1k views

How to extend second CentOS 5 partition in VMware

I know this question has already been answered for a primary partition, but what about a secondary? I have extended the space to 30G in VMware. When I perform an fdisk -l, here's the output: Disk ...
3
votes
2answers
354 views

Is it better to partition one drive or use separate drives?

I am a system admin with limited Linux experience, and have been tasked with setting up Cent OS 5.8 64bit install, and creating a template once complete. My main client base will be developers, and I ...
5
votes
2answers
6k views

Unpack files and directories from an image created by dd?

I created an image of an NTFS partition using dd. I wonder if I can unload/unpack the files and directories in the image to any partition whose size is larger than the image size, so that I can ...
5
votes
1answer
125 views

Why do some of my lvm partitions have “-real” appended to their names?

In the /dev/mapper directory I can see my lvm partitions, but then I'll see some other ones with the same names, but with "-real" appended to them. What's that about?
7
votes
1answer
7k views

How to mount multiple directories on the same partition?

I am installing an SSD and would like to put / on the SSD and /home, /var, and /tmp on the HDD. My current distro is Kubuntu but I would not mind trying another distro if this procedure can be ...
2
votes
2answers
2k 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 ...
0
votes
3answers
851 views

Is it safe to only have root and swap partitions when dual-booting Linux and Windows?

I am trying to install Linux Mint alongside an existing Windows 7. I found a simple tutorial (I haven't tried it yet), but I wonder if it is healthy to partition / and /swap only. On the other hand, ...
2
votes
2answers
2k views

Changing partition sizes on FreeBSD using bsdlabel

I have recently installed FreeBSD but I don't like the partition sizes that I accepted during installation and would like to change them. I have followed the instructions to do so in the man pages, so ...
3
votes
1answer
4k views

recovering ext4 partition after dd'ing over start of HD

I accidentally used dd and wrote over the first 208MB of my external disk. What I wrote over is a partition on its own (Debian nestinstaller) so what I see now is not my old (now damaged) ext4 ...
0
votes
0answers
38 views

Recreating EXT4 partition without losing data [duplicate]

Possible Duplicate: Can't mount EXT4 hard drive after mounting it in windows I have a 2TB Western External USB harddisk. I formatted it to EXT4. one time I plugged it to a windows ...
2
votes
2answers
2k views

Gnu Parted Error in HardDisk of Linux?

Anyone help me, why the error getting when excuting the fdisk -l command in linux. # fdisk -l /dev/sdb WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support ...
11
votes
1answer
4k views

Defragmentation of LVM2 logical volumes

Question: Is there a tool supporting de-fragmentation of LVM2 logical volumes ? (Making their extents into consistent sequences) Preferably by defining desired order of extents (something like ...
2
votes
1answer
1k views

Can't increase partition size with GParted?

I've got an external disk with 6 partitions: 4 for linux, one storage in HFS+, and one storage in ext4. I'd like to delete the ext4 storage one and move it's resulting unallocated space into my HFS+ ...
2
votes
2answers
3k 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
2k 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 ...
0
votes
2answers
721 views

shrinking partition containing root filesystem [duplicate]

Possible Duplicate: Change main partition size to install another distribution this is the image showing partitions on my hard drive. I am reading linux from scratch and so i need to ...
24
votes
4answers
22k views

Clear unused space with zeros (ext3,ext4)

How to clear unused space with zeros ? (ext3,ext4) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like FSArchiver is looking for "used space" ...
6
votes
3answers
9k 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 ...
7
votes
3answers
5k views

How to read the in-memory (kernel) partition table of /dev/sda?

I accidentally overwrote my /dev/sda partition table with GParted (full story on AskUbuntu). Since I haven't rebooted yet and my filesystem is still perfectly usable, I was told I might be able to ...
7
votes
10answers
41k views

How to extend CentOS 5 partition on VMware?

I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space? I'm new to Linux, so what should I do? I tried loading GParted as well, ...
3
votes
3answers
356 views

Is it safe to use GParted while booted?

I have Linux Mint installed on an external hard drive, and I have the 4 main partitions (/boot, swap, /, and /home). I also have 600GB of unallocated space. I know there's always the chance of data ...
0
votes
2answers
85 views

Can the Fedora installer partition the disk itself?

I've been using Ubuntu for a little while now, but I plan on dual-booting with Fedora just to try it. Does Fedora give you the option to partition your disk and dual boot upon installation or do I ...
11
votes
4answers
6k views

Convert image of a partition into image of a disk with partition table

I have an image of an existing partition generated with dd if=/dev/sdXN of=image.bin. Now I want to use this image as the basis for a virtual machine. I know how to convert the image into a format ...
3
votes
1answer
10k views

How can I shrink a LUKS partition, what does `cryptsetup resize` do?

I am in progress of resizing a LUKS encrypted partition that contains a single ext4 filesystem (no LVM or something). The cryptsetup FAQ recommends to remove the old partition and recreate it, but ...
7
votes
1answer
14k views

How do I determine the new size for resize2fs?

I want to shrink an ext4 filesystem to make room for a new partition and came across the resize2fs program. The command looks like this: resize2fs -p /dev/mapper/ExistingExt4 $size How should I ...
0
votes
2answers
294 views

Dual boot Mint/Windows: Lost 8 GBs on Windows side

Many dual boot tutorials talk about freeing up space through the disk manager in Windows before attempting a dual boot with Linux -- Out of curiosity I decided to skip this step and just run the ...
3
votes
1answer
9k views

Creating an ext4 partition fails with “invalid blocks count”

Environment: - Virtual machine on VMWare ESX 4.0 - OS: fully up to date RHEL 5.8 After adding a new (virtual) disk I want to create an ext4 partition on LVM on this disk. Steps taken so far: $ sudo ...
2
votes
2answers
169 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 ...
1
vote
3answers
1k views

Is it possible to overwrite your mounted OS partition with dd?

I was just wondering if I could run the following command on my mounted OS partition i.e. the one I booted from: sudo dd if=/dev/zero of=/dev/sda bs=1M I can't really experiment with this because ...
3
votes
3answers
8k views

Mount NTFS image file created using partimage

From an old disk which I don't have at hand, I have created a file named winxp.img using partimage. As the filename suggests, the partition contained Windows XP and was formatted with NTFS. (The ...