Ubuntu 8.04, update kernelu 2.6.24-17

Sekcia: Aplikácie & Desktop 21.09.2008 | 14:17
Johny Vozár   Návštevník
Ahojte linuxaci, neviete mi poradit s jednym problemom, co mam v distribucii Ubuntu 8.04.:

Neide mi updatovat kernel. Stale mam verziu 2.6.24-17. Vzdy sa stiahne nova verzia kernelu a ulozi sa do /boot/grub/. Tam mam ulozene verzie 2.6.24-18 a 2.6.24-19.Ak napisem

do terminalu prikaz uname -a

, tak mi vypise verziu 2.6.24-17.
Neviete preco to neupdatuje kernel? Kde sa to nastavuje? Da sa to dakde vypnut v grafickom rezime,lebo mozno som to vypol a nevsimol som si. :-(
Mate niekto podobny problem s Ubuntu 8.04 ako ja? Ako ste to riesili?
    • Re: Ubuntu 8.04, update kernelu 2.6.24-17 21.09.2008 | 15:05
      bob   Návštevník
      lol, ked ti startuje PC treba vybrat kernel, kedze ubuntu ma hiddenmenu nastavene, tak volbu nevidis, musis stlacit Esc a tam by si mal mat na vyber.
    • Re: Ubuntu 8.04, update kernelu 2.6.24-17 21.09.2008 | 15:24
      Avatar Stanislav Hoferek Greenie, Manjaro, Q4OS, Lubuntu  Používateľ
      restart pc :)
      • Re: Ubuntu 8.04, update kernelu 2.6.24-17 21.09.2008 | 19:13
        Johny Vozár   Návštevník
        Restartoval som PC. Skusal som aj pri starte GRUBu stlacit e a editaciou prepisat 2.6.24.17 na 2.6..24.19. Stale nic. Dokonca mi to ani nezeditovalo nic. Pri starte mi na vyber v GRUBe zostava 2.6.24.17
        • Re: Ubuntu 8.04, update kernelu 2.6.24-17 21.09.2008 | 19:43
          Avatar Stanislav Hoferek Greenie, Manjaro, Q4OS, Lubuntu  Používateľ
          posli nam zoznam suborov ake mas v /boot
          • Re: Ubuntu 8.04, update kernelu 2.6.24-17 22.09.2008 | 23:46
            Johny Vozár   Návštevník
            Moj zoznam suborov v /boot pomcou prikazu ls -la

            janvozar@titan:~$ ls -la /boot
            celkom 72120
            drwxr-xr-x 3 root root 4096 2008-09-15 23:43 .
            drwxr-xr-x 22 root root 4096 2008-09-18 08:44 ..
            -rw-r--r-- 1 root root 422607 2008-04-10 18:51 abi-2.6.24-16-generic
            -rw-r--r-- 1 root root 422667 2008-05-01 19:59 abi-2.6.24-17-generic
            -rw-r--r-- 1 root root 422667 2008-05-29 04:39 abi-2.6.24-18-generic
            -rw-r--r-- 1 root root 422667 2008-08-21 06:46 abi-2.6.24-19-generic
            -rw-r--r-- 1 root root 79964 2008-04-10 18:51 config-2.6.24-16-generic
            -rw-r--r-- 1 root root 80071 2008-05-01 19:59 config-2.6.24-17-generic
            -rw-r--r-- 1 root root 80071 2008-05-29 04:39 config-2.6.24-18-generic
            -rw-r--r-- 1 root root 80049 2008-08-21 06:46 config-2.6.24-19-generic
            drwxr-xr-x 2 root root 4096 2008-09-22 19:25 grub
            -rw-r--r-- 1 root root 7891278 2008-05-08 00:07 initrd.img-2.6.24-16-generic
            -rw-r--r-- 1 root root 7349268 2008-04-22 20:00 initrd.img-2.6.24-16-generic.bak
            -rw-r--r-- 1 root root 7500628 2008-06-10 20:24 initrd.img-2.6.24-17-generic
            -rw-r--r-- 1 root root 7461179 2008-05-28 15:36 initrd.img-2.6.24-17-generic.bak
            -rw-r--r-- 1 root root 7501293 2008-06-10 20:23 initrd.img-2.6.24-18-generic
            -rw-r--r-- 1 root root 7501051 2008-06-10 13:16 initrd.img-2.6.24-18-generic.bak
            -rw-r--r-- 1 root root 7501977 2008-09-15 21:24 initrd.img-2.6.24-19-generic
            -rw-r--r-- 1 root root 7501862 2008-08-12 10:13 initrd.img-2.6.24-19-generic.bak
            -rw-r--r-- 1 root root 103204 2007-09-28 12:06 memtest86+.bin
            -rw-r--r-- 1 root root 4576 2008-06-17 07:43 menu.lst_original
            -rw-r--r-- 1 root root 899892 2008-04-10 18:51 System.map-2.6.24-16-generic
            -rw-r--r-- 1 root root 905012 2008-05-01 19:59 System.map-2.6.24-17-generic
            -rw-r--r-- 1 root root 905012 2008-05-29 04:39 System.map-2.6.24-18-generic
            -rw-r--r-- 1 root root 905170 2008-08-21 06:46 System.map-2.6.24-19-generic
            -rw-r--r-- 1 root root 1904248 2008-04-10 18:51 vmlinuz-2.6.24-16-generic
            -rw-r--r-- 1 root root 1921944 2008-05-01 19:59 vmlinuz-2.6.24-17-generic
            -rw-r--r-- 1 root root 1921528 2008-05-29 04:39 vmlinuz-2.6.24-18-generic
            -rw-r--r-- 1 root root 1921464 2008-08-21 06:46 vmlinuz-2.6.24-19-generic
            janvozar@titan:~$
        • Re: Ubuntu 8.04, update kernelu 2.6.24-17 22.09.2008 | 02:55
          Avatar Laco Debian Lenny  Používateľ
          sudo update-grub
          sudo reboot
        • Re: Ubuntu 8.04, update kernelu 2.6.24-17 22.09.2008 | 13:51
          ---   Návštevník
          co mas v /boot/grub/menu.lst ? Ak mas spravne nainstalovanych viac jadier, mal by si tam mat pre kazde jeden zaznam.
          • Re: Ubuntu 8.04, update kernelu 2.6.24-17 22.09.2008 | 23:41
            Johny Vozár   Návštevník
            V menu.lst mam toto:
            # 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 4

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

            ## 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=36620f99-6ee5-4a70-98fa-1c90fb2be444 ro

            ## Setup crashdump menu entries
            ## e.g. crashdump=1
            # crashdump=0

            ## default grub root device
            ## e.g. groot=(hd0,0)
            # groot=(hd0,4)

            ## 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

            ## 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 8.04, kernel 2.6.24-17-generic
            root (hd0,4)
            kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=36620f99-6ee5-4a70-98fa-1c90fb2be444 ro quiet splash
            initrd /boot/initrd.img-2.6.24-17-generic
            quiet

            title Ubuntu 8.04, kernel 2.6.24-17-generic (recovery mode)
            root (hd0,4)
            kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=36620f99-6ee5-4a70-98fa-1c90fb2be444 ro single
            initrd /boot/initrd.img-2.6.24-17-generic

            title Ubuntu 8.04, memtest86+
            root (hd0,4)
            kernel /boot/memtest86+.bin
            quiet

            ### END DEBIAN AUTOMAGIC KERNELS LIST

            # This is a divider, added to separate the menu items below from the Debian
            # ones.
            title Other operating systems:
            root


            # This entry automatically added by the Debian installer for a non-linux OS
            # on /dev/sda1
            title Microsoft Windows XP Professional
            root (hd0,0)
            savedefault
            makeactive
            chainloader +1
            • Re: Ubuntu 8.04, update kernelu 2.6.24-17 23.09.2008 | 04:12
              Avatar Laco Debian Lenny  Používateľ
              co tak pridat manualne:

              title Ubuntu 8.04, kernel 2.6.24-19-generic
              root (hd0,4)
              kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=36620f99-6ee5-4a70-98fa-1c90fb2be444 ro quiet splash
              initrd /boot/initrd.img-2.6.24-19-generic
              quiet

              title Ubuntu 8.04, kernel 2.6.24-19-generic (recovery mode)
              root (hd0,4)
              kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=36620f99-6ee5-4a70-98fa-1c90fb2be444 ro single
              initrd /boot/initrd.img-2.6.24-19-generic