BIOS Menu: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 8: Line 8:
==Repair UEFI Grub==
==Repair UEFI Grub==
<source lang="bash">
<source lang="bash">
# mount ubuntu partition
sudo mount /dev/nvme0n1p4 /mnt
sudo mount /dev/nvme0n1p4 /mnt
for i in /sys /proc /run /dev;\
for i in /sys /proc /run /dev;\
do sudo mount --bind "$i" "/mnt$i"; done
do sudo mount --bind "$i" "/mnt$i"; done
# mount uefi partition
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo chroot /mnt
sudo chroot /mnt
update-grub && grub-install /dev/nvme0n1
update-grub && grub-install /dev/nvme0n1
update-grub && exit
update-grub && exit

Revision as of 10:25, 16 November 2022

───────────────────────────────────────────────
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

Repair UEFI Grub

# 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

References

 _____ _____ _____ _____ _____ _____ 
|     |  |  |     | __  |  |  |   __|
|   --|     |  |  |    -|    -|   __|
|_____|__|__|_____|__|__|__|__|_____|
@2013~2021                Chorke Inc.