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
31 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 ...
0
votes
0answers
63 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 ...
11
votes
2answers
11k views

How to mount multiple directories on the same partition?

I am installing an SSD and would like to put / on the SSD and /home, /var, and /tmp on the HDD. My current distro is Kubuntu but I would not mind trying another distro if this procedure can be ...
48
votes
4answers
61k views

How to copy the partition layout of a whole disk using standard tools

I want to take a backup of the whole partition layout of a hard drive, including logical drives, so that I can restore that layout to another disk. I do not want to copy the contents of the ...
2
votes
0answers
49 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
26 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 ...
0
votes
1answer
273 views

How do I remove the chrx partition on a chromebook running crouton?

I hope this is the right place for this. If not, let me know where would be more appropriate. I have chosen to ask it here because I am assuming/hoping that the flexibility of linux will allow me to ...
1
vote
1answer
39 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 ...
1
vote
1answer
39 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 ...
3
votes
1answer
45 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 ...
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
26 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?
6
votes
2answers
711 views

Is it possible to enlarge the / partition without rebooting?

I can enlarge the root (/) partition with fdisk without rebooting (deleting an recreating it with the same 1st sector, but greater last sector). However, I cannot make the kernel to re-read the ...
1
vote
1answer
2k views

Arch Linux cfdisk asking for disk label type

I am trying to partition my hard drive I just wiped with dban so that I can install arch linux but when i run cfdisk /dev/sda It says: Select table type gpt dos sgi sun I don't know which to ...
3
votes
0answers
139 views

Replicate a complex partition structure with LUKS and LVM volumes

I have two external hard discs on an OpenSUSE 13.1 system. On one I have created a partition structure: An encrypted LVM partition (LUKS) Several volumes (10) on this LVM partition, some formatted ...
4
votes
1answer
566 views

Linux can't see any of my partitions — The backup GPT table is not at the end of the disk

I'm trying to install Linux on my HP Pavilion 14 inch ultrabook, but without any success. At first I tried installing Ubuntu on it; everything went fine, I got into the Live DVD (yes I'm oldschool ...
1
vote
1answer
56 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
61 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
35 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
30 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
26 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
104 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
64 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 ...
14
votes
1answer
16k views

Updating disk free size without rebooting the host

I use RHEL4 with LVM2 on it. At times even after removing large files more that a GB the partition size is not getting updated when is see using df command. -bash-3.00$ df -h Filesystem ...
2
votes
2answers
86 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
28 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
38 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
64 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 ...
2
votes
1answer
58 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 ...
39
votes
11answers
71k 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 - ...
5
votes
1answer
37 views

How is the size of the block containing the “MBR” determined

I have used fdisk to move Ubuntu Mate partitions from a 1M boundary to start on a 4M boundary on a SD card. The "boot" partition now starts at block 8192. This is how the Raspbian distributions are ...
0
votes
1answer
75 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 ...
10
votes
6answers
894 views

File systems vs partitions vs directories

I am new to Linux so pardon me for the possible confusion you may encounter in this question. From what I understand, filesystem specifies how a partition stores/manages file, with standards such as ...
0
votes
1answer
14 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 ...
0
votes
1answer
61 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
50 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
32 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 ...
0
votes
0answers
31 views

Install Multiple Versions of Slackware in separate UEFI Tables

I have a Slackware 14.1 distro on /dev/sda13, and I've just installed Slackware current on /dev/sdb2. Unfortunately, I can no longer access my /dev/sda13 Slackware 14.1 version, as the installation of ...
0
votes
1answer
36 views

Where is the space from LVM partitions?

Additionally, output from my df -h command and fdisk -l command. Where and how could I utilize space from my /dev/sda4 and /dev/sda5 partitions? I suspect /dev/mapper/fedora-root to be my LVM ...
1
vote
1answer
83 views

No space left to free up on rootfs partition to upgrade kernel

I want to upgrade Linux kernel from 3.16 to 4.3. Unfortunately when I run aptitude install linux-image-4.3.0-1-amd64 installation fails due to no space on rootfs partition. 117MB left, 174MB needed. ...
-3
votes
1answer
72 views

How can I create an LVM volume group spanning 2 hard drives? [closed]

I have rented a dedicated server with two 500gb hardisks running Centos 6. On this server there are 4 partitions: 1.boot 2.root 50gb 3.swap 50gb4. 4.empty 400gb Now I want to create a logical ...
2
votes
1answer
1k views

parted: invalid token

I am teaching myself parted. In the docs it reads: Parted has two modes: command line and interactive. Parted should always be started with: # parted device [...] In command line mode, this ...
0
votes
1answer
56 views

Low disk space on Manjaro / , how to resize /dev/mapper/ partitions?

I have Manjaro Linux installed on my laptop. When I log in I get a message Only 0.22GB or 28.71 GB left on / Previous suggestions were to run Pacman -Scc to clear the pacman cache, and that worked ...
1
vote
2answers
39 views

alignment of extended partitions

I read an article on aligning file-systems on partitions and this said that: When manipulating MBR disks, be aware that the alignment of extended partitions is unimportant. These partitions hold ...
1
vote
2answers
75 views

Format a USB drive as unprivileged user

I always thought unprivileged users couldn't format a USB drive, only root user could, so I used to mess up with gparted or fdisk. After years or daily Linux usage I just discovered that ...
2
votes
2answers
101 views

Change encrypted partition UUID

I'm trying to change a partition's UUID, the problem is that I'm trying to change an encrypted volume. So I can't use the usual method described here. Since it throws the following error: tune2fs: ...
9
votes
4answers
16k views

How to change the volume name of a FAT32 filesystem?

I know I can set the volume name when I format the partition with the -n option of mkfs.vfat. But how to just change the name without formatting? I especially want to be able to use lower and ...
0
votes
1answer
70 views

Can't fix my boot partition — can I restore Ubuntu from a copy (not properly imaged) of my partition?

On my old Ubuntu system (the one I'm trying to restore to) I had a boot partition /dev/sda1, my main OS partition /dev/sda2, and a swap partition /dev/sda3. I mistakenly formatted over /dev/sda1 ...
0
votes
1answer
40 views

Major and minor numbers of a partition

$ stat new File: ‘new’ Size: 928 Blocks: 8 IO Block: 4096 regular file Device: 804h/2052d Inode: 28188755 Links: 1 Access: (0622/-rw--w--w-) Uid: ( 1000/ t) Gid: ( ...