Posts Tagged grub

Fix Long, Loud Beep / Popping During Kubuntu Shutdown

I’m not sure what exactly causes this problem, but one of my computers running Kubuntu 9.10 has had this problem involving a long system beep during shutdown. Blacklisting the pc speaker didn’t work, nor did relentless searching for answers, until a post on Ubuntu forums finally answered my question.

The fix involves disabling the splash screen:

Edit /etc/default/grub


$ sudo nano /etc/default/grub

Change

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

Update Grub:

$ sudo update-grub

..and reboot!

On the first reboot, you may still hear the beep. Reboot twice before you assume it doesn’t work!

Credit: dimoftheyard

Tags: , , , , ,

Downgrade Grub 2 to Grub Legacy (Ubuntu 9.10)

I have experienced a load of problems with GRUB 2 (betas that are included in Ubuntu 9.10–why did they include a beta, anyway?) so I sought a method to downgrade, or revert to GRUB legacy (ver 0.97).  Below are detailed instructions, all found from the following post.  Credit to posters.

http://ubuntuforums.org/showthread.php?t=1330347

Reverting to GRUB Legacy

If a user chooses to return to GRUB legacy (0.97), these steps will remove GRUB 2 and install GRUB.
The command line produces a cleaner uninstall and reinstallation. While adding and removing the packages can be accomplished with Synaptic, certain steps must be accomplished in a terminal.

  1. Open a terminal: Applications, Accessories, Terminal.
  2. Make backup copies of the main GRUB 2 folders & files. (Optional)
    • sudo cp /etc/default/grub /etc/default/grub.old
    • sudo cp -R /etc/grub.d /etc/grub.d.old
    • sudo cp -R /boot/grub /boot/grub.old
  3. Remove GRUB 2
    • sudo apt-get purge grub2 grub-pc
    • The system will be unbootable until another bootloader is installed.
    • Once the packages are removed, many files will still remain in ‘/boot/grub’
  4. Install GRUB 0.97
    • sudo apt-get install grub
  5. With grub installed, the user must still create the menu.lst and stage1/stage2 files by running the following two commands.
    1. sudo update-grub
      • Generates menu.lst
        • Tab to “Yes” when prompted.
    2. sudo grub-install /dev/sdX
      • Choose the correct device (sda, sdb, etc), normally the one on which Ubuntu is installed.
      • Creates the stage1 & stage2 files in /boot/grub and writes to the MBR.

Run this command to keep it from upgrading automatically:

echo "grub hold" | sudo dpkg --set-selections

  • Reboot
  • Tags: , , ,

    Fix Ubuntu / Kubuntu 9.10 Screen Brightness Problem

    I recently purchased a Lenovo IdeaPad Y450 Laptop, but the screen brightness was not being adjusted when I used the proper key combination (FN+UP/DOWN).  The key combination did show the brightness bar, but did not adjust the actual brightness on the (LED) LCD.  To fix this, edit /etc/default/grub:

    Change:

    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

    to

    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash nomodeset acpi_backlight=vendor”

    Then run

    sudo update-grub

    And restart!

    Tags: , , , , , , , , ,