我可以在 Ubuntu 下读取 BIOS 设置而无需重新启动吗?
例如,我想检查 BIOS 中的睡眠设置、S3(挂起)或 S4(休眠)。截至目前,我无法休眠,正在排除故障。如果BIOS已经设置为S4,那么我就不用重新启动进入BIOS了。我不想重新启动,因为我还有其他程序正在运行。另外,我希望能够访问互联网,这样我就可以在 Google 上搜索我不理解或找不到的设置,并且重新启动后我就没有浏览器了。
最后,我想知道是否可以在不重新启动的情况下更改 BIOS 设置?
答案1
是的,当然不是他们:
root@debian:/home/mohsen# biosdecode
# biosdecode 2.12
ACPI 2.0 present.
OEM Identifier: DELL
RSD Table 32-bit Address: 0xCAFAD028
XSD Table 64-bit Address: 0x00000000CAFAD078
SMBIOS 2.6 present.
Structure Table Length: 2331 bytes
Structure Table Address: 0x000EBA00
Number Of Structures: 57
Maximum Structure Size: 247 bytes
PNP BIOS 1.0 present.
Event Notification: Not Supported
Real Mode 16-bit Code Address: F000:BFF6
Real Mode 16-bit Data Address: F000:0000
16-bit Protected Mode Code Address: 0x000FC01E
16-bit Protected Mode Data Address: 0x000F0000
PCI Interrupt Routing 1.0 present.
Router ID: 00:1f.0
Exclusive IRQs: None
Compatible Router: 8086:27b8
Slot Entry 1: ID 00:1f, on-board
Slot Entry 2: ID 00:1d, on-board
Slot Entry 3: ID 00:1a, on-board
Slot Entry 4: ID 00:1b, on-board
Slot Entry 5: ID 00:16, on-board
Slot Entry 6: ID 00:04, on-board
Slot Entry 7: ID 00:1c, on-board
Slot Entry 8: ID 00:01, on-board
Slot Entry 9: ID 00:06, on-board
Slot Entry 10: ID 03:00, slot number 33
Slot Entry 11: ID 05:00, slot number 34
Slot Entry 12: ID 0b:00, slot number 10
Slot Entry 13: ID 11:00, slot number 18
Slot Entry 14: ID 01:00, slot number 16
Slot Entry 15: ID 00:02, on-board
Slot Entry 16: ID 09:00, slot number 9
Slot Entry 17: ID 00:00, on-board
写入BIOS的方法:
假设您设置日期,例如:
root@debian:/home/mohsen# date -s "Sun May 10 04:42:12 IRDT 2015"
Sun May 10 04:42:12 IRDT 2015
root@debian:/home/mohsen# hwclock -w
然后你可以在BIOS上写下你的更改hwclock -w