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,807
questions
0
votes
0
answers
22
views
gpart device busy trying to remove partition
The situation is the following:
# lsblk
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
da0 0:92 36G GPT - -
<FREE> -:- 33M - ...
-1
votes
0
answers
22
views
Creating a partition in Linux Mint to run MacOS
I have been using Linux on my Macbook Pro for a while but was hoping to partition my disk to also run MacOS. I got my bootable USB all ready, only to realize that all of the partition "types"...
4
votes
2
answers
261
views
How can I format a partition in a mapper device?
I created a mapper device with dmsetup and created a partition table with parted:
$ fdisk -l /dev/mapper/vdisk
Disk /dev/mapper/vdisk: 511.57 GiB, 549295737344 bytes, 1072843237 sectors
Units: sectors ...
0
votes
1
answer
14
views
Unable to extend fedora Server VirtualBox Volume (lvm2)
I Im trying to resize my root volume. I already resized the virtual volume inside virtualbox and also reallocated the space with gparted:
But undortunately after using lvextend and resize2fs there is ...
0
votes
1
answer
21
views
Resize partition that is mounted on root or "/"
Not too sure whether this has been done before.
I am trying to resize a partition /dev/sda3 on a single disk /dev/sda.
When I tried to use "resize2fs /dev/sda3 10G" directly, the console ...
0
votes
0
answers
32
views
creating a bootable USB drive with a single partition
I want to install Debian in dual boot with Windows, for this I created a bootable USB key under Linux Lite (Ubuntu based distro), with the #dd command.
The command I used is:
dd if=image.iso of=/dev/...
2
votes
0
answers
40
views
Manual partitioning causes error
I tried to install Linux by console, starting with partitioning and so on.
I do the same steps again and again, but when the installer (Live-System) starts, it's crashing.
I don't know why, everything ...
1
vote
1
answer
65
views
How to merge 2 partitions (without data loss)
I installed Fedora on a 37 GB drive which is a bit too small; I have 104 GB free space, and I want to merge with it without losing data. I have no idea how to do this; I tried using gparted and resize ...
-1
votes
1
answer
55
views
learning about physical volumes and logical volumes
I have RHEL8 on ESXi in my homelab. I increased the size of the vmdk by 35 GB. I rebooted the VM and now see this.
# fdisk -l
Disk /dev/sda: 135 GiB, 144955146240 bytes, 283115520 sectors
Units: ...
0
votes
1
answer
44
views
Problems partitioning HDD for windows 11 dualboot
I'm trying to set up a dualboot of windows 11 (currently installed) and archlinux. I've done this before on a machine running windows 10 and I had no problems, however with this machine I run into ...
0
votes
0
answers
41
views
Newb in Linux needs help with partition and space
I'm a beginner in Arch Linux (I know it's not the best distro to start with but I think one learns more when everything is broken).
I think I've made a mistake in the installation of Arch - the ...
0
votes
1
answer
55
views
Why do the MBR partition entry and partition filesystem disagree on the number of sectors?
I've got an SD card used for booting a Beaglebone Black. I was having problems booting from the card, or any card for that matter that I created, and I finally tracked down the problem to a ...
-1
votes
1
answer
87
views
Disk Partioning advice
This is the output from fdisk of my disk:
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/...
0
votes
0
answers
30
views
How do I get a cloned linux partition to boot?
I have a dual boot system (windows and linux) and I wanted to move the image to a larger hard drive and allocate more space to both partitions. I cloned it without any issues, my windows system boots ...
0
votes
0
answers
6k
views
LVM - Couldn't find device with uuid 'xxx-xxx-xx-xx'
This is a VMware VM recovered by Veeam B&R, after that I try to boot the VM but appears some errors relating to missing PVs. This the thing:
WARNING: Couldn't find device with uuid TAa5ei-oJrz-...
0
votes
1
answer
45
views
It doesn't let me resize partition. How can I claim the free space?
I managed to be in a frustrating situation in which I had to delete my previous OS and then I cannot claim all of the unused free space, like in the image:
So I want the /home partition to claim all ...
0
votes
0
answers
48
views
Merging disk partitions in Ubuntu
I have created disk partition as in the image below. How can I merge the partitions ext_29 and ext_30 to make it a singe partition. I cannot find a merge option in the gparted window Is there any way ...
0
votes
1
answer
31
views
Is it possible to install a Linux distro split between two usb drives?
I have 2 USB drives, each 32GB. I was trying to install XFCE version of Debian 12 on one of the 32GB USB drives. But I failed, and then Google said for a complete functional Desktop environment to run,...
0
votes
0
answers
37
views
extended disk in cfdisk but it will not grow in df -h
i have a VM running ubuntu and extended a disk to 6Tb, i saw the extra space in the cfdisk command and resized it to the max (6t)
it shows up as 6t in fdisk as well
but in df -h it will not grow in ...
3
votes
1
answer
148
views
/boot partition too small again on debian testing/trixie
In the current testing debian distribution (13/trixie), I ends up with a /boot partition of 500Mo.
The current kernel initrd file inside /boot being 250 Mo, I can't upgrade the kernel anymore.
/dev/...
0
votes
0
answers
47
views
How to extend btrfs subvolumes space using separate SSD?
$ lsblk -f -o +SIZE
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS SIZE
sda ...
0
votes
2
answers
166
views
What is rigid disk block (RDB) and how can I repair it?
I have a WD P10 external USB disk that is no longer being detected on macOS or Windows (on a different PC). To troubleshoot, I booted Debian (LMDE) from a Live USB and connected the WD drive again. It ...
0
votes
0
answers
155
views
How do I tell partman-auto where to install Debian 12 using preseed.cfg?
Important note, I cannot use external media in this situation. I am trying to use preseeding to automatically install Debian 12 onto my device. This device is running CentOS 7 with an LVM and is using ...
0
votes
0
answers
26
views
Unable to Resize Partition in Xubuntu VM Due to Busy Target
I am trying to resize the main partition of my Xubuntu virtual machine (VM) running on VMware, but I encounter an error stating that the target is busy when attempting to unmount it. Despite several ...
1
vote
1
answer
27
views
How do you look into sdb1 and sdc1 to make sure data is mirrored in RAID1 using mdadm?
I've spent hours fighting mdadm to the point I had to reinstall linux and do more fighting, mostly because of write-protected issues on the drives somehow (I still don't explain it), and also ...
0
votes
1
answer
63
views
Resize Disk Image with Protective MBR and GPT table
I've got a disk image that I need shortened slightly (long story - but it deals with variances in flash drive sizes). The partitions are already short enough, but the drive size is not.
Basically, I ...
0
votes
0
answers
43
views
How to mount /dev separatedly in OpenBSD?
All partitions can have: "rw,nodev,nosuid", only exception is the "/dev" directory (that it cannot have "nodev").
Is there a way that i can partition a new OpenBSD ...
-1
votes
3
answers
76
views
ext4 filesystem on RHEL 7
I have a RHEL 7 ext4 type filesystem and because of the lack of funding and no backups available I am trying to see if I can import ext4 filesystem from RHEL 7 into RHEL 8.
I have a RHEL 7 with 2 ...
0
votes
0
answers
32
views
SSD partitioning on Linux (data loss)
I wanted to create new partition on SSD (i need it to create disk image using clonezilla).
I started from creating while I'm on ssd boot (means the system is running on ssd.
Then i got message: ssd ...
1
vote
0
answers
32
views
Create two separate mount points with different subfolders for the same /dev/sda1 device
I created three mount points for the /dev/sda1 device :
admin_pri@mypc:/opt$ findmnt | grep sda1
├─/opt/pacbio_data /dev/sda1 ext4 ...
3
votes
1
answer
78
views
Parted in scripted mode can increase but not decrease partition size
I am trying to use parted in scripted mode to resize a partition.
When I use the command to increase the partition size it works but when I use the same command but simply change the sector size to ...
1
vote
1
answer
131
views
Move /home partition from separate drive to same drive as root
My Linux Mint install currently has my /home directory set up as a separate partition on a second drive mounted at /home. I see a lot of tutorials for switching /home to another drive, but I'd like ...
3
votes
1
answer
193
views
changing uuid of /run/media/root/ partition
I have a usb disk and after formatting it shows up as /run/media/root/abc213 where abc123 is some much longer complex string that no normal person would be able to remember... typical of what you ...
0
votes
2
answers
306
views
Can I expand my /var partition?
I just installed Ubuntu 24.04, and I made a mistake: I put the /var directory on its own partition, and its size is 10 GB. After a few days it is already full.
Is there a way to fix this problem ...
-1
votes
2
answers
244
views
creating a bootable usb with GPT partition scheme to make use of linux .iso
The rhel-8.10-x86_64-dvd.iso to install from which is 14GB in size.
For a usb device (i.e. disk) that would show up in Linux as /dev/sdb for example, doing a cp rhel-8.10-x86_64-dvd.iso /dev/sdb ...
1
vote
1
answer
98
views
can msdos partition be located past the 2TB point on a disk?
I have a 5 tb usb disk I use to copy a rhel-8.10.iso file to in order to install Linux.
In doing so the copy of that iso to /dev/sde creates an msdos partition table. And it creates 2 partitions.
I ...
0
votes
1
answer
74
views
add partition and data onto usb stick already having bootable iso9660
I have a usb stick (actually a disk) and it is 5TB in size.
I do a cp rhel-8.10-x86_64-dvd.iso /dev/sde to it and it then works to boot from and install Redhat Linux.
What I would like to do is copy ...
1
vote
2
answers
58
views
Debian 11.9 - /mnt 100% use
So I have a Debian VM running in Azure which is being used as a syslog server.
My logs go to an Azure storage container which is mounted in my VM.
myroot@myvm:/mnt$ df -h
Filesystem ...
0
votes
0
answers
159
views
USB drive is not recognized due to a failed partition formatting
(sorry for my poor English)
I created a encrypted partition on my Kingston USB drive (/dev/sda) using VeraCrypt.
I was trying to format the partition using GNOME Disk Utility after mounted the ...
0
votes
1
answer
86
views
Why does my USB drive not show its full capacity?
I've got a 32GB flash drive that is being detected properly in Linux, but only has 4.9GiB actually usable.
There is only one ext4 partition on it, taking up the entire drive.
I'm ~~99%~~ 100% sure the ...
0
votes
2
answers
82
views
Can't boot into linux on my laptop?
So, I have a transcend external HDD and have half used and decided to install linux in a partition.
So, i freed space and during installation, i created a root partation, swap partation and efi ...
0
votes
0
answers
91
views
Recover damaged & luks-encrypted BTRFS partition
Here's my problem:
I have a Virtual Machine that I had to reset because the UI became very buggy after I tried to mount a hot-pluggable virtual disk image to copy some files.
Well that was actually ...
0
votes
2
answers
84
views
gpart will always say "Invalid argument" when add a new ufs partition
I am using the FreeBSD 14.0.
I follow the instructions at https://www.transip.eu/knowledgebase/entry/138-how-do-create-partition-freebsd/ to create a UFS partition, as below:
But always get "...
0
votes
1
answer
110
views
Extend hard drive on Ubuntu (Server)
Im helping a friend with his small, self-hosted Ubuntu server. He wanted to install a larger hard drive. That's why I used Clonezilla to clone the HDD to a larger SSD so that the server doesn't have ...
0
votes
1
answer
73
views
Grub does not see LinuxMint when dual boot Fedora 40 and LinuxMint 24 on external SSD
So I installed on my external SSD both LinuxMint 24 and Fedora 40. Here is how:
Partition table of SSD: GPT and split my SSD in 500GB Ext4 and 500GB empty
First installed LinuxMint on empty with ...
5
votes
2
answers
1k
views
How do I use LUKS encrypted partitions with Kubuntu 24.04 installation?
I am trying to install Kubuntu 24.04 with manual partitioning. I have created primary partitions for EFI and boot, and an encrypted partition with logical volumes for swap, root, and home.
Previously,...
0
votes
1
answer
71
views
syslinux creating unexpected partitions on disk image
I'm encountering some odd behavior while trying to install a bootloader on a disk image. Here's the process I followed:
$ dd if=/dev/zero of=test.img status=progress bs=200M count=1
1+0 records in
1+0 ...
0
votes
0
answers
104
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 ...
2
votes
1
answer
59
views
Moving from plain LUKS to LVM on LUKS
At installation I forgot to create a 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
...
0
votes
1
answer
108
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 ...