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
22 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
123 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 ...
-1
votes
0answers
14 views

Partition suggestions for dual boot 2 different linux distros? [on hold]

I want to partition my hard disk manually for installing more than 1 os. (2 different distros of linux). I am using Gparted to do the job. My Hard drive is 1 TB or 1000 GB. My first partition was ...
0
votes
0answers
9 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
13k 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
185 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
313 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
38 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
2answers
6k 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 ...
0
votes
0answers
18 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
562 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
981 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
9 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
2k 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
436 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 ...
1
vote
1answer
37 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 ...
1
vote
1answer
673 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 ...
0
votes
1answer
34 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
16 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
16 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 ...
1
vote
1answer
67 views

How can I extend VMware Partition on Centos 7 using GParted?

I've a problem with increasing a partition from 20GB to 120GB, VMDK file. Here is what I've done: using vmware-diskmanager to increase vmdk file from 20 GB - 120 GB. It's ok. download and boot from ...
2
votes
2answers
42 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 ...
1
vote
2answers
32 views

GNU parted resizepart in script

I would like to used the yes command so that GNU parted does not wait for user input : root@195-xxx-xxx-xxx:/proc# parted /dev/sda unit B resizepart 2 1166016512B Warning: Shrinking a partition can ...
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
58 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
20 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
6k 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
15 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 ...
0
votes
0answers
34 views

Not able to boot into ubuntu or windows

prerequisites you will need to know regarding my problem earlier I had Ubuntu 13 version, due to some unknown reason, when I restarted my computer to enter into windows it went directly to grub ...
1
vote
1answer
475 views

Windows partition not appearing when I try install Linux Mint

I have a ~500gb hard drive that I intend to split 50/50 for Windows 10 and Linux Mint 17. The Windows partition is 232GB and the Linux partition is, at the moment, uncreated. When I run Mint off my ...
1
vote
1answer
712 views

SliTaz, usb stick, unable to mount iso or to find a filesystem on it rootfs.gz

I deleted every partition on my system, even the partition on my usb stick. Then I created a partition with SliTaz which I'm currently on. But then I found out that my usb stick didn't get discovered ...
1
vote
1answer
33 views

How to find the swap uuid

I am in the process of setting up a raid. sda was used during the installation and I just copied the partition table of sda to sdb like so: $ sudo sfdisk -dL /dev/sda > partition_table_sda $ sudo ...
1
vote
0answers
27 views

How to mount sdb directly or using LVM partitions on sda?

I am new to LVM and VM yet, and I need to be able to access sdb like /mybackup/ 1 - should I have sdb1 created then mount? 2 - should I mount sdb as whole disk without LVM? 3 - create lvm and than ...
2
votes
1answer
388 views

Kali Linux can't see my windows partitions!

I'm trying to install Kali Linux alongside with my Windows 8.1 using live USB , but I can't because Kali is unable to see my partitions and unallocated space in my disk which I prepared 50GB ...
2
votes
1answer
47 views

How to manually set the dirty bit on a FAT32 partition

For some debugging purposes, I'd like to be able to manually set the dirty bit of a FAT32 partition to true. I found tons of information on how to use fsck.vfat to remove the dirty bit, but none on ...
0
votes
0answers
30 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
53
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
10k 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). ...
-1
votes
0answers
8 views

changing partition on a dual boot

I attempted to change the partition table in my dual boot (mint/osx). OSX occupies too much space and I wanted to reallocate freed up space into mint's \home. In gpartition it seems as though I cannot ...
2
votes
2answers
457 views

Extending/resizing Fedora Guest-OS root-drive in VirtualBox

I hope you can help me with that: My VirtualBox Guest-OS (Fedora 19) told me, that there is not enough free disk-space availabe, so I first increased the .vdi-file by using the Windows-Commandline: ...
0
votes
2answers
27 views

grub partition error

This is the first time this has happened to me.I don't use linux on a regular basis, except for some project work. I had logged in today , finished my work and restarted it so I could go into windows ...
0
votes
0answers
23 views

Installing Slax 7.0.09 next to a winxp

How do I install Slax 7.0.9 on the same hard drive as my Windows XP? Is it possible? I already have partitioned the hard drive to ext4 for linux using gparted. The hard drive also has a partition for ...
7
votes
4answers
4k views

How to clone a NTFS partition (WinXP) from a damaged disk to a new one?

I'm an Italian Windows programmer. I know almost nothing of Linux, so please be patient if the question is dumb and pardon my bad english. I need to clone a NTFS partition from a damaged, near to die ...
0
votes
1answer
62 views

Unable to start ubuntu after installing updates - Stuck at 'Try (hd0,0)'

I've installed Ubuntu 14.04.2 LTS on the same hard drive as my Windows 8.1 OS, on its own partition. The installation went without any hickups. After that I used EasyBCD on my windows system to ...
0
votes
1answer
3k 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 ...
0
votes
0answers
30 views

M17: Trying to mount Windows 10 .iso onto partition via terminal, getting “block device ? is write-protected, mounting read-only”. Can I get a help?"

I have Linux Mint 17.1 and am trying to dual boot Windows 10 Technical Preview OR install it on my other hard drive. Extra easy damage-control for you guys- I do not care if I lose any data, as long ...
24
votes
10answers
37k 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 - ...
1
vote
1answer
43 views

Recognizing GPT partition table created with different logical sector size

I have a 3TB drive which I have partitioned using GPT: $ sudo sgdisk -p /dev/sdg Disk /dev/sdg: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): ...
1
vote
0answers
7k views

Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I'm getting the same error that other questions mention, such as: Installation Error: Kernel Panic - not syncing ...
0
votes
1answer
479 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formated with UDF and was being used for MAC and Windows (or at least that is what told). When I attached the HDD to my Linux system ...