Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-08-2003, 08:30 PM
|
#1
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Rep:
|
how to change "kernel arguments" in grub boot loader permanently
how to change "kernel arguments" in grub boot loader permanently?
my redhat kernel won't boot unless the kernel arguments has the line "apm=off" in it. But I'm having to change the kernel arguments everytime I boot my computer because the boot seems to reset itself with every shutdown which is very annoying.
Thanks, and linux professionals- please try to keep the solution simple
|
|
|
06-08-2003, 08:51 PM
|
#2
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
Edit the /boot/grub/grub.conf file. It holds everything you see when you are editting at boot-time.
|
|
|
06-08-2003, 09:54 PM
|
#3
|
Member
Registered: May 2003
Location: Hong Kong
Distribution: Android on HTC Hero
Posts: 256
Rep:
|
actually, /boot/grub/menu.lst is the one 
|
|
|
06-09-2003, 08:14 AM
|
#4
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Original Poster
Rep:
|
thanks for the location of the file, but I don't know how to edit these files
I opened the file up vi [filename] then with view [filename] but both times a screen comes up with the following on it
~
~
~
....etc
how do I edit it? and how do I get out of it and save the changes?
|
|
|
06-09-2003, 03:59 PM
|
#5
|
Member
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111
Rep:
|
Instead of vi, try pico to edit that file.
|
|
|
06-09-2003, 04:01 PM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally posted by kazuni
actually, /boot/grub/menu.lst is the one
|
grub changed the official name of the config file from menu.lst to grub.conf a fair whie ago now. menu.lst is just a fallback now.
|
|
|
06-09-2003, 08:41 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Original Poster
Rep:
|
thanks people, it works.
here's what I did,
type "pico grub.conf" in the right folder and it showed me some lines that I am familiar with at grub loader screen, adding to it "apm=off"
Just to be certain that menu.lst could be the real one, I opened up menu.lst and lo and behold, it was changed automatically! it seems that the 2 of them are related somehow. Restart comp, and yea!
|
|
|
06-09-2003, 10:32 PM
|
#8
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
menu.lst is a symbolic link to grub.conf . When you open menu.lst, the system sees it is a link, and follows it to the real file.
|
|
|
All times are GMT -5. The time now is 08:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|