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
2answers
803 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
269 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
3k 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
98 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?
4
votes
1answer
4k 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
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 ...
0
votes
3answers
536 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
984 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
3k 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
37 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 ...
1
vote
2answers
1k 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 ...
0
votes
5answers
2k views

Debian stucks at formatting 33%

I'm trying to install Debian Squeeze 6.0.5 on a new HP Proliant Microserver N40L with 4 GB RAM and 1.5 GHZ and 2 new Seagate BARRACUDA 2TB HDD (delivered yesterday). The installation stuck at the ...
9
votes
1answer
2k 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 ...
1
vote
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
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
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 ...
0
votes
2answers
447 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 ...
15
votes
4answers
10k 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" ...
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 ...
6
votes
3answers
3k 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
6answers
25k 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
339 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
70 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 ...
7
votes
4answers
4k 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
6k 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 ...
3
votes
1answer
8k 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
276 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
6k 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
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 ...
1
vote
3answers
633 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
5k 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 ...
5
votes
1answer
852 views

Partition not mounting from fstab

I have mounted a partition and add it to fstab file and then rebooted but I see that the partition is not mounted although it was added to fstab. What is wrong, and how can I solve it? fstab line: ...
4
votes
2answers
6k views

What are the ramifications of not having a valid partition table?

I recently upgraded my Ubuntu from 11.10 (Oneiric) to 12.04 (Precise Pangolin) on a Dell Inspiron B130 Laptop. When I run fdisk -l it says that my HD doesn't contain a valid partition table. I have ...
1
vote
1answer
138 views

Shared partition permission management

I am willing to try a dual boot arch/lmde setup on my laptop next week, but I've ran into a problem: I want to have a shared data storage where my downloads, documents etc would reside and could be ...
0
votes
1answer
237 views

Hidden ext4 partition?

Is there a way to hide an ext4 partition from e.g Thunar? And the open file/save dialog , I think they come from the same source.
0
votes
1answer
42 views

Don't create partition schema in external devices

Is right to create a filesystem without to create a partition table in external devices non-boot? I've created directly a filesystem into a memory card (SD) and it has been mounted automatically when ...
20
votes
2answers
28k views

Create partition aligned using parted

I'm partitioning a non-SSD hard disk with parted because I want a GPT partition table. parted /dev/sda mklabel gpt Now, I'm trying to create partitions correctly aligned so I use the next command ...
4
votes
1answer
221 views

Can unformatted partitions have UUIDs?

Can a partition have a UUID without a filesystem?
5
votes
3answers
1k views

How to resize an LVM partition at the beginning

I have resized lvm partitions in the past, but after the resize there is space at the end of the partition. What I want to achive is to have the space at the beginning of the partition instead. The ...
3
votes
1answer
192 views

do my advanced filesystem partitions have problems?

Recently one of my drive's went bad in my RAID, and I'm replacing with a new drive. I used this answer to mirror the partition on my old drive for resyncing. But I'm concerned about the output. My ...
1
vote
1answer
778 views

Partition mounted noexec even though not specified in /etc/fstab

I'm using Linux Mint 12. There I have several partitions which I auto-mount on startup. pysdm says that /dev/sda6 should permit execution of binaries. Also the /etc/fstab says it should. /dev/sda7 ...
6
votes
4answers
1k views

Difference between bootable and non-bootable partitions

What is the difference between a bootable and non-bootable partition? I know that a user cannot boot a system from a partition marked non-bootable and can from one marked bootable. I want to know ...
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
1answer
513 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 ...
1
vote
3answers
879 views

Accidentally formatted Ubuntu partition to NTFS. Recover?

I accidentally formatted my Ubuntu partition in Windows 7 (quick format). Is there any way to recover the partition and data?
1
vote
2answers
789 views

Fdisk partition alignment, NAND, not showing specified heads

I ran fdisk with these options, fdisk -H 32 -S 32 /dev/sdc Then I made a new label, and created an aligned first partition. Disk /dev/sdc: 7743 MB, 7743995904 bytes 32 heads, 32 sectors/track, ...
1
vote
2answers
1k views

Fresh Linux (Debian and CentOS) installation will not boot

I am trying to install either Debian or CentOS on a home server (Fujitsu PRIMERGY TX100 S3). I first tried installing Debian. The whole installation was successful (including grub). But after ...
1
vote
1answer
88 views

Location on disk to write a byte-flag?

I am writing an update utility for an embedded Linux device for which I am responsible. I'm creating a basic side-by-side setup, where updates are applied to a staging partition and then the ...
0
votes
1answer
314 views

GParted is Frozen

I've been trying to allocate more space for Windows... And to do that, I have to resize my Linux partition partition. So I booted up from my flash drive and started up gParted. Everything was ...
5
votes
2answers
2k views

Accidentally deleted the partitions on my boot disk. The system is still running. How can I recover?

I just accidentally scrubbed all the partitions from the wrong disk. /dev/sda is the boot disk, and /dev/sdb is a new disk I am trying to set up as a RAID mirror. I accidentally fat-fingered it, ...