Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all, I have a problem with my HTPC based on Kubuntu.
I have an SSD for the OS and a 2tb drive for files. Everytimes I boot the computer I have to go to Dolphin file manager and enter on the secondary drive that appears as a device; this is because it appears with a red croos icon, and when I enter on it it changes to a green ok icon.
If I enter XBMC without having done this, I can't access to the content of this drive, so I always have to enter dolphin and open drive before opening XBMC.
It's very annoying, so... how can I make kubuntu enable this drive automatically on every startup? It also happend if a use a USB hard drive, by default I cant access to it until I open in dolphin.
I want Linux to automount? (not sure if it's the appropiate word) all units on start and show them with green ok icon instead red cross.
elhtpc@elhtpc:/usr/share/xbmc/addons$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=928a3979-d26c-4d5a-96bc-7106314f545c / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=cde2c09c-0769-4bda-86aa-7ece8083e1b0 none swap sw 0 0
elhtpc@elhtpc:/usr/share/xbmc/addons$
elhtpc@elhtpc:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=928a3979-d26c-4d5a-96bc-7106314f545c / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=cde2c09c-0769-4bda-86aa-7ece8083e1b0 none swap sw 0 0
elhtpc@elhtpc:~$
I will do it for using samba locations since I see it's useful for this, by now I solved this problem in this way:
see systemsettings -> removable devices -> attached drives
for all removable drives:
1) -> enable automatic mounting .........., click preferences
or for only that 1 drive:
2) -> select the usb driv -> click automount on login & automount on attach
Honestly, I really really can't figure out why this option is not enabled by default, many times it looks like Linux is made to be as difficult as possible instead of easy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.