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)

4
votes
0answers
2k views

Problem Installing UBUNTU 14.04 (AND Mint 16, which is based on UBUNTU 13.10) as dual boot on RAID 0 with Windows 8.1

Ok, I know that there is Dual-Boot Ubuntu 14.04 and Windows 7 on FakeRAID Installation error - question marks "????..." and that that post has some answers for me, but I don't know if it ...
4
votes
1answer
783 views

How to mount an encrypted TrueCrypt partition always in the same point?

I just formatted my external HD and divided it in two partitions: an ext4 where important information will be, and a ntfs for "compatibility" things (i.e. movies, music, etc). I encrypted the ext4 ...
4
votes
2answers
564 views

How do I make use of unused space on my boot drive on FreeBSD

I have an old FreeBSD Server (running 7.3-RELEASE) that desperately needs additional storage. In fact, it has some-- the original 20G SCSI drives have been replaced by 300G SCSI drives, so in theory ...
4
votes
2answers
1k views

Can I split /boot to a different partition on a single partition system?

I have set up my system, configured it and everything, using only one partition for / (ext4). So no separate home, boot, swap etc. So the question is: Is there a way to go from this configuration ...
3
votes
3answers
212 views

How does Linux deal with a separate /boot partition?

I am interested to learn about how Linux deals with a separate boot partitions. I am not interested in actually doing this, but I would like to know how this works under-the-hood. Consider a hard ...
3
votes
4answers
3k views

What is the concept of Drives in Unix Systems?

In windows, we have C drives where all the softwares are installed and other partitions e.g; D, E etc to store our data. Now once we reinstall the windows for some reason, we install everything again ...
3
votes
2answers
8k views

How extend linux partition with?(after success to extend : fail to boot computer)

I have Ubuntu and I want to enlarge the disk space of /dev/sda1 from 10GB to 90GB. gparted Ubuntu 9.04 live cd show: Partition File System Size /dev/sda1 ext4 10GB /dev/sda2 ...
3
votes
2answers
731 views

Utility to TRIM unallocated space on drive

I have a drive (SD card) with a few ext4 partitions but also some unallocated space. The fstrim utility can only work within a filesystem. Before I reinvent the wheel and write one, is there another ...
3
votes
3answers
749 views

FreeBSD and Linux shared partitions

Which directories, and how, can I share between FreeBSD and Linux? In particular, how can I deduplicate respectively /usr/home and /home? I guess directly sharing a partition between both systems ...
3
votes
3answers
2k views

How to repartition pendrive again?

My 8GB pendrive originally contained only a FAT partition, but I tried to install OpenSUSE 11.4 on it. I created a 200MB partition for /boot and the rest was for the root partition. Despite the ...
3
votes
5answers
2k views

How to check accurately the remaining disk space on a partition?

I have my /home partition formatted as ext3. Occassionally, some program that is part of GNOME is giving notifications about there only being 700mb of space left. Nautilius tells me I have 5.6GB. Disk ...
3
votes
3answers
477 views

Remove /var partition and replace it with /var into / (root) partition

I accidentaly created a /var partition and I'd like to get rid of it. Is it possible to remove this partition and use the / partition to contain /var without reinstalling the OS or do I have to ...
3
votes
3answers
712 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 ...
3
votes
3answers
622 views

Prevent non-root user from formatting a partition

Few days back I mistakenly formatted a partition on my external hard drive by clicking Format from the Context menu in Computer. I want to know that how can I prevent non-root user from being able to ...
3
votes
2answers
94 views

/etc files on a different partition

My setup requires that some of my /etc files reside on a separate partition. For this purpose I've created a softlink: ls -li /etc/group 956 lrwxrwxrwx 1 root root 21 May 7 15:48 /etc/group -> ...
3
votes
3answers
103 views

Figuring out what OS is on which partition?

So I have both Ubuntu and Crunchbang installed on my laptop, and I'm trying to figure out which one is on which partition. I'm going to install another OS (probably BT) and need to know what ...
3
votes
4answers
250 views

How can I partition a volume in a regular file without loop?

I'm trying to play around with OS development, and I started with a boot loader, where phase 0 loads phase 1 from a file (specified by inode) on an ext4 partition (specified by first LBA). Of course, ...
3
votes
2answers
526 views

Does the order of partitions matter much?

I've just ran a test install of Arch on a separate computer, and now I'm ready to do the real thing on my main one. However, since the guide didn't explicitly recommend it, I did not install with a ...
3
votes
1answer
523 views

Finding all partitions with filesystems

I'm writing a script that will copy all of the files on a device to a directory. The problem is that some of the devices have multiple partitions and some of the partitions don't have filesystems to ...
3
votes
1answer
291 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 ...
3
votes
3answers
334 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 ...
3
votes
4answers
5k views

Backup of LVM2 logical volume

I'd like to make backup on external drive of LVM2 logical volume in dd manner. Approach I consider is to make lv on extranl drive with identical size copy with dd (Please let me know if you see ...
3
votes
3answers
1k views

Copying an HDD to a larger one by dd

I'm trying to copy an entire HDD which has IBM PC-style partition table to a larger one by dd on GNU/Linux. The questions are: Can I use the additional space on the larger disk by changing the ...
3
votes
1answer
730 views

Is the crazy partition layout in Fedora 15 really nessesary?

As I'm installing Fedora 15 on another computer I'm really starting to question the crazy partition layout. On this computer there's an existing Windows 7 installation, so I'm cramming Fedora right ...
3
votes
1answer
164 views

How can I fix a partition conflict?

I am running Ubuntu 10.10 on a 250 gb hdd. I chose at installation to install all on one partition (it was recommended for beginners). Unfortunately, I need to use Windows 7 too. I didn't want to ...
3
votes
2answers
2k views

How to resize an IMG file's partition info?

I made an ISO this way: sudo partimage save /dev/sdc1 /media/56AE8240AE82191F/Backup/xfcefat.iso The resulting iso file is very small but when mounted I see that it has correctly preserved the ...
3
votes
3answers
2k views

Adding an unused partition to a linux filesystem

I am running kubuntu 11.04. I installed it in a dual-boot scenario on a single drive, with Windows XP installed first. The XP installation is fubar so I now would like to use the space in kubuntu. I ...
3
votes
4answers
1k views

How to get size of a block special file?

I need to be able to determine the size of a block special file. For example, given /dev/sda, I need a command that will provide the size of the device. (By size I mean capacity, since this is a ...
3
votes
4answers
3k views

What's the limit on the no. of partitions I can have?

I would like to know how many Primary and Extended Partitions I can create on a x86_64 PC with Linux running on it? Update : If there is a limit to the number of partitions, why is that the ...
3
votes
1answer
252 views

“unknown partition table” - misconfigured kernel

I was compiling a custom linux kernel for a newly installed machine, and after booting into the new kernel (3.12), the init process fails to find a root device, which I traced to the system getting an ...
3
votes
1answer
2k views

Understanding partition table with sda1 sda2 sda5

I just inherited a system and I am trying to understand it's partition table for the hard drive. (I'm new to this) machine:~# fdisk -l /dev/sda Disk /dev/sda: 250.0 GB, 250000000000 bytes 255 heads, ...
3
votes
2answers
383 views

How do I name a partition?

Currently, I have a partition where Crunchbang is installed, which shows up as a folder in Mint named either 0d71227f-66fc-45ac-8bfc-93280b93dc8c or "10.0 GB Volume". First question is, of ...
3
votes
2answers
316 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.
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 ...
3
votes
2answers
1k views

Linux Mint: drives' map changing at reboot brings fstab error

I've set up fstab to auto mount media drives on a Linux Mint machine. The OS is installed on a IDE/ATA Disk while 3 SATA disks hold data to share. The BIOS has the ATA disk as first boot device. All ...
3
votes
2answers
317 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 ...
3
votes
1answer
43 views

understanding the “chunk size” in context of RAID

Am I correct that chunk size in context of RAID is essentially the same thing as cluster in file-system context? In other words, chunk size is the smallest unit of data which can be written to a ...
3
votes
2answers
45 views

If /usr partition not specified, does it go on same partition as root by default?

I plan to install Fedora Linux on a machine with an SSD and an HDD. /boot, and the root will have their own partitions on the SSD. If I want /usr to be on same partition as /, will that occur by ...
3
votes
1answer
4k views

how to find the type of img file and mount it

I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is? # mount -t auto -o ro,loop gmapsupp.img /mnt/iso/ mount: you must specify the ...
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
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 ...
3
votes
3answers
1k views

How much disk space should be allocated for FreeBSD?

I have a Samsung N150 netbook with 160 GB hard disk. I want to install FreeBSD OS. There will be no other OSs, no dual booting or like that, just FreeBSD. So the manual says to have a separate ...
3
votes
2answers
1k 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 ...
3
votes
2answers
110 views

Moving unallocated space from Extended partition to create a Primary partition

This is my partition structure : I want to create another primary partition from that unallocated space. If I shrink sda2 to a size less than what I needed for to create another primary partition, ...
3
votes
1answer
53 views

WD Advanced Format confusion

One of my Hitachi DeskStar 7K160 hard disks died today and the other one is not safe (has bad sectors) so I've ordered a new 1 TB WD Blue WD10EZEX. Apparently nowadays new hard disks come with this ...
3
votes
1answer
975 views

Short read while trying to open partition

On my personal home computer running Kubuntu Linux 13.04 I'm having trouble mounting a partition that is very dear to me. My backup policy is to perform a backup about monthly, so I do have a backup ...
3
votes
1answer
283 views

Removing windows partition from dual-boot

I have a dual boot of Windows 8 and Linux Mint 14. I want to remove the windows partitions and format them to ext4. sudo fdisk -lu gives me this.. Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 ...
3
votes
1answer
189 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 ...
3
votes
1answer
840 views

Create iso image of ext3 type

I want to create an ISO image which can be mounted with an ext3 partition type. How can I do that? I am using this command: [root@manage upload]# dd if=testParti.txt of=./diskImage.iso 41+1 records ...
3
votes
1answer
1k views

Ubuntu 11.04 and large external drives

I have a Hitachi USB external 3 terabyte drive attached to a Dell Precision T1500. When connected to the computer running Ubuntu 11.04 (2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 ...