![]() |
Always Have To Mount SSD Drive - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6) +--- Forum: Hard Drives and SSDs (https://www.linuxliteos.com/forums/forumdisplay.php?fid=26) +--- Thread: Always Have To Mount SSD Drive (/showthread.php?tid=7228) |
Always Have To Mount SSD Drive - lc6529 - 07-24-2020 I recently added a 2 TB drive strictly to hold VirtualBox images. For some reason the drive is not mounting automatically though I have it set to automount (at least I believe I have). Anyway, the workaround is to mount when the desktop loads but that is annoying. Any suggestions? Attached are screenshots of the drive setup and settings. Re: Always Have To Mount SSD Drive - Şerban S. - 07-24-2020 (07-24-2020, 06:43 PM)lc6529 link Wrote: [...] Any suggestions? [...] Hello! ![]() Edit the /etc/fstab file. https://www.linuxliteos.com/manual/install.html#mountpartdrives You can use the following editors: Pluma; GEdit; MousePad; LeafPad. Start a terminal window, copy/paste the code below than hit Enter: Code: sudo pluma /etc/fstab If you have other preferences, replace Pluma with the editor you are used to. Follow the instructions given in the article to get the UUID (GUID) of the drive. After editing the file, save it then RESTART computer, in order for the changes to become effective. SAMPLE: Code: # /etc/fstab: static file system information. In my case, there are two partitions I mount using /etc/fstab: UUID=ededc096-9e8b-4a7b-b074-8e0a4267034f /home ext2 defaults 0 2 UUID=1abd80b2-aaeb-4cf9-84fc-30f5203792f5 /win ext4 defaults 0 2 What you need to do is get the result from blkid command: serban@T1700:~$ blkid /dev/sda1: UUID="CF67-8C7A" TYPE="vfat" PARTUUID="c532f390-0f77-433b-9af0-7ea363071291" /dev/sda2: UUID="48dfd786-b463-4d54-93d6-76d8e1e91e74" TYPE="ext4" PARTUUID="c70d5b86-a05c-4b1e-99dc-d311981baa2d" /dev/sda3: UUID="ededc096-9e8b-4a7b-b074-8e0a4267034f" TYPE="ext2" PARTUUID="721b71b8-d5a7-4f13-80f8-10ffab030e69" /dev/sda4: UUID="1abd80b2-aaeb-4cf9-84fc-30f5203792f5" TYPE="ext4" PARTUUID="1288d3e7-997c-4a90-b2e1-81dfb7c5a3d6" /dev/sda5: UUID="6d49fba9-a49d-4f59-9b6c-5eb7d91057f0" TYPE="swap" PARTUUID="cd007861-002e-4af3-bdf9-56be0bd63efa" serban@T1700:~$ After you get the UUID, copy one of the lines above, than paste INSTEAD of one of UUID of the two partitions above, the ones with the blue font. That might look like that: UUID=your-uuid /home ext2 defaults 0 2 Instead of /home, it would be a good idea to use GPartEd to put a label to the drive, such as VBox Instead of ext2, you can use whatever you think is appropriate. I use ext2 for /home since it spares drive usage. Journalised filesystems such ext3, ext4 are journalised and this leads to many extra read/write operations. Good luck! ![]() Re: Always Have To Mount SSD Drive - Valtam - 07-24-2020 Help Manual, Mounting Partitions. Always use our Help Manual before referring to 3rd party websites. Develops good habits and is OS specific with the right pictures. Sent from my mobile phone using Tapatalk Re: Always Have To Mount SSD Drive - Şerban S. - 07-24-2020 (07-24-2020, 07:45 PM)Jerry link Wrote: [...] Always use our Help Manual before referring to 3rd party websites. Develops good habits and is OS specific with the right pictures. Done! ![]() |