Re: Update GRUB to GRUB2 / Lenny to Squeeze
>>> You can't load modules for grub-probe.
>>> But you can for grub-install.
>>> The default modules that I have in a Sid VM for an install without
>>> mdraid or lvm are:
>>> minicmd, true, loadenv, extcmd, test, sh, normal, charset, terminal,
>>> crypto, boot, part_msdos, ext2, fshelp, biosdisk
>>> I have no idea whether they are hard-coded or there is a file
>>> somewhere that can be edited to control to which ones grub-install
>> That doesn't help. Until grub2 is unpacked and configured, neither
>> grub-probe nor grub-install (for GRUB 2) will exist. I can't pass
>> parameters to a binary that doesn't exist. Passing them to the same
>> respective file for GRUB legacy won't help, either.
> If you don't have grub-install, you are missing grub-common, upon
> which grub-pc depends.
Yes, of course. The point you seem to be missing is that until the
package is upgraded, those won't exist, and until they exist, I can't
upgrade the package.
>> It doesn't matter since `dpkg --configure grub-pc` overwrites it with
>> the default every time before it gets to the point where it might be
> Who cares? You don't have to use "dpkg --configure...".
If you have more specific suggestions, I welcome them. Telling me what
I don't have to do is really not helpful. Note I am not particularly
intersted in completely over-writing GRUB legacy until I know GRUB 2 is
working: I very much like the Debian upgrade approach of chain-loading
GRUB2 from GRUB legacy until one is certain everything is working. I'm
running Debian "Squeeze", upgraded from "Lenny". I have a RAID1 array
which is mounted as /boot once the system exits initrd. GRUB legacy
reads one or the other RAID1 member as if it were an ordinary partition
and boots accordingly.
title Debian GNU/Linux, kernel 2.6.32-3-amd64
kernel /vmlinuz-2.6.32-3-amd64 root=/dev/md2 ro quiet
title Debian GNU/Linux, kernel 2.6.32-3-amd64 (single-user
kernel /vmlinuz-2.6.32-3-amd64 root=/dev/md2 ro single
title Debian GNU/Linux, kernel 2.6.26-2-amd64
kernel /vmlinuz-2.6.26-2-amd64 root=/dev/md2 ro quiet
title Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user
kernel /vmlinuz-2.6.26-2-amd64 root=/dev/md2 ro single
proc /proc proc defaults 0 0
/dev/md1 /boot ext2 defaults 0 2
/dev/md2 / ext3 defaults 0 1
/dev/md3 none swap sw 0 0
ARRAY /dev/md0 level=raid6 num-devices=9 metadata=01.2 name=Backup:0
ARRAY /dev/md1 level=raid1 num-devices=2 metadata=01.0 name=Backup:1
ARRAY /dev/md2 level=raid1 num-devices=2 metadata=01.2 name=Backup:2
ARRAY /dev/md3 level=raid1 num-devices=2 metadata=01.2 name=Backup:3