You are not logged in.
Hi there,
I wanted to increase my SWAP disk, so I deleted the previous one and created a new SWAP file using wiki.
After that I won't be able to run OS as the entry for that swap (Deleted one) was present inside the /etc/fstab file.
I removed that line and the OS started booting normally.
But, after that I am unable to mount any other partition, either it's ntfs/ext4 or whatever.
Error: Failed to mount “Partition name.”
Not Authorized to perform operation.
Thanks in advance for your response.
Last edited by umair (2023-09-30 04:46:19)
Offline
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the actual IO (command you enter and response of the system) and your current fstab.
Offline
Sorry I posted for the first time here.
Here is the ouput of lsblk:
❯ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 4K 1 loop /var/lib/snapd/snap/bare/5
/var/lib/snapd/snap/bare/5
loop1 7:1 0 55.7M 1 loop /var/lib/snapd/snap/core18/2790
/var/lib/snapd/snap/core18/2790
loop2 7:2 0 73.9M 1 loop /var/lib/snapd/snap/core22/864
/var/lib/snapd/snap/core22/864
loop3 7:3 0 66.6M 1 loop /var/lib/snapd/snap/cups/980
/var/lib/snapd/snap/cups/980
loop4 7:4 0 164.8M 1 loop /var/lib/snapd/snap/gnome-3-28-1804/198
/var/lib/snapd/snap/gnome-3-28-1804/198
loop5 7:5 0 485.5M 1 loop /var/lib/snapd/snap/gnome-42-2204/126
/var/lib/snapd/snap/gnome-42-2204/126
loop6 7:6 0 91.7M 1 loop /var/lib/snapd/snap/gtk-common-themes/1535
/var/lib/snapd/snap/gtk-common-themes/1535
loop7 7:7 0 40.8M 1 loop /var/lib/snapd/snap/snapd/20092
/var/lib/snapd/snap/snapd/20092
loop8 7:8 0 85M 1 loop /var/lib/snapd/snap/superproductivity/1737
/var/lib/snapd/snap/superproductivity/1737
loop9 7:9 0 83.1M 1 loop /var/lib/snapd/snap/todoist/1256
/var/lib/snapd/snap/todoist/1256
sda 8:0 0 447.1G 0 disk
├─sda1 8:1 0 16M 0 part
├─sda2 8:2 0 196.1G 0 part
├─sda3 8:3 0 16G 0 part
├─sda4 8:4 0 1G 0 part /mnt
│ /boot
└─sda5 8:5 0 233G 0 part /var/lib/snapd/snap
/
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 172.8G 0 part
├─sdb2 8:18 0 124.1G 0 part
├─sdb3 8:19 0 243M 0 part
└─sdb4 8:20 0 146.5G 0 part
zram0 254:0 0 3.8G 0 disk [SWAP]
Here are the content of /etc/fstab file.
It does not contain entries for my drive sdb yet.
❯ cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda5
#UUID=36b98f63-b317-44fc-8899-d2c91409e969 / ext4 rw,relatime 0 1
#
# /dev/sda4
#UUID=4378-2C82 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
#
# Swap partition added by me following wiki
#/swapfile none swap defaults 0 0
# UUID=36b98f63-b317-44fc-8899-d2c91409e969
/dev/sda5 / ext4 rw,relatime 0 1
/var/lib/snapd/snap /var/lib/snapd/snap none rw,bind 0 0
/dev/loop0 /var/lib/snapd/snap/bare/5 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop1 /var/lib/snapd/snap/core18/2790 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop4 /var/lib/snapd/snap/gnome-3-28-1804/198 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop3 /var/lib/snapd/snap/cups/980 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop5 /var/lib/snapd/snap/gnome-42-2204/126 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop6 /var/lib/snapd/snap/gtk-common-themes/1535 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop2 /var/lib/snapd/snap/core22/864 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop7 /var/lib/snapd/snap/snapd/20092 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop8 /var/lib/snapd/snap/superproductivity/1737 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop9 /var/lib/snapd/snap/todoist/1256 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop0 /var/lib/snapd/snap/bare/5 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop1 /var/lib/snapd/snap/core18/2790 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop4 /var/lib/snapd/snap/gnome-3-28-1804/198 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop3 /var/lib/snapd/snap/cups/980 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop5 /var/lib/snapd/snap/gnome-42-2204/126 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop6 /var/lib/snapd/snap/gtk-common-themes/1535 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop2 /var/lib/snapd/snap/core22/864 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop7 /var/lib/snapd/snap/snapd/20092 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop8 /var/lib/snapd/snap/superproductivity/1737 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop9 /var/lib/snapd/snap/todoist/1256 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
# UUID=4378-2C82
/dev/sda4 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# UUID=4378-2C82
/dev/sda4 /mnt vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
/swapfile none swap defaults 0 0
/dev/zram0 none swap defaults,pri=100 0 0
Thank you.
Last edited by umair (2023-09-29 08:33:28)
Offline
Please use [code][/code] tags. Edit your post in this regard.
You forgot the most important information, the
command you enter and response of the system
If you try to mount eg. sdb1 as regular user and w/ a matching fstab entry that'll be rejected.
You'd have to use udisks, pmount or similar tools for that - or sudo the mount.
Offline
Alright, thank u very much.
I am able to mount the partitions using udisks.
Thanks again.
Last edited by umair (2023-10-03 11:10:18)
Offline
No you're not.
"umount" unmounts devices, it will under no circumstances mount anything…
Offline
Sorry, my bad, typo.
I wanted to write "udisks" not "umount".
Offline