Philip's Blog

perhaps wayne cares
  • rss
  • Home
  • Admin

Grub 2

Philip Gasser | 08/01/2010

Ubuntu 9.10 (karmic koala) comes with Grub 2 (1.97~beta4). Some improvement:
- Universal support for UUIDs
- Scripting support including conditional statements and functions
- Boots from LVM, RAID and ext4 directly
- Non-X86 platform support (such as PowerPC)
So, lets see how we can make some default grub-legacy changes in grub 2.

Change screen resolution (for grub-menu):
gap@devBox:~$ sudo vi /etc/default/grub
Now you can edit the GRUB_GFXMODE (uncomment and change VBE Mode)
GRUB_GFXMODE=1280x1024
You can show your supported VBE modes when you hit c in the grub menue, and run vbeinfo in the appearing console.

Change the tty resolution:
Even if my laptop has a intel grafic chip, im using the uvesafb kernel module. These, because you have much more work with the intelfb module.
So, you have to load the uvesafb, and you should also be sure its not blacklisted.
# write the name of your module in this file:
sudo vi /etc/initramfs-tools/modules
# uncomment the line if the modul is blacklisted:
sudo vi /etc/modprobe.d/blacklist-framebuffer.conf
# update initramfs
sudo update-initramfs -u
# install v86d (if you use uvesafb)
sudo apt-get install v86d

After that we can edit GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="video=uvesafb:mode_option=1600x1200-24"
After a
sudo update-grub
sudo reboot

Youre done.

Comments
No Comments »
Categories
Linux
Tags
grub2, Linux, screen resolution, Shell, ubuntu
Comments rss Comments rss
Trackback Trackback

Tags

about me Android android 2.2 anti virus apps bash Blog clamAV clean Windows Enterprise Lab enterpriselab fancy FroYo Gingerbread grub2 HSLU ImageMagick installation Jabber JacORB Java Linux Mac OSX N1 Nexus One remove Resize screen resolution Shell SI Captcha Software Spam SWK tools TV ubuntu Update vmware vmware fusion 4 vmware workstation 8 WebDav welcome windows 7 XMPP Zattoo

Blogroll

  • Antoines's Blog
  • Burno's Blog
  • Marcel's Blog
  • Rothi's Blog
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox