Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

1 vote

My disk is full and I don't know why

Summary of investigation in comments: The user had data stored at the mountpoint used by their NAS. Unmounting the NAS and deleting the hidden data recovered the storage. Some explanation: The ...
Organic Marble's user avatar
0 votes

Can't access windows 10 partition after update to 23.10

Sur Ubuntu 24.04 LTS First sudo mkdir /media/tizibienvenus/SeagateExpansionDrive After sudo mount /dev/sdb1 /media/tizibienvenus/SeagateExpansionDrive Sur les autres versions d'Ubuntu sudo ntfsfix /...
Bienvenus Tizi's user avatar
0 votes

How can i move an encrypted home directory to another partition?

A Simple approach to moving an encrypted /home/user directory. Should also work for non encrypted content as well. Just successfuly achieved this after a few trials. Boot to live DVD or USB session Do ...
Donald Harkness's user avatar
0 votes

How to set home directory mount point for drive

The answer by @Raj is working fine but the newer systems requirs UUID instead of device name such as UUID:jhdsagfjhgasdflgljhgdsfg ext4 defaults 0 2 also the rsync is good utility to copy however ...
Subhash Soni's user avatar
0 votes
Accepted

How to rename internal OS drive without breaking system?

I've done some further research and have actually solved the problem I was having with my custom disk label name not showing up in the Files (Nautilus) file manager, despite configuring it in Disks or ...
LinuxScientist's user avatar
1 vote

Dual booting Windows 11 with Bitlocker Enabled and Ubuntu installed on separate SSD

I have two things to say: This is the first page that comes up when me searching for dual boot Windows 11 with BitLocker and Ubuntu in the internet. So, I want to link my very detailed guide on how ...
fbpolar's user avatar
  • 91
1 vote

How to resize a ZFS partition in Ubuntu

Just to clarify, ZFS does allow pools to be expanded, just not shrunk. You can increase the size of a zpool by replacing all the devices within it with larger ones. (The autoexpand pool property needs ...
Mr Rooster's user avatar
0 votes

Ubuntu ssh login welcome message displaying wrong root partition size after partition/filesystem expansion

I think you only have a cosmetic issue since the df -h output is correct and reflects the real situation. The information in the welcome screen comes from /var/lib/landscape/landscape-sysinfo.cache . ...
Joris Le Blansch's user avatar
0 votes
Accepted

How to encrypt partition using LUKS-2?

Didn't find a GUI solution. Used commands like the following (found from here) which seem to be working as expected: Format: sudo cryptsetup luksFormat --type luks2 /dev/sda1 Open: sudo cryptsetup ...
CluelessNoob's user avatar
  • 2,303
0 votes

Extend LVM size

There's two way to increase a LVM partition: Solution A: Extending the partition in the VG Resize the disk and reboot the VM/Machine in order for OS to detect the new disk size (Depending on your ...
sajjadG's user avatar
  • 617
1 vote

Change default 4Gb of swap partition on LiveCD

Update: /usr/share/ubiquity/zsys-setup doesn't exist for 24.04. Per the release notes: Ubuntu Desktop Installer and Upgrades ... We are reintroducing support for ZFS guided installations, enhancing ...
klode's user avatar
  • 96
0 votes

Mounting a Disk Image

I encountered a similar issue with a USB hard drive saying bad fs, etc. I used Ubuntu's 'disks' utility to Check Filesystem (was fine) then Repair Filesystem (did some corrections). Mounted using ...
Barry Martin's user avatar
0 votes

How to create an encrypted partition?

To add to JanC's great answer, for those using KDE, creating an encrypted partition with the built-in KDE Partition Manager is also as easy as it gets. Just click on unallocated (you need to have some ...
at54321's user avatar
  • 131
0 votes

Ubuntu 24.04 installer not showing encrypted lvm partitions (luks)

Run into similar issue. After lots of research, it seems that it is a limitation of new Flutter-based installers (introduced since 23.10). The only solution I found so far is: Download 23.10 Legacy ...
alex.vin's user avatar
0 votes

How to safely extend Logical Volume in production server

The answer depends on what we're calling a logical volume. Assuming we're talking about LVM style setups, there are three components to an LVM setup: Physical volumes (PVs) - partitions on drives ...
Thomas Ward's user avatar
  • 75.4k
1 vote

DISA STIG drive partitioning (LVMs) during install of Ubuntu 24.04?

As of my writing on April 29, 2024, this feature is missing from the installer. However, the team is aware of it - https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2058511 details the bug on ...
Thomas Ward's user avatar
  • 75.4k
0 votes
Accepted

Share my music library between MacOS and Ubuntu

From what I understand you have a dual-boot setup with two systems: Ubuntu and Mac OS. In that case yes, sharing a partition between the two systems is easy. You just need to format it with a file-...
Hi-Angel's user avatar
  • 3,782
1 vote

Ubuntu 22.04 fstab settings don't completely "take"

I removed the fstab entries, rebooted, and let the system mount the drives. These new entries work: UUID=1214119514117CC3 /media/Expansion1 ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=...
noleks's user avatar
  • 29
0 votes

Partition in Linux Does Not Appear in Windows

First, the Windows OS doesn't recognize the ext4 partitions that Linux uses, so they won't be shown. If you want to be able to share data between Window and Ubuntu. There is a tool called Gparted that ...
Ken's user avatar
  • 564
4 votes

Partition in Linux Does Not Appear in Windows

"I found that my Ubuntu and several partition is not detected in [Windows] Disk Management." There is nothing wrong with your system. This is normal Windows Disk Management behavior. Feel ...
user535733's user avatar
  • 63.5k
3 votes

Ubuntu 24.04 installer not showing encrypted lvm partitions (luks)

If the reason you want to create a LUKS partition is to DualBoot with Windows, see this --> https://techtalkblog.ch/ubuntu-24-04-lts-fde-alongside-windows-installation TLDR: Select ‘Erase disk and ...
zetheroo's user avatar
0 votes

Ubuntu: Error resizing partition while resizing partition of a Virtualbox VM running Ubuntu (Host is Windows10)

In the host System you need to give full permission to the VM files. In windows you can do this by right clicking on the VM files -> Click on Properties option (last option in menu) -> Click on ...
user11908262's user avatar
0 votes

Change partition sizes of dualboot system

I had a similar resizing problem once. You might want to grab a USB, because resizing the disks will likely result in GRUB screwing things up. To solve that, you can use something called boot-repair ...
Susposter779's user avatar
0 votes

How to fix boot issues after sudo apt upgrade

Can you include an image of the full boot message? There may be a grub rescue prompt. Does the grub menu come up? If so, click e when the menu comes up. If the terminal prompt comes up, follow the ...
Silverstock's user avatar
0 votes

Couldn't read my external disk

My disk with all the files died last week and it seemed unrecoverable, but I managed to recover it! Other fsck related solutions didn't work. I set up new system on another ssd but the broken disk ...
Maciek Woźniak's user avatar
4 votes
Accepted

Mounting a Disk Image

You formatted the whole image with a filesystem and then created a primary partition afterwords spanning the whole same image and assumed the filesystem will still exist ... Well, the filesystem was ...
Raffa's user avatar
  • 32.7k
-1 votes

Mounting a Disk Image

$ losetup -f test.img $ losetup -a /dev/loop1: []: (/home/reyuki/code/linux-system/test.img) /dev/loop0: []: (/home/reyuki/code/distro/boot.img) $ sudo fsck -fv /dev/loop1 fsck from util-linux 2.39.3 ...
Yuki San's user avatar

Top 50 recent answers are included