LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-29-2003, 05:41 PM   #1
adamshreves
LQ Newbie
 
Registered: Oct 2003
Location: tucson,AZ
Distribution: red hat 8.0
Posts: 9

Rep: Reputation: 0
Question where is kernel line?


I know i will sound dumb for this but where is the kernel line i have to edit the bootloader config and add "no apm" to it.
 
Old 10-29-2003, 06:52 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"where is the kernel line"

I think that what you are looking for is the append line in your bootloader config file. If you are using lilo you probably need something like:

append = "no apm"

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-29-2003, 06:53 PM   #3
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
If your using lilo, look in the lilo.conf file, on mandrake it's /etc/lilo.conf not sure in redhat though and add it to the append= line. If your using grub can't help you there.
 
Old 10-30-2003, 11:43 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
grub for mandrake

/boot/grub/menu.1st

you will find lines like this
title linux
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 acpi=off
initrd (hd0,2)/boot/initrd.img

see the kernel line and how to turn off acpi

edit that file after saving a back up and then reboot to see if it worked.

I don't have an issue with apm so I presume you know best
 
Old 10-30-2003, 01:39 PM   #5
adamshreves
LQ Newbie
 
Registered: Oct 2003
Location: tucson,AZ
Distribution: red hat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
but when exactly can i do this? Do i have to reinstall red hat 8.0? I am complety confused I have only been trying to use linux a week now and am not always sure where to go to type in what i am supposed to type.
 
Old 10-30-2003, 03:12 PM   #6
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
You don't have to reinstall anything. Just open /boot/grub/grub.conf and look for a stanza like this:

title Shrike (2.6.0-test9)
root (hd0,5)
kernel /boot/vmlinuz-2.6.0-test9 ro root=/dev/hda6 nogui

Add the phrase 'apm=off' to the 'kernel' line so that it looks like this, for example:

kernel /boot/vmlinuz-2.6.0-test9 ro root=/dev/hda6 nogui apm=off

Then restart your system. GRUB doesn't need any reinstallation commands.
 
Old 10-30-2003, 06:47 PM   #7
Uchiha sasuke
LQ Newbie
 
Registered: Oct 2003
Posts: 21

Rep: Reputation: 15
#pwd
/boot/grub
# cat grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Red Hat Linux (2.4.20-6)
root (hd0,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-6.img

I think kernel is in /boot
 
Old 10-31-2003, 04:53 AM   #8
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Change this line:

kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi

to:

kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi apm=off
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ text file line by line/each line to string/array Dimitris Programming 15 03-11-2008 08:22 AM
Installed 2.6.10 kernel on 10.1 and now I can't see command line... cereal83 Slackware 9 02-08-2005 11:31 AM
My new kernel is only command line!! craigs1987 Linux - Software 2 12-24-2004 11:42 AM
linux scripting help needed read from file line by line exc commands each line read atokad Programming 4 12-26-2003 10:24 PM
Need to take out a line from the kernel at boot up, please help zLinuxz Linux - General 2 02-09-2003 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration