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)

0
votes
1answer
63 views

how partition for OpenSuSE dual-boot

Currently I'm running Ubuntu 14.10 and have quite a bit of free space on this disc: thufir@doge:~$ thufir@doge:~$ sudo fdisk -l Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors ...
0
votes
2answers
27 views

Delete a swap partition without user interaction

I have a VM with a swap partition on /dev/sda5. The problem is fdisk is interactive so I cannot use it to delete a partition without user interaction. How do I delete the partition in my ...
2
votes
1answer
29 views

Don't I need to move a shrunk filesystem before resizing the partition?

I have a partition of size X GB filled by an ext4 filesystem. Now, I want to shrink this partition (and the filesystem) to only take up the latter X/2 GB. I'm using command-line tools and no parted. ...
1
vote
1answer
63 views

External HDD partition not showing [closed]

I have problem with an external HDD. I am using Debian Jessie. The partition is not showing, I can see only the device: # ls /dev/sd* /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 ...
1
vote
2answers
2k views

Local disks detected as multipath device

My local partitions are detected as multipath device $multipath -l mpathb (360014380125d90420000a000003e0000) dm-9 HP,HSV450 size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw `-+- ...
0
votes
1answer
118 views

'No such file or directory' when I am trying to format Logical Volume

I am trying to create Logical Volume on CentOS 7 on EC2 instance. After attaching the volume I am creating partition using fdisk, then I am starting the Logical Volume creation: pvcreate /dev/xvda1 ...
2
votes
1answer
771 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
125 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
29 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
42 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
72 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
73 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
197 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
198 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 ...
0
votes
3answers
44 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
14k 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
25 views

gparted moving unallocated to 1st partition

How can I assign unnalocated space to 1st partition /dev/sda1 ?
1
vote
2answers
8k 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
1k 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
57 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
117 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
87 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
45 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
56 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
172 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
60 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
218 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
328 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.
31
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
79 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
51 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
36k 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
67 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
266 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 ...
4
votes
0answers
220 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
235 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
219 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
34 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
166 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
249 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
122 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
44 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
127 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
7k 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
149 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
54 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 ...