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/2010, à 09:11

Patrice.Lepissier

[résolu] 10.04 ne démarre pas : initramfs introuvable

Bonjour,

Je viens de faire la mise à jour vers la 10.04, depuis la 9.10.

Maintenant, au démarrage, j'ai un écran noir avec comme message :

chroot: cannot execute /etc/apparmor/initramfs: No such file or directory

Si je démarre en 2.6.31-14-recovery-mode, j'arrive, après plein d'affichages, en sélectionnant : reprendre le démarrage normal, à démarrer.

Comment régler ce problème ? En installant la 10.04 depuis un Live CD et en reformant tout ?

Merci.

Patrice

Dernière modification par Patrice.Lepissier (Le 29/07/2010, à 13:34)


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#2 Le 28/07/2010, à 11:47

HacKurx

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Salut essaye avec un update-initramfs

Hors ligne

#3 Le 28/07/2010, à 13:40

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

c'est fait ... sans succès !

J'ai peut-être omis de dire qu'au démarrage dans ma liste je n'ai que "Ubuntu 9.10 2.6.31-14", il n'y a pas d'Ubuntu 10.04 ? Est-ce normal ?

Merci

Patrice


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#4 Le 28/07/2010, à 14:24

HacKurx

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Non c'est pas normal en effet le noyau de Lucid est le 2.6.32 il est installé quand même?
Essaye un update-grub on sait jamais smile
Personnellement à chaque nouvelle version je préfère formater pour faire un peu le ménage lol.

Hors ligne

#5 Le 28/07/2010, à 19:00

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

update-grub me donne :

patrice@patrice:~$ sudo update-grub
[sudo] password for patrice: 
Searching for GRUB installation directory ... found: /boot/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.32-24-generic
Found kernel: /boot/vmlinuz-2.6.31-14-generic
Found kernel: /boot/vmlinuz-2.6.28-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

patrice@patrice:~$

mais le fichier menu.lst ne contient pas la version 2.6.32-24-generic ???

je crois que je vais tout reformater et mettre au propre.

Patrice


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#6 Le 29/07/2010, à 09:42

HacKurx

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

C'est que ton noyau est partiellement installé roll
Là oui je te conseil de booter sur un live-cd pour récupéré tes fichiers et faire une installation toute neuve.

Hors ligne

#7 Le 29/07/2010, à 10:23

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

partiellement installé ?
Lorsque je boote en mode recovery et que je choisis l'option "reprendre le démarrage normal", je démarre bien sous Ubuntu 10.04.
Ne serait-ce pas plus simplement le fichier menu.lst qui ne se met pas à jour ?

Patrice.


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#8 Le 29/07/2010, à 10:33

Compte anonymisé

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Salut

Peux-tu lister le fichier menu.lst ?

@+

#9 Le 29/07/2010, à 10:58

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

fichier menu.lst :

# 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		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=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=cf675dbc-3dea-450f-bdce-cae09f1be66d

## 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 9.10, kernel 2.6.31-14-generic
uuid		cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel		/boot/vmlinuz-2.6.31-14-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro ipv6.disable=1 quiet splash 
initrd		/boot/initrd.img-2.6.31-14-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid		cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel		/boot/vmlinuz-2.6.31-14-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro  single
initrd		/boot/initrd.img-2.6.31-14-generic

title		Ubuntu 9.10, kernel 2.6.28-16-generic
uuid		cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro quiet splash 
initrd		/boot/initrd.img-2.6.28-16-generic
quiet

title		Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
uuid		cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro  single
initrd		/boot/initrd.img-2.6.28-16-generic

title		Ubuntu 9.10, memtest86+
uuid		cf675dbc-3dea-450f-bdce-cae09f1be66d
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		Dell Utility Partition
root		(hd0,0)
savedefault
makeactive
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title		Microsoft Windows XP Professionnel
rootnoverify	(hd0,1)
savedefault
makeactive
chainloader	+1

Patrice


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#10 Le 29/07/2010, à 11:01

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

NB : le fichier est bien daté du 28/07/10 à 18:52 heure à laquelle j'ai lancé la commande update-grub. (Cf. résultat ci-dessus)

Patrice


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#11 Le 29/07/2010, à 11:10

Compte anonymisé

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Salut

Dans ce paragraphe tente de rajouter la partie en gras :

## ## End Default Options ##

title        Ubuntu 10.04, kernel 2.6.32-24-generic
uuid        cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel        /boot/vmlinuz-2.6.32-24-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro ipv6.disable=1 quiet splash
initrd        /boot/initrd.img-2.6.32-24-generic
quiet

title        Ubuntu 9.10, kernel 2.6.31-14-generic
uuid        cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel        /boot/vmlinuz-2.6.31-14-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro ipv6.disable=1 quiet splash
initrd        /boot/initrd.img-2.6.31-14-generic
quiet

title        Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid        cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel        /boot/vmlinuz-2.6.31-14-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro  single
initrd        /boot/initrd.img-2.6.31-14-generic

title        Ubuntu 9.10, kernel 2.6.28-16-generic
uuid        cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel        /boot/vmlinuz-2.6.28-16-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro quiet splash
initrd        /boot/initrd.img-2.6.28-16-generic
quiet

title        Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
uuid        cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel        /boot/vmlinuz-2.6.28-16-generic root=UUID=cf675dbc-3dea-450f-bdce-cae09f1be66d ro  single
initrd        /boot/initrd.img-2.6.28-16-generic

title        Ubuntu 9.10, memtest86+
uuid        cf675dbc-3dea-450f-bdce-cae09f1be66d
kernel        /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

Puis ensuite tu redémarres.

@+

Dernière modification par Compte anonymisé (Le 29/07/2010, à 11:11)

#12 Le 29/07/2010, à 13:34

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Merci, ça démarre nickel maintenant !

N'empêche que je vais formater et ré-installer la 10.04 car j'ai un message d'erreur qui me demande d'ouvrir le gestionnaire de paquets, mais je ne vois rien d'anormal (motif : certains de vos paquets installés ont des dépendances non satisfaites).

Maintenant j'ai un peu plus de temps devant moi ...

Patrice


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#13 Le 29/07/2010, à 14:24

Compte anonymisé

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Tu pourrais, avant de tout réinstaller, tenter un :
sudo  dpkg  --configure -a

@+

#14 Le 29/07/2010, à 15:11

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Heu oui, je l'ai déjà fait, je viens de le refaire, ça change quoi ?

Patrice


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#15 Le 29/07/2010, à 15:36

Compte anonymisé

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Donc tu peux tenter un :

sudo  apt-get  update
sudo  apt-get  upgrade

@+

#16 Le 30/07/2010, à 11:07

Patrice.Lepissier

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Merci,

En fait je viens de formater et installer Ubuntu 10.04 LTS depuis le CD. Cela m'a permis de faire un gros ménage sur mon disque.

Patrice


PClF W550SU1 15.6" LED Intel HD 4600 Haswell
XUbuntu 20.04

Hors ligne

#17 Le 31/07/2010, à 12:07

HacKurx

Re : [résolu] 10.04 ne démarre pas : initramfs introuvable

Ok ne pas oublier pas le résolu dans le titre, à bientôt.

Hors ligne