[Bug 73966] Re: [patch] update-grub is broken

2006-12-20 Thread Colin Watson
*** This bug is a duplicate of bug 73906 ***

I think the patch in bug 73906 is closer - but in any case, same bug.

** This bug has been marked a duplicate of bug 73906
   update-grub doesn't add recovery anymore

-- 
[patch] update-grub is broken
https://launchpad.net/bugs/73966

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 73966] Re: [patch] update-grub is broken

2006-12-19 Thread Tormod Volden
For those interested, it's a bash thing, with -e bash will abort on an
exhausted shift, without -e it will just leave an empty $1.

-- 
[patch] update-grub is broken
https://launchpad.net/bugs/73966

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 73966] Re: [patch] update-grub is broken

2006-12-19 Thread Pascal De Vuyst
** Changed in: grub (Ubuntu)
   Importance: Undecided => High

-- 
[patch] update-grub is broken
https://launchpad.net/bugs/73966

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 73966] Re: [patch] update-grub is broken

2006-12-19 Thread Randakar

That workaround probably should read 'remove linux-image-kdump OR set 
#alternatives=false in /boot/grub/menu.list' ;-)

Nonetheless, good work. Thanks.

-- 
[patch] update-grub is broken
https://launchpad.net/bugs/73966

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 73966] Re: [patch] update-grub is broken

2006-12-19 Thread Tormod Volden
** Summary changed:

- [Feisty] update-grub fails mysteriously on feisty
+ [patch] update-grub is broken

** Description changed:

  Binary package hint: grub
  
  
  The 2.6.19-7 kernel package fails to run update-grub properly. Or perhaps 
update-grub fails because somebody broke it ;-). 
  
  Both were updated to new versions today (grub version:  0.97-19ubuntu1)
  
  The error message is this:
  
  ---
  [EMAIL PROTECTED]:/boot# aptitude install linux-image-generic
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  Reading extended state information   
  Initializing package states... Done
  Building tag database... Done  
  The following NEW packages will be automatically installed:
linux-image-2.6.19-7-generic 
  The following NEW packages will be installed:
linux-image-2.6.19-7-generic linux-image-generic 
  0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0B/23.0MB of archives. After unpacking 68.2MB will be used.
  Do you want to continue? [Y/n/?] Y
  Writing extended state information... Done
  Preconfiguring packages ...
  Selecting previously deselected package linux-image-2.6.19-7-generic.
  (Reading database ... 167548 files and directories currently installed.)
  Unpacking linux-image-2.6.19-7-generic (from 
.../linux-image-2.6.19-7-generic_2.6.19-7.10_i386.deb) ...
  Done.
  Selecting previously deselected package linux-image-generic.
  Unpacking linux-image-generic (from 
.../linux-image-generic_2.6.19.2_i386.deb) ...
  Setting up linux-image-2.6.19-7-generic (2.6.19-7.10) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.19-7-generic
  Running postinst hook /usr/sbin/update-grub.
  Searching for GRUB installation directory ... found: /boot/grub
  Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  Searching for splash image ... none found, skipping ...
  Found kernel: /boot/vmlinuz-2.6.19-7-generic
  User hook script /usr/sbin/update-grub failed at 
/var/lib/dpkg/info/linux-image-2.6.19-7-generic.postinst line 1201.
  
  
  Running the /usr/sbin/update-grub script by hand gives me as output:
  
  ---
  [EMAIL PROTECTED]:/boot# /usr/sbin/update-grub 
  Searching for GRUB installation directory ... found: /boot/grub
  Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  Searching for splash image ... none found, skipping ...
  Found kernel: /boot/vmlinuz-2.6.19-7-generic
  [EMAIL PROTECTED]:/boot# 
  ---
  
  The disturbing thing is that I have a number of kernels but only the new
  one is listed.
  
  If I reboot the new kernel does NOT show up in the grub menu; Instead it
  shows all the old boot options, suggesting update-grub did not actually
  update grub.
+ 
+ 
+ Workaround: uninstall kdump and set #alternative=false in menu.lst

-- 
[patch] update-grub is broken
https://launchpad.net/bugs/73966

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs