Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/07/2006, à 19:53

Gdmat

Kernel optimisé

Bonjour à tous ! smile

J'ai suivi les indications données sur cette page :
http://doc.ubuntu-fr.org/installation/kernel_optimise
mais j'ai un soucis à ce moment là hmm :

sudo apt-get install linux-image-686

J'ai comme réponse du système :

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Les NOUVEAUX paquets suivants seront installés :
  linux-image-686
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 22,5ko dans les archives.
Après dépaquetage, 49,2ko d'espace disque supplémentaires seront utilisés.
Err http://security.ubuntu.com breezy-security/main linux-image-686 2.6.12.16.1
  Connexion à security.ubuntu.com: 80 (1.0.0.0) impossible. - connect (101 Le réseau n'est pas accessible.)
Impossible de récupérer http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-image-686_2.6.12.16.1_i386.deb  Connexion à security.ubuntu.com: 80 (1.0.0.0) impossible. - connect (101 Le réseau n'est pas accessible.)
E: Impossible de récupérer quelques archives, peut-être devrez-vous lancer apt-get update ou essayer avec --fix-missing ?

De plus, lorsque je demande la réctualisation des mises à jour disponible, voici ce que j'obtiens :

Échec du téléchargement de tous les fichiers d'index

Le dépôt ne semple plus être disponible ou ne peut être contacté à cause de problèmes réseau. S'il existe un fichier d'index plus ancien il sera utilisé. Sinon, le dépôt sera ignoré. Vérifiez votre connexion réseau et corrigez l'adresse du dépôt dans les préférences.


Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#2 Le 28/07/2006, à 20:41

sbrunner

Re : Kernel optimisé

Hello tu à quoi comme fichier /etc/apt/sources.list ?

Hors ligne

#3 Le 28/07/2006, à 22:12

Gdmat

Re : Kernel optimisé

Voilà :

deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


deb http://fr.archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu breezy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://fr.archive.ubuntu.com/ubuntu breezy universe
deb-src http://fr.archive.ubuntu.com/ubuntu breezy universe

deb http://fr.archive.ubuntu.com/ubuntu breezy multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu breezy multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe

deb http://security.ubuntu.com/ubuntu breezy-security multiverse
deb-src http://security.ubuntu.com/ubuntu breezy-security multiverse

## PLF repositories, contains litigious packages, see http://wiki.ubuntu-fr.org/doc/plf
deb http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free

## Freecontrib, funny packages by the Ubuntu PLF Team
deb http://antesis.freecontrib.org/mirrors/ubuntu/freecontrib/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/freecontrib/ breezy free non-free

Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#4 Le 29/07/2006, à 03:28

toxicoseb

Re : Kernel optimisé

euh ..... pourquoi linux image ?!? moi pour mon athlon j'ai pris directement le " linux-k7" ( il y a aussi un " linux-686 " pour les P4 )

ton fichier source list est pour la breezy donc soit ta la ubuntu 5.10 breezy et je te conseil de passé en 6.06 dapper;) soit tu est deja en 6.06 et la les sources de ton fichier sources.list ne sont pas les bonnes !!!!!

Dernière modification par toxicoseb (Le 29/07/2006, à 03:29)


Intel Core2Duo E8200, 6Go DDR2 pc6400 , GeForce GTX 260 1Go

Hors ligne

#5 Le 29/07/2006, à 08:07

sbrunner

Re : Kernel optimisé

Il me semble qu'il manque

deb http://fr.archive.ubuntu.com/ubuntu breezy-updates universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu breezy-updates universe multiverse

dans ton fichier !

Par contre en relisant ton premier message tu doit plutôt avoir un problème de connexion au serveur de ubuntu, vu qu'il n'étais pas très stable ces dernier temps cela est possible que maintenant cela marche.

CU
Stéph

Hors ligne

#6 Le 29/07/2006, à 09:41

Gdmat

Re : Kernel optimisé

euh ..... pourquoi linux image ?!? moi pour mon athlon j'ai pris directement le " linux-k7" ( il y a aussi un " linux-686 " pour les P4 )

Bah en fait je suis le tuto : http://doc.ubuntu-fr.org/installation/kernel_optimise

ton fichier source list est pour la breezy donc soit ta la ubuntu 5.10 breezy et je te conseil de passé en 6.06 dapper;) soit tu est deja en 6.06 et la les sources de ton fichier sources.list ne sont pas les bonnes !!!!!

Pourtant je suis bien sous dapper !
Quel sources.list je devrais avoir ?

Dernière modification par Gdmat (Le 29/07/2006, à 10:38)


Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#7 Le 29/07/2006, à 10:55

Gdmat

Re : Kernel optimisé

Alors voilà, j'ai tenter d'installer un noyau optimisé en utilisant :

sudo apt-get install linux-686

Puis lorsque j'ai redémarrer :
1) le kernel optimisé n'était pas definit par défaut dans grub
2) la version de ce même noyau était plus ancienne sad
En gros dans Grub j'avais :
Ubuntu 2.6.15-26-386
Ubuntu 2.6.12-10-686

J'ai donc lancer le 2.6.12-10-686, et là gdm refuse de démarrer mad, et plusieurs chargement de modules avaient échoués ! (au moment où j'écris ces lignes je suis repassé avec le 2.6.15-26-386)

PS : quelle est la différence entre les paquets linux-686 et linux-image-686 ?

Dernière modification par Gdmat (Le 29/07/2006, à 19:45)


Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#8 Le 30/07/2006, à 15:59

Gdmat

Re : Kernel optimisé

Et de plus, comment peut-on modifier le menu de grub avec dapper, parce-que j'ai encire dans ce menu le noyau fourni par breezy ! yikes


Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#9 Le 30/07/2006, à 16:27

XioNoX

Re : Kernel optimisé

alors.

Déjà rempalce ton sources.list par celui ci :

deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
#Les mises a jour de Ubuntu
deb http://fr.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
#Les backports
deb http://fr.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
#Les dépots contenant les MAJ de sécuritée
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe
# Le dépot de canonical contenant les applications commerciales
deb http://archive.canonical.com/ubuntu dapper-commercial main
#Le dépot PLF
deb-src http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

C'est le même que le tien mais pour dapper

ensuite fait un sudo apt-get update && apt-get upgrade
puis fait un sudo apt-get install linux-686
et redémarre
Si tu veut virer les anciens noyaux, recherche linux-image dans synaptic et vire tous les anciens noyaux

Dernière modification par XioNoX (Le 30/07/2006, à 16:29)

Hors ligne

#10 Le 30/07/2006, à 23:09

Gdmat

Re : Kernel optimisé

Pourquoi le noyau installé par sudo apt-get install linux-686 n'est que la version 2.6.12-10 alors que celle pour l'architecture i386 est 2.6.15-26 ??? sad hmm


Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#11 Le 30/07/2006, à 23:22

XioNoX

Re : Kernel optimisé

parce que tu as toujours le sources.list de brezy...

Hors ligne

#12 Le 31/07/2006, à 09:41

sbrunner

Re : Kernel optimisé

XioNoX a écrit :

alors.

Déjà rempalce ton sources.list par celui ci :

deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
#Les mises a jour de Ubuntu
deb http://fr.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
#Les backports
deb http://fr.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
#Les dépots contenant les MAJ de sécuritée
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe
# Le dépot de canonical contenant les applications commerciales
deb http://archive.canonical.com/ubuntu dapper-commercial main
#Le dépot PLF
deb-src http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

C'est le même que le tien mais pour dapper

ensuite fait un sudo apt-get update && apt-get upgrade
puis fait un sudo apt-get install linux-686
et redémarre
Si tu veut virer les anciens noyaux, recherche linux-image dans synaptic et vire tous les anciens noyaux

Il te manque multiverse sur dapper-security hmm

CU
Stéph

Hors ligne

#13 Le 31/07/2006, à 19:54

Gdmat

Re : Kernel optimisé

Désormais j'ai dans sources.list :

deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
#Les mises a jour de Ubuntu
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
#Les backports
deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
#Les dépots contenant les MAJ de sécuritée
deb http://security.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe
# Le dépot de canonical contenant les applications commerciales
deb http://archive.canonical.com/ubuntu dapper-commercial main
#Le dépot PLF
deb-src http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

Mais lorsque je fais :

ensuite fait un sudo apt-get update && apt-get upgrade
puis fait un sudo apt-get install linux-686

On me répond :

linux-686 est déjà la plus récente version disponible

C'est à dire le noyau 2.6.12-10-686


Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#14 Le 31/07/2006, à 20:03

Gdmat

Re : Kernel optimisé

Au temps pour moi, j'ai dû avoir des petits problèmes de lecture.
Par contre, il me reste toujours 3 ou 4 autres noyaux dans le menu de grub : ça fait pas propre !

Dans /boot/grub/menu.lst j'ai :

# 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 change this entry to 'saved' 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		10

## 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=/dev/hda5 ro

## 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 boot: linux noapic

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.15-26-686
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.15-26-686 root=/dev/hda5 ro quiet splash boot: linux noapic
initrd		/boot/initrd.img-2.6.15-26-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-26-686 (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.15-26-686 root=/dev/hda5 ro single
initrd		/boot/initrd.img-2.6.15-26-686
boot

title		Ubuntu, kernel 2.6.15-26-386
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.15-26-386 root=/dev/hda5 ro quiet splash boot: linux noapic
initrd		/boot/initrd.img-2.6.15-26-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.15-26-386 root=/dev/hda5 ro single
initrd		/boot/initrd.img-2.6.15-26-386
boot

title		Ubuntu, kernel 2.6.15-23-386
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/hda5 ro quiet splash boot: linux noapic
initrd		/boot/initrd.img-2.6.15-23-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/hda5 ro single
initrd		/boot/initrd.img-2.6.15-23-386
boot

title		Ubuntu, kernel 2.6.12-10-686
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.12-10-686 root=/dev/hda5 ro quiet splash boot: linux noapic
initrd		/boot/initrd.img-2.6.12-10-686
savedefault
boot

title		Ubuntu, kernel 2.6.12-10-686 (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.12-10-686 root=/dev/hda5 ro single
initrd		/boot/initrd.img-2.6.12-10-686
boot

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

### 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/hda2
title		Microsoft Windows XP dition familiale
root		(hd0,1)
savedefault
makeactive
chainloader	+1

j'aimerais ne garder que le strict necessaire (c'est à dire les 4 premier il me semble ?!? ainsi que le dernier)

Dernière modification par Gdmat (Le 31/07/2006, à 20:11)


Acer Aspire 1692 WLMI, Pentium M 740, HD : 100Go, 1Go DDR2, Ati Mobility Radeon X700
Ubuntu 8.04 Hardy Heron

Hors ligne

#15 Le 31/07/2006, à 20:59

XioNoX

Re : Kernel optimisé

recherche "2.6.12" et "2.6.15-23" dans synaptics et vire tout ce qui apparait

Hors ligne

#16 Le 08/08/2006, à 20:34

uperu

Re : Kernel optimisé

XioNoX a écrit :

recherche "2.6.12" et "2.6.15-23" dans synaptics et vire tout ce qui apparait

Je me permets de te demander un service,XioNoX
J'ai migré de breezy à Dapper par les dépôts et j'ai toujours les kernel 2.4; or ils n'y sonr plus dans Synaptic.Comment je fais pour les supprimer de grub?Je précise que je suis en dual-boot avec windows donc dans la même situation  que Gdmat.J'ai les 2.6.15 en 686 et 386 et idem avec les 2.4.
Je sais que l'on peut modifier  le

 /boot/grub/menu.lst
# howmany=all

mais garde-t-on le dual-boot en mettant # howmany=4?


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#17 Le 08/08/2006, à 22:06

XioNoX

Re : Kernel optimisé

je susi en dual boot, mais je n'ai pas cette ligne

Hors ligne

#18 Le 08/08/2006, à 22:24

uperu

Re : Kernel optimisé

XioNoX a écrit :

je susi en dual boot, mais je n'ai pas cette ligne

Si tu fais défiler le menu.lst de Gdmat elle y est.
Et autrement tu n'as pas une idée pour faire le nettoyage du boot?


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#19 Le 08/08/2006, à 22:29

XioNoX

Re : Kernel optimisé

pour info, voila le mien :

# 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 change this entry to 'saved' 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        6

## 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=/dev/hda3 ro

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

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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title        Ubuntu, kernel 2.6.15-26-686
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.15-26-686 root=/dev/hda3 ro quiet splash
initrd        /boot/initrd.img-2.6.15-26-686
savedefault
boot

title        Ubuntu, kernel 2.6.15-26-686 (recovery mode)
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.15-26-686 root=/dev/hda3 ro single
initrd        /boot/initrd.img-2.6.15-26-686
boot

title        Ubuntu, memtest86+
root        (hd0,2)
kernel        /boot/memtest86+.bin
boot

### 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/hda2
title        Microsoft Windows XP dition familiale
root        (hd0,1)
savedefault
makeactive
chainloader    +1

avec que ubuntu dernier kernel & WinXP
tu peut t'en inspirer

Hors ligne

#20 Le 08/08/2006, à 22:55

uperu

Re : Kernel optimisé

Ben, tu l'as la ligne en question:

## 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
[b]# howmany=all[/b]

Il m'a été dit qu'en mettant à la place de"all" le chiffre du nombre de kernels que l'on veut avoir en option  au boot ,on ne supprimait pas les kernels mais ils n'étaient plus présents au boot.
ex: # howmany=3 ; n'apparaîtra au boot que les 3 derniers kernels.
Mais je me demande si du coup, on ne fait pas aussi disparaître Windows du boot!!
Qu'en penses-tu?


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#21 Le 08/08/2006, à 22:58

XioNoX

Re : Kernel optimisé

je ne pense pas... au pire test smile

Hors ligne

#22 Le 08/08/2006, à 23:25

uperu

Re : Kernel optimisé

XioNoX a écrit :

je ne pense pas... au pire test smile

voici le mien:

# 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'.
default         0

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

## 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=/dev/hda6 ro

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

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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title           Ubuntu, kernel 2.6.15-23-686
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.15-23-686 root=/dev/hda6 ro quiet splash
initrd          /boot/initrd.img-2.6.15-23-686
savedefault
boot

title           Ubuntu, kernel 2.6.15-23-686 (recovery mode)
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.15-23-686 root=/dev/hda6 ro single
initrd          /boot/initrd.img-2.6.15-23-686
boot

title           Ubuntu, kernel 2.6.15-23-386
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/hda6 ro quiet splash
initrd          /boot/initrd.img-2.6.15-23-386
savedefault
boot

title           Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/hda6 ro single
initrd          /boot/initrd.img-2.6.15-23-386
boot

title           Ubuntu, kernel 2.4.27-2-686
root            (hd0,5)
kernel          /boot/vmlinuz-2.4.27-2-686 root=/dev/hda6 ro quiet splash
initrd          /boot/initrd.img-2.4.27-2-686
savedefault
boot

title           Ubuntu, kernel 2.4.27-2-686 (recovery mode)
root            (hd0,5)
kernel          /boot/vmlinuz-2.4.27-2-686 root=/dev/hda6 ro single
initrd          /boot/initrd.img-2.4.27-2-686
boot

title           Ubuntu, kernel 2.4.27-2-386
root            (hd0,5)
kernel          /boot/vmlinuz-2.4.27-2-386 root=/dev/hda6 ro quiet splash
initrd          /boot/initrd.img-2.4.27-2-386
savedefault
boot

title           Ubuntu, kernel 2.4.27-2-386 (recovery mode)
root            (hd0,5)
kernel          /boot/vmlinuz-2.4.27-2-386 root=/dev/hda6 ro single
initrd          /boot/initrd.img-2.4.27-2-386
boot

title           Ubuntu, memtest86+
root            (hd0,5)
kernel          /boot/memtest86+.bin
boot

### 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/hda2
title           Windows NT/2000/XP
root            (hd0,1)
savedefault
makeactive
chainloader     +1

ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#23 Le 08/08/2006, à 23:45

XioNoX

Re : Kernel optimisé

normallement les kernels 2.4 sont toujours présent dans les dépots, cherche dans synaptics, tu devrais trouver

Hors ligne

#24 Le 09/08/2006, à 10:03

uperu

Re : Kernel optimisé

XioNoX a écrit :

normallement les kernels 2.4 sont toujours présent dans les dépots, cherche dans synaptics, tu devrais trouver

Impossible de les trouver! Il n'ya que les 2.6.12 et les 2.6.15.
Si jamais tu les vois, fais-moi signe; et merci encore!


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#25 Le 17/08/2006, à 01:26

Ziwa

Re : Kernel optimisé

Gdmat a écrit :

Bonjour à tous ! smile

J'ai suivi les indications données sur cette page :
http://doc.ubuntu-fr.org/installation/kernel_optimise
mais j'ai un soucis à ce moment là hmm :

sudo apt-get install linux-image-686

J'ai comme réponse du système :

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Les NOUVEAUX paquets suivants seront installés :
  linux-image-686
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 22,5ko dans les archives.
Après dépaquetage, 49,2ko d'espace disque supplémentaires seront utilisés.
Err http://security.ubuntu.com breezy-security/main linux-image-686 2.6.12.16.1
  Connexion à security.ubuntu.com: 80 (1.0.0.0) impossible. - connect (101 Le réseau n'est pas accessible.)
Impossible de récupérer http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-image-686_2.6.12.16.1_i386.deb  Connexion à security.ubuntu.com: 80 (1.0.0.0) impossible. - connect (101 Le réseau n'est pas accessible.)
E: Impossible de récupérer quelques archives, peut-être devrez-vous lancer apt-get update ou essayer avec --fix-missing ?

De plus, lorsque je demande la réctualisation des mises à jour disponible, voici ce que j'obtiens :

Échec du téléchargement de tous les fichiers d'index

Le dépôt ne semple plus être disponible ou ne peut être contacté à cause de problèmes réseau. S'il existe un fichier d'index plus ancien il sera utilisé. Sinon, le dépôt sera ignoré. Vérifiez votre connexion réseau et corrigez l'adresse du dépôt dans les préférences.

1.0.0.0 c'est le genre d'adresse quand il y a un problème avec les DNS, j'avais aussi ce prob, j'ai réussit à corriger ce problème en indiquant les DNS de mon FAI au lieu de celui du routeur.

si t'a un routeur, rentre dedans, récupère les adresses DNS, met ces adresses dans la config réseau au lieu de l'adresse de ton routeur...

après, tu peux tester en essayant de mettre à jour la base de donné de paquetage : sudo apt-get update

par contre si quelqu'un sait comment résoudre ce problème de DNS sans devoir rentré celle des mon FAI ca serai bien, est ce que il y aurai un rapport avec l'IPv6 ?