请问如何设置内核启动参数?pci=noacpi , acpi=off

笔记本/便携移动设备,手机平板等软硬件
回复
dvwei
帖子: 48
注册时间: 2012-07-30 18:33
系统: ubuntu12.04

请问如何设置内核启动参数?pci=noacpi , acpi=off

#1

帖子 dvwei » 2012-08-21 20:51

我不知道文件在哪,请问下怎么设置pci=noacpi , acpi=off
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 请问如何设置内核启动参数?pci=noacpi , acpi=off

#2

帖子 枫叶饭团 » 2012-08-21 20:58

代码: 全选

/etc/default/grub
dvwei
帖子: 48
注册时间: 2012-07-30 18:33
系统: ubuntu12.04

Re: 请问如何设置内核启动参数?pci=noacpi , acpi=off

#3

帖子 dvwei » 2012-08-21 21:00

枫叶饭团 写了:

代码: 全选

/etc/default/grub
但是没有这两个参数....
dvwei
帖子: 48
注册时间: 2012-07-30 18:33
系统: ubuntu12.04

Re: 请问如何设置内核启动参数?pci=noacpi , acpi=off

#4

帖子 dvwei » 2012-08-21 21:01

枫叶饭团 写了:

代码: 全选

/etc/default/grub

代码: 全选

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="acpi_backlight=vendor"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 请问如何设置内核启动参数?pci=noacpi , acpi=off

#5

帖子 枫叶饭团 » 2012-08-21 21:03

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
dvwei
帖子: 48
注册时间: 2012-07-30 18:33
系统: ubuntu12.04

Re: 请问如何设置内核启动参数?pci=noacpi , acpi=off

#6

帖子 dvwei » 2012-08-21 21:06

枫叶饭团 写了:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
请问应该怎么添加进去? :em06
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 请问如何设置内核启动参数?pci=noacpi , acpi=off

#7

帖子 枫叶饭团 » 2012-08-21 21:07

GRUB_CMDLINE_LINUX="acpi_backlight=vendor pci=noacpi acpi=off"
再更新grub
dvwei
帖子: 48
注册时间: 2012-07-30 18:33
系统: ubuntu12.04

Re: 请问如何设置内核启动参数?pci=noacpi , acpi=off

#8

帖子 dvwei » 2012-08-21 21:13

枫叶饭团 写了:
GRUB_CMDLINE_LINUX="acpi_backlight=vendor pci=noacpi acpi=off"
再更新grub
感谢!
回复