Public bug reported:

I wanted to backup the device my /boot partition is mounted on using
mozilla. But snap prevents me from doing that.

I use fsck here to illustrate what is happening - clonezilla seems to
work when fsck works.

I started by unmounting /boot:

    sudo umount /boot/efi 
    sudo umount /boot
    sudo fsck /dev/sda2  # which is the device for /boot

From that I get the error message

fsck from util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
/dev/sda2 is in use.
e2fsck: Cannot continue, aborting.

My question is: How can I get fsck to run?

The current workaround is:

    snap disable all installed snaps
    sudo systemctl stop snapd
    reboot

Then everything works.

There must be a simpler way of accessing /dev/sda2! It should be
possible to access it without disabling snap.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: snap

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2080929

Title:
  snap prevents Disk Devices from being accessed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2080929/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to