pavelmachek ([info]pavelmachek) wrote,

grub2: welcome back in 1995

So I made a mistake of upgrading to grub2 on my main machine. Now I

a) have to rerun scripts to regenerate grub.cfg each time I change something -- which reminds me of 1995

b) grub menu runs in some kind of strange graphics mode, and very slowly. That's 1991 or something

c) grub still supports strange (hd0,2) syntax; unfortunately they made an off-by-one and partition number is now 1-based, not 0-based as it was in grub-1. Aaarggh.

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    Your IP address will be recorded 

  • 3 comments

Anonymous

January 31 2010, 12:04:51 UTC 2 years ago

b) speed up menu

This really bugged me too.

Try editing /etc/default/grub:
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
#GRUB_GFXMODE=640x480
# Added by Adrian:
# Don't set locales
LANG=

By default it uses fonts in order to cope with non-ASCII characters -IIRC this is the really slow stuff.

Anonymous

February 1 2010, 04:39:10 UTC 2 years ago

Helpful

'C' is a nice one, isn't it? I guess they got complaints that their 0-based partition numbering was confusing, given that OS's almost universally use 1-based numbering.

I'd actually be fairly happy with that change, had they not gone for the spectacularly inconsistent approach of leaving the device numbering as 0-based - thus, the first partition of the first device isn't (0,0), or (1,1), but the entirely unexpected (0,1)...

[info]trs80 [typekey.com]

February 1 2010, 11:22:52 UTC 2 years ago

Re: Helpful

Well in Linux the device numbering is the same - /dev/sda is b8,0 and /dev/sda1 is b8,1. It's just that the whole device (0,0) isn't very useful to a bootloader.
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…