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