Sticky GRUB problem

Frank McCormick fmccormick at videotron.ca
Sat Sep 23 19:34:24 UTC 2006


On Sat, 23 Sep 2006 21:08:26 +0200
Thilo Six <T.Six at gmx.de> wrote:

> Frank McCormick wrote the following on 23.09.2006 20:13:
> > Somewhat of a confusing problem but try to follow along with me :)
> > 
> > I have Dapper on one partition (hda3) and Edgy on another (hda2).
> > GRUB is in the MBR. Whenever the Dapper kernel is upgraded, GRUB
> > updates the menu.lst in Dapper, but not in /boot/grub in EDGY, so I
> > have to manually add the new kernel to the EDGY menu.lst. As a
> > matter of fact because GRUB is in the MBR, the Dapper menu.lst is
> > not even referenced. It's there because GRUB used to be in the
> > partition.
> > 
> > Is there a way around this manual cut/pasting?
>
> ls -l /
> 
> There you should have symlinks like this:
> lrwxrwxrwx   1 root  root    28 18.09.06 23:15 initrd.img ->
> boot/initrd.img-2.6.15-27-k7
> lrwxrwxrwx   1 root  root    25 18.09.06 23:15 vmlinuz ->
> boot/vmlinuz-2.6.15-27-k7
> 

   I have symlinks in the root of dapper and edgy, which one are you talking about ?


> e.g.
> You usually boot from Edgy (hda2) and use it´s grub, right?
> 

  Correct.

> Then you should have an entry there for dapper like this:
> 
> <--------------------------------------------------------
> title           Dapper
> root            (hd0,6)
> kernel          /boot/vmlinuz-2.6.15-27-k7 root=/dev/sda7 ro quiet
> initrd          /boot/initrd.img-2.6.15-27-k7
> savedefault
> boot
> -------------------------------------------------------->
> 
  Do you mean in menu.lst in Edgy? If so, yes there are entries for Dapper in the EDGY menu.lst.


> 
> but instead of pooting with absolut path to the image you can use the
> link in / (which gets updated automatically)
> 
> Your entry would then look like this:
> <--------------------------------------------------------
> title           Ubuntu II TEST
> root            (hd0,6)
> kernel          /vmlinuz root=/dev/sda7 ro quiet
> initrd          /initrd.img
> savedefault
> boot
> -------------------------------------------------------->

   I guess you mean to change the Dapper entry in the Edgy menu.lst to reference the symlinks in Dapper ??? Or do
you mean to change the Dapper entry to reference some NEW symlinks in Edgy's root.

> 
> Please note these are examples from here. Do not plain copy it over in
> your own config - and before doing so make backups.
> 


   Gawd I'd never do this...I have enough problems now :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060923/ebd659a0/attachment.pgp>


More information about the ubuntu-users mailing list