LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-16-2011, 12:34 PM   #1
magicalshashank31
Member
 
Registered: Apr 2011
Posts: 81
Blog Entries: 1

Rep: Reputation: 0
Passing kernel parameters


how do i Pass the kernel argument “sysctl=1” to the kernel and
the argument is available across the reboot.
 
Old 08-16-2011, 03:13 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
You need to add that option to your kernel boot line, in whatever bootloader you are using ( grub, grub2 or lilo, depending on your distro, which you have not told us).

I don't think this thread belongs in LQ-Security, so I have asked the mods to move it elsewhere.
 
Old 08-17-2011, 08:45 AM   #3
magicalshashank31
Member
 
Registered: Apr 2011
Posts: 81
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tredegar View Post
You need to add that option to your kernel boot line, in whatever bootloader you are using ( grub, grub2 or lilo, depending on your distro, which you have not told us).

I don't think this thread belongs in LQ-Security, so I have asked the mods to move it elsewhere.
when i add the sysctl 1 at the end of line kernal boot line in /etc/grub.conf it does not able to reboot,can you tell me what does the argument sysctl 1 mean...what changes does it make in grub???
 
Old 08-17-2011, 11:58 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
It looks like sysctl=1 is not supposed to be passed to the kernel at boot.

sysctl is a command to modify kernel parameters at runtime.

see man sysctl

Once you have discovered what command you need, just put it in /etc/rc.local for it to be run at every reboot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub2 Not Passing Parameters to Kernel youarefunny General 2 09-09-2010 08:05 AM
[SOLVED] Passing parameters to script -help flea89 Linux - Newbie 4 03-13-2010 01:47 PM
Passing module parameters to kernel scoban Slackware 3 12-26-2007 09:21 AM
need help passing parameters in C++ hedpe Programming 1 10-21-2007 11:58 AM
Passing kernel parameters at boot with LILO Crashedfiesta Linux - Laptop and Netbook 2 12-16-2003 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration