[ SLOVED] how to edit fstab

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[ SLOVED] how to edit fstab

Postby geraldw321 » Feb 24th, '13, 04:25

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???
Last edited by geraldw321 on Feb 25th, '13, 15:04, edited 1 time in total.
geraldw321
 
Posts: 27
Joined: Feb 24th, '13, 04:23

Re: how to edit fstab

Postby daniewicz » Feb 24th, '13, 10:30

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.
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: how to edit fstab

Postby djennings » Feb 24th, '13, 13:34

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
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest