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

swap goes the second drive, how can I return it to normal from command line?

The following is my plan for partition of CentOS 6.7. I have two disks with A for system and files, B totally for backup. But, after installation, I log in using ssh root. Here is what I see: ...
0
votes
2answers
60 views

Move FreeBSD installation to smaller HDD [duplicate]

Good day! I have FreeBSD installation with next partitions: Now FreeBSD is installed in 500GB hard drive. I want to move it to 250GB hard drive. What is safest and correct way to do it? I'm afraid ...
0
votes
1answer
22 views

I have 3 primary partitions already, can i shrink one of them and install kali-linux?

I have 3 primary partitions and 2 logical partitions already in my windows 8.1 PC. But now i want to shrink a 20gb space from c drive and install kali-linux 2.0 in it.. i tried to install kali linux ...
1
vote
1answer
44 views

How to reduce root Volume Group size in LVM?

I found a similar question here, but there's one different point on my server: --- Volume group --- VG Name vg System ID Format lvm2 Metadata Areas 1 ...
-1
votes
1answer
75 views

Retrieve data from “erased” home partition while installing win7

I had a computer with a windows 7 and I installed lubuntu 14.04 on another partition (I think I shrinked the windows NTFS partition first). I installed lubuntu this way: -> NTFS boot -> NTFS ...
2
votes
1answer
60 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
65 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
33 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
21 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
118 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
65 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
50 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
46 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
85 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
73 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
41 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
126 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
89 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
41 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
74 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
65 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 ...