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)

1
vote
2answers
595 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 `-+- ...
2
votes
1answer
436 views

Boot partiotionless disk with syslinux

A file system can be configured to span a complete disk, omitting any partition table. Notice intentionally the command to do so does not use /dev/sda1 but the raw, unpartitioned device instead. ...
1
vote
0answers
32 views

Can't install Ubuntu because pc keeps shutting down

I can't install Ubuntu because during the "copying files" my PC powers off. I've downloaded Ubuntu 14.04 with WUBI on my Windows 8.1 32-bit PC. I made a new partition with 15.9GB, (I don't know if I ...
0
votes
2answers
26 views

Know which partitions are primary and which logical

I have Windows and Ubuntu installed on the same laptop. How can I know which partitions are logical or primary using the command line?
11
votes
6answers
26k views

How to partition 22TB disk?

I have a 22TB disk on /dev/sdb. How do I create a 22TB partition? Don't really care about the file system - ext4 or zfs is fine. Running CentOS 6.2 - Partition will be used as a data dump. Only a ...
0
votes
2answers
36 views

Is there any danger in changing the labels of my hard drives?

I've have both Ubuntu and Arch installed on my computer, and want to change the labels of the / and /home partitions (four in total), to make it clear which is which. Can this potentially break ...
1
vote
1answer
22 views

Install Ubuntu partitions

I am a completely newbie. I want to install Ubuntu 14.04 in my laptop on which windows 8.1 is installed. I have read in some sites that I have to use Gparted or similar tools, but there are also sites ...
1
vote
0answers
21 views

How to repair lost gpt partition table?

I have a 3TB Seagate. The disk was from an raid system and had 1 partition sdb1 with 3TB and ext4 filesystem. As i wanted to prepair a new disk for a raid, i exchanged in sgdisk sdb1 with an raid disk ...
6
votes
2answers
880 views

How to properly unplug/plug removable LVM2 device?

How to properly unplug (remove) and later plug (insert) removable (hot-plug, usb etc) storage device with LVM2 on it ? I've found this note Remove (unplug, eject): lvchange -an ...
1
vote
1answer
456 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. ...
1
vote
1answer
35 views

Swap partition in LVM?

I was wondering if putting the swap partition into a logical volume group has any drawbacks (e.g. performance), or would it be "just the same" as having it as a separate primary/logical partition? I ...
2
votes
2answers
37 views

dd to clone to smaller sdcard

One of my Raspberry Pi's is using a 4GB SDcard for the root/boot filesystem. As seen when mounted on another system: Disk /dev/sdc: 3904 MB, 3904897024 bytes 121 heads, 62 sectors/track, 1016 ...
2
votes
1answer
36 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 ...
4
votes
2answers
564 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 ...
0
votes
0answers
20 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 ...
9
votes
1answer
333 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 ...
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
44 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
60 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
26 views

On Arch Linux Partitioning [closed]

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
31 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
56 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
42 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
42 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
121 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
25 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
355 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
43 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
44 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
81 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
90 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
25 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
191 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
598 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
28 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
0answers
47 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 ...
0
votes
1answer
54 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
414 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, ...
2
votes
3answers
48 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 ...
1
vote
2answers
50 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
398 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
38 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? ...