Problems booting Linux on HP G7 laptops

Update: this may no longer be necessary with newer kernels.

There is a major problem running Linux on HP laptops; during the boot process, the screen will go black and never display anything. This issue is due to the LCD backlighting.

You can fix the issue by appending the text

acpi_osi=Linux acpi_backlight=vendor

to the linux boot line. You can do this manually in the Grub menu by editing the commands before booting; you highlight the boot entry and press either the “e” key or the “tab” key, depending on the version of Grub you are running.

Sponsored Post Learn from the experts: Create a successful blog with our brand new courseThe WordPress.com Blog

WordPress.com is excited to announce our newest offering: a course just for beginning bloggers where you’ll learn everything you need to know about blogging from the most trusted experts in the industry. We have helped millions of blogs get up and running, we know what works, and we want you to to know everything we know. This course provides all the fundamental skills and inspiration you need to get your blog started, an interactive community forum, and content updated annually.

Reinstalling Grub

When Microsoft Windows is reinstalled on a multiboot computer, it will overwrite the MBR wiping out the existing Grub install. To reinstall Grub do the following:

  1. Boot to the most recent ArchLinux install CD and select the correct architecture (on dual ISOs).
  2. Mount your existing ArchLinux install on /mnt: mount /dev/sda# /mnt
  3. If necessary, mount your boot partition: mount /dev/sda# /mnt/boot
  4. Reinstall grub: grub-install –root-directory=/mnt /dev/sda

Older instructions

To install the grub bootloader from a LiveCD:

  • Mount the root filesystem
    • mkdir /mnt/root
    • mount -t ext2 /dev/?da? /mnt/root
  • Populate the dev and proc filesystems
    • mount -o bind /dev /mnt/root/dev
    • mount -t proc none /mnt/root/proc
  • Change to the mounted root filesystem
    • chroot /mnt/root
  • Install grub in MBR
    • grub
    • find /boot/grub/stage1
    • root (hd0,0) # Use the info from the above find command
    • setup (hd0) # Use the info from the above find command
    • quit
  • Reboot!
Create your website with WordPress.com
Get started