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
1answer
68 views

Why does the MINIX installation ask how big /home should be?

While installing MINIX is was asked how big do want /home to be. --- Step 5: Select the size of /home --------------- MINIX will take up 611 MB, without /home. How big do you want your ...
4
votes
2answers
666 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". ...
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% / ...
4
votes
1answer
173 views

Does GRUB consider partition order when looking for config files?

I have a HD which has 3 partitions, in the following order: NTFS FAT32 FAT32 (very small) I want to install GRUB into the MBR of the HD, and place the config files (menu.lst, etc.) into the 3rd ...
4
votes
2answers
1k views

Migration from loop-aes to cryptsetup

I've upgraded my linux installation to kernel 2.6.38-2 (Debian testing). With the new kernel, loop-aes does not compile, so I cannot mount my encrypted volumes. I heared that it is possible to use ...
4
votes
1answer
28 views

Cannot mount LVMm: resume ioctl on failed

I wanted to resize my LVM, followed some tutorial on the net and the system totally crashed (I got some boot error with UUID not found). I ran a LiveCD and tried to at least recover some files but I ...
4
votes
1answer
105 views

Archlinux, move files to a different partition

During the installation I thought I had generated the correct fstab, but now, after cp complains that the filesystem is full, I discover that fstab is empty. I have this configuration: # lsblk NAME ...
4
votes
2answers
3k views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...
4
votes
2answers
1k views

Programmatically partition disk

I am attempting to create a bash script which will create a new partition with a file system on a disk with existing partition(s). It looks like it's easy to create partitions programmatically with ...
4
votes
1answer
13k views

mount: wrong fs type, bad option, bad superblock on /dev/sdb on CentOS 6.0

Somehow my partition on /dev/sdb has gotten all buggered up. This hard drive contains a lot of data that I need to recover and haven't been able to backup yet. When I attempt to mount it: # mount -t ...
4
votes
2answers
4k views

Linux Mint freezes on startup

Premise I am running Linux Mint on my sister's computer. Everything was working fine, but than one day she turned it on and she got a strange message she didn't understand. I think it was some kind ...
4
votes
1answer
701 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
1answer
375 views

Preseeding Ubuntu 10.04

I need to preseed a dual boot installation of Ubuntu 10.04. I want partman to use all already existing Linux partitions and all free space (like the option when installing Fedora) what would that ...
4
votes
0answers
4k 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
128 views

Tool to create recipe to preseed partitioning

I want to preseed an Ubuntu 12.04 installer using a custom partitioning recipe. My disk layout is reasonably complex, and so is the recipe syntax itself. Hand-crafting such a recipe seems tedious and ...
4
votes
1answer
985 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
665 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
2k 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
6k views

How to Expand LVM2 Partition in Fedora Linux

I've been using Fedora 15 on a VMWare virtual machine. Over time, the disk space I initially allocated for the file system began to run out, only 12GB left. I've expanded the disk space an extra 25GB. ...
3
votes
3answers
596 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
6answers
5k views

How can I solve the issue about mounting my Windows 8 NTFS partition on Linux Mint?

I used Ubuntu for long even along Windows and SOMETIMES I got this problem for mounting the corresponding NTFS partition at the beginning, however with a pair of command lines to the console I got it ...
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
1k 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
978 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
2answers
5k views

Do I only need one swap partition for multiple Linux distros? (and other questions)

I have Linux Mint 14 installed as my only OS. I have one extended partition containing /swap, / and /home, and I have some unallocated space on my drive. I'm guessing that Mint decided to put this ...
3
votes
3answers
580 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
631 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
144 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
109 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
2answers
16k views

How to format a write protected pen drive in Linux?

How can I format the write protected pendrive?
3
votes
4answers
1k 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. ...
3
votes
1answer
10k 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
296 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?
3
votes
2answers
794 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
718 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
3answers
345 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
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
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
1answer
747 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
169 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
648 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
59 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 ...
3
votes
1answer
4k 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, ...