Grub-shell in grub operations start iso and grub repair, brightness cannot be adjusted

Source: Internet
Author: User
Grub-shell to start iso and grub repair, brightness cannot be adjusted to solve 1. grub repair: assume that the boot is mounted to a separate partition.

Grub-shell in grub operations start iso and grub repair, brightness cannot be adjusted

I. grub repair:

Assume that the boot partition is mounted to/dev/sda3.

Sudo mount/dev/sda3/mnt

Sudo grub-install -- boot-direcotry =/mnt/dev/sda

Sudo update-grub

Sudo reboot

This can be solved in general. if it cannot be repaired, it means that the master program in the mbr zone has been damaged.

In grub shell:

Grub> ls (hd0, 2)

Confirm it is a boot partition

Grub> set root = (hd0, 2) or root (hd0, 2)

Grub> setup (hd0)

Grub> quit

Restart.

II. start the iso image using grub-shell

Grub> root/path/to/hava/ISOimage

Grub> replace loopback loop/iso_imagename with your iso file name

Grub> linux (loop)/casper/vmlinuz. efi boot = casper iso-scan/filename =/iso_imagename noprompt noeject

Grub> initrd (loop)/casper/initrd. lz

Grub> boot

III. linux brightness adjustment solution:

So we only need sudo nano/etc/default/grub,

GRUB_CMDLINE_LINUX = "" changed to GRUB_CMDLINE_LINUX = "acpi_osi =LiNux acpi_backlight = vendor "restart,Note that L in Linux is in uppercase..

Then sudo update-grub & sudo reboot

You can also refer to the original post on my blog

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.