Questions tagged [partition]
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.
2,845 questions
0 votes
0 answers
23 views
Resize a LVM partition when not the last partition on linux disk of Azure
We create Oracle linux VMs in Azure using Terraform. We have recently had to switch from Oracle Linux 8.9 to 9.x . As the image used in azure is smaller than the disk we assign, we need to resize it....
1 vote
1 answer
113 views
How to manage swap memory inside an encrypted LUKS LVM?
I am using Kubuntu which is Ubuntu with KDE. My swap partition is too small causing me some lag. I have 16GB Ram but it is set to 1.9GB. Attached is screen shots of my current partition. vgkubuntu is ...
0 votes
0 answers
34 views
Clonezilla image restoration
So I want to restore two partitions from a clonezilla image, let's call them x and y, to a different set of partitions on a different device, m and n. The issue I currently face is that Clonezilla ...
3 votes
1 answer
114 views
Resizing encrypted system partition on Linux Ubuntu
How can I resize an LUKS encrypted system partition? Is it as simple as resizing (shrinking more specifically) using a tool such as Gparted? I found some guides, but they all assumed a LVM layer, ...
0 votes
1 answer
68 views
Question about EFI partitions and dual booting
I have a dual-boot laptop: W10 and Linux (Mint 22.2). But recently I've decided to switch to Linux-only and to use VirtualBox with a Win10 guest OS, because there are about 2 apps (in particular ...
2 votes
3 answers
267 views
How should I partition my main and backup/scratch disks? [closed]
I'm new to Linux, carefully reading many Linux sources. I intend to become 100% competent in Linux, yet getting beyond fundamental choices sooner than later will help better study Linux operations; ...
3 votes
2 answers
727 views
Check if unallocated space contains data
I have a HDD with an un-allocated section, likely reserved to later add a partition for backups. I want to know if there is data in said section, or if i can flatten it. A few years ago some windows ...
4 votes
2 answers
416 views
Replacing a 500GB SSD LUKS/LVM drive in place with 1TB SSD
I have a ThinkPad T520 running Fedora with a single 500GB SSD drive. The drive has two partitions, a small boot partition and the rest devoted to a a single LUKS one. The LUKS partition is managed ...
2 votes
1 answer
110 views
How to reduce swap space in Debian with full disk encryption and BTRFS
My computer is running Debian 13. During installation of Debian 13, I chose to have full disk encryption and use the BTRFS filesystem (instead of the default ext4 filesystem). The Debian installer ...
4 votes
1 answer
133 views
Problem with GRUB in a Quad Boot system
I have a quad boot system, with Windows, Ubuntu, Debian, and RedHat/Fedora, and I'm having trouble with GRUB. More specifically, I am having "thought" problems with GRUB, i.e. I have not yet ...
12 votes
1 answer
886 views
Why does mkfs.ntfs count one Byte less?
Apparently, ntfs.mkfs counts one byte less when checking if the block device is large enough; or I have made some kind of mistake. After creating a partition of 2048 512-byte sectors (exactly 1MiB ...
3 votes
3 answers
775 views
cryptsetup block size preventing from using it
I used cryptsetup to encrypt a disk. I followed this tutorial, which uses the default values. Afterwards I used the disk with no issues and backed up my data. Now I connect it again and returns error ...
3 votes
2 answers
226 views
What should I backup before using parted or fdisk to resize a partition?
Let's say I have disk sda with format MBR and I have N partitions and I want to resize partition K (allocate more space on partition K) I will use a USB device and use a Linux installation medium so ...
1 vote
1 answer
107 views
How to install a second GNU/Linux in dual boot, with the first distribution already installed and full-disk encrypted with LUKS?
This is not a duplicate of How to install two GNU/Linux in dual boot with one under LUKS and the other not?, since it assumes newly installing both distributions. I have a Linux distribution installed ...
1 vote
1 answer
160 views
Failed to mount partition
This is my fstab file: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name ...