I have several partition in my system and I need one of them, that I use always, mounted automatically at boot. Is there a simple way to do this in OMLx 4?
-
_OpenMandriva Lx version:_4 beta
-
Desktop environment : KDE
I have several partition in my system and I need one of them, that I use always, mounted automatically at boot. Is there a simple way to do this in OMLx 4?
_OpenMandriva Lx version:_4 beta
Desktop environment : KDE
Add it to fstab ⌠?
How?
A simple way if possible, better if using GUI.
You can edit fstab in basic app like nano, kate or kwriteâŚ
sudo kwrite /etc/fstab
It easy. More details on edition it you can see for example here: fstab - ArchWiki
If you need GUI tools for it⌠then you can choose any partitions manager like gparted, gnome-disk-utility or even better kde partition manager.
Open it, find your partition, unmount it and click on edit mount point and then add new mount point, select path and etc. Save and reboot. Should be fine
To do this at install you have to use âManual Partitioningâ. Before going further I should state that developers assume that anyone using âManual Partitioningâ knows what they are doing. If you donât know what you are doing with partitioning then do some RTFMing. (Internet search will find more than you have time to read.)
So in âManual Partitioningâ you do whatever else you want to do to install your system. Then for the partition/partitions you wish to mount you select the partition, select âEditâ, select âMount pointâ and in the drop down list select /var (or /usr, /srv, /opt) and change it to what you want. In my case I change it from /var to /Data or /Data1 (you can call it anything you wish). And do not format this partition. If you format all data will be removed.
Thatâs it. Now the installer will automatically add an entry to your â/etc/fstabâ file and the partition will be automatically available at boot.
If you have already installed your system and need to do this it is still very easy to do and is described in this âHow Toâ.
Now for a hot tip. After you have added your extra partition when you boot into you newly installed system you can add an entry for it in Dolphin.
Open Dolphin and go to and look in the list on right hand side and find your added partition. Like this:
Then take your mouse cursor up to the space right under âTrashâ and right click for a context menu like:
Select âAdd entryâ and your previously selected partition should be listed in the âLocationâ line. Simply copy and paste that to the âLabelâ line and select OK.
And the result will be:
Now you have a convenient entry added in Dolphin for your Data or whatever partition.
Thanks for hint Iâll use to add a folder I use everyday at work.
Very useful your guide to mount a partition but I add one o two more steps.
Finally not so clear how to choose the mount point if I want partition available to all users.
Huh? Donât understand. Mounts points in /etc/fstab are system wide and not specific to user. If itâs on the system it is on the system for all users.