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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

How to extend Encrypted persistence partition on Kali live USB

I would like to increase the amount of Encrypted persistence storage for my Kali Linux live USB. It is encrypted with LUKS encryption and is written as a DD image. My USB is a Sandisk with 32GB and I ...
Hman66's user avatar
  • 1
0 votes
0 answers
5 views

Moving from plain LUKS to LVM on LUKS

At installation I forgot to create logical volume group in LUKS container. I won't reinstall the system. So how do I create LVG in LUKS container without data loss? My plan is: Install lvm2 package ...
MPEI_stud's user avatar
0 votes
1 answer
37 views

Extend partition on RedHat VM without losing data

I have a VM with RHEL which serves as backup repo for Veeam. And now I need to extend partition for backups. Original size was 17TB I extended HDD in VMware to 19TB (it's a second HDD in VMware), and ...
Rasputin's user avatar
0 votes
0 answers
32 views

BTRFS errors after restoring system partition

After restoring my system partition with clonezilla, when I boot I get the partition forced read-only due to BTRFS errors. I'm quite sure the clonezilla partition image is OK dmesg outputs these ...
Xabier Hualde's user avatar
0 votes
0 answers
30 views

Preventing malware on one distro from infecting other distros on a dual/multi-boot system?

I'm in the process of setting-up a computer with multi-boot - 3-5 different Linux distros, maybe FreeBSD or OpenIndiana, and probably Windows. I will be partitioning a couple of SSDs, use one ...
Baard Kopperud's user avatar
1 vote
0 answers
20 views

Extend /home with additional 50GB

I would like add additional space of 50GB either to existing hard disk or new disk, whichever fits well, but this space should be mounted at /home. My sda2 is already mounted at /home. I am using RHEL....
codelearner1029's user avatar
0 votes
0 answers
14 views

Create Accessible Partition by Windows and Linux

I plan to dual boot windows and kde neon on my laptop. Since I will be doing cross-platform development I would like my code to be accessible by both linux and windows, therefore, I want to create a ...
Omid Ketabollahi's user avatar
0 votes
0 answers
19 views

How can I resize my Fedora Btrfs root partition to take up Windows space with my boot partition in the way?

I have a UEFI system on a laptop that's currently dual-booting Windows and Fedora 39 (KDE Plasma). I don't use Windows much, and need extra space on my Fedora partition. So, I need to shrink nvme0n1p3 ...
undonepotato's user avatar
0 votes
0 answers
24 views

reconstructing ext4 inode structure after folder deletion

My ext4 partition that had my whatsapp data had its entire folder deleted ( that is file / folder delete - no partition ). As I understand inodes have the metadata tree for files including their ...
user1874594's user avatar
0 votes
0 answers
24 views

LinuxFX not installing

I have downloaded "Windows Ubuntu 11.4.4 LTS" from the LinuxFX downloads page, and created a bootable USB stick with UNetbootin. When I plug it in the OS starts up as normal. Now to the ...
John Carter's user avatar
1 vote
0 answers
45 views

Clone a Linux partition to a new SSD and keep both partitions in GRUB

I have the following disks and partitions: sda 8:0 0 238,5G 0 disk ├─sda1 8:1 0 16M 0 part ├─sda2 8:2 0 174,5G 0 part ├─sda3 8:3 0 529M 0 part └─sda4 8:4 0 63,...
Tiamin's user avatar
  • 11
1 vote
1 answer
70 views

How do I rescue an encrypted LUKS partition after failed shrink

I had an encrypted ext4 partition on a Samsung T7 1TB USB drive. It was LUKS (I believe this may be called a LUKS container?) The partition was 850GB. It had about 130GB in use. I also had an ...
Code83's user avatar
  • 13
1 vote
1 answer
36 views

What could be the source of drastically different disk usage reports between df, lsblk and baobab?

Disk Usage Analyzer (baobab) reports a size of 29.3 GB for the root partition, out of which 2.5 GB are available: However, when selecting that device for closer inspection, I am presented with only 7....
kuadrat's user avatar
  • 51
0 votes
1 answer
48 views

How can I increase the size of disk?

I'm using Debian as a VirtualBox guest, but I don’t have enough space.  How can I increase the size of disk?
rose's user avatar
  • 163
0 votes
1 answer
51 views

Ubuntu resize partition in in backward direction

I am using Ubuntu 22.04 LTS in a windows dual boot setup. This is the state of the partitions at the moment. (Windows Screenshot) On my Ubuntu, I have the following df -H ...
inquilabee's user avatar
0 votes
1 answer
44 views

Subpartition inside partiton not showed in lsblk or /dev/

I installed archlinux inside my /dev/sdb4 and used the guided partition scheme. After install i can't mount /dev/sdb4 (ext4). The error was VFS: Can't find ext4 filesystem. lsblk shows me: sdb 8:...
cat Man's user avatar
  • 68
0 votes
1 answer
27 views

Unable to move a partition

I have currently following partitioning scheme, the disk is formatted using gpt. I want to assign the unallocated space highlighted at the end to sdb2 (boot partition). From my understanding, I need ...
ojs's user avatar
  • 1
0 votes
1 answer
48 views

I want to resize /dev/sda2 ubuntu 20.04 LTS

Hi every one i need help i can't shrink /dev/sda2 and make free space Regards.
Muhammad Mesllam's user avatar
0 votes
1 answer
97 views

Reboot into `initramfs` after altering partition table

Problem Overview I recently upgraded my remote server contract with IONOS, increasing my hard drive space from 8GB to 80GB. I have an Ubuntu OS running bash. I then went about extending my working ...
user10709800's user avatar
0 votes
1 answer
129 views

Understanding the auto-allocated disk layout on OpenBSD

I am attempting to install OpenBSD7.4 on an amd64 arch with a 1TB drive. The machine will run an X windows system and need plently of room to store files. I selected "whole disk GPT" at the ...
Lee's user avatar
  • 497
0 votes
1 answer
67 views

How to expand FAT32 SD Card Image

Given sd_card.img that is 512000000 bytes (i.e. 488MB): $ file sd_card.img sd_card.img: DOS/MBR boot sector; partition 1 : ID=0xc, start-CHS (0x0,1,1), end-CHS (0xdf,15,54), startsector 63, 999873 ...
fm_user8's user avatar
  • 111
0 votes
1 answer
90 views

How do I permanently recover from grub rescue?

This question relates to a Windows/Linux dual boot system on a DOS-partitioned SSD (i.e. none with GPT/UEFI). Originally, the computer only had Windows 10 on an HDD. Then I managed to transfer this ...
Adalbert Hanßen's user avatar
4 votes
2 answers
303 views

How can I list partitions in storage order?

After telling general information (capacity, sector size and the like) fdisk shows 8 columns: sdXY, Boot, begin, end, # of sectors, size, flags, type. The partitions get sorted by Y in their sdXY ...
Adalbert Hanßen's user avatar
0 votes
1 answer
37 views

Change from /boot/efi to non boot/efi

I have a Debian server A with given partition from lsblk and Debian server B with root partition. I would like to convert server A same as server B. Basically I don't want the server A with /boot/efi ...
codelearner1029's user avatar
0 votes
0 answers
24 views

Combing OverlayFS with A/B partition scheme

I'm wondering if it's possible to combine OverlayFS with A/B upgrade scheme and do so in a completely RO only way. This combines a few pieces of technology, so I'm not sure if its possible or the ...
bearrito's user avatar
0 votes
1 answer
425 views

How to increase root partition size in CentOS 7

I wish to extend the root partition size without any data loss in CentOS 7. For that I searched about this on internet. I found many blogs and videos. I tried their solutions in my spare system (for ...
Harsh Patel's user avatar
1 vote
1 answer
122 views

Failed to read extended partition table (offset=x): Invalid argument bad disk partition size

I have a 500GB HDD that will only boot into grub rescue. It appears the partition table has become corrupt as fdisk is reporting one partition being 3.6T. I have run testdisk (results below) but not ...
Lurch's user avatar
  • 113
1 vote
0 answers
185 views

LUKS password correct, but not accepted

I am attempting to install Kali on a laptop, which should normally be straightforward. However, on this particular device, the Kali installer errors upon writing the partition changes to disk for some ...
ExecutionByFork's user avatar
0 votes
0 answers
21 views

Is theire any specific caution to take before resize btrfs

Current situation I have an almost full /home partition, with just 4.4Go remaining space, when my / is more than half empty. Both of the two partitions are in Btrfs, as you can see: % lsblk -o NAME,...
fauve's user avatar
  • 1,228
1 vote
1 answer
60 views

Unable to partition and install filesystem on san-connected mutipath volume

Title pretty much says it all. Using Ubuntu 22.04. I have a simple install going -> physical HPE DL360 G9 with two 2-port HBAs connected to an iSCSI switch, which in turn connects to our Nimble ...
coolsport00's user avatar
0 votes
0 answers
38 views

Additional log partition with buildroot

I made my Linux with Buildroot, and I would like to add an additional partition what can be mounted and store log files on it. I use pc_x86_64_efi_defconfig and my genimage-efi.cfg is the ...
kj192's user avatar
  • 11
0 votes
0 answers
23 views

partition super block data verse df available size

I'm new to Linux and i wanted to know the free data size of a certain partition. But executing different programs gave me different free sizes. What i know about the filesystem: the names of files ...
Schmaehgrunza's user avatar
1 vote
1 answer
52 views

Is virtualization or dual booting better for the longevity of my hard drive?

I've been using Linux Mint (MATE 21.2) via Oracle Virtualbox and I've actually taken to it more than my host system (Windows 11). I would switch to Mint as my host system since all my important files ...
JavaFox's user avatar
  • 11
0 votes
0 answers
18 views

Virtualisation vs Partitioning [duplicate]

I've been using Linux Mint (MATE 21.2) via Oracle Virtualbox and I've actually taken to it more than my host system (Windows 11). I would switch to Mint as my host system since all my important files ...
JavaFox's user avatar
  • 11
0 votes
2 answers
90 views

Resizing Partition?

I've got an unused partition that I want to use to resize my working partition. I can delete the unused partition, but am unable to expand my working partition because the EFI partition is in the way. ...
Jim Ford's user avatar
0 votes
0 answers
41 views

Issues with Os-prober

I booted Garuda Linux Gnome , an Arch based Linux distro from ventoy , after which I went into Gparted to delete the previous root and efi partitions from the previous installation. To my surprise, I ...
Aquasplash Gamer's user avatar
1 vote
0 answers
96 views

Automatic Partition Resizing during Boot in Linux

I have a Linux system with a storage device containing multiple partitions. Specifically, the device (/dev/sdX) has three partitions (sda1, sda2, and sda3). The third partition (sda3) is intended for ...
Aravind Ekan's user avatar
1 vote
1 answer
278 views

multiple paritioning of loopback device leads to error

I'm in the development of a partitioning tool, for testing purposes I have to run partitioning and LVM configurations repeatedly on a loopback device Partition /dev/loop0 with 3 partitions /dev/...
wasp256's user avatar
  • 209
2 votes
0 answers
50 views

I ran `mkfs.btrfs -f` on a disk containing an existing btrfs file system (HDD), can btrfs tools help me recover? If not, what else might I consider?

I did something very stupid yesterday. I have two physical drives (both HDD), call them X and Y. Both contained (separate) btrfs file systems that extended over their whole size. Let @x be a subvolume ...
bzm3r's user avatar
  • 363
1 vote
0 answers
156 views

Can't mount an encrypted btrfs partition: wrong fs type

Problem I've a 2TB external hdd which has 2 partitions(a 1.4TB encrypted btrfs and a 500GB exfat). And I can't mount the btrfs partition, the 500GB exfat is fine tho. Context It's cable or socket is ...
broken443's user avatar
0 votes
1 answer
111 views

Debian GRUB installer partitioning step - Intel MacBook Pro

I am trying to install Debian to a partition on my SSD. Currently I have three partitions on my SSD: Container disk1 - AFPS container macOS AFPS Volume Group Linux - PCI-Express Internal Physical ...
Matt's user avatar
  • 3
0 votes
1 answer
90 views

First 32GB of a 4TB ext4 filesystem overwritten. How to recover?

Due to an accident specifying a block device, the first 32GB of a 4TB ext4 filesystem on a SATA disk was overwritten by the dd command with the contents of a USB flash drive. fdisk -l /dev/sda reports ...
AbelianMemes's user avatar
0 votes
1 answer
53 views

fdisk partition type shown as empy when type is an UUID

I have two systems with same versions (Debian 11.7, util-linux 2.36.1-8+deb11u1). Why one system shows partition types as UUIDS and the second doesn't and also doesn't recognize that types showing &...
Noman_1's user avatar
  • 101
0 votes
1 answer
61 views

Handle Partition Changes Embedded System

I have to update some outdated embedded systems. But the RAUC Update contains four partitions, while the old systems have only three partitions. The additional Partition is at the start of the disk ...
Cellcon's user avatar
  • 135
0 votes
1 answer
47 views

How do you deal with dual drives (partitions) on linux computers?

I've been surprised by how difficult it has been to manage a linux PC with the OS on its own partition, and I'd be very curious to hear other peoples strategies and ideas. Background A couple of years ...
rskaskiw's user avatar
0 votes
0 answers
50 views

Help understanding paritions and OS installation

I installed pop-os on a Lenovo thinkpad x270 with 8 GB RAM and 256 GB disk capacity. I am not sure on how to interpret the disk allocation and am wondering if I'm using the whole disk at all. Here are ...
pixis's user avatar
  • 1
0 votes
2 answers
125 views

The filesystem is already 65010688 (4k) blocks long

Please help me , when I try to increase the partition size in LVM, but when I try it doesn’t work, I do the following: df -h Filesystem Size Used Avail Use% Mounted on udev ...
Глеб Щеголев's user avatar
0 votes
1 answer
48 views

New notebook and factory partition

First time using a linux, I'm using Debian 12. My notebook arrived with the following partition (512gb SSD), in this order (left to right in the disk viewer): /boot/efi - 537mb /root - 20gb recover (...
GVianaF's user avatar
0 votes
0 answers
26 views

Is it possible to define an MTD partition with a "hole" for another partition?

I'm working with a Xilinx Linux kernel and u-boot, which expects the u-boot boot script to be located at 0x3e80000-0x4000000. For Xilinx's devkits this is the end of the 64 MiB NOR flash, but I'm ...
Compholio's user avatar
  • 186
0 votes
1 answer
91 views

Partition size differ in fdisk and df by 240 GB. why?

I have a 4 TB Seagate Drive. Apart from 22 GiB of other partitions, there rest is for sda1. The Problem? I miss about 240 GiB of sda1! I can't see where it is. whole sda1 partition has a filesystem in ...
Euphoria's user avatar

1
2 3 4 5
56