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,844 questions
0
votes
1
answer
69
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 ...
3
votes
1
answer
61
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, ...
2
votes
3
answers
239
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; ...
4
votes
2
answers
373
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 ...
4
votes
1
answer
111
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 ...
3
votes
3
answers
673
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 ...
1
vote
1
answer
87
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
298
views
How to optimally partition new second NVME for both Linux and Windows?
(pre-dual boot on single drive) Bought new SSD, how to partition it to allocate space to both Linux and Windows?
Current Specs: 512GB SSD pre-installed in laptop. Running Dual Boot with Win11 and ...
4
votes
2
answers
1k
views
How much disk space is occupied by a filesystem's metadata?
My disk is partitioned like this:
# fdisk -l /dev/nvme0n1
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 411647 409600 200M EFI System
/dev/nvme0n1p2 ...
1
vote
0
answers
58
views
Install Debian to premade partitions
After running in to some problems with my initial attempt to install, I've premade the partitions I want to use, and I want to install Debian using those partitions.
One of the problems I had was that ...
-1
votes
1
answer
277
views
How do I thoroughly wipe a corrupted drive and reformat on Debian?
I bought a brand new 4TB Western Digital Blue HDD, which is connected to my NAS running Debian via usb with an external HDD enclosure.
I used the following commands to setup the drive:
(parted) ...
0
votes
0
answers
185
views
How to install POP OS dual boot with windows on separate drive without erasing data of other drive?
I have windows 11 on 250gb ssd and a 500gb empty hard drive. I want to install POP!os on one of the partition of this Hard drive and let the windows be on the ssd. So while partitioning space to ...
0
votes
0
answers
71
views
Data recovery from a damaged partition during resize
I use Fedora KDE and I have separate drives for Linux home and root. Recently when both of these were on low storage, I decided to resize my other drive and extend both by 5GB.
After I cut off 10GB ...
-2
votes
1
answer
1k
views
wrong fs type, bad option, bad superblock on /dev/sda1
I'm new to Linux (just over 1 month) and I’ve encountered a problem with my drive.
I have the main drive (SSD) and a secondary drive (HDD).
The HDD was working fine, but now I’m getting this error ...
1
vote
1
answer
71
views
Help with partitioning for Kali + DracOS dual-boot on 2012 MacBook Pro
I have a 2012 MacBook Pro with a 1TB hard drive from a 2015 iMac. It has two 4GB RAM sticks; one originally came with this MacBook Pro, and the other is from an older HP laptop. There are no residual ...
0
votes
1
answer
43
views
How do I make a partition on my ubuntu VM?
I ran the fdisk command and found the output below:
Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (...
0
votes
1
answer
100
views
unable to resume LV after resizing
I have been trying to resize a mount point on my partition.
I have enough free space on the disk, i just needed to get /dev/mapper/var_log from 50G to 230G.
i resized my physical volume sda3 to get ...
-1
votes
3
answers
189
views
Deleted Manjaro partition in Windows and can only boot into grub rescue now
On Windows, I deleted the partition where Manjaro was installed which at the time gave me no errors but the next time I rebooted my PC, it sent me directly to GRUB rescue. I already tried reinstalling ...
1
vote
0
answers
84
views
How does my system handle the HDD drive
Today I installed Fedora Os on my PC. My PC has 240GB SSD and 1TB HDD. While installing the new OS I chose both disks for installing and I specified that i want the /boot directory to be installed on ...
-1
votes
1
answer
123
views
how to find files that bloats a specific partition? [duplicate]
My title may not be the best so I will try to explain it.
I am using an old computer (more than 10y) with a ubuntu style distro. It has a lot of independent partitions.
I recently had an alert telling ...
0
votes
1
answer
177
views
Passing files to windows guest
I know this is a question which has been asked many times before, and it should be simple. I think I'm close but I must be doing something wrong.
This is my first time using QEMU and I'm really ...
0
votes
1
answer
57
views
fmthard/prtvtoc: what is wrong?
I want to understand how to make a new slice without using format.
This is the original situation (working)
* /dev/rdsk/c0t2d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/...
3
votes
0
answers
112
views
Debian Bookworm - How to prevent block device seeking and probing when connected?
I have a small bootable system which requires access to storage devices, but not at the data level (i.e. just firmware commands), with the exception of a USB floppy drive whose data is accessed raw (...
1
vote
0
answers
84
views
Why is there a 12GB+ disparity between (almost) same capacity drives with (almost) same content?
I have 2 drives (different brands) of approx. 2TB each. One holds video files for my home media server while the other is a mirror. While there is a small actual size disparity, a small amount of ...
0
votes
0
answers
67
views
how to increase lvm volume size, when another volume uses all the remaining space
I have an Oracle Linux 9 running as VM in VmWare Workstation.
The VM itself is thin provisioned and may grow to 200Gb, unfortunately, in the VM itself.
the volumes are configured as follows
/ (root) -...