Migrating to Grub2 deletes kernel automagic updates and other settings



Howdie, fellow Debianites!

I've just tried to install Grub2 to my spare Lenny installation. I am
baffled (not to say disappointed) by the results:

1. -- kernel automagic configuration hasn't been copied over from the
legacy menu.lst to the new grub.cfg
2. -- chainloader stanzas from the old menu.lst are likewise lost
3. -- the command upgrade-from-grub-legacy installs the new boot loader
into the MBR, not letting you select a partition instead of the MBR
(overwriting any custom MBR you may have). Admittedly, this is only a
minor nuisance, but a nuisance still.
4. -- it didn't pick up the right partitions of my installed systems,
so I had to manually edit grub.cfg, changing various "set root=(hd0,1)"
into "set root=(hd0,2)" and the like. And this was on a pretty simple
setup: only a single hard drive, with just four primary partitions
(Swap, Lenny, LennySpare, and Home).

Luckily, I did this on my "LennySpare" installation, which I use for
testing stuff and such ...

My question is: will Lenny still be able to update its list of kernels
automagically with all its "automagic" gone?

Less importantly: couldn't the Grub installer be made to at least copy
your existing chainloading stanzas over to grub.cfg? Isn't that a
totally trivial thing to do, even for such a "work in progress" as the
Grub2 project currently is?

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Unpredictable behaviour of Sata in Lenny
    ... I am facing a weird problem in Lenny, till now I have been running Etch ... Two days ago I upgraded to Lenny, installation went ... The system booted to Grub, I chose linux to boot into ... "Sata link is down, taking too much time to respond." ...
    (Debian-User)
  • Re: RAID1 does not boot
    ... Installation finished. ... it going to effect any thing because i haven't work on grub 2 before. ... can help with lenny. ... 3/ Are you running Lenny or Squeeze? ...
    (Debian-User)
  • Re: How to make an upgraded system clean by automatically removing abandoned config files?
    ... but would not be installed in a fresh installation of squeeze. ... squeeze as in lenny, ... Find any cruft built up on your system ... `extra files' that can appear during the lifetime of various packages. ...
    (Debian-User)
  • RE: New Lenny installation: 800 x 600 max on 21-inch CRT monitor
    ... Subject: New Lenny installation: 800 x 600 max on 21-inch CRT ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: lenny boot problem
    ... On Sat, 16 Jan 2010, amka wrote: ... According to your lilo configuration Lenny is installed on sdc and sdb is Etch. ... installed during the lenny installation. ...
    (Debian-User)