Kirjoittaja Aihe: Grubiin ei päivity uudet kernelit.  (Luettu 4233 kertaa)

Topelius

  • Käyttäjä
  • Viestejä: 358
    • Profiili
Grubiin ei päivity uudet kernelit.
« : 19.10.09 - klo:10.23 »
Jostain syystä karmicin uudet kernelit eivät päivity grubbiin. Käytössä on edelleen tuo .11 versio vaikka päivitysten mukana on tullut jo versio .14.  Grubista ei edes löyty vaihtoehtoja uudelle kerneleille

Miten tuota grubia saisi päivitettyä?

Storck

  • Vieras
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #1 : 19.10.09 - klo:10.25 »
Koodia: [Valitse]
sudo update-grub

Topelius

  • Käyttäjä
  • Viestejä: 358
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #2 : 19.10.09 - klo:11.42 »
Mutta jostain syystä tuollakaan komennolla ne eivät päivity grubbiin

Searching for GRUB installation directory ... found: /boot/grub


Koodia: [Valitse]
sudo update-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.31-14-generic
Found kernel: /boot/vmlinuz-2.6.31-12-generic
Found kernel: /boot/vmlinuz-2.6.31-11-generic
Found kernel: /boot/vmlinuz-2.6.31-10-generic
Found kernel: /boot/vmlinuz-2.6.31-9-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Mutta silti todellisuudessa 2.6.31-11 on uusin kerneli minkä voi valita. Vaikuttaako asiaan dual boot mitenkään?

Storck

  • Vieras
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #3 : 19.10.09 - klo:11.45 »
Mitäs sanoo
Koodia: [Valitse]
sudo apt-get autoremove ja
Koodia: [Valitse]
sudo apt-get autoclean ?
ja vaikka niiden jälkeen päivität grubin

Topelius

  • Käyttäjä
  • Viestejä: 358
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #4 : 19.10.09 - klo:12.50 »
Sama juttu. Vieläkin .11 on uusin kerneli jonka voi grubista valita

Storck

  • Vieras
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #5 : 19.10.09 - klo:13.33 »

Topelius

  • Käyttäjä
  • Viestejä: 358
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #6 : 19.10.09 - klo:13.54 »
Yhyy, ei vieläkään.

nm

  • Käyttäjä
  • Viestejä: 16232
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #7 : 19.10.09 - klo:14.06 »
Näytä /boot/grub/menu.lst

Näyttää kyllä siltä että sinulla on vanha Grub ja Grub 2 asennettuna jotenkin päällekkäin.
« Viimeksi muokattu: 19.10.09 - klo:14.09 kirjoittanut nm »

Storck

  • Vieras
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #8 : 19.10.09 - klo:14.11 »
Näytä /boot/grub/menu.lst

Näyttää kyllä siltä että sinulla on vanha Grub ja Grub 2 asennettuna jotenkin päällekkäin.

Taitaa olla GRUB2, ei toimi tuo.... (jos..)

Topelius

  • Käyttäjä
  • Viestejä: 358
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #9 : 19.10.09 - klo:14.12 »
Koodia: [Valitse]
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=ec00da21-950c-422a-a756-e7c096b639d2

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. 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=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu karmic (development branch), kernel 2.6.31-14-generic
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic

title Ubuntu karmic (development branch), kernel 2.6.31-14-generic (recovery mode)
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro  single
initrd /boot/initrd.img-2.6.31-14-generic

title Ubuntu karmic (development branch), kernel 2.6.31-12-generic
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-12-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro quiet splash
initrd /boot/initrd.img-2.6.31-12-generic

title Ubuntu karmic (development branch), kernel 2.6.31-12-generic (recovery mode)
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-12-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro  single
initrd /boot/initrd.img-2.6.31-12-generic

title Ubuntu karmic (development branch), kernel 2.6.31-11-generic
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-11-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro quiet splash
initrd /boot/initrd.img-2.6.31-11-generic

title Ubuntu karmic (development branch), kernel 2.6.31-11-generic (recovery mode)
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-11-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro  single
initrd /boot/initrd.img-2.6.31-11-generic

title Ubuntu karmic (development branch), kernel 2.6.31-10-generic
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-10-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro quiet splash
initrd /boot/initrd.img-2.6.31-10-generic

title Ubuntu karmic (development branch), kernel 2.6.31-10-generic (recovery mode)
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-10-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro  single
initrd /boot/initrd.img-2.6.31-10-generic

title Ubuntu karmic (development branch), kernel 2.6.31-9-generic
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-9-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro quiet splash
initrd /boot/initrd.img-2.6.31-9-generic

title Ubuntu karmic (development branch), kernel 2.6.31-9-generic (recovery mode)
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/vmlinuz-2.6.31-9-generic root=UUID=ec00da21-950c-422a-a756-e7c096b639d2 ro  single
initrd /boot/initrd.img-2.6.31-9-generic

title Chainload into GRUB 2
root ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/grub/core.img

title Ubuntu karmic (development branch), memtest86+
uuid ec00da21-950c-422a-a756-e7c096b639d2
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

1,97 versio näyttää olevan grubista käytössä

nm

  • Käyttäjä
  • Viestejä: 16232
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #10 : 19.10.09 - klo:14.45 »
Juu, GRUB 2 on asennettuna ja MBR:ssä, mutta jostain syystä update-grub on vanha. Näytäpä mitä grub-paketteja on asennettuna:

Koodia: [Valitse]
dpkg -l grub*

Topelius

  • Käyttäjä
  • Viestejä: 358
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #11 : 20.10.09 - klo:08.24 »
Koodia: [Valitse]
ii  grub           0.97-29ubuntu5 GRand Unified Bootloader
ii  grub-common    1.97~beta4-1ub GRand Unified Bootloader, version 2 (common
un  grub-coreboot  <ei mitään>  (kuvausta ei saatavilla)
un  grub-doc       <ei mitään>  (kuvausta ei saatavilla)
un  grub-efi       <ei mitään>  (kuvausta ei saatavilla)
un  grub-efi-amd64 <ei mitään>  (kuvausta ei saatavilla)
un  grub-efi-ia32  <ei mitään>  (kuvausta ei saatavilla)
un  grub-emu       <ei mitään>  (kuvausta ei saatavilla)
un  grub-ieee1275  <ei mitään>  (kuvausta ei saatavilla)
un  grub-legacy    <ei mitään>  (kuvausta ei saatavilla)
un  grub-legacy-do <ei mitään>  (kuvausta ei saatavilla)
un  grub-linuxbios <ei mitään>  (kuvausta ei saatavilla)
rc  grub-pc        1.97~beta3-1ub GRand Unified Bootloader, version 2 (PC/BIOS
un  grub2          <ei mitään>  (kuvausta ei saatavilla)


Siis miten tuon grub2 saa pelkästään käyttään?

synapticin mukaan koneessa on vain grup ja grup-common paketit asennettu....
« Viimeksi muokattu: 20.10.09 - klo:08.28 kirjoittanut Topelius »

Topelius

  • Käyttäjä
  • Viestejä: 358
    • Profiili
Vs: Grubiin ei päivity uudet kernelit.
« Vastaus #12 : 20.10.09 - klo:09.02 »
JOo kiitoksia, nyt alkoi grub toimimaan :)