Today I started getting this error on boot
"Error while mounting /media/hdd1" (or /media/mediahdd. mediahdd is the label of the harddrive, hdd1 is the mountpoint I created myself)
I can press S to skip or press M to go into manual recovery
When I press S it just boots up normally, and I see that the hdd is mounted, but I can't write to it or anything. So it didn't boot using my fstab settings. The hdd is a ntfs drive I use for some data and stuff I added on windows.
The weird thing: when I unmount the device and remount it again (after booting), it's working as it should! So when I
Code:
sudo umount /media/hdd1
sudo mount /dev/sdb1
It works how I want it to, it uses the fstab settings and mounts correctly on /media/hdd1 with write access. (not under /media/mediahdd - which is the label)
It was working perfectly until today. I was messing with lightdm and added a custom session under /././xsessions when this error started happening.
I don't know why it doesn't just mount as specified in fstab while booting, because when manually remounting it does work.
/etc/fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
#Entry for /dev/sda2 :
UUID=5a1e8c36-abdd-496a-8421-e6486df36fc7 / ext4 noatime,discard,errors=remount-ro 0 1
#Entry for /dev/sda3 :
UUID=088cb6f0-84f9-4246-98ae-5d3662d2d8ec /home ext4 noatime,discard,defaults 0 2
#Entry for /dev/sda1 :
UUID=15dad974-4171-4753-bd9c-f6610589368f none swap sw 0 0
#mediahdd on mountpoint hdd1
UUID=3AB87D34B87CF02D /media/hdd1 ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0
/var/log/boot.log
Code:
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
lircd-0.9.0[860]: lircd(default) ready, using /var/run/lirc/lircd
/dev/sda2: clean, 230248/2444624 files, 1417549/9765632 blocks
/dev/sda3: clean, 9139/6840320 files, 621950/27353856 blocks
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
mountall: mount /media/hdd1 [897] terminated with status 16
mountall: Filesystem could not be mounted: /media/hdd1
Skipping /media/hdd1 at user request
Bookmarks