[ncolug] Re: Ubuntu 10.10 question

  • From: C Olson <techconsultant4u@xxxxxxxxx>
  • To: ncolug@xxxxxxxxxxxxx
  • Date: Tue, 26 Apr 2011 08:11:43 -0400

Grub is the issue here.

Ran this

/etc/grub.d/10_linux
Found linux image: /boot/vmlinuz-2.6.35-28-generic
Found initrd image: /boot/initrd.img-2.6.35-28-generic
menuentry 'GNU/Linux, with Linux 2.6.35-28-generic' --class gnu-linux --class gnu --class os {
    recordfail
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.

    linux    /boot/vmlinuz-2.6.35-28-generic root= ro
    initrd    /boot/initrd.img-2.6.35-28-generic
}
menuentry 'GNU/Linux, with Linux 2.6.35-28-generic (recovery mode)' --class gnu-linux --class gnu --class os {
    recordfail
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.

    echo    'Loading Linux 2.6.35-28-generic ...'
    linux    /boot/vmlinuz-2.6.35-28-generic root= ro single
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.35-28-generic
}
Found linux image: /boot/vmlinuz-2.6.35-27-generic
Found initrd image: /boot/initrd.img-2.6.35-27-generic
menuentry 'GNU/Linux, with Linux 2.6.35-27-generic' --class gnu-linux --class gnu --class os {
    recordfail
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.

    linux    /boot/vmlinuz-2.6.35-27-generic root= ro
    initrd    /boot/initrd.img-2.6.35-27-generic
}
menuentry 'GNU/Linux, with Linux 2.6.35-27-generic (recovery mode)' --class gnu-linux --class gnu --class os {
    recordfail
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.

    echo    'Loading Linux 2.6.35-27-generic ...'
    linux    /boot/vmlinuz-2.6.35-27-generic root= ro single
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.35-27-generic
}
Found linux image: /boot/vmlinuz-2.6.31-22-generic
Found initrd image: /boot/initrd.img-2.6.31-22-generic
menuentry 'GNU/Linux, with Linux 2.6.31-22-generic' --class gnu-linux --class gnu --class os {
    recordfail
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.

    linux    /boot/vmlinuz-2.6.31-22-generic root= ro
    initrd    /boot/initrd.img-2.6.31-22-generic
}
menuentry 'GNU/Linux, with Linux 2.6.31-22-generic (recovery mode)' --class gnu-linux --class gnu --class os {
    recordfail
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.

    echo    'Loading Linux 2.6.31-22-generic ...'
    linux    /boot/vmlinuz-2.6.31-22-generic root= ro single
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.31-22-generic
}


 sudo /var/lib/dpkg/info/linux-image-2.6.31-22-generic.postrm

Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
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.35-28-generic
Found kernel: /boot/vmlinuz-2.6.35-27-generic
Found kernel: /boot/vmlinuz-2.6.31-22-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.31-22-generic /boot/vmlinuz-2.6.31-22-generic

Afterword I am not able to boot only 31-22 and below are in the menu still. I have to press e to edit and change them to 35-28 and it will boot up. On screen it says that it is grub 1.97 beta4, I ran a command to see what grub was installed and it states 0.97. (grub-install -v
grub-install (GNU GRUB 0.97)
)

How and where do I change this so I can boot without having to change it with 'e' every time I boot?

Thanks,

Cory

"For all the ways in which technology has failed to improve the quality of life, 
please press three." --Alice Kuhn


On 04/25/2011 11:37 PM, nor thern wrote:

--- On Mon, 4/25/11, C Olson<techconsultant4u@xxxxxxxxx>  wrote:

From: C Olson<techconsultant4u@xxxxxxxxx>
Subject: [ncolug] Re: Ubuntu 10.10 question
To: ncolug@xxxxxxxxxxxxx
Date: Monday, April 25, 2011, 6:55 PM
This is what shows installed in
Synaptic Package Manager

Linux kernel image for version 2.6.31-22-generic
2.6.31-22.70 (114M) on
x86/x86_64
Linux kernel image for version 2.6.35-27-generic
2.6.35-27.48 (139M) on
x86/x86_64
Linux kernel image for version 2.6.35-28-generic
2.6.35-28.50 (139M) on
x86/x86_64

So why would these updated images not show in Grub menu as
a selection?
https://help.ubuntu.com/community/Grub2
On a new install of Ubuntu 9.10 or 10.04 with no other installed operating 
system, GRUB 2 will boot directly to the login prompt or Desktop. No menu will 
be displayed, even if multiple kernels are installed and later.

Hold down SHIFT to display the menu during boot (formerly ESC in GRUB legacy).

To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in the 
Subject field.


To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in the 
Subject field.

Other related posts: