Note to self: Grub2 at 800×600

I made the jump to Squeeze on this laptop with a minimum of problems. In fact, the only real issue of note was the shift to Grub2, which always confounds me.

So I can figure this out with less effort in the future, Grub2′s configurations in Debian are at /etc/default/grub. Adjusting this line to read

GRUB_GFXMODE=800x600

and adding this line

GRUB_GFXPAYLOAD_LINUX=keep

gave me proper screen dimensions all the way through the boot process. Instead of snapping back at the end. :evil: Why would that be necessary? I can only wonder.

Actually enforcing those options will require

grub-mkconfig -o /boot/grub/grub.cfg

Until then, Grub just flaps its lips at you. But once that’s done, it works fine.

Surprising credit line of the day: Thanks to the Arch wiki, which had the information up front and easy to find. Cheers.

About these ads

15 Responses to “Note to self: Grub2 at 800×600”


  1. 1 technologyunit 2011/01/17 at 11:30 AM

    Your not the first one to have this problem. Unfortunately it is almost never that easy to fix with ATI graphics are involved. Even when I drop to the virtual terminal in Ubuntu it’s at the wrong resolution. More often than not the solution lies with grub, but really has nothing to do with it. As far as I can tell anyway.

  2. 2 bryan 2011/01/17 at 1:32 PM

    Personally, my own experience with Grub2 has made me rather happy that Arch is sticking with Grub-legacy until further notice. Why oh why do I need to edit the files and THEN reread the config? It’s like we’re back a LiLO again…except I don’t understand this configuration yet.

  3. 3 ancientforest 2011/01/18 at 2:16 AM

    Thanks for the tip. I’d more or less given up on getting this to work, and the last time I looked at the Arch Wiki for help, I don’t remember seeing the bit about grub-mkconfig; rather, it was update-grub or the like.

    This seems to be part of a general trend in Linuxland away from straightforward flat-file configuration. One can’t even replace a kernel in Squeeze without a complex, so far undocumented procedure, involving many hairy scripted jobs. It’s not clear what we gain from handing these things over to so many scripts.

    • 4 K.Mandla 2011/01/18 at 8:07 AM

      To be honest, I side with you on this one. I don’t know why it’s necessary or more convenient to use that script system over editing a single file that’s checked on boot.

      But … I don’t do much to contribute to these things, so I suppose I have little right to complain in the way they are managed. … :|

  4. 5 technologyunit 2011/01/18 at 11:03 AM

    Does Anyone have any experience with lilo or any other Boot Loaders? Interested to find out. I know grub has problems but what about lilo?

    • 6 Gusar 2011/01/18 at 9:26 PM

      I use syslinux personally. Very small and simple. And simply works. Grub2 is some over-engineered, overly complicated… something.

  5. 7 David Critchley 2011/01/18 at 7:21 PM

    I have a PC on which I triple boot PCLoS, Win7 and Mint Debian. I have always had trouble with Grub 2 configuring PCLoS correctly but thanks to PCLoS’s control center and it’s redo-mbr I use the “legacy grub” to boot into all three OS’s.

    If the grub gets mucked up for any reason then it’s simply a matter of booting the live disk (PCLoS), deleting the grub menu.lst and running redo-mbr.

    My only problem is that Mint-Debian always seem to run in Verbose mode. Any suggestions?

  6. 8 esters 2011/01/18 at 9:21 PM

    An OS inside an OS ?

    How about syslinux ?

  7. 9 Jose Catre-Vandis 2011/01/19 at 5:23 AM

    GRUB_GFXMODE=800×600

    and adding this line

    GRUB_GFXPAYLOAD_LINUX=800×600

    (We’ll I am using 1024×600)

    Also works (not forgetting all the other guff in the default line) :)

  8. 10 David Critchley 2011/01/19 at 7:50 AM

    What is so special about grub 2 ?????
    If there is a logical, sane reason then please let me know. Is it quicker, more efficient, takes up less resources -what, why how…?

    • 11 mulenmar 2011/01/19 at 8:47 AM

      While Google isn’t your friend, the GRUB2 FAQ you can find with it is. ;)

      http://www.gnu.org/software/grub/grub-faq.en.html

    • 12 K.Mandla 2011/01/19 at 8:49 AM

      As opposed to Grub 1? I couldn’t tell you. I know that most of the distros I use (Crux, Arch and Slitaz, I think), haven’t shifted yet. Ubuntu has, but that’s probably because Debian has.

      Which one’s better? Beats me. I only look at it for a few seconds, and then it’s gone. :roll:

      • 13 technologyunit 2011/01/21 at 5:32 AM

        I’ll bet it’s redundancy above all else. They are just building in a whole crap load of redundancies so people don’t run into trouble. This work? I don’t think so but you never know. I haven’t had much trouble with grub but crunchbang failed to install it on my netbook.


  1. 1 Avoiding the second error twice « Motho ke motho ka botho Trackback on 2011/01/18 at 10:34 PM
  2. 2 Links 18/1/2011: Xfce 4.8 is Released, Firefox 4.0 Anticipated | Techrights Trackback on 2011/01/19 at 3:42 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,095 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: