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
2answers
173 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 ...
2
votes
1answer
567 views

Extend partition size without unmounting it

I would like to create an image of a Linux Mint disc. Then I'd like to copy it to a bigger disc and extend its partition to the full size of the disc. I have already copied the disc using WinImage ...
1
vote
1answer
63 views

Setting Up New CentOS server - Partitions Sizes and File Systems

I'm responsible for setting up a new CentOS 7 server. It's my first time so I want to make sure I'm on the right track. After some research, I chose to have 6 partitions: Partition | Type | Device ...
0
votes
0answers
25 views

How to recover a partition recreated with gparted

Yesterday I've had the bad idea to try to follow this tutorial : http://fds-team.de/cms/articles/2013-12/use-a-real-windows-7-partition-in-virtualbox-kvm-vmware-player-u.html these are the commands ...
1
vote
3answers
37 views

Why is grub showing a windows 7 option?

I've recently in installed mint 17 on my pc. $ parted -l Model: ATA PLEXTOR PX-256M5 (scsi) Disk /dev/sda: 256GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End ...
0
votes
1answer
46 views

Trouble installing <distro> onto correct partition for a dual boot

Some of the context might not be relevant to the problem so feel free to skim through the rest of this post but essentially what I'm doing is trying to install an operating system onto the KAOS ...
3
votes
4answers
5k 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?
1
vote
1answer
51 views

Win7 NTFS Partition is empty using Linux LiveCD

my flatmate crashed her windows installation badly. And of course she just had 1 partition C: on it and no backup. And of course there are very important documents on the HDD. I tried to recover ...
2
votes
1answer
54 views

How to stop caching a LVM partition?

I currently have LVM-cache set up on my Ubuntu install as described in https://rwmj.wordpress.com/2014/05/22/using-lvms-new-cache-feature/. (I did have to install some of the vivid/proposed packages ...
1
vote
2answers
110 views

How do I resize a windows partition without using gparted?

Suppose I have a native (i.e. coming from manufacturers) windows 7 installation on a laptop (with an SSD device, BIOS/MBR partition table if that matters). The partition on the device is completely ...
52
votes
1answer
2k views

Why are there so many different ways to measure disk usage?

When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
0
votes
3answers
42 views

/mnt directory is removed undesirable!

Accidentaly I have removed my /mnt directory... how can I restore it? with the exact permissions and etc??? This directory was empty.
7
votes
3answers
12k 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 ...
1
vote
1answer
21 views

gparted moving unallocated to 1st partition

How can I assign unnalocated space to 1st partition /dev/sda1 ?
1
vote
2answers
7k 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 ...
0
votes
1answer
545 views

UEFI installation failed Fedora 21

I have installed Windows 8.1 on my Lenovo laptop. When I configure partitions I receive this error: No valid bootloader target device found. For UEFI installation , you must include an EFI System ...
2
votes
0answers
54 views

How can I let high priority processes continue when low priority processes are causing free memory to be low

Ok I'm not sure if this is the correct place to post this. It is more of a 'why not' question than a 'how to' one (assumption is that it isn't/can't be done). Why don't we allow RAM to be partitioned ...
0
votes
0answers
73 views

Disk /dev/sda doesn't contain partition table

I am unable to booting with my laptop getting this error No operating system after booing with Live cd if i give this command fidsk -l getting below error. mint@mint ~ $ sudo fdisk -l Disk ...
1
vote
1answer
56 views

Recovering a LUKS partition

I have a drive with 2 partitions 1st is plain ext4 2nd is encrypted LUKS. The partition table has been overwritten. I've found the beginning of the second partition, which I need to recover, ...
0
votes
1answer
43 views

How are logical partitions represented in Linux?

In the texts I study (like: LPIC_1 study guide by R.W. Smith), the linux partitions have been introduced directories split as /home, /boot, /usr and /etc... Looking at what lsblk returns as follows: ...
2
votes
1answer
50 views

How to tell which partition is for windows

So I am currently on my arch linux machine and I have forgotten which partition is for Windows 7. Is there any way for me to tell which is which? When I do: $ cat /proc/partitions I get: major ...
1
vote
1answer
108 views

install with BTRFS: subvolume/partition scheme?

I'm fairly new to both GNU/Linux and btrfs, but I've decided I want to make my next computer (a desktop with one HDD) use Linux with btrfs as the filesystem. However, I've seen some advice online that ...
0
votes
1answer
41 views

why is there a limitation on hard disk size in MBR partitioning?

As MBR uses 32-bit to record the partition, each partition can only go up to a maximum of 2TB in size. How can this be mathematically explained?
0
votes
1answer
49 views

Accidental deleted partition with gparted

I Accidentally deleted a partition, using gparted. It contains valuable data. Can I get the data back?
3
votes
0answers
142 views

LVM Encrypted Partition without Partition Table

I have the following Problem. My Laptop is fully encrypted with LVM I know the Passphrase, but the partition table is broken. I booted from an USB Stick in this Case sdb1. Is there any hope to get ...
1
vote
1answer
164 views

while installing centos error is that 'sda must have gpt label'

While trying to install CentOS 6.4 IN DUAL BOOT with win 7 there was this error "sda must have gpt label". I don't know how to fix it and I also don't want to repartition my hard drive.
30
votes
9answers
3k views

What is the /boot partition really for?

I'm reading a relatively old text on Linux partitions and file systems (the LPIC 1 Certification Bible). It says: Some versions of the Linux boot loaders cannot access a kernel that is outside ...
1
vote
1answer
44 views

Recover partitions Mac OS internal hd

I booted to a live ubuntu USB, wanting to delete partitions on an SD card, and ended up deleting all my partitions on my mac book pro's internal hd. I have already tried gpart (which gets stuck at ...
1
vote
1answer
42 views

Replacing a partition within a .img with another one

I have 2 .img files (embedded Linux images, each with 2 partitions- a boot partition and a rootfs). I need to replace the rootfs partition in one with the other's. How can I do this In the .imgs ...
7
votes
7answers
33k 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, ...
1
vote
1answer
53 views

How to extend root partition (which wasn't created using LVM) in debian linux

I've read this question Can I resize the root partition without uninstalling and reinstalling Linux (or losing data)? before I ask. But I'm not using LVM when creating the root partition, so I'm not ...
-1
votes
1answer
147 views

Raspberry Pi backup server (Mac & Windows) [closed]

I would like to set up my raspberry pi model B and my 2TB hard drive as a backup server for both my windows pc and my mac. I would like to partition my hard drive such that 300GB is for mac time ...
3
votes
0answers
154 views

chromeos - failed to read partition table

I am trying to install archlinux natively on my chromebook. I am following the instructions here, however when I try to create a new disk label for GPT localhost ~ # parted /dev/mmcblk1 mklabel gpt ...
0
votes
2answers
120 views

What file system should a GRUB 2 boot partition use?

I want to install GRUB 2 to its own, comparatively small (500 MB), partition. Are there any requirements on what file system type it has to be? Are there any that, although possible, are not ...
1
vote
1answer
167 views

Triple booting Chromium Os, Ubuntu 14.10, Windows 7

I have a lenovo L410, with windows 7 professional pre-installed. On this, I have dual booted Ubuntu 14.10. Now, I want to triple boot with chromium os, but as I have a lot of stuff, I dont want to ...
0
votes
0answers
18 views

Every time I try to resize the partition I get 2 MB instead of what I wanted?

I'm trying to partition my hard drive when installing CentOS 7. I chose manual partitioning, set the partitioning scheme on Standard Partitioning, then clicked on "Create them automatically". The ...
0
votes
1answer
30 views

Backup and then wipe partition table from head of drive

I have a NTFS hard drive internally attached to my computer and it's causing problems with the other Windows installation on my dual (or triple?) boot machine. I'm not sure if the partition scheme is ...
2
votes
2answers
127 views

How to deny mounting permission?

Consider the following situation: /dev/sda1, /dev/sda2, /dev/sda3 are 3 partitions of the /dev/sda disk. Ubuntu is installed on sda1 and /home mounted on sda2. Only one user foo on Ubuntu system so ...
1
vote
1answer
381 views

Creating EFI bootable GPT partition with gdisk on previous MBR, GPT Damaged

So this is a sister question to my previous one about partitioning for a UEFI boot loader. Parititioning for a UEFI boot loader, can LVM be used? Disclaimer: I don't give a flip about the data on ...
1
vote
1answer
174 views

Problems mounting GPT partitioned external HDD

My neighbor brought over a 3TB external hard drive saying that after loaning it out to a Windows user, her Mac is asking her "to initialize something" whenever she plugs it in to her computer. I'm ...
3
votes
0answers
83 views

Parititioning for a UEFI boot loader, can LVM be used?

I just bought a gently used laptop and I am trying to figure out why this is. It has a single SSD that when running fdisk -l shows as Disk: /dev/sda. Under it though are 5 "devices" under that disk, ...
0
votes
1answer
39 views

Can I make my /home partition smaller and increase my / partition?

When I installed my OS I didn't set enough apace for my / partition. Filesystem Size Used Avail Use% Mounted on rootfs 9.2G 9.1G 0 100% / udev ...
0
votes
0answers
108 views

udisks cannot read label - force to recognize (and mount under) partition labels?

This is kind of similar to How to mount removable media in /media/<LABEL> automatically when inserted, without any desktop environment?, but not exactly. For a while, I've had a setup with an ...
5
votes
2answers
7k views

How do I check how much free space left on a device to create a partition

Let's say I have this virtual machine running: [root@centos ~]# fdisk -ul Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors Units = sectors ...
3
votes
1answer
6k views

Installing Android-x86 on a USB (not creating a Live USB)?

I want to carry around an Android OS install on a USB so I can have a Google Authenticator with me everywhere I go since I don't own any mobile devices. The idea being that I can run Android through ...
3
votes
1answer
112 views

How do I resize partitions and filesystems on them?

How can I resize partitions from the command line? I've heard of GParted, but I don't want to use a GUI program.
1
vote
2answers
48 views

access of linux and windows to same share location

I have some scenario in which I have to use windows (because of the applications), but some of the operations it is much easier to perform on Linux. Therefore, I'd like to install some machine which ...
0
votes
0answers
61 views

Installing Proxmox on a Partition

I am trying to install Proxmox on a 10Gb partition on my laptop to play around with and learn how Proxmox works. How do I tell Proxmox which partition on my laptop to install on? Is there a boot ...
0
votes
1answer
21 views

MBR not corresponding to fdisk -l?

I'm trying to map the shown with sudo fdisk -l and what is written in the MBR. However they seem to differ. What fdisk shows: Device Boot Start End Blocks Id System /dev/sda1 ...
26
votes
3answers
8k views

Are there any side effects when two distros share a swap partition?

In order to save disk space, I want to have two OS installations share a single swap partition (a dual-boot). Is this a good idea?