BIOS Menu: Difference between revisions
Jump to navigation
Jump to search
(28 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Control + Alter + Delete » Restart | Control + Alter + Delete » Restart | ||
Esc (Continuous Press) » Until Boot Menu | Esc (Continuous Press) » Until Boot Menu | ||
cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode | |||
Result: 0 = disabled, 1= enabled | |||
==Boot From USB== | |||
* Turn on your computer and press '''Delete, F2, F10 or F11''' (this varies by device) to enter the BIOS | |||
* Use the cursor keys to find the ‘Boot’ menu or something similar | |||
* Change the order so USB is at the top of the list as the number one boot priority | |||
If none of those keys work to enter the BIOS, look out for a message on your monitor after pressing the computer’s power button. The message is usually at the bottom of the screen and says something like ‘Press '''F11''' for boot options’ | |||
==Repair UEFI Grub== | |||
<syntaxhighlight lang="bash"> | |||
# verify partitions | |||
gparted | |||
# mount ubuntu partition | |||
sudo mount /dev/nvme0n1p4 /mnt | |||
for i in /sys /proc /run /dev;\ | |||
do sudo mount --bind "$i" "/mnt$i"; done | |||
# mount uefi partition | |||
sudo mount /dev/nvme0n1p1 /mnt/boot/efi | |||
sudo chroot /mnt | |||
update-grub && grub-install /dev/nvme0n1 | |||
update-grub && exit | |||
sudo reboot | |||
</syntaxhighlight> | |||
==Ubuntu Firmware Update== | |||
<syntaxhighlight lang="bash"> | |||
sudo fwupdmgr get-devices | |||
sudo dmidecode -s bios-version | |||
for d in system-manufacturer \ | |||
system-product-name bios-release-date bios-version;\ | |||
do echo "${d^} :$(sudo dmidecode -s $d)"; done | |||
sudo fwupdmgr refresh | |||
sudo fwupdmgr refresh --force | |||
sudo fwupdmgr get-updates | |||
sudo fwupdmgr update | |||
sudo dmidecode -s bios-version | |||
</syntaxhighlight> | |||
==Ubuntu Kernel Downgrade== | |||
<syntaxhighlight lang="bash"> | |||
apt list --installed | grep linux-image | |||
dpkg --list | grep linux-image | |||
find /boot/vmli* | |||
sudo apt remove linux-image-6.0.9-060009-generic linux-headers-6.0.9-060009-generic | |||
sudo apt-mark hold linux-image-generic linux-headers-generic | |||
</syntaxhighlight> | |||
==Ubuntu Kernel Upgrade== | |||
<syntaxhighlight lang="bash"> | |||
# https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0.9/amd64/ | |||
# https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/ | |||
sudo apt update && sudo apt full-upgrade -y | |||
sudo dpkg -i *.deb | |||
sudo apt install gcc make perl -y | |||
sudo init 6 | |||
uname -mrs | |||
sudo apt update && sudo apt full-upgrade -y | |||
sudo apt install gcc make perl -y | |||
sudo apt autoremove | |||
sudo init 6 | |||
uname -mrs | |||
</syntaxhighlight> | |||
==ThinkPad Fn Key== | |||
{| | |||
| valign="top" | | |||
─────────────────────────────────────────────── | |||
Fn + 4 » Sleep mode | |||
| valign="top" | | |||
─────────────────────────────────────────────── | |||
» | |||
|} | |||
==References== | ==References== | ||
{| | |||
| valign="top" | | |||
* [https://linuxhint.com/install-upgrade-latest-kernel-ubuntu-22-04/ Upgrade To Latest Linux Kernel on Ubuntu 22.04] | |||
* [https://www.reddit.com/r/LenovoLegion/comments/qls5rl/fedora_34_on_legion_5_15ach6/ Fedora 34 on Lenovo Legion 5 PRO 16ACH6H] | |||
* [https://askubuntu.com/questions/1329928/ Ubuntu brightness control of Legion 5 pro] | |||
* [https://askubuntu.com/questions/655011/ Restore Grub Boot Loader from Windows] | * [https://askubuntu.com/questions/655011/ Restore Grub Boot Loader from Windows] | ||
* [https://superuser.com/questions/465960/ | * [https://forums.lenovo.com/t5/Gaming-Laptops/Lenovo-Legion-5-PRO-16ACH6H-Advanced-optimus-support/m-p/5121935 Lenovo Legion 5 PRO 16ACH6H Support] | ||
* [https://askubuntu.com/questions/824901/ Battery charging stuck at 60%] | |||
* [https://superuser.com/questions/465960/ American Megatrends BIOS] | |||
* [https://peen.dev/2021/06/08/ubuntu-on-the-legion-5-pro-2021/ Ubuntu on the Legion 5 Pro] | |||
* [https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/legion-series/legion-5-15arh05/videos/vid100750-how-to-enter-the-bios-setup-utility-in-window-8-10 Lenovo Legion 5Pro BIOS] | * [https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/legion-series/legion-5-15arh05/videos/vid100750-how-to-enter-the-bios-setup-utility-in-window-8-10 Lenovo Legion 5Pro BIOS] | ||
* [https://help.ubuntu.com/community/Grub2 GRUB vs GRUB 2] | * [https://help.ubuntu.com/community/Grub2 GRUB vs GRUB 2] | ||
| valign="top" | | |||
* [https://www.techrepublic.com/article/install-linux-kernel-ubuntu/ Install Linux kernel 6.0 on Ubuntu 22.04] | |||
* [https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0.9/ Ubuntu » Download » Linux Kernel 6.0.9] | |||
* [https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/ Ubuntu » Download » Linux Kernel 6.0.0] | |||
* [https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/ Ubuntu » Download » Linux Kernel 5.15] | |||
* [https://tuxcare.com/5-bad-reasons-to-update-your-linux-kernel/ 5 Bad Reasons to Update Linux Kernel] | |||
* [https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdedit-command-line-options?view=windows-10 BCDEdit Command-Line Options] | |||
* [https://serverfault.com/questions/283129/ SSH Connection Hang Forever] | |||
* [https://askubuntu.com/questions/446084/ Calibrate the Laptop Battery] | |||
* [[Linux Kernel]] | |||
| valign="top" | | |||
|} | |||
_____ _____ _____ _____ _____ _____ | _____ _____ _____ _____ _____ _____ | ||
Line 13: | Line 123: | ||
| --| | | | -| -| __| | | --| | | | -| -| __| | ||
|_____|__|__|_____|__|__|__|__|_____| | |_____|__|__|_____|__|__|__|__|_____| | ||
@2013~ | @2013~2022 Chorke Inc. | ||
<math> | <math> |
Latest revision as of 17:54, 7 July 2024
─────────────────────────────────────────────── Control + Alter + Delete » Restart Esc (Continuous Press) » Until Boot Menu
cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode Result: 0 = disabled, 1= enabled
Boot From USB
- Turn on your computer and press Delete, F2, F10 or F11 (this varies by device) to enter the BIOS
- Use the cursor keys to find the ‘Boot’ menu or something similar
- Change the order so USB is at the top of the list as the number one boot priority
If none of those keys work to enter the BIOS, look out for a message on your monitor after pressing the computer’s power button. The message is usually at the bottom of the screen and says something like ‘Press F11 for boot options’
Repair UEFI Grub
# verify partitions
gparted
# mount ubuntu partition
sudo mount /dev/nvme0n1p4 /mnt
for i in /sys /proc /run /dev;\
do sudo mount --bind "$i" "/mnt$i"; done
# mount uefi partition
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo chroot /mnt
update-grub && grub-install /dev/nvme0n1
update-grub && exit
sudo reboot
Ubuntu Firmware Update
sudo fwupdmgr get-devices
sudo dmidecode -s bios-version
for d in system-manufacturer \
system-product-name bios-release-date bios-version;\
do echo "${d^} :$(sudo dmidecode -s $d)"; done
sudo fwupdmgr refresh
sudo fwupdmgr refresh --force
sudo fwupdmgr get-updates
sudo fwupdmgr update
sudo dmidecode -s bios-version
Ubuntu Kernel Downgrade
apt list --installed | grep linux-image
dpkg --list | grep linux-image
find /boot/vmli*
sudo apt remove linux-image-6.0.9-060009-generic linux-headers-6.0.9-060009-generic
sudo apt-mark hold linux-image-generic linux-headers-generic
Ubuntu Kernel Upgrade
# https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0.9/amd64/
# https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/
sudo apt update && sudo apt full-upgrade -y
sudo dpkg -i *.deb
sudo apt install gcc make perl -y
sudo init 6
uname -mrs
sudo apt update && sudo apt full-upgrade -y
sudo apt install gcc make perl -y
sudo apt autoremove
sudo init 6
uname -mrs
ThinkPad Fn Key
─────────────────────────────────────────────── Fn + 4 » Sleep mode |
─────────────────────────────────────────────── » |
References
_____ _____ _____ _____ _____ _____ | | | | | __ | | | __| | --| | | | -| -| __| |_____|__|__|_____|__|__|__|__|_____| @2013~2022 Chorke Inc.