Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to edit the code in grub.conf.
I can get to it via the file manager in the boot file but I can't get it to open. (It has a red slash symbol on it).
I tried the command line and opening pico but it says "command line not found" I must not have
pico...
I can also get to it using emacs but damned if I can figure that out either.
I also tried logging in as su on the command line and typing "/boot/grub/grub.conf" and it says "permission denied".
I've been fooling with it for a few hours now and I'm sort of stumped.
just keep plugging I guess...
Ought to be real fun getting p2p working on this thing
I'm not fooling with anything until I get this one ironed out.
one more thing. You can edit grub dynamically when you turn on your computer and the grub screen loads after POST. Press "e" to edit your configuration. IT's a little confusing (follow the steps on screen) but convinient.
I'm getting there. I logged in as su on the terminal, (that's the same as command line isn't it?) then opened nautilus and clicked right to it windoze style. (the red circle/slash is gone) I have it opened now.
Hmmmm, How do I edit the code? I can view it but I can't change it.
I wasn't logging in as su properly before because the prompt deal didn't say "root@alltel..."
Funny, I hold out on posting a question and as soon as I do It sort of comes to me...
"Bourne again shell." But I only have a fuzzy notion about how the different shells and term
inals work.
[hoffman@alltel hoffman]$ su -
Password:
[root@alltel root]# vi/boot/grub/grub.conf
-bash: vi/boot/grub/grub.conf: No such file or directory
[root@alltel root]#
This is what I keep getting.
I guess I can't edit from nautilus, just look...
yes and don't use Nautilus as root. Instead run vi or emacs or the like as root. If you do want to use nautilus though, browse to the file like you did, right click on it, and choose gedit to open it OR, much better:
su
cd /boot/grub/
gedit grub.conf
That will just open it in gEdit (like Windows Notepad) with root permission. That's probably the way you'd want to do things if you don't like command line editors.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.