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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2012, 12:07 AM   #1
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Rep: Reputation: 22
Passing acpi parameters in Lilo.


Is it possible to pass this in Lilo, acpi_os_name="Windows 2001"? If so how can it be added to the lilo.conf file?
 
Old 08-07-2012, 12:22 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
You can do it either at boot time or in lilo.conf.

At boot time: when lilo's greeting screen shows, hit "Tab" then type the whole lilo command beginning with the label of the kernel you want to run, followed by the kernel parameters, then hit "Enter". For instance you could type this:
Code:
Linux acpi_os_name="Windows 2001"
To make this setting permanent, add an append="<kernel parameters>" line to the relevant image section of /etc/lilo.conf. For instance:
Code:
image = /boot/vmlinuz
  root = /dev/sda3
  label = Linux
  initrd = /boot/initrd.gz
  append = "acpi_os_name='Windows 2001'"
  read-only
Of course don't forget to run "lilo -t -v" after that, then "lilo" if all goes well.

I'm not sure about quoting of kernel parameters values though, as I usually append kernel parameters whose values don't include whitespaces. Just try.

Last edited by Didier Spaier; 08-07-2012 at 05:47 AM.
 
Old 08-07-2012, 02:30 AM   #3
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Original Poster
Rep: Reputation: 22
Thanks for the reply. Unfortunately what I was hoping to accomplish did not work. Back to the drawing board I guess. I was hoping that my bios' DSDT was looking for that string for Windows XP so I could make Linux look like XP at boot time in order to get access to the full acpi functions. At the moment I only have partial access to acpi. Suspend/Hibernate works fine but I can't get acpi-cpufreq to work for processor scaling. For now I am using a custom version of speedstep-centrino for that. I am really wanting to fix the problem with acpi-cpufreq though so I can have an easy way to undervolt my processor. It's starting to look like I'll have to do the DSDT patch after all.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Passing parameters to script -help flea89 Linux - Newbie 4 03-13-2010 12:47 PM
Passing parameters to a makefile. kerenLinuxForum Linux - Software 3 09-01-2008 08:24 AM
passing parameters in string in C shifter Programming 8 04-11-2008 09:01 AM
need help passing parameters in C++ hedpe Programming 1 10-21-2007 10:58 AM
Passing kernel parameters at boot with LILO Crashedfiesta Linux - Laptop and Netbook 2 12-16-2003 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:12 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