Mount NTFS Partition with Desktop Shortcut in Ubuntu
Easily access and manage your Windows NTFS partitions on Ubuntu with one-click shortcuts.

๐ง Problem
When I plugged in my NTFS drive, Ubuntu gave me errors like: Error mounting /dev/sdb2 at /media/fatboy/win_128: wrong fs type, bad superblock on /dev/sdb2, missing codepage or helper program
This usually happens when:
NTFS support (
ntfs-3g) is missingThe drive was not safely removed in Windows (hibernated / Fast Startup enabled)
The drive needs manual mounting instead of automatic GUI mounting

โ Solution Overview
Install NTFS support (
ntfs-3g)Create a mount point (
/media/$USER/win_128)Mount the drive manually to test
Create a
.desktoplauncher file to mount with a clickTrust the launcher so GNOME lets it run
โ๏ธ Step 1: Install NTFS Support
sudo apt update
sudo apt install ntfs-3g
๐ Step 2: Create a Mount Point
sudo mkdir -p /media/$USER/win_128
๐ป Step 3: Mount the Drive Manually
sudo mount -t ntfs-3g /dev/sdb2 /media/$USER/win_128
ls /media/$USER/win_128
๐ฅ Step 4: Create a Desktop Launcher
sudo nano ~/Desktop/mount_win_128.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Mount Win_128
Comment=Mount NTFS partition win_128
Exec=sh -c 'pkexec mount -t ntfs-3g /dev/sdb2 /media/$USER/win_128'
Icon=drive-harddisk
Terminal=false
Categories=Utility;
๐ Step 5: Allow Launching
chmod +x ~/Desktop/mount_win_128.desktop
gio set ~/Desktop/mount_win_128.desktop metadata::trusted true
๐ Bonus: Unmount Shortcut
[Desktop Entry]
Version=1.0
Type=Application
Name=Unmount Win_128
Comment=Unmount NTFS partition win_128
Exec=sh -c 'pkexec umount /media/$USER/win_128'
Icon=media-eject
Terminal=false
Categories=Utility;
๐ Bonus: Unmount Shortcut 2.0
sudo nano ~/Desktop/toggle_mount.desktop
sudo chmod +x ~/Desktop/toggle_mount.desktop
gio set ~/Desktop/toggle_mount.desktop metadata::trusted true
[Desktop Entry]
Version=1.0
Type=Application
Name=Toggle Win_128
Comment=Mount/Unmount NTFS partition win_128
Icon=drive-harddisk
Terminal=false
Categories=Utility;
Exec=sh -c 'MP="/media/$USER/win_128"; DEV="/dev/sdb2"; mkdir -p "$MP"; if mountpoint -q "$MP"; then pkexec umount "$MP" && notify-send "Win_128" "Unmounted $D>




