 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

31st August 2010, 11:07 AM
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 3

|
|
Could not open the file /boot/grub/grub.conf
I would like to modify the boot loader settings and tried to open the file grub.conf
However, it is said that the file could not be opened, as seen in the attachment.
Tried to authenticate as 'root' before opening the file, but the problem still exist...
|

31st August 2010, 11:14 AM
|
 |
Registered User
|
|
Join Date: Jul 2007
Posts: 371

|
|
|
Re: Could not open the file /boot/grub/grub.conf
in terminal:
su -
gedit /boot/grub/grub.conf
__________________
these command lines are like casino slot machines, every time I input commands NOTHING HAPPENS
|

31st August 2010, 02:35 PM
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 3

|
|
Re: Could not open the file /boot/grub/grub.conf
Quote:
Originally Posted by errorxp
in terminal:
su -
gedit /boot/grub/grub.conf
|
Pardon, what is 'su-'?
I tried typing the line [gedit /boot/grub/grub.conf] in the terminal but the sole effect is exactly the same as double clicking the grub.conf file: could not open the file /boot/grub/grub.conf
|

31st August 2010, 03:49 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: uk
Posts: 726

|
|
|
Re: Could not open the file /boot/grub/grub.conf
Hello
su - (note space) gives you super user (root) status to the whole system, su on it's own gives root privileges only to the directory you're in when you opened the terminal.
Be careful with grub.conf btw, so to open it type then press enter, password: will then come up, type your root password, nothing will be displayed as you type, then enter again, then
Code:
gedit /boot/grub/grub.conf
to return to normal user either close the terminal or type exit
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension
|

31st August 2010, 09:59 PM
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 25

|
|
|
Re: Could not open the file /boot/grub/grub.conf
su - (notice the space between su and the dash)
as root you could:
cat /boot/grub/grub.conf
vi /boot/grub/grub.conf
I would like to mention that grub.conf, for me, is located at /etc/grub.conf
|

31st August 2010, 11:35 PM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,103

|
|
|
Re: Could not open the file /boot/grub/grub.conf
/etc/grub.conf should be a link to /boot/grub/grub.conf
|

1st September 2010, 12:34 AM
|
 |
Registered User
|
|
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,105

|
|
|
Re: Could not open the file /boot/grub/grub.conf
Quote:
Originally Posted by bonedome
su - (note space) gives you super user (root) status to the whole system, su on it's own gives root privileges only to the directory you're in when you opened the terminal.
|
Wrong. I've often used su to become root, then changed from one directory to another without losing root access. When you use su by itself, you change your userid to zero, giving you root privileges. When you use su - you LOG IN AS ROOT, giving you root's environment (including PATH) and changing the working directory to /root.
__________________
Registered Linux user #470359 and permanently recovered BOFH.
Any advice in this post is worth exactly what you paid for it.
|

1st September 2010, 07:02 AM
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 3

|
|
Re: Could not open the file /boot/grub/grub.conf
It works. Thanks!
It seems very tricky to me as the System->Administration->Authentication doesn't work but the 'su -' works in the terminal.
|

1st September 2010, 01:04 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: uk
Posts: 726

|
|
|
Re: Could not open the file /boot/grub/grub.conf
Quote:
|
Wrong. I've often used su to become root, then changed from one directory to another without losing root access. When you use su by itself, you change your userid to zero, giving you root privileges. When you use su - you LOG IN AS ROOT, giving you root's environment (including PATH) and changing the working directory to /root.
|
my apologies, I could have perhaps worded my reply better, I too switch from one directory to another while using su by it's self, noting the op's understanding of linux I didn't want to complicate matters.
There's a fine line between sounding patronising and big headed as it's difficult to know the level of competence of a poster, I mean I would say I had a high level of competence with some things linux and zero understanding of others
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension
|

1st September 2010, 03:10 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
|
Re: Could not open the file /boot/grub/grub.conf
Quote:
Originally Posted by bonedome
...I didn't want to complicate matters.
|
Nice try at a cover. The issue wasn't that you left out some details to prevent confusing the OP. sideburnz was pointing out that you said something that was simply incorrect.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
|

1st September 2010, 03:39 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: uk
Posts: 726

|
|
|
Re: Could not open the file /boot/grub/grub.conf
Quote:
|
su on it's own gives root privileges only to the directory you're in when you opened the terminal.
|
Quote:
|
su on it's own gives root privileges to the directory you're in when you opened the terminal.
|
is that better
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 17:54 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|