Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 31st August 2010, 11:07 AM
Obscurity Offline
Registered User
 
Join Date: Aug 2010
Posts: 3
linuxfedorafirefox
Question 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...
Attached Thumbnails
Click image for larger version

Name:	grubfailed.png
Views:	165
Size:	47.2 KB
ID:	20039  
Reply With Quote
  #2  
Old 31st August 2010, 11:14 AM
errorxp Offline
Registered User
 
Join Date: Jul 2007
Posts: 371
linuxfedorafirefox
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
Reply With Quote
  #3  
Old 31st August 2010, 02:35 PM
Obscurity Offline
Registered User
 
Join Date: Aug 2010
Posts: 3
linuxfedorafirefox
Question Re: Could not open the file /boot/grub/grub.conf

Quote:
Originally Posted by errorxp View Post
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
Reply With Quote
  #4  
Old 31st August 2010, 03:49 PM
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 727
linuxfirefox
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
Code:
su -
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
Reply With Quote
  #5  
Old 31st August 2010, 09:59 PM
boardstretcher Offline
Registered User
 
Join Date: Aug 2010
Posts: 25
linuxfedorafirefox
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
Reply With Quote
  #6  
Old 31st August 2010, 11:35 PM
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,269
linuxfedorafirefox
Re: Could not open the file /boot/grub/grub.conf

/etc/grub.conf should be a link to /boot/grub/grub.conf
Reply With Quote
  #7  
Old 1st September 2010, 12:34 AM
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 64
Posts: 2,461
linuxfedorafirefox
Re: Could not open the file /boot/grub/grub.conf

Quote:
Originally Posted by bonedome View Post
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.
Reply With Quote
  #8  
Old 1st September 2010, 07:02 AM
Obscurity Offline
Registered User
 
Join Date: Aug 2010
Posts: 3
linuxfedorafirefox
Thumbs up 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.
Reply With Quote
  #9  
Old 1st September 2010, 01:04 PM
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 727
windows_98_nt_2000ie
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
Reply With Quote
  #10  
Old 1st September 2010, 03:10 PM
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
linuxfirefox
Re: Could not open the file /boot/grub/grub.conf

Quote:
Originally Posted by bonedome View Post
...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
Reply With Quote
  #11  
Old 1st September 2010, 03:39 PM
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 727
windows_98_nt_2000ie
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
Reply With Quote
Reply

Tags
could not, grub.conf, open

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
possible to edit /boot/grub/grub.conf from live cd? mailman1175 Using Fedora 4 29th December 2008 01:28 AM
Correct grub.conf file for dual boot on same SATA drive jeepfreak Installation, Upgrades and Live Media 17 9th April 2007 06:58 PM
/boot/grub/grub.conf + modification = ? 92b16vx Using Fedora 8 20th July 2005 04:27 PM
editing the /boot/grub/grub.conf file Debaser13 Using Fedora 10 10th June 2005 05:40 PM
apending "/boot/grub/grub.conf" file // need some help... I-1 Using Fedora 5 4th May 2005 01:27 PM


Current GMT-time: 02:02 (Monday, 21-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat