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

Flash an OS to an eMMC, from uSD with larger capacity than eMMC

With a Debian distro installed into a 8GB uSD (although uSD memory is almost free), I need to flash this distro into the 4GB eMMC of a BeagleBone Black board, based on AM335x SoC. The S2 switch ...
0
votes
2answers
35 views

Can I Grow A Linux Partition After Making It & Not Lose Data?

I finished the Arch Linux install successfully and installed GNOME. But I think I made my partitions too small: Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * ...
0
votes
1answer
10k 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 ...
1
vote
1answer
25 views

Is there disk-level caching in Solaris 11?

I have an iSCSI disk at /dev/rdsk/c5t6d0 I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0 Now I write some data to the slice: echo "...
0
votes
0answers
17 views

lvm data lost risk

Recently I bought server for my files , I have 4x6TB hard drives : root@Debian-85-64bit-minimal ~ # lvmdiskscan -l WARNING: only considering LVM devices /dev/sda2 [ 5.46 TiB] LVM ...
3
votes
1answer
32 views

Partition table consuming 32K of data?

I create a file of 100MB size, and using losetup assign it to /dev/loop0. Consequently I use fdisk to create an empty DOS partition table, and a new partition that spans the entire disk. One thing ...
0
votes
1answer
27 views

Create a partition with fdisk in bytes

i would like to create a partition with fdisk with exact number of bytes. But fdisk only let me input K,M,G,T,P: Last sector, +sectors or +size{K,M,G,T,P} (2048-7814037134, default 7814037134)
3
votes
2answers
12k 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
9 views

Use format-udf to format a single partition

I came across this tool, format-udf from here: https://github.com/JElchison/format-udf. But it seems I can only format the whole device with a single partition. I have a hard drive with several ...
0
votes
1answer
23 views

Get back free space lost with resize2fs

I resized an EXT4 partition with resize2fs, but it was after the action completed that I found out it only shrinked the filesystem, not the partition. How can I grow the filesystem to be the size of ...
0
votes
1answer
29 views

kpartx or losetup?

If I have an image file or a data storage device that has no partition table but either has partitions or needs to be mapped to device nodes, which tool is better? A use case might be with flash ...
2
votes
1answer
507 views

Gparted showing complete drive unallocated

Current Environment Information: Dual Boot with Windows 7x64 and Linux Mint 16 I am currently trying to install Elementary OS instead of Linux Mint. Windows works fine but Mint boots fine but has ...
0
votes
1answer
19 views

Convert free space LVM to ext

Can I convert Free space in a LVM partition to a ext3 partition? If I run pvs: PV VG Fmt Attr PSize PFree /dev/sda3 ubuntu-vg lvm2 a-- 297,11g 30,02g So I have 30GB unused, ...
25
votes
7answers
53k 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
0answers
32 views

set partition bootable with gdisk GPT

Using GPT, how do I set this disk: sda1 ext3 FUJITSUMHV2080B so that the partition is bootable? Or, do I need to reformat using the install disk?
1
vote
2answers
56 views

How to grow filesystem to use unallocated space in partition?

I duplicated a hard disk to a new larger one using the method suggested in Full DD copy from hdd to hdd. After doing that df -h reports the original and smaller partition sizes from the original disk ...
1
vote
2answers
63 views

What are the differences between the various partition tables?

When I am looking to create a new partition table, I have the following options: aix amiga bsd dvh gpt mac msdos pc98 sun loop The default in gparted appears to be msdos which I guess is an 'MBR' ...
1
vote
1answer
29 views

How to empty trash on boot partition

I had deleted some old kernels a while back to make space on my boot partition (using elementary os), but now I realize they went into the trash-0/files folder on the boot, I tried opening sudo ...
2
votes
1answer
134 views

What is the difference between a name and a label in gparted?

When I create a new partition on my disk using GParted, I have the option to set both a name and a label. Some partitions I have already have both, some only a label. If I right-click on an existing ...
0
votes
0answers
51 views

Installing Mint over Ubuntu in a dual boot with Windows 7

My computer dual boots Ubuntu 12.04 and Windows 7. I want Linux Mint instead of Ubuntu. I need to keep Windows. I burned the Mint disk I need. I boot from it, and check the desktop, click Install ...
3
votes
1answer
681 views

Startup problem: invalid partition table or use UEFI BOOT

I'm working on a Dell Latitude E5430. Recently I booted pcbsd from USB using this file: PCBSD10.1.1-RELEASE-01-31-2015-x64-DVD-USB_0.iso But I guess I did something wrong. I was trying to install ...
5
votes
1answer
9k views

“inode_size (128) * inodes_count (0) too big for a filesystem with 0 blocks” while creating a file system

My partition table looks like this: Device Boot Start End Blocks Id System /dev/sda1 * 2048 32505855 16251904 83 Linux /dev/sda2 32505856 33554431 ...
1
vote
2answers
3k views

How to recover from a boot hang after deleting old swap?

I did a fresh installation of Fedora 20 in the free space of my hard drive after failing to upgrade from the older version. Everything seems to be working fine until I deleted the partition containing ...
0
votes
1answer
79 views

Arch Linux installation (dual-booting with UEFI Windows)

I've searched the web, the manuals, the Arch wiki, the Arch BBS and Stackexchange for answers prior to getting the guts to ask a question here. At this stage I'm just very tired, because I've spent my ...
0
votes
0answers
50 views

How do I repair an ext3 filesystem (superblock)?

Disk setup (2) 300GB HDDs in RAID 1 /dev/sda1 - ext3 /boot (1GB) /dev/sda2 - swap swap (20GB) /dev/sda3 - LVM (179GB) (2) 500GB HDDS in RAID 1 /dev/sdb1 - LVM (500GB) LVM - System (...
1
vote
2answers
141 views

Does Debian use GB or GiB for it's partition manager during installation?

I'd like to create a 5GB (1000) as one partition during the install of Debian. However, I'm not sure if if the partition manager uses Gib or GB. The version of Debian to be installed is 8.4 using the ...
0
votes
0answers
18 views

resize partition to get some space from EFI partition

I realized that I gave lot more space than required for EFI partition. Is it possible to get some space( 9G ) out of EFI partition into /dev/sda3? This is my current partition: [root@archpc ~]# ...
2
votes
5answers
491 views

/dev holds all partitions, so what holds /dev?

I'm a little confused (even after reading this) post, about how *nix partitions work. From my understanding, sda usually refers to the disk and sda1, sda2, etc, refer to the first, second, and so ...
1
vote
1answer
26 views

How to work out which drive and directory your system booted from if it is not mounted in /etc/fstab?

My /etc/fstab doesn't include the disk the system booted from, basically because I made some changes and forgot to include this. The initial /boot and / directories are on different drives. I noticed ...
2
votes
2answers
70 views

Expanding the Kali Root Partition

I have a live distribution of Kali running on a usb with persistence. However, after installing updates and a few new software packages, the root drive is pretty much out of space. How do I go about ...
6
votes
2answers
13k views

How can I shrink a LUKS partition, what does `cryptsetup resize` do?

I am in progress of resizing a LUKS encrypted partition that contains a single ext4 filesystem (no LVM or something). The cryptsetup FAQ recommends to remove the old partition and recreate it, but ...
0
votes
1answer
67 views

Creating F2FS volume with specified size on Android

My smartphone is booted to the TWRP recovery and I'm running the ADB Shell as root on Windows. I have fully unmounted /data with the following command: umount /dev/block/mmcblk0p36 Then checked it'...
3
votes
3answers
209 views

Root, home and boot partitions

So I had been considering that partition is like a separate section of space. Recently, I decided to experiment with partitions and found a flaw in my understanding. Some examples refer to a case ...
3
votes
1answer
34 views

Why the 1MiB should be used when setting the first partition?

As the arch install guide suggests (using parted to do the partitioning) (parted) mkpart primary ext4 1MiB 100MiB However, when checking the output of fdisk, the start of the partition is not ...
0
votes
0answers
6 views

crytpsetup on device or partition? [duplicate]

I am creating an encrypted block device (for data) that will use BTRFS on top of LUKS. This device will not hold the root filesystem. With BTRFS, I can create subvolumes. I don't see any need for ...
1
vote
0answers
53 views

Resize Partition for dev/sda3 [closed]

I am trying to learn Linux. I have Linux-based server on which an Oracle Application running. This is a Virtual Machine and a single VHDx file. Now I want to extend /dev/sda3 as its current available ...
0
votes
1answer
26 views

Create a new volume on free diskspace from inside Dom0

I have a server with two HDDs (/dev/sda and sdb) with 1.8TB each. On both disks, there is a 500MB Swap and an 800GB partition, that are in a raid md0 and md1: pvs PV VG Fmt Attr PSize ...
6
votes
2answers
13k views

How to extend filesystem partition on Ubuntu VM?

I'm running Ubuntu Desktop 14.04 as a VM on a mac with vmware fusion. I'm getting space warning issues and now want to expand from 20GB to 200GB. I powered off the VM and on the vmware side ...
0
votes
4answers
1k views

Align Partition Of HDD Using fdisk?

I first asked this question on SuperUser.com but got no responses. I have found how to align the partition of my SSD using fdisk (SSD article on Gentoo Wiki) but haven't been able to find any ...
1
vote
1answer
153 views

Installing Debian 8 (Jessie) from HDD Partition

I tried to install Debian 8 (Jessie) with the official DVD 1 from my Card Reader (SDHC UHS-I Card 32GB). Now that does not work, because I am unable to mount it (no signal at all). Now I want to know ...
4
votes
1answer
193 views

Use backup file from dd to restore hard disk and also extract files

I made regular complete backups of my hard disk (with all partitions) using dd tool as backup.img file. I have several such files. Now that my old hard disk died, how can I use backup.img file to ...
1
vote
1answer
27 views

Alert! Root Drive Does Not Exist After Elementary Installation

recently I installed Elementary OS with no problems. When I started up the new OS I received this error message Alert! /dev/disk/by-uuid/....../ does not exist. Dropping to the shell Afterwards I ...
1
vote
1answer
47 views

Increasing a Volume

I used Gparted Live cd to resize a volume group and logical partition when i reboot and try to use lvextend –l +100%FREE /dev/vda5 i get this message : Path required for Logical Volume "–l" ...
11
votes
2answers
32k 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
0answers
19 views

Backbox Linux Installation (Ubuntu Derivate) - Problems with partitioning

I did install 5 HardDrives in my computer. (4x 750GB / 1x 500GB) If I boot the Backbox Linux DVD (https://backbox.org/linux) and start gparted all devices are shown up: /dev/sda (750GB), /dev/sdb (...
1
vote
1answer
2k views

Can't resize /dev/sda2 extended partition with gparted live cd

I recently got a message while updating some programs that my /boot is full. I've been on other posts and everyone says delete files in /boot but I thought making it bigger seems more logical and ...
5
votes
2answers
27k views
0
votes
0answers
15 views

Some doubts about disk inconsistency

I have a system with 3 elements: An embedded system with this FAT lib that makes several operations in the FAT filesystem (e.g. add/remove file/dir, append to file). The sector read/write functions ...
0
votes
0answers
24 views

Adding space from sda1 partition from sda on linux server [duplicate]

We recently upgraded our server from 16GB to 256GB. When we did this the space was not added to the partition we wanted. When I run the command lsblock this is the output. NAME MAJ:MIN RM SIZE RO ...
2
votes
1answer
385 views

Systemd fails to start after removal of encrypted swap partition on Fedora 20

In order to resize my boot partition I had to recreate my swap partition. After this systemd does not seem to be able to start. I am new to Fedora/systemd and don't quite understand where I could ...