partitioning

How to encrypt partition using LUKS-2?

How to encrypt partition using LUKS-2? I have an empty partition (say /dev/sda1) that I want to encrypt with LUKS-2 and be able to open it with passphrase from commonly used file managers (Dolphin, PCManFM-Qt, etc). I prefer a GUI like KDE Partition Manager, but that seems to still use LUKS-1. Is there another GUI …

Total answers: 1

How to rename internal OS drive without breaking system?

How to rename internal OS drive without breaking system? Hey there Ubuntu Community, I’m in need of some help with the renaming of my internal operating system drive. In Ubuntu 24.04, it seems that the way disks are partitioned and labeled has changed, and I’m no longer able to manually rename them before installing the …

Total answers: 1

Share my music library between MacOS and Ubuntu

Share my music library between MacOS and Ubuntu Is it possible somehow to have a virgin partition where my music library (60gb+) would be stored, and on one side macos with iTunes accessing in real time this library (I want to keep it because I have an iPod), and the other hand Ubuntu with Lollypop …

Total answers: 1

Mounting a Disk Image

Mounting a Disk Image I’m trying to create a disk image and mount the partition for further work, but I’m encountering a frustrating error message: "wrong fs type, bad option, bad superblock." Here’s the steps I took and the output I received: $ dd if=/dev/zero of=test.img status=progress bs=200M count=1 1+0 records in 1+0 records out …

Total answers: 3

Unable to grow vm disk using Cloud-init's growpart and resizefs

Unable to grow vm disk using Cloud-init's growpart and resizefs I have Ubuntu 20.04 virtual machine server with Cloud-init installed. I am trying to get the vm’s disk to be automatically expanded with Cloud-init. The vm host is ESXi and data source is None as I just want to do some automatic configuration for new …

Total answers: 2

Ubuntu 22.04 on Raspberry Pi: /var/cache/fontconfig Gets Created Before /var Is Mounted

Ubuntu 22.04 on Raspberry Pi: /var/cache/fontconfig Gets Created Before /var Is Mounted I’m running Ubuntu 22.04 (Jammy Jellyfish, ARM64) on a Raspberry Pi. After imaging the Pi’s SSD, I re-partitioned the drive and mirrored the contents of /var onto the new partition (verified), renamed the original /var to /var.old before making a fresh, empty /var …

Total answers: 1

Mounting Drives

Mounting Drives The last time I touched Unix of any flavor it was Solaris, so please forgive me. I’m am so very rusty. I decided to build a home lab and get back into things. I’ve built, destroyed, and rebuilt my Ubuntu server more times in the last week than I can count. But I …

Total answers: 1

Fresh installation of 20.04 makes three partitions – right?

Fresh installation of 20.04 makes three partitions – right? Now to get to the bottom of my problems mentioned in another thread, I decided to install 20.04 anew. In order to not produce problems from the start on, I let the installation program do as it wished and use the whole disc. It then left …

Total answers: 1

How to clone a specific partition of a qemu raw disk file to a physical partition

How to clone a specific partition of a qemu raw disk file to a physical partition I have a raw disk file as bellow $fdisk -l Monterey.img Disk Monterey.img: 14 GiB, 15032385536 bytes, 29360128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): …

Total answers: 1

nearly full partition seen on df…is this a problem?

nearly full partition seen on df…is this a problem? Periodically I check my drives to see if any are full. df -h gives: Filesystem Size Used Avail Use% Mounted on tmpfs 1.6G 2.1M 1.6G 1% /run /dev/sda2 457G 124G 311G 29% / tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock efivarfs …

Total answers: 1

Tinkering with "writable" in "Try ubuntu"-mode on 20.04 Desktop install media

Tinkering with "writable" in "Try ubuntu"-mode on 20.04 Desktop install media After booting the install media, going into "Try mode" In a naive move I reformatted the "rewritable" partition to FAT, from ext4(?), expecting it to still work in the same manner (for general data storage). It was not that easy… As I boot /dev/sdb3 …

Total answers: 1

Grub not detected after Kubuntu install

Grub not detected after Kubuntu install I have a pc with an MSI B550 Gaming Plus motherboard, with Windows 10 on it. After trying to install Kubuntu with different ways to partition the SSD (install windows using the whole disc and have Kubuntu resize it, install windows on part of the disc and manually make …

Total answers: 1

Cannot find boot device

Cannot find boot device I have installed Ubuntu on my Acer aspire 7750, but when I try to run Ubuntu it says: cannot find boot device. I have checked if my SSD is giving any errors with the smart tools and it says it’ s ok. I also put my SSD (where Ubuntu has been …

Total answers: 2

Preserving old home folder (already on separate partition) when reinstalling Ubuntu

Preserving old home folder (already on separate partition) when reinstalling Ubuntu I have a dual boot Windows Ubuntu laptop, and Ubuntu is split across multiple partitions (p4 and p5) so that my home folder is not on the main Ubuntu partition. Then I must have accidentally uninstalled Python or otherwise destroyed my Ubuntu 22.04.01 (or …

Total answers: 2

Extend vg-ubuntu–lv after adding space in vSphere

Extend vg-ubuntu–lv after adding space in vSphere I did setup a new Ubuntu Server 22.04.03 on my ESXi enviroment. First i created the VM with 200GB of harddisk space but later increased it via vSphere to 230 GB. I changed the partition size accordingly but i think i made a mistake as i can’t resize …

Total answers: 1

Help with Ubuntu installation – getting the "System program problem detected" error

Help with Ubuntu installation – getting the "System program problem detected" error I failed during an attempt to reinstall Ubuntu 23.10 Desktop (which was installed on my Acer Aspire laptop alongside Windows 11). I had problems with the reinstallation, so I decided to delete the Ubuntu partition, add the created free space to the Windows …

Total answers: 1

Dual booting windows and ubuntu – games

Dual booting windows and ubuntu – games I have a specific question regarding gaming while dual booting windows 10 and ubuntu. I want to have both operating systems on seperate drives but I’m not really sure how this will impact the games that I have. I recently bought a second SSD to use it only …

Total answers: 1

Can't access windows 10 partition after update to 23.10

Can't access windows 10 partition after update to 23.10 I used to be able to access a separate ssd for windows, but after updating to Ubuntu 23.10 it gives me the following error : Unable to access location Error mounting /dev/sdb1 at /media/abdelrahman/2A907C5D907C3185: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or …

Total answers: 2