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)

2
votes
1answer
59 views

Move free space from end of the drive to first partition with gparted

I am in a frustrating situation - no matter how I try, gparted won't let me assign the empty space to the first partition: The middle partition is blocking me from expanding /dev/sda1. I need to ...
1
vote
2answers
34 views

Linux mounts cloned partition instead of original

I'm trying to set up a laptop running Kali rolling to act as if it was running 'DeepFreeze". My goal is to be able to do the following: Set up sda1 clone it to sda3 with Clonezilla as a "clean ...
3
votes
1answer
15 views

sfdisk lists an unknown device /dev/xvda4

When I run sfdisk -l on my Ubuntu 14.04 machine, it returns the following: Disk /dev/xvda: 36473 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, ...
0
votes
1answer
17 views

Azure Ubuntu Partition management

I'm working on an Azure Ubuntu VM root@dalil:/# df -h Filesystem Size Used Avail Use% Mounted on udev 1.7G 8.0K 1.7G 1% /dev tmpfs 345M 392K 344M 1% /run /dev/sda1 ...
0
votes
0answers
62 views

Partition alignment when imaging with dd

I'm running Debian 7 (Wheezy) on my notebook and want to update to Jessie. When installing, I took care of the partition alignment on the ssd. My next steps would be to clone the existing SSD to a ...
1
vote
1answer
28 views

why can I not see the unallocated space in gparted

so I have triple booted windows, kali, and ubuntu. I am trying to resize ubuntu /home directory which sits on the HDD. So I created a new unallocated space in windows of 200gb size, and I want to add ...
1
vote
0answers
26 views

Rewrite partition table

I made a mistake and I removed multiple partitions from my partition table. I want to rewrite my partition table. I tested "TestDisk" but when I wanted to set the type, I always got "Structure Bad" ...
3
votes
2answers
47 views

How do I get the UUID of a partition and define a Bash variable as being equal to it?

I would like to define a Bash variable PART_ID as being equal to the UUID of the /dev/sdb1 partition. The closest I have gotten to the desired answer is the output of: ls -ld /dev/disk/by-uuid/* | ...
3
votes
1answer
58 views

How can I see the size of a partition's unallocated size on the command line after shrinking a partition with resize2fs?

I want to shrink my /dev/sda2 partition from 463.37GB to 400GB to make room for a new partition. So I did e2fsck -f /dev/sda2 followed by resize2fs /dev/sda2 400G. As per man resize2fs, the ...
0
votes
0answers
11 views

How do I increase a partition size of a virtual disk?

I created a file using dd if=/dev/zero of=virt_disk bs=1024M count=50. I then formatted this is a vfat file system. Now I want to extend this. I added 5 more MiB of space as dd if=/dev/zero bs=1024M ...
-1
votes
1answer
19 views

how to install ubuntu on part of the disk? [closed]

I have new laptop with 500 giga hardisk size. I want to install 3 kind of Linux distribution. The first linux will be ubuntu. Now, i want that the installation of the ubuntu will take over only 100 ...
0
votes
1answer
17 views

Dual boot, I've not created the grub file on the 2nd OS

I have Ubuntu 14 and Windows 10 installed on the different partitions and working well. I've created one more partition and installed Arch into it. Actually, I made only the 1st part of installation ...
0
votes
2answers
69 views

How to extend root partition

As you can see from the figure below I have 19.34gb unallocated space. I want this space to be added to my root partition sda11. How can I do that? I read few posts related to this but some of them ...
1
vote
1answer
32 views

Swap /dev/mapper/* devices

I have been given a box that has /dev/mapper/root mounted as / and mapped to /dev/dm-0. It has /dev/mapper/home mounted as /home and mapped to /dev/dm-2. The dm-0 device is 5G and the dm-2 device is ...
0
votes
0answers
25 views

Partition for Linux Mint

I tried using GParted using a tutorial but i kind of made a mistake i guess in the middle. I put 40GBs from /dev/sda5 to unallocated as i read in the tutorial. I got an error message saying that i ...
0
votes
1answer
32 views

How to mark a partition as unmountable?

I partitioned a MMC card into multiple partitions (in GPT format), and the very first partition is just padding space so that all other partitions are aligned to a optimal boundary. Problem is, on ...
0
votes
1answer
67 views

usb linux format

I have a Usb drive and that is connected to a laptop running Linux (Mint). As soon as I install some software in it (USB memory) seems like it recognizes it as a windows partition and doesn't install ...
1
vote
1answer
20 views

Ubuntu 14.04 LTS: Auto-mount partition

Here's the situation: I have a nice 399 GB NTFS partition with a lot of files on it I access regularly but still need to access in Windows. My question: What is the best way to automount this ...
2
votes
1answer
110 views

Extend XFS parititon ( xfs_growfs )

Here are the partitions of my server : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 54.6T 0 disk ├─sda1 8:1 0 1004.5K 0 part ├─sda2 8:2 0 19.5G 0 part / ├─sda3 ...
1
vote
2answers
62 views

Partition disk into two equal partitions in a shell script

I am trying to partition my disk into two equal partitions. So far I was doing everything manually using fdisk command and then modifying fstab file with UUID for both the partitions and I have around ...
1
vote
0answers
33 views

CentOS install - select existing partition as /

I'm installing CentOS on a system that has pre-defined partitions (XFS, created by Ubuntu 14.04 Live CD). I can select the little 500MB partition and give it a mount point of /boot no problem. When ...
0
votes
1answer
43 views

/ directory at 100% capacity. Not sure where I went wrong in my partitioning or how to proceed

I'm running a dual boot Windows/Mint partition. Everything is going fine until things suddenly get REALLY screwy and slow. I get a popup that "Filesystem root only has 297.8 MB disk space remaining." ...
0
votes
0answers
64 views

How to use df -h for only for path I am currently using for copy files and put the output to variable?

I am looking for a way to check the disk space only for partition which I am using to backup some folders and files to. As an example: I am in folder /var/usr/local/foo and I need to copy this ...
1
vote
2answers
33 views

Can I use dd to move my system to another partition?

Currently, my whole system is located at the end of my hdd. I'd like to move that data to the beginning and still have booting and other details working. dd seems to do exactly what I want (to copy ...
1
vote
2answers
27 views

Using a separate partition for installed software

I know this question was asked on google a few times here and there but everywhere so far people just tell how it works on Linux and I've learned that already, so you don't have to tell me how ...
2
votes
0answers
53 views

Cancelled hung GParted operation; didn't 'Force Cancel'; How do I get out without losing data?

In GParted, I was moving a partition over 200mb to the left. However, when it got to 76.13gb of about 330gb done, it stopped (it was stuck at 76.13gb all night). So, I hit cancel (without properly ...
0
votes
1answer
27 views

Expanding a hard drive partition to fill the drive without wiping the partition?

I have a hard drive that came out of an old Windows PC, which I'm using as a second hard drive. Because it was already formatted as ntfs, I didn't want to reformat it and lose all the data on it, so I ...
1
vote
1answer
41 views

Interpreting results of commands

I am having a hard time interpreting the results of the below commands. The more I read about them the more I'm convinced that what I am seeing is somehow not what it's supposed to be. The results ...
3
votes
1answer
49 views

Does /boot need to be mounted on a separate primary partition?

I dual boot Windows 7 with Linux Mint. However, Windows 7's partition layout takes up all the primary partitions, leaving me with the option of one more primary partition or many more logical ...
1
vote
1answer
45 views

How to move image disk of a filesystem to a partition [closed]

I have a linux.img file with Arch Linux installed on it. I use the linux.img file to boot Archlinux on virtual machine. I got a new PC and will like to move the linux.img to new PC and boot it from a ...
0
votes
1answer
22 views

How to change from dual-boot to only ubuntu

I have both Windows and Ubuntu 14.04 on my computer, and I'm having some trouble. The Windows partition doesn't actually work at all, and the Ubuntu partition is getting buggy. I'm f.ex. having ...
0
votes
1answer
29 views

How to combine several partitions into one virtual drive?

I have 3 partitions sda4 10 Gb ; sda5 15 Gb and sda6 20 Gb . How to create and mount a virtual hard drive to join several filesystems together under debian8?
1
vote
1answer
80 views

how to create another physical volume/partition with existing unused lvm space without data loss?

I have a 1T USB disk with Fedora 20 installed. It shows as sdd in the first image below. I only used about 50GB. There are 3 logic volumes under the sdd2 and also there are about 620GB of free space ...
2
votes
1answer
72 views

how to allocate more storage for home directory?

After checking the file systems, I noticed there is a usage of 60% for /home. and /home only has a very limited of 23GB storage space. On the normal windows I used to own I had more than 800GB of free ...
0
votes
1answer
41 views

Delete swap partition and merge it with home partition

When I installed Arch linux I created a 24G swap partition. Now I want to delete it and merge it with home partition. How to do it? Device Start End Sectors Size Type /dev/sda1 ...
1
vote
0answers
39 views

Expand partition in Gparted backwards vs. move backwards + expand

Which is quicker and safer?: To enlarge a Gparted partition backwards or: To move the original (smaller) partition backwards, and then enlarge it? Example demonstration Enlarge /dev/sda3 to ...
0
votes
0answers
27 views

Reformatting a secondary hard drive while keeping some files

I'm almost certain that I'm in a deadlock here. Just recently, my Synology NAS died. So I decided to configure an Ubuntu server instead on an old computer I had laying around. Ubuntu is now installed ...
1
vote
1answer
124 views

Linux file system corruption due to improper shutdown (fs ext4)?

I have been managing many Linux servers, It is very easy to play with Linux servers than any other OS. But Sometime I encounter a problem with Linux OS is that, The file system corruption. This ...
1
vote
2answers
84 views

change FAT16 partition UUID

I have created a FAT16 formatted partition on my USB stick using mkdosfs /dev/sdb1 when I plug in my stick, it appears in /dev/ as: /dev/disk/by-uuid/ABCD-1234 How can I change the UUID of the ...
0
votes
1answer
31 views

How do can I tell what encryption is being used with signed in luks?

What command tells you what encryption is being used by a luks partition (all the relevant information initialization vector generation scheme, mode of operation and block cipher primitive).
0
votes
1answer
40 views

GDiskDump or DD to show partition names? [duplicate]

I have partition names like Data-HD, Yhteinen and W10. I do have lots of other partitions, but I want a little more assurance I am copying a right partition to a correct destination. I am quite ...
2
votes
1answer
72 views

How to modify partition in FreeBSD 10 with gpart

I am using FreeBSD. My HDD has this set of partitions: root@core:/media # gpart show => 63 390721905 ada0 MBR (186G) 63 1985 - free - (993K) 2048 ...
0
votes
1answer
83 views

What is a suitable dual boot partitioning scheme (Debian and openSUSE Leap) [duplicate]

I have been a Debian user since several years but now would like to try openSUSE as well in a dual boot environment. Here are some thoughts: Two root partitions.To avoid the two installations from ...
0
votes
1answer
16 views

Why hasn't my CentOS partition resized?

I am running CentOS 6.5 in Hyper-V. It originally started off with a 5GB virtaul hard disk (VHDX) but I later decided I wanted to increase the size. I changed it in Hyper-V settings to 20GB, then ...
2
votes
1answer
63 views

USB flash-drive with hard-coded partition

I have a Kingston DataTraveler 2.0 16GB USB flash-drive: The weird part with this USB flash-drive is that despite the fact that I have zero-filled the flash-drive: # dd if=/dev/zero of=/dev/sdc ...
2
votes
2answers
98 views

USB flash drive formatted as “Linux Live CD” keeps the CD-ROM name after re-partitioning

I have an USB flash drive that I formerly used as installation medium for Linux Fedora. The stick still has the "Fedora Live USB" installation files on it. When I insert it into my olde laptoppe, it ...
0
votes
1answer
70 views

partitioning a usb stick with gparted

I need partitioning my USB stick into two parts. Specifically my aim is to install Windows-to-go on the second partition and use the first one as a multiboot device for my Linux distros; these ...
1
vote
0answers
21 views

If i install Elementary OS, will it automatically be added to the Grub menu?

I currently have Windows 7 and Linux Mint installed. When my pc starts up, it shows me the Grub menu, it shows an entry for Mint linux and the windows boot menu. I am wondering, if i was to install ...
-1
votes
1answer
52 views

If i install Elementary OS, will it automatically be added to the grub menu? [duplicate]

I currently have Windows 7 and Linux Mint installed. When my pc starts up, it shows me the Grub menu, it shows an entry for Mint linux and the windows boot menu. I am wondering, if i was to install ...
0
votes
0answers
33 views

linux + increase temporary the /tmp partition for installation

I have linux VM machines with version red-hat 4 I have the following file system df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 950M 163M 739M 19% / /dev/sda1 ...