i had various kernels in grub menu (not grub 2) : 3.4 , 3.5.0, 3.6.5 and i was using the last one when came an update for 3.6.6 . I installed it but after rebooting the os erased some menu.lst lines and left only 2 kernels available : 3.4 and 3.5.0 , thus booting in 3.5.0 instead of 3.6.6 .
How come ?
To be honest: thatās quite a mess. F.e. libreoffice has two repos, stable and unstable. AFAICS you upgraded with a load of repos active, where doing so is strongly advised against. My guess is that your system has packages from all over the repos, which makes it hard to say anything decent about the current issues
As Far As I Can See
I made the statement based on the reappearing "12.1"strings in the first column of your output.
Are repos not to be used ? :sarcastic:
Depends on which repos, and at what moment. Recent example: a user added a repo containing a 32bit kernel version only, installed that kernel on his 64bit system by force, then posted that things dd not work as expected. Another one: in the upgrade instructions here SDB:System upgrade - openSUSE you find that you have to disable all repos, then add the ones for 12.2. Did you follow these instructions, or did you just change ā12.1ā to ā12.2ā and ran a zypper command?
please show me your repos using the same command, and describe the process youāre mentionning
Again, Iāll be honest, theyāre a mess too. But ā¦ this is not my production install, but my forums-purpose-sandboxing-testing laptop install This machine has a dual graphics config (Intel + NVIDIA) using Bumblebee. The repos I use in my production install are marked in red. The mess of repos here is caused by stuff installed to see if I could help users in the forums. The reason for seeing both GNOME and KDE installed is the same.
knurpht@laptop:~> zypper lr -d
# | Alias | Naam | Ingeschakeld | Vernieuwen | Prioriteit | Type | URI | Service
---+-----------------------------+------------------------------------------+--------------+------------+------------+----------+--------------------------------------------------------------------------------------------------------+--------
1 | Bumblebee | Bumblebee | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/home:/Overman79/openSUSE_Tumbleweed/ |
2 | GNOME36 | GNOME36 | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/GNOME:/STABLE:/3.6/openSUSE_12.2/ |
3 | KDE49 | KDE49 | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Release:/49/openSUSE_12.2/ |
4 | KDE49Extra | KDE49Extra | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/KDE_Release_49_openSUSE_12.2/ |
5 | KDE:KDE3 | KDE:KDE3 | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.2/ |
6 | NVIDIA | NVIDIA | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/home:/Bumblebee-Project:/nVidia:/latest/openSUSE_Tumbleweed/ |
7 | RPMS | RPMS | Ja | Ja | 99 | plaindir | dir:///Extra/Install/RPMS |
8 | RazorQt | Tumbleweed RazorQt | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/QtDesktop/openSUSE_Tumbleweed/ |
9 | Subpixelhinting-TW | Subpixelhinting-TW | Ja | Ja | 99 | rpm-md | http://repos.opensuse-community.org/subpixel/openSUSE_Tumbleweed/ |
10 | Tumbleweed | Tumbleweed | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
11 | download.opensuse.org-games | openSUSE BuildService - Spellen | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/ |
12 | download.opensuse.org-perl | openSUSE BuildService - devel:talen:perl | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.2/ |
13 | google-earth | google-earth | Ja | Ja | 99 | rpm-md | http://dl.google.com/linux/earth/rpm/stable/x86_64 |
14 | home:please_try_again | home:please_try_again | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/home:/please_try_again/openSUSE_12.2/ |
15 | packman.inode.at-suse | Tumbleweed Packman | Ja | Ja | 99 | rpm-md | http://ftp5.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |
16 | repo-non-oss | openSUSE-12.2-Non-Oss | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/openSUSE-current/repo/non-oss/ |
17 | repo-oss | openSUSE-12.2-Oss | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/openSUSE-current/repo/oss/ |
18 | repo-update | openSUSE-12.2-Update | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/openSUSE-current/ |
19 | repo-update-non-oss | openSUSE-12.2-Update-Non-Oss | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/openSUSE-non-oss-current/ |
20 | utilities | utilities | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/utilities/openSUSE_12.2/ |
In fact forget about the āAliasā column, it got you confused, itās ko i know this but i never use this information, also i made the stable libre office unavailable now so that itās not gonna disturb anymore
iām not talking of an upgrade from 12.1 to 12.2 .
Iām already in 12.2 which i did with 3 repos using zypper dup , after this i reactivated all the usual repos changing the urls for 12.2 , only the alias i did not correct (which might be confusing i agree, but iām usually not using it, only the ānameā column of the repo).
Also, Iām often times upgrading kernel smoothly and system is actually going well under 3.5.0 . Iām only wondering about what happened when i made the upgrade from 3.6.5 to 3.6.6 .
in fact as i said i had 4 kernels : 3.4, 3.5.0, 3.6.5 and then 3.6.6 which it seems was too much ( 4*2 = 8 lines in grub menu.lst , with the safe mode line ) .
I think there was too much kernels there and some option (which iām looking for) is certainly erasing some lines at a certain point ā¦
On 2012-11-11 15:26, manchette fr wrote:
>
> In fact forget about the āAliasā column, it got you confused, itās ko i
> know this but i never use this information, also i made the stable libre
> office unavailable now so that itās not gonna disturb anymore
The alias is used to name the directories under ā/var/cache/zypp/ā - if
you have to use them, you will be confused.
> I think there was too much kernels there and some option (which iām
> looking for) is certainly erasing some lines at a certain point ā¦
I donāt know about grub 2, but with grub 1 I keep a copy of menu.lst
just before of a kernel update/upgrade. I donāt trust those scripts.
ā
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 āCeladonā (Minas Tirith))
Let me say that towards the end of using Grub Legacy in openSUSE 12.1, I did notice that if you had near six or more kernel entries, it would stop showing them all to you and so it is some kind of bug with the old grub. I have not paid much attention lately now that we are using Grub 2. I think that if using Grub Legacy with openSUSE 12.2, you may be out on your own there and need to remove any unneeded kernels manually. Just use YaST if the kernels were installed from there which you no longer need. Anyone installing kernels using SAKC can get rid of the extraās using SAKR.
> Let me say that towards the end of using Grub Legacy in openSUSE 12.1,
> I did notice that if you had near six or more kernel entries, it would
> stop showing them all to you and so it is some kind of bug with the old
> grub.
They should scroll up/dn
ā
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 āCeladonā (Minas Tirith))
As robin said : they *should *, how come the y did not ?
iāve seen a parameter that says āremove old kernelsā somewhere, does it ring a bell for you ? i canāt remember where it is .
Whatās IIRC ? the more you use these abbreviations the less non english speakers will understand you.
What do you mean by reconfiguring ? and reinstalling grub 1 ?
no, i 've not tried any of these.
by the way zypper dup kept me with grub (the old one) i canāt see any reason to change this so far, though this might come
by the way : my menu.lst
sudo cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Wed Nov 7 16:00:12 CET 2012
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader
###YaST update: removed default
default 0
timeout 5
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.1 - 3.5.0-1.16
root (hd0,1)
kernel /boot/vmlinuz-3.5.0-1.16-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 resume=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part1 quiet showopts vga=0x345
initrd /boot/initrd-3.5.0-1.16-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.1 - 3.5.0-1.16
root (hd0,1)
kernel /boot/vmlinuz-3.5.0-1.16-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345
initrd /boot/initrd-3.5.0-1.16-desktop
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.1 - 3.4.0-1.9
root (hd0,1)
kernel /boot/vmlinuz-3.4.0-1.9-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 resume=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part1 splash=silent quiet showopts vga=0x345
initrd /boot/initrd-3.4.0-1.9-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.1 - 3.4.0-1.9
root (hd0,1)
kernel /boot/vmlinuz-3.4.0-1.9-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345
initrd /boot/initrd-3.4.0-1.9-desktop
I see entries for openSUSE 12.1 there and not for 12.2 so I guess I am not for sure what we are talking about as based on the menu.lst file this is still openSUSE 12.1
i told you above iām in 12.2, the rest is yast or the systemās job , i haventā seen this before, i would have corrected it, but looks like there are some tiny mistakes in the *titles *
On 2012-11-11 19:06, manchette fr wrote:
>
> As robin said : they -should -, how come the y did not ?
>
> iāve seen a parameter that says āremove old kernelsā somewhere, does it
> ring a bell for you ? i canāt remember where it is .
Yes, a setting in zypper when you have multiversion enabled. /etc/
zyā¦something
> Whatās IIRC ? the more you use these abbreviations the less non english
> speakers will understand you.
They are standard internet slang
That one means āIf I recall correctlyā. There are many, google or the
wikipedia tell you what they mean. There is also a site that list them,
I forget which.
> by the way : my menu.lst
I would simply add the entries you miss, manually, and forget it.
ā
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 āCeladonā (Minas Tirith))
On 2012-11-11 21:06, manchette fr wrote:
>
> i told you above iām in 12.2, the rest is yast or the systemās job , i
> haventā seen this before, i would have corrected it, but looks like
> there are some tiny mistakes in the -titles -
You should check in depth that file. Check that the kernels do exist,
for instance. If the entries point to files you donāt have, then you are
not using grub 1
ā
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 āCeladonā (Minas Tirith))
i changed the menu.lst manually to add the 3.6.6-1-desktop kernel (0)
*what do i need next ? mkinitrd ? *
i reboot with this kernel and the pc works ok, but after a while the screen is turned off , no more keyboard is available then and i saw no message error in
/var/log/messages, nor in /var/log/Xorg.0.log
itās a desktop pc and i did not touch energy settings, i guess thereās a problem with the kernel/driver combination , even though systemd runs fgrlxrebuild dervice at boot (iām using fglrx legacy with amd hd 4850 gc (1) .
where/what should i be looking for ? (i greped for fglrx and EE)
*thanks *
(0)
cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Wed Nov 7 16:00:12 CET 2012
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader
###YaST update: removed default
default 0
timeout 5
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.2 - 3.6.6-1
root (hd0,1)
kernel /boot/vmlinuz-3.6.6-1-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 resume=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part1 quiet showopts vga=0x345
initrd /boot/initrd-3.6.6-1-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.2 - 3.6.6-1
root (hd0,1)
kernel /boot/vmlinuz-3.6.6-1-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345
initrd /boot/initrd-3.6.6-1-desktop
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.2 - 3.5.0-1.16
root (hd0,1)
kernel /boot/vmlinuz-3.5.0-1.16-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 resume=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part1 quiet showopts vga=0x345
initrd /boot/initrd-3.5.0-1.16-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.2 - 3.5.0-1.16
root (hd0,1)
kernel /boot/vmlinuz-3.5.0-1.16-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345
initrd /boot/initrd-3.5.0-1.16-desktop
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.2 - 3.4.0-1.9
root (hd0,1)
kernel /boot/vmlinuz-3.4.0-1.9-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 resume=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part1 splash=silent quiet showopts vga=0x345
initrd /boot/initrd-3.4.0-1.9-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.2 - 3.4.0-1.9
root (hd0,1)
kernel /boot/vmlinuz-3.4.0-1.9-desktop root=/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345
initrd /boot/initrd-3.4.0-1.9-desktop
(1)
Graphics: Card: Advanced Micro Devices [AMD] nee ATI RV770 [Radeon HD 4850]
X.org: 1.12.3 driver: fglrx tty size: 236x68 Advanced Data: N/A for root
On 2012-11-12 15:46, manchette fr wrote:
>
> i changed the menu.lst manually to add the 3.6.6-1-desktop kernel (0)
>
> -what do i need next ? mkinitrd ? -
Nothing. Why mkinitrd?
> i reboot with this kernel and the pc works ok, but after a while the
> screen is turned off , no more keyboard is available then and i saw no
> message error in
> /var/log/messages, nor in /var/log/Xorg.0.log
Well, thatās a completely different problem.
ā
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 āCeladonā (Minas Tirith))