Salut Alexis,
les différents kernel dans le zypp.conf c'est les "flavors" que l'on veut avoir 
en multi-version

cf mon menu.lst
il y a bien différents kernel ( -default -desktop ... et différentes versions)

ps, je met en copie à la liste pour d'autres.


On 01/06/2010 06:44 PM, Alexis Guéganno wrote:
> Salut!
> 
> Désolé, mais à moins que j'ai mal lu les commentaires (la langue de
> Shakespeare a plein de mystères pour moi), ça ne correspond pas vraiment...
> Si j'ai bien compris ce que tu veux faire, il s'agit, lors d'un update du
> kernel, de garder à la fois la version up-to-date et l'ancienne. Là tu vas
> juste autoriser des noyaux de différents types (pae, desktop...) à être
> présents en même temps OU (je suis pas sur, deuxième version plus probable)
> permettre l'utilisation de paquets utilisables pas plusieurs noyaux alors
> que des noyaux de différents types sont installés.
> 
> Prudence, donc ^_^
> 
> Cordialement,
> agemen.
> 
> Perso, dans /etc/zypp/zypp.conf, je lis ça :
> ##
> ## Packages which are parallel installable with
> ## diffent versions
> ##
> # multiversion = kernel-default,kernel-smp
> 
> 2010/1/6 Bruno Friedmann <[email protected]>
> 
>> On 01/06/2010 04:00 PM, Pierre Coutant wrote:
>>> Le 06/01/2010 15:51, Pierre Coutant a écrit :
>>>> Le 06/01/2010 09:58, Bruno Friedmann a écrit :
>>>>> On 01/06/2010 08:37 AM, Pierre Coutant wrote:
>>>>>> Bonjour,
>>>>>>
>>>>>> Suite à une mise à jour, ma machine a un nouveau noyau. Cela
>> fonctionne,
>>>>>> mais j'ai une question...
>>>>>> Si le nouveau noyau posait problème (cela arrive) je ne peux revenir
>> sur
>>>>>> l'ancien car il a disparu... La question est donc: comment conserver
>> laDés
>>>>>> version précédente du noyau lors d'une mise à jour ?
>>>>>> Merci de vos bons conseils
>>>>>
>>>>> editer le fichier
>>>>> /etc/zypp/zypp.conf
>>>>>
>>>>> Puis chercher multiversion
>>>>>
>>>>> ## For example the system would be broken if not glibc or kernel is
>>>>> ##         requires:kernel
>>>>> multiversion = kernel-default,kernel-pae,kernel-desktop
>>>>>
>>>>> Par contre je cherche encore à savoir comment désintaller en mode user
>>>>> une ancienne version sélectionné
>>>>>
>>>>
>>>> Il y a un mélange des genres... Je ne trouve pas ce fichier "
>>>> /etc/zypp/zypp.conf ". A vrai dire il n'y a pas de répertoire /etc/zypp.
>>>>
>>>> Je vais poursuivre mes recherches. Merci.
>>>>
>>>
>>> Désolé... Il s'agissait d'une mauvaise manip. J'ai trouvé le fichier en
>>> question.
>>> Il suffit donc de décommenter la lgne "  # multiversion =
>>> kernel-default,kernel-pae,kernel-desktop" n'est-ce pas ?
>>> Merci.
>>
>> Exactement
>>
>> --
>>
>> Bruno Friedmann  (aka tigerfoot on #irc)
>> Merci de ne répondre qu'à la liste !
>> --
>> To unsubscribe, e-mail: 
>> [email protected]<opensuse-fr%[email protected]>
>> For additional commands, e-mail: 
>> [email protected]<opensuse-fr%[email protected]>
>>
>>
> 
> 


-- 

     Bruno Friedmann

# Modified by YaST2. Last modification on Tue Jan  5 07:57:29 CET 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in 
/etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.8-0.1
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.8-0.1-desktop 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 
instmode=http 
resume=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part2 showopt 
splash=silent elevator=as usbcore.autosuspend=1 rootfstype=ext4 vga=0x31a
    initrd /boot/initrd-2.6.31.8-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.8-0.1 (desktop)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.8-0.1-desktop 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 showopts 
ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off 
highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.31.8-0.1-desktop


###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.8-0.1 (default)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.8-0.1-default 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 
instmode=http 
resume=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part2 showopt 
splash=silent elevator=as usbcore.autosuspend=1 rootfstype=ext4 vga=0x31a
    initrd /boot/initrd-2.6.31.8-0.1-default


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.8-0.1 (default)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.8-0.1-default 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 showopts 
ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off 
highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.31.8-0.1-default


###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.8-0.1 (pae)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.8-0.1-pae 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 
instmode=http 
resume=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part2 showopt 
splash=silent elevator=as usbcore.autosuspend=1 rootfstype=ext4 vga=0x31a
    initrd /boot/initrd-2.6.31.8-0.1-pae


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.8-0.1 (pae)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.8-0.1-pae 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 showopts 
ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off 
highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.31.8-0.1-pae


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 
instmode=http 
resume=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part2 showopt 
splash=silent elevator=as usbcore.autosuspend=1 rootfstype=ext4 vga=0x31a
    initrd /boot/initrd-2.6.31.5-0.1-desktop


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (desktop)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 showopts 
ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off 
highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.31.5-0.1-desktop


###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.5-0.1 (default)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-default 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 
instmode=http 
resume=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part2 showopt 
splash=silent elevator=as usbcore.autosuspend=1 vga=0x31a
    initrd /boot/initrd-2.6.31.5-0.1-default


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (default)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-default 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 showopts 
ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off 
highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.31.5-0.1-default


###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.5-0.1 (pae)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-pae 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 
instmode=http 
resume=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part2 showopt 
splash=silent elevator=as usbcore.autosuspend=1 vga=0x31a
    initrd /boot/initrd-2.6.31.5-0.1-pae


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (pae)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-pae 
root=/dev/disk/by-id/ata-WDC_WD3200BEKT-22F3T0_WD-WXM908SF0280-part3 showopts 
ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off 
highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.31.5-0.1-pae


###Don't change this comment - YaST2 identifier: Original name: floppy###
title Disquette
    rootnoverify (fd0)
    chainloader +1

Répondre à