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
12 views

Forced reread of partition table: difference between BLKRRPART and BLKPG ioctl? (Linux)

When I want Linux to consider newly created partitions without rebooting, I have several tools available to force a refresh of the kernel "partition cache": partx -va /dev/sdX kpartx -va /dev/sdX ...
1
vote
0answers
16 views

Extend partition size without unmounting it

I would like to create an image of a Linux Mint disc. Then try to copy it to a bigger disc and extend its partition to full size of disc. I have already copied disc using WinImage on another PC, ...
9
votes
1answer
328 views

How can Solaris sub-partitions be accessed in FreeBSD?

First of all, Linux detects the partitions: sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 > However, FreeBSD 9.0 shows only the main partition. Is it possible that only Solaris ...
0
votes
1answer
13 views

lsblk while resizing partition [on hold]

I'm in the process of resizing a partition on /dev/sda, but I'm not quite certain how far it is. I tried lsblk and it returned the original state of /dev/sda. Is this normal? What should lsblk show ...
-1
votes
0answers
19 views

What are the pros and cons of the various ways of limiting disk usage of /var, /tmp, etc.? [on hold]

I think there are two options: create separate partitions or use disk quotas. I am setting up lab PCs (60 GB SSDs, 8 GB RAM) with Ubuntu 14.04. These are for a CS department lab, so students would be ...
3
votes
4answers
1k views

Dual boot - Kubuntu and Windows 8 - how to?

I recently installed Windows 8 on my computer. These are the specs: Fx-8150 CPU 8 GB RAM ATI HD7870 120 GB SSD 2 TB HDD Mainboard: Gigabyte GA-970A-UD3 (rev 1.1) (only bios but EFI mode possible ...
1
vote
0answers
42 views

How to destroy existing disk partitions

I added some disks to my system, which were in use before. I tried to create them: $ gpart create -s GPT ada0 gpart: geom 'ada0': Operation not permitted $ gpart show ada0 gpart: No such geom: ada0. ...
0
votes
1answer
52 views

Windows 7 not working correctly after partition resize

I resized the Windows partition from Linux in order to be able to install Elementary OS. After resizing I tried booting to Windows, however it asks to boot normally or in recovery mode. When I select ...
0
votes
2answers
22 views

On Arch Linux Partitioning [on hold]

I've been going through the Arch Linux beginner's guide and I'm a bit confused on partitioning the OS. It says I can either have just a root partition or a root and /home partition. What are the ...
3
votes
1answer
25 views

Sharing partitions in qemu

Apart from networking and partition sharing I've made qemu work pretty much like I want it to. I've got a bit of a special setup, I need to pass through /dev/sda, /dev/sda1 and /dev/sda2. (Is it ...
1
vote
0answers
45 views

How to find hidden partition of a USB in linux

I have a USB, which has a protected partition. I think this USB has hidden partitions, which I can't see them. $ fdisk -l /dev/sdb: You must set cylinders. You can do this from the extra functions ...
0
votes
1answer
27 views

Recommended partition size of SD card for Ubuntu for BeagleBone black [closed]

I am using 16GB SD card for building Ubuntu from scratch for BeagleBone Black. So, I have to make two partition of my SD card, one for Rootfs and second one for Zimage and other stuff. Initially I ...
2
votes
1answer
41 views

Why is my hard drive out of space if gparted says I have 500+GB

I recently installed Debian on my machine and made separate / and /home partitions. Yet my disk usage analyzer shows that my /home is inside /. But gparted shows that /home is indeed in it's own ...
2
votes
3answers
3k views

Shrink Windows partition to install Fedora 20

I want to install Fedora 20 along already installed Windows 8.1 on my notebook. I found a good how-to on Techotopia, however, the installer for Fedora 20 looks completely different, is simpler (cough ...
1
vote
2answers
117 views

Why does “df -h” show out of sync space used? [duplicate]

I have tried different commands to see sizes of partitions and space used/left and it seems that they always differ in their results. Here is my space used/left with from the command df -h: Size ...
0
votes
3answers
2k views

How to install Kali linux on to a specific (existing) partition on a USB stick

I'm endeavoring to put Kali linux onto a USB stick - I know it's already written up, but I'd like to use only a portion of the total space (the aforementioned link will use the entire drive space). ...
0
votes
1answer
20 views

mixed raid types

I am about to reinitialise my (SW) raid array. Previously the array was raid5 with 4 disks. I've removed one disk in order to install a new additional (larger) drive. What I'd ideally like to do is ...
0
votes
1answer
275 views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
2
votes
1answer
14 views

Backup and restore only some partitions

I have a system which runs an arcade machine. It has the regular swap and root partitions, but then I have an extra partition which I call data. Data holds many gigabytes of game content. The idea is ...
2
votes
1answer
57 views

How to restore a system?

I have a disk image from Acronis True Image 2011. My original disk, of 40 GBs, had 2 partitions, 1 for FS and 1 for swap, but it started to fail. I've tried to make a backup, which finished with ...
4
votes
1answer
34 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 ...
1
vote
1answer
37 views

Recover from Grub error

I use windows as well as Linux in one laptop. I don't know what I deleted in the partition settings. Suddenly when I restarted my laptop, it showed me the below error message. GRUB loading. Welcome ...
0
votes
1answer
64 views

How to increase size of /dev/sda2 in suse running on vmware

how to increase the partition /dev/sda2 partition. df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda2 7.0G 3.7G 3.0G 56% / devtmpfs 432M 172K 432M 1% /dev tmpfs ...
5
votes
1answer
83 views

What's the easiest way to resize an ext4 partition from the command line?

What's the easiest way to resize an ext4 partition (or any type partition depending on the method) from the command line (potentially with the fewest commands, but also the easiest to understand)? ...
0
votes
1answer
22 views

Locating the /dev entry to make partitions on an SD card

I am trying to create partition of SD card, for this I am following this tutorial. When I type the command ll /dev/mmcblk* I got this ls: cannot access /dev/mmcblk*: No such file or directory ...
4
votes
1answer
189 views

Filesystems and Partitions

I have been reading up more on UNIX and have brushed up on different filesystems and partitioning HDs. In the book it mentioned that filesystems are very much different than partitions and one ...
0
votes
2answers
2k 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
1answer
399 views

Dual booting with Windows 7 and Fedora 20

I am creating a dual boot system for Windows 7 & Fedora 20. While installing to hard drive I get this error Installation destination Error checking storage configuration. I have shrunk my hard ...
1
vote
1answer
26 views

Backup LUKS (cryptsetup Command) partition or volume

Can you create a file container/volume in LUKS in the same way that you could do with Truecrypt? Otherwise, how can you backup a LUKS partition? Do you have to clone it, for example with dd? or backup ...
1
vote
2answers
547 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 `-+- ...
1
vote
0answers
40 views

Mount a seriously damaged NTFS partition on an HDD with a lot of bad sectors?

I have a situation where I haven't deleted anything, even the partition table looks fine, the real problem, apparently, is the partition itself, upon further investigation I have verified that this ...
1
vote
1answer
371 views

Dual-boot Ubuntu cannot access the Windows drive that it was installed on with wubi

I had Widonws with two drives C: and D:. In the drive C:, I have my Windows. In the drive D:, I had my all other files and data. I installed Ubuntu in the drive D:, without deleting any data from it. ...
0
votes
1answer
53 views

Linux shows one partition but windows shows 4

I have installed Windows 8 on my laptop and now I want to install Linux Mint 14. I want to use both of them. My disk management in Windows shows as follows:    . mint4win in ...
2
votes
1answer
413 views

How to extend an ext3 partition over LVM inside a file (virtual machine)?

I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager). I can afford a few minutes of downtime so a VM shutdown/reboot is fine. The virtual hard disk is in ...
1
vote
1answer
39 views

Filesystem types for encrypted partitions

I wish to encrypt two external hard drives using dm-crypt/LUKS for whole-disk encryption. I want one hard drive to have an ext4 filesystem for Linux use only, and the other to have an NTFS filesystem, ...
1
vote
3answers
44 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 ...
0
votes
0answers
1k views

Linux Mint can not see my partitions - installation problem

Scenario: On my laptop I have Windows 7 My disk drive has several partitions whereof not all are used (for now) My plan is to install Linux Mint on the 20000 MB (19,53 GB) partition (called I: in ...
4
votes
2answers
554 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 ...
1
vote
2answers
49 views

`dd` to specific location [closed]

dd is a great tool for copying and conversion. Is there any way by dd (or by any other way), to dump the first few bytes from a file to an unmounted partition? Something like this: dd if=hda2.pbr ...
2
votes
1answer
377 views

How to boot into FreeBSD installed in the second partition of an external drive

I have installed FreeBSD 9.1 on the second partition of an external hard disk and I'm not able to get my computer to boot from it. FreeBSD was installed using the FreeBSD memstick image dd'd onto a ...
2
votes
1answer
37 views

why 2TB external HDD is recognized as 800 GB only in Ubuntu 8.10

I had a 2 TB external HDD which I formatted as below. fdisk /dev/sdb After issuing the above command, I did the following steps. Then selected option p. (To print the partition table). Then ...
0
votes
2answers
62 views

Does Linux unmount the root partition when the partition is about 80% full? [closed]

Summary Linux seems to be unmounting the root partition, /dev/sda6. I noticed that sda6 is about 80% full. Does Linux unmount this root partition when it gets 80% full, to stop you adding more files? ...
1
vote
1answer
64 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
1
vote
1answer
27 views

CentOS - Creating a partition for OpenVZ

I've recently installed a fresh copy of CentOS 6.4 and I was going to install OpenVZ on it however on the install instructions it said that it is advised to make a separate EXT4 partition for the VMs. ...
11
votes
9answers
20k views

List partition labels from the command line

Is there a command that will list all partitions along with their labels? sudo fdisk -l and sudo parted -l don't show labels by default. EDIT: (as per comment below) I'm talking about ext2 labels - ...
0
votes
1answer
209 views

Zorin/Windows 7 Dual Boot on New Hard Drive, no GRUB!

So my computer had Windows 8 originally, and my hard drive died. I was able to get a dying hard drive from work to use temporarily, and decided to go with Windows 7 this time, as HP had drivers for ...
0
votes
3answers
38 views

How to merge partition with gparted?

How I can merge all of my three unallocated spaces? And i want the bigger one to be under /dev/sda5. Gparted screenshot:
1
vote
1answer
59 views

Rebuild mount points after destroying partitions

When I installed Ubuntu, I had a partitions with the windows OS installed, but now I've made some changes, I've erased Windows, created two new partitions in the storage ocuppied by windows before, ...
0
votes
2answers
67 views

Disk full on a server with a large /home partition

I've just got this CentOS Server but I think I've set it up wrong as I can only upload a few GB then I start getting errors, It should have ~1TB. this is the results of lsblk [root@ns4005990 ~]# ...
1
vote
1answer
34 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 ...