BIOS Menu: Difference between revisions
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode | cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode | ||
Result: 0 = disabled, 1= enabled | 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== | ==Repair UEFI Grub== | ||
< | <syntaxhighlight lang="bash"> | ||
# verify partitions | # verify partitions | ||
gparted | gparted | ||
Line 23: | Line 30: | ||
update-grub && exit | update-grub && exit | ||
sudo reboot | sudo reboot | ||
</ | </syntaxhighlight> | ||
==Ubuntu Firmware Update== | ==Ubuntu Firmware Update== | ||
< | <syntaxhighlight lang="bash"> | ||
sudo fwupdmgr get-devices | sudo fwupdmgr get-devices | ||
sudo dmidecode -s bios-version | sudo dmidecode -s bios-version | ||
Line 41: | Line 48: | ||
sudo dmidecode -s bios-version | sudo dmidecode -s bios-version | ||
</ | </syntaxhighlight> | ||
==Ubuntu Kernel Downgrade== | ==Ubuntu Kernel Downgrade== | ||
< | <syntaxhighlight lang="bash"> | ||
apt list --installed | grep linux-image | apt list --installed | grep linux-image | ||
dpkg --list | grep linux-image | dpkg --list | grep linux-image | ||
Line 51: | Line 58: | ||
sudo apt remove linux-image-6.0.9-060009-generic linux-headers-6.0.9-060009-generic | 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 | sudo apt-mark hold linux-image-generic linux-headers-generic | ||
</ | </syntaxhighlight> | ||
==Ubuntu Kernel Upgrade== | ==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.9/amd64/ | ||
# https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/ | # https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/ | ||
Line 69: | Line 76: | ||
sudo init 6 | sudo init 6 | ||
uname -mrs | uname -mrs | ||
</ | </syntaxhighlight> | ||
==ThinkPad Fn Key== | ==ThinkPad Fn Key== | ||
Line 103: | Line 110: | ||
* [https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/ Ubuntu » Download » Linux Kernel 5.15] | * [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://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" | | | valign="top" | |
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.