Updating grub menu lst

The problem didn't appear until update-grub was run on occasion of an system upgrade.Certainly the way update-grub is handling currently could be improved.Well I’m here to have made that mistake and can tell you what worked for me. At least if you choose incorrect, the message afterwards is pretty funny: Good luck and don’t make a cloud instance unbootable: it’s cruel.At my screen, these were my choices: The correct selection is /dev/xvda. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g.## altoptions=(single-user) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the *************** *** 96,134 **** ## memtest86=false # memtest86=true ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.15-1-686 ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda6 ro initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.15-1-686 (recovery mode) ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda6 ro single initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda6 ro initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 (recovery mode) ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda6 ro single initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel memtest86 ! kernel /boot/memtest86boot ### END DEBIAN AUTOMAGIC KERNELS LIST --- 107,163 ---- ## memtest86=false # memtest86=true ## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.16-2-686 root (hd0,6) kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hda7 ro initrd /boot/initrd.img-2.6.16-2-686 savedefault boot title Debian GNU/Linux, kernel 2.6.16-2-686 (recovery mode) root (hd0,6) kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hda7 ro single initrd /boot/initrd.img-2.6.16-2-686 savedefault boot title Debian GNU/Linux, kernel 2.6.15-1-686 ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda7 ro initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.15-1-686 (recovery mode) ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda7 ro single initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda7 ro initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 (recovery mode) ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda7 ro single initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel memtest86 ! kernel /boot/memtest86boot ### END DEBIAN AUTOMAGIC KERNELS LIST ================================================================ -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages grub depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libncurses5 5.5-2 Shared libraries for terminal hand grub recommends no packages.

EC2 won’t even display the system log in the AWS interface, it will just sit there and never come back up again.What has been (hd0,5) and /dev/hda6 was replaced by (hd0,6) and /dev/hda7 resulting in an unbootable system.This is the output of "diff -c menu.lst~ menu.lst" ================================================================ *** menu.lst~ Tue Aug 15 2006 --- Tue Aug 15 2006 *************** *** 78,87 **** ## e.g.-- no debconf information severity 383282 important retitle 383282 update-grub and current file are not user-friendly thanks, Hello, I believe the problem you are dealing with is due to a not very clear usage of as a configuration file for update-grub.Please look in you menu.lst, you'll find a line with: ### BEGIN AUTOMAGIC KERNELS LIST followed by some documentation on how to modify the parameters update-grub uses.

Search for updating grub menu lst:

updating grub menu lst-5updating grub menu lst-65updating grub menu lst-83updating grub menu lst-1

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “updating grub menu lst”