Translation(s): English
This page is about migrating GRUB Legacy to GRUB 2.
Upgrading from v1 to v2
To upgrade from GRUB v1 to GRUB v2, you should:
- Install GRUB v2 (but don't remove grub 1 yet).
Follow the instruction displayed the package installation (i.e GRUB v1 now has an entry to cascade to GRUB v2, so reboot and try it, then you can actually enable grub2 bootloader by running upgrade-from-grub-legacy).
Grub2 in Debian-Installer
Initial proposal sent by Otavio: http://lists.debian.org/debian-release/2007/04/msg00328.html
The issues to be resolved before switching to grub2 as default are tracked in the meta Bug: 477094
Regressions
lock / password mechanism (done, see here how to use it)
Menu's default=saved / grub-reboot isn't implemented.
- xen detection / setup in update-grub
Non-regression issues that may become essential (or at least, desirable) during lenny life period
Filesystems haven't been proof-tested with 64-bit offsets (2 TiB disks). Not really a regression (Legacy GRUB has the same problem), but it'll become critical in the future. There's a task for this in upstream: http://savannah.gnu.org/task/?7667
Grub 2 and the VGA parameter
In Grub2 the vga= parameter is deprecated. To set a screen resolution for your console you can edit /etc/default/grub as root:
uncomment the GRUB_GFXMODE=640x480 line and change the resolution to something you can use e.g. 1024x768
Add the line GRUB_GFXPAYLOAD_LINUX=keep
- run update-grub
- reboot to confirm that your changes worked
You do not edit the 00_header file as some suggest you need to do.

470894 grub-installer: user parameters are not added to grub.cfg for grub2
473401 grub-installer: grub2 config for Windows partition does not boot
477083 grub-pc: Is excruciatingly slow when compared to grub (legacy)
477090 grub-installer: no support for dmraid and multipath for grub2
477092 grub-installer: does not support setting password for grub2
483971 support for device-mapper multipath