Page 1 of 1
Changing Files As Root
Posted: 10. Sep 2011, 21:57
by davec51
I just installed Salix. Now I have to change a file (the menu.lst of my Grub) on another partition. I can get to it through Gigolo, but I don't have permission to change it. The sign-in screen says I can't sign on as administrator. I need to be root in the GUI, not just in a terminal. I apologize if this is a simple question, but I couldn't find my answer on these forums.
Re: Changing Files As Root
Posted: 11. Sep 2011, 00:25
by Akuna
If you configured your other partition to be in /etc/fstab during the installation process, you shouldn't need gigolo.
Bur rather, in a terminal :
Code: Select all
su
(then give your root password, and then the following)
geany /path/to/the/file/that/needs/modification
Re: Changing Files As Root
Posted: 11. Sep 2011, 00:42
by mimosa
To find out where (and whether) it is mounted, do:
If not, create a directory to mount it to, such as:
Code: Select all
$su
#mkdir /tmp/other_distro
#mount /dev/sdaX /tmp/other_distro
#cd /tmp/other_distro
... and then edit the grub file.
Alternatively, consider using Lilo as bootloader - Salix has a very intuitive GUI tool to set this up which recognises existing OSs, Lilosetup, in the System menu.
Re: Changing Files As Root
Posted: 11. Sep 2011, 17:59
by gapan
davec51 wrote:I need to be root in the GUI, not just in a terminal.
No, you don't. There is absolutely nothing that requires someone to be root in the GUI. The instructions posted above should be enough. If you need an easy (clicky-clicky) way to mount local devices not in fstab without opening a root terminal, you can install gmountman from the repositories. But you will still need root privileges to edit any system files.