Page 1 of 1

[ SLOVED] how to edit fstab

PostPosted: Feb 24th, '13, 04:25
by geraldw321
hi there im a new user of mageia , and so far i like it alot . I am having trouble though . i cant edit my fstab file??? im trying to add comments for my ssd drive but kwrite wont let me edit the file , and i cant login as root to edit files either ??? any suggestions???

Re: how to edit fstab

PostPosted: Feb 24th, '13, 10:30
by daniewicz
If you are using KDE install the following package:
kde-rootactions-servicemenu

Do a right click on the fstab file and you will have an option to edit as root.

Re: how to edit fstab

PostPosted: Feb 24th, '13, 13:34
by djennings
You do not need to log in as root to perform actions as root.

Opn a terminal and enter
Code: Select all
su -
kwrite /etc/fstab


and you will have a kwrite window operating as root.
The su command means 'switch user'. The '-' after the su is important. Without it the window will fail to open.
You can open any graphical application this way, dolphin, konqueror or anything.

If you use KDE another way of starting applications as root to hit the Alt+F2 keys and in the pop up window you see enter
Code: Select all
kdesu kwrite /etc/fstab