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
0answers
16 views

How to recover a deleted partition from a NTFS disk with GNU parted?

I'm testing different methods to recover deleted Windows partitions under Linux. For this experiment, I created a partition in Windows, placed some data on it and deleted it. In order to ...
3
votes
0answers
30 views

LVM - Recovering from partition table corruption

I accidentally deleted a partition on a physical disk that was involved in an LVM system. I tried using testdisk's analyse feature to find the LVM partition, but it couldn't locate it. Should I invest ...
1
vote
2answers
7k views

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem. I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
2
votes
2answers
70 views

YaST - Allocating a new partition leads to warning

So the Win10 Tech Preview will be expiring tomorrow. I need a change. I am trying to install OpenSUSE, but I'm not quite confident where I should designate the Linux partition. I put in the install ...
2
votes
2answers
566 views

Could not allocate requested partitions while instaling Scientific Linux

I am installing Scientific Linux, and I must choose a drive to install it. I have a deleted partition with the size of 150 GB. When I select the deleted partition and try to create a partition ...
6
votes
2answers
93 views

Is it possible to enlarge the / partition without rebooting?

I can enlarge the root (/) partition with fdisk without rebooting (deleting an recreating it with the same 1st sector, but greater last sector). However, I cannot make the kernel to re-read the ...
0
votes
0answers
11 views

Installing Linux mint on a computer running ElementaryOS [duplicate]

I would like to add linuxmint to my laptop running ElementaryOS. I was wondering what was the best way to partition my HDD: Shall I use a common partition for the /home folder or use two different? ...
0
votes
1answer
45 views

Partitioning problem in Kali Linux installation

I'm trying to install Kali Linux dual boot with windows 8.1. During installation, only two partitiones: while I have 3 different partitions . Please help.
1
vote
1answer
62 views

Gparted showing complete drive unallocated

Current Environment Information: Dual Boot with Windows 7x64 and Linux Mint 16 I am currently trying to install Elementary OS instead of Linux Mint. Windows works fine but Mint boots fine but has ...
1
vote
0answers
79 views

LVM unknown device: how to recover?

I have a server with two hard drives that I thought I had correctly installed with LVM, until I discovered that the second hard-drive did not actually seem to be used. I investigated the problem and ...
0
votes
0answers
65 views

Overlapping Partition table

I'm so done with this, i have this 64GB sd card and i just don't know any more. when i format it the data and partition tables just stay there. :'( all i want is for a blank drive, i've got a backup ...
2
votes
2answers
44 views

How to extend filesystem partition on Ubuntu VM?

I'm running Ubuntu Desktop 14.04 as a VM on a mac with vmware fusion. I'm getting space warning issues and now want to expand from 20GB to 200GB. I powered off the VM and on the vmware side ...
3
votes
1answer
35 views

How to inspect the raw contents of a partition?

I'm trying to see the contents in raw bytes of a dummy partition /dev/sda3, which I've made to be 100MiB through gparted. I want to test writing and reading on that partition. Is there a tool that ...
14
votes
6answers
6k views

What's the best way to partition your drive?

I usually install Linux on a single partition since I only use it as a personal desktop. However, every now and then I reinstall the box. And what I do is to simply move my files around with an ...
4
votes
4answers
758 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
0answers
53 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
0
votes
2answers
1k views

Can't access NTFS drives after Elementary OS install

I have just setup Elementary OS. I have two hard drives on my desktop and I can’t access either one of them via file manager. To be precise I have two partitions with data that I need to access; ...
1
vote
0answers
39 views

How to duplicate my installation partition onto a btrfs partition?

I initially installed Linux Mint 17.1 on a ext4 partition, with the /home on a different partition. The intention is to be able to multi-boot and share the /home data. I'm planning to copy it to a ...
0
votes
1answer
38 views

fdisk - defaults to non Dos but yet uses Dos disklabel

My version of fdisk man page states default is DOS mode is disabled, which is what I want.... but why is it stating 'Created a new DOS disklabel'? localhost four # fdisk /dev/sdc Welcome to fdisk ...
8
votes
3answers
13k views

Moving /var, /home to separate partition

I am attempting to move some folders (such as /var and /home) to a separate partition after reading this guide: 3.2.1 Choose an intelligent partition scheme I was able to move one folder ...
0
votes
0answers
32 views

Cannot mount LVM partition after restoring LVM metadata

I have resized two LVM partition (/var and /home) and somehow resize process went wrong. After reboot system wasn't able to mount /var and /home. I have used RIPLinux to check if I can mount those ...
0
votes
0answers
34 views

Linux Mint Fails To Boot (Unknown Filesystem GRUB ERROR)

The other day I believe I accidentally messed up a disk and set it to a filesystem I didn't want to. Now when I boot up Linux Mint I get “Unknown Filesystem error” in GRUB rescue. Of course I tried to ...
0
votes
2answers
38 views

Separate Partitions usage [closed]

I would like to know the benefits & usage of creating separate partitions for different areas like swap, /, /boot, /home, /var etc. How much size should i assign to them ? Although i want to ...
0
votes
0answers
108 views

CentOS 7 /var/log/messages

We have a CentOS 7 (3.10.0-229.1.2.el7.x86_64) server running as our main file share server. We randomly see the following error messages showing up in our /var/log/messages and have been trying to ...
2
votes
0answers
24 views

Recover from interrupted partition move

So, I was trying to shift my (NTFS) data partition to the right to accommodate expanding my boot partition. I was using gparted on a Fedora 20 live USB; about 230/560 GB in I closed my laptop, ...
0
votes
1answer
52 views

How can I perform a clean install of Arch?

Basically I had another distro on my hard drive but I want to format it for complete use by Arch. I know how to set it up and such, it's just the formatting/partitioning part that I'm a little bit ...
13
votes
3answers
19k views

How to reduce Volume Group size in LVM?

[root@localhost ~] vgdisplay --- Volume group --- VG Name vg_root System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 7 VG ...
4
votes
2answers
6k 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 ...
1
vote
0answers
69 views

/opt partition not mounting in DD-WRT v24-sp2

I'm facing problems trying to install optware packages on a TP-Link TL-WR841n v8 running DD-WRT v24-sp2 (4MB flash, 32MB RAM). I did the following through telnet: nvram set jffs_mounted=1 nvram set ...
0
votes
1answer
61 views

How do I partition my disk to install encrypted Debian installation alongside OSX?

I have a 500gb drive on a recent MBA. I have shrunk the OSX partition to 250gb to allow me to install Debian in the empty space. When I go through the Debian installer, the guided partitioning only ...
3
votes
3answers
135 views

How do I create a utility USB?

I do a lot of work with many different bootable images all on different flash drives. However, it gets annoying to search for a specific drive, plug it in, and use it. Is there a way I can consolidate ...
0
votes
0answers
13 views

how to add boot partition to syslinux boot menu

I'm trying to add "boot from partition" entry to syslinux menu ( isolinux.cfg) to boot from local disk we use localboot 0x80 , but I'm trying to boot a specific partition.. any suggestions?
5
votes
6answers
14k views

Change the number of the partition from sda1 to sda2

I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1. It's possible but I don't remember the procedure. i.e. My first partition will be ...
4
votes
3answers
213 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
6answers
333 views

Which partition is mounted to where? [duplicate]

How can we check the mount points for partitions listed in /dev/sd*? For example, I would like know if the partition for my home is /dev/sda4.
0
votes
2answers
162 views

“No volume groups found” after running vgdisplay

I am trying to expand my primary partition to use the extra disk space I have added in my VMWare virtual machine. I have been able to add the disk space, partition the extra space into an LVM ...
0
votes
0answers
30 views

Home partition taking up too much space?

I've recently had to reinstall YouCompleteMe on a VM, and when I'm installing it, I get that I'm running out of hard drive space. It installed fine the first time around, but now when some of the ...
3
votes
3answers
716 views

How to know if /dev/hda2 is Primary partition or Extended partition

If all four primary partitions exist on an IDE drive, they are numbered as follows: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 We have also the partitions on a disk with one primary partition and ...
8
votes
2answers
1k views

Creating formatted partition from nothing

I need to create filesystem with just one partition from nothing (/dev/zero). I tried this sequence of commands: dd if=/dev/zero of=mountedImage.img bs=512 count=131072 fdisk mountedImage.img n ...
0
votes
0answers
22 views

How to rewrite a partition table on a SD card which does not show up in blkid ?

When I execute "blkid" in the shell with my SD inserted, I do only get a listing of two of my hard disk partitions. I suppose the partition table on the SD card is not correctly written and ...
1
vote
1answer
61 views

How to create an /opt partition on an existing installation without loosing data?

I've shrinked my /home from 2.7TB to 100G, I've extended /root, /usr, /tmp and /var but I have been looking for a way to create an /opt partition for 3 hours now, and can't find it. The setup is 3TB ...
0
votes
1answer
38 views

How do I execute a parted command with a C function?

I would like to execute the Linux command "parted" through a C language function? I am using Linux Ubuntu , eclipse. Thanks!
0
votes
0answers
46 views

Installing Mint 17.1 with swap on different drive?

Installing Mint 17.1 Cinnamon, I used the "something else" mode to set the partitions for root and home. But, it only showed sda and I could not find any way to select a different disk! I installed ...
0
votes
1answer
19 views

Moving Application Configurations to Separate Partition

So by default, most services install their configuration files to /etc/<application>. On my physical systems, I'm using LVM for volume management, and specifically so I can rollback snapshots ...
2
votes
2answers
44 views

Clone partitons from devices

I have 2 devices—the first with 20 partitions and the second is with one big partition. I want to clone a specific partition (content + data) from device 1 to device 2. How can I do this? How do ...
6
votes
3answers
1k views

Linux/GParted can see partition table but dd bs=512 count=1 can't

I have an MBR formatted sd card and when connect to a Linux machine (xubuntu 12.04) it can mount a partition and parse the file system (as can GParted). However, when I try to read the MBR from the ...
2
votes
1answer
124 views

How to initialize new disk for UEFI/GPT?

Background I'm setting up a new build, with all new hardware, tabula rosa. I want to have multiple Linux installations and common data partitions. From what I'e gathered so far, using new hardware ...
1
vote
1answer
58 views

Resizing home and root partions at opensuse

I have divided my ssd into two partitions, one for the root and one for the home directories. Unfortunately I have provided too few space for the root directory and I would like to expand it, by ...
4
votes
3answers
8k 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 ...
1
vote
0answers
22 views

What are the overheads of using multiple smaller raid devices versus partitioned raid devices as physical volumes?

LVM only allows volume groups to be expanded by adding physical volumes. So if I have multiple volume groups which may need extra space, but it can't be predicted which will expand fastest, it's best ...