Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
27 views

Issues Configuring Swap and Moving /home to a New Encrypted Disk on Ubuntu 24.04

I have Ubuntu 24.04 installed with the default disk partitioning settings chosen by the installer, including LVM encryption. I have two SSDs: First disk with the following partitions: /boot/efi /boot ...
LocalUser's user avatar
  • 111
1 vote
1 answer
90 views

Can't resize partition after cloning the disk to the bigger disk

I cloned my entire disk to the new disk with dd if=/dev/sdb of=/dev/nvme0n1 . It was a long process so I don't want to repeat it again. I booted from the new disk but there is a problem: the new disk ...
Dmitry's user avatar
  • 111
0 votes
1 answer
23 views

Combine partition with free space

I want to use the remaining free space on my hard drive, however there's a problem: Running cfdisk outputs: Label: gpt, identifier: CEE38D42-DBB8-4F74-ADA6-1BC2A5E46AE1 Device ...
oughy's user avatar
  • 1
1 vote
2 answers
52 views

Can a bad block from one partition affect other partitions?

I have an external SSD 1 TB plugged in to Linux-Laptop. I have created a small new partition - 10 GB size on it, so now I have 2 partitions on that SSD. Both partitions are formatted with ext4 file ...
ccsann's user avatar
  • 133
0 votes
1 answer
89 views

How do I update the UUID of an ExFAT partition?

How do I set the UUID of an ExFat partition? The linux tools I've tried (mlabel, gparted) only allow resetting the UUID to a different random one, not to a UUID I choose.
JanKanis's user avatar
  • 259
0 votes
1 answer
19 views

Disk usage wrong after incorrect fstab mount and rsync to the mount

tl,dr; Something is using disk space after failed mount and rsync but I can't find out what it is and how to cleanup/free the space. Context: I was trying to add second disk to my RPi and given that ...
Wojtek's user avatar
  • 407
0 votes
0 answers
14 views

How can I make total size of LVM partition match Used + Available?

I have a weird storage situation that I suspect is because I set up my LVM allocations incorrectly: Filesystem Size Used Avail Use% Mounted on /dev/mapper/data-cams 916G 830G 41G 96% ...
natevw's user avatar
  • 800
0 votes
1 answer
40 views

Unable to mount disk image after creating in Arch

I have quite the problem right now. I have created a disk image of my Arch install by using this command sudo dd if=/dev/sdX bs=8M | pv -cN source | zstd | pv -cN zstd > out.img.zst, then ...
fyredragon69's user avatar
4 votes
1 answer
389 views

Is there a way to move a LUKS-encrypted btrfs volume to the right?

I want to move a LUKS-encrypted btrfs volume to the right. GParted is telling me it knows how to move the LUKS layer to the right, but it doesn’t know how to move the btrfs layer to the right. Can I ...
schuelermine's user avatar
  • 1,317
0 votes
0 answers
16 views

USB disk on a VBox on RAID was repartitioned

I have an Ubuntu on a VBox on Windows 10 Pro. The Ubuntu had a Raid 1+0 with 2 external USB disks. Suddenly, when I restarted the server, both disks got repartitioned with these: PARTLABEL="...
AngocA's user avatar
  • 334
-1 votes
1 answer
116 views

How to Recreate EFI Partition? [closed]

System: Macbook Pro 2019 with Intel & T2, upgraded to Sonoma. Objective: Dual boot with Fedora. Trouble: I accidentally deleted the EFI System Partition on MacOS. Now, I do have EFI for T2Linux (...
tom_kp's user avatar
  • 29
0 votes
0 answers
67 views

kpartx does not work as expected inside docker container

I am trying to create disk image inside docker container. I run the following commands: Run container with debian $ sudo docker run --privileged --rm -it debian Update apt and install packages # apt ...
Art Spasky's user avatar
0 votes
1 answer
42 views

Cannot Expand Datastore in ESXi 6.7 of a 4TB RAID1 Drive Configuration

I'm running ESXi 6.7 on a Dell R720 with 96GB of ram, and 2x 8-core processors. I have two 4TB drives configured in the BIOS as one disk, RAID 1. I had a Linux VM that was utilizing about 75% of the ...
Dynamic Orchid's user avatar
0 votes
0 answers
22 views

How to automatically do a ntfsfix every time at reboot? [duplicate]

On a dual-boot laptop I have a partition /dev/nvme0n1p4 which I want to mount as ntfs partition for Ubuntu 22.04 and Windows-10. But really often this partition only mounts as read-only. The entry in ...
Alex's user avatar
  • 442
2 votes
1 answer
175 views

How to recover a RAID 5 after deleting the partition table and fstab?

I have a RAID5 set up for my storage drives on my Nixos 23.11 machine. I followed this guide to set up the RAID (and I followed it very closely). I have just reinstalled Linux on my boot drive (...
randouser's user avatar
2 votes
1 answer
501 views

How to permanently delete a LUKS encrypted partition?

I have been using a LUKS encrypted partition as my /home directory on Manjaro. However, as I have to resize and move a few of my disk partitions, I would like to get rid of it. On Manjaro, I have ...
Lava's user avatar
  • 31
0 votes
1 answer
108 views

Converting Linux partition to crypto_LUKS

I'm currently working on RHEL 8.9 and attempting to harden a VM of mine, and looking into applying the crypto_LUKS encryption to my active partitions. When I check my partitions using the blkid ...
nxct's user avatar
  • 1
0 votes
1 answer
48 views

How does RAID 5 handle unrecoverable sectors on a HDD

I'm going to set up a RAID 5 on 4 hard drives on my ubuntu system. I plan to use ext4 on a logic volume. Suppose one disk reports an unrecoverable sector. How would RAID 5 handle this? My ...
Xylas Quinn's user avatar
0 votes
0 answers
43 views

Linux (xcp-ng) installation has around 40GB of MS basic file system

So, I am having this trouble to get rid of these 3 partition that my Lenovo Thinkcenter keep creating when I install XCP-NG. fdisk -l output: So, basically I tried to remove those by fdisk /dev/...
XCP_NG's user avatar
  • 1
0 votes
1 answer
209 views

Why am I getting "Partition 3 does not start on physical sector boundary" warning with this setup?

On a fresh install of Proxmox 8.1, fdisk -l is warning "Partition 3 does not start on physical sector boundary". This is unexpected to me, because the start of the partition is 2099200, ...
brendanw999's user avatar
0 votes
1 answer
45 views

How do I leave free space for grub when copying a whole system to a new media?

I've tried to copy a whole system to a new media. Like the existing layout, I'd like to use an everything-in-one-partition approach. This is what I've tried: create a partition table and one single ...
user9964388's user avatar
0 votes
1 answer
148 views

How can I split from /dev/nvme0n1p3 to /dev/nvme0n1p2

I only have one disk, an SSD on my laptop. My disk status is as shown above. The /dev/nvme0n1p2 disk part (mounted at /) is too small. I plan to move 42GB from /dev/nvme0n1p3 to /dev/nvme0n1p2, but /...
monstar's user avatar
  • 133
1 vote
1 answer
41 views

Why is an incorrect size reported on multi-partition USB flash drive?

I'm creating a custom Linux installer which uses two partitions on a 4GB USB flash drive: an EFI partition for booting and a data partition for installer files. The size reported by df is unexpected. ...
Danny's user avatar
  • 191
0 votes
0 answers
78 views

Reducing the size of a LVM on LUKS generated warnings

Hi I have been following this helpful guide (https://wiki.archlinux.org/title/Resizing_LVM-on-LUKS) on how to reduce the size of my filesystem and partitions to generate roughly 100G of free space on ...
Will Poynter's user avatar
3 votes
1 answer
184 views

Why does DD'ing a raw image change the image when read back

I have a .RAW image. The image contains a single partition. I have created a loopback based device. I created a single partition on that device. I'm writing my .RAW to the partition. sudo dd if=/tmp/...
bearrito's user avatar
0 votes
1 answer
373 views

Add "Windows 10" (with Bitlocker encrypted) boot entry to GRUB [duplicate]

I have a dual boot system with Windows 10 & Ubuntu Unity 23.10. My main system is the Ubuntu system, but from time to time i have something todo on Windows. Currently im switching with the BIOS/...
Marc's user avatar
  • 393
1 vote
0 answers
84 views

Aborting repartitioning

Around 5 days ago I decided to change the partitions on my external HDD. The partitions were full, but there was some space not used by them, so I wanted to move the partitions to the left and expand ...
BeniBela's user avatar
  • 1,363
0 votes
0 answers
66 views

Installing Archlinx (Archcraft) alongside Windows 11 w/ EFI, but partition shows MBR?

Installing Archlinux (Archcraft) alongside a pre-installed Windows 11.. I was expecting the Windows EFI system partition to show GPT, but viewing it within a live USB of Archcraft via fdisk -l reveals ...
yudhishthira's user avatar
-1 votes
1 answer
220 views

Linux no boot after cloning partitions

I had and old HP Compaq laptop I wanted to upgrade because the IDE HDD was dying inside. Previously I had set up a Windows XP / Lubuntu 14 dual boot on it. After cloning the drive with Rescuezilla to ...
MoltenEQ's user avatar
-2 votes
1 answer
68 views

Non-bootable windows install

I have recently tried to install windows 11 by flashing a .iso file to a 10 gigabyte system partition. The mounting of the disk and extraction goes perfectly, and I have marked the partition as ...
Xenan's user avatar
  • 9
0 votes
0 answers
181 views

add capacity using LVM system

my current /home directory is lack of storage so i want to add capacity to LV. want to confirm if my execution plan will not distroy the existing system. Here is the current disk status: df -h /dev/...
HelloFromWorld's user avatar
0 votes
0 answers
94 views

Dual boot machine, not obvious how the boot sequence finds GRUB or how to remove it

I have a dual booting system (Windows and Ubuntu) where I am trying to remove Ubuntu and its partitions. The internal drive (laptop) is divided as follows: 350MB System Reserved (mounted as P:) 150GB ...
J Collins's user avatar
  • 708
0 votes
1 answer
71 views

From disk end, how to count MB (Megabytes) to the first non-zero location?

I am using Kubuntu 22.04.3 LTS x86_64. While re-purposing a disk using: neofetch --stdout |grep 'OS:' Instead of long process of dd zero the whole disk just dd zero some first bytes of disk and then ...
joseph22's user avatar
  • 367
0 votes
0 answers
217 views

How can I boot a live system iso on a partition of an USB drive

I am a linux and windows user, and I'm going to build up a USB drive(/dev/sda, got 3 partition already) which contains a windows PE and a linux livecd. I have got two iso files, and I'm trying a new ...
kz25t's user avatar
  • 1
0 votes
1 answer
63 views

Does rsync -D protect the root partition uuid in fstab?

I have a few partitions. One is for my main OS installation, and a second is set aside as the destination for a backup of the main OS. I have a secondary OS set aside for maintenance purposes, with ...
RTD's user avatar
  • 101
2 votes
1 answer
618 views

How to mount BTRFS partition multiple times both using the same space allocation?

I’m new to BTRFS and am wondering if it’s possible to share the space of a single partition but mount it under multiple mount points? For example, I have a 1 TiB partition and want to share the same ...
Joe J's user avatar
  • 518
4 votes
2 answers
1k views

The best approach to creating EXT4 partitions copy (without need of restoring them later)

Currently, I have 2 * 2TB SSDs in my PC: First one has only one NTFS partition with Windows. Second one has several partitions: 1 TB NTFS used by Windows and 4 partitions with Linux: two big EXT4 ...
serwus's user avatar
  • 73
0 votes
1 answer
124 views

ext4 cannot delete files after resizing partitions using gparted offline

Recently I tried to install a package and got a message saying I didn't have enough space. I guess 25 Gb isn't enough. I downloaded a GParted iso, tossed onto a thumb drive, etc, etc. Everything went ...
Terry 's user avatar
0 votes
1 answer
302 views

Freshly Provisioned Cent-OS occupies a lot of space for "/dev/mapper/centos-root"

I created a fresh VM, however I started facing space issues as soon as it got created. From the du and lsblk command I see /dev/mapper/centos-root is occupying a lot of space. I tried running tree ...
Himanshuman's user avatar
1 vote
0 answers
14 views

Strange folders name with GNU Grub Shell

Accidentally, I delete EFI partition or some partition that I don't really know (just bcz I didnt read docs carefully and delete a random one :<). However, when I reboot my laptop, it shows GNU ...
KaizOffical's user avatar
1 vote
1 answer
430 views

USB drive detected as a char device (not block device) on Linux?

I have a Kingston's DataTraveler SE9 (8G, SerialNumber: 0014785448B4BCA13728002A), and I myself am running Pop!_OS, and I can't seem to figure out why it's not being detected. Not in a Windows system ...
zombiesauce's user avatar
0 votes
3 answers
258 views

Can't extend volume in Windows after deleting Ubuntu dual boot, and Ubuntu still shows up in boot options?

I installed Ubuntu to my second SSD (500 GB not main) as dual boot. I have now deleted it as I don't need it but whenever I try to extend the volume to the unallocated space it says there isn't enough ...
JerSci's user avatar
  • 1
2 votes
0 answers
169 views

Partitions on a TF card are not working as expected; third partition is not seen

I want to create three partition in a new brand TF card (not micro SD), but I can't sort it out! What I did up to now: create a disk partition table fdisk -l /dev/sdd Disco /dev/sdd: 250 GiB, ...
seirov's user avatar
  • 31
0 votes
2 answers
321 views

How to test for ext4 Partition? Not ext4 Filesystem

using: neofetch --stdout |grep 'OS:' OS: Kubuntu 22.04.3 LTS x86_64 Start Update Question due to someone deleted information: No interest in testing for ext4 Filesystem. lsblk -n -o FSTYPE /dev/sdb1 ...
joseph22's user avatar
  • 367
0 votes
1 answer
93 views

How to convert ext4 partition on raid 1 to btrfs?

I'm trying to convert two ext4 partitions that are on raid 1 with mdadm to btrfs. When i try to run fsck.ext4 /dev/md0p2 fsck.ext4 /dev/md0p3 They return with e2fsck 1.46.5 (30-Dec-2021) /dev/md0p3 ...
Mogipit243's user avatar
0 votes
0 answers
231 views

How do I reduce the space allocated for Persistent Storage on my Ubuntu Live USB?

I used Rufus to create a Ubuntu 22.04.3 LTS Live USB with persistence. However, I allocated all of the remaining drive space for the Persistent Storage, thinking that it could be accessed and used as ...
ItsCube's user avatar
0 votes
0 answers
48 views

Accidentally ran `mkfs.ext4` on my `/boot` partition (fedora 36)

I pulled a total amateur-hour move and ran mkfs.ext4 /dev/nvme0n1p2 on accident the other day while trying to troubleshoot a hosed retropi sdcard. /dev/nvme0n1p2 was my /boot partition on my work ...
dobbs's user avatar
  • 373
0 votes
0 answers
742 views

I'm getting the "mmc0: card never left busy state" for an SD card that Windows happily recognises and formats. What can I do to make it work on Linux?

I went and bought a steam deck, and decided to get an SD card for it - a Hunyeiz thing from a Kodak shop. After a messy time accidentally formatting it poorly, hastily typing console commands given to ...
Piotrus Watson's user avatar
1 vote
1 answer
317 views

SSD cannot be recognised on Windows and LInux

I recently bought a new SSD to replace the one in my laptop. I took the old SSD out and stuck it in an external enclosure, planning to use it as an external drive. When I first plugged it in to ...
cobaltB12's user avatar
  • 111
8 votes
3 answers
3k views

No space left in device error despite being empty

Why am I getting No space left on device when I try to create more than 32767 files in my vFat USB Flash Drive? Info Flash drive is empty (freshly formatted) $ df -H > Filesystem Size Used ...
cmhteixeira's user avatar

1
2 3 4 5
39