#1 Le 05/10/2011, à 12:19
- marjo
[Résolu] démarrage impossible depuis le changement de noyau
bonjour,
j'ai installé la version 11.04 il y a près de 2 semaines.
après des pbs de redémarrage (initramfs...) résolus par la commande :
sudo fsck -f -y /dev/sda6
je me suis résolue à effectuer les mises à jour recommandés par le système (le noyau a été notamment changé).
depuis, je ne démarre plus :'(
j'ai réessayé la commande qui m'avait sauvé auparavant. des réparations ont été effectuées mais rien y fait, ça ne démarre toujours pas...
j'ai pu noté ceci :
/sbin/init : error while loading shared libraries : librt.so.1 : cannot open shared object file : no such file or directory
je fonctionne donc depuis avec mon live-cd... pas très pratique:(
merci de votre aide,je suis paumée
marjo
Dernière modification par marjo (Le 06/10/2011, à 10:20)
OS : Ubuntu 20.04 LTS / W10
Processeur : Intel® Core™ i3-3227U CPU @ 1.90GHz × 4
Carte graphique : Intel® Ivybridge Mobile
Ram : 3,7Gb
Hors ligne
#2 Le 05/10/2011, à 12:41
- malbo
Re : [Résolu] démarrage impossible depuis le changement de noyau
Depuis le live-CD, peux-tu répondre à cette demande : http://forum.ubuntu-fr.org/viewtopic.php?pid=3534285
Le résultat me permettra de savoir si tu as la possibilité ou non de démarrer sur un noyau plus ancien et s'il n'y a pas un gros caca dans la gestion du démarrage.
Hors ligne
#3 Le 05/10/2011, à 13:34
- marjo
Re : [Résolu] démarrage impossible depuis le changement de noyau
Merci de ta réponse rapide
Voilà ce que cela donne :
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub on this drive.
=> Windows is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /grldr /bootmgr /Boot/BCD
/Windows/System32/winload.exe /grldr
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disque /dev/sda: 251.0 Go, 251000193024 octets
255 têtes, 63 secteurs/piste, 30515 cylindres, total 490234752 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 215,042,047 215,040,000 7 NTFS / exFAT / HPFS
/dev/sda2 215,044,094 490,233,855 275,189,762 5 Extended
/dev/sda5 480,667,648 490,233,855 9,566,208 82 Linux swap / Solaris
/dev/sda6 215,044,096 480,667,647 265,623,552 83 Linux
Drive: sdb _____________________________________________________________________
Disque /dev/sdb: 999.5 Go, 999501594624 octets
255 têtes, 63 secteurs/piste, 121515 cylindres, total 1952151552 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 2,048 1,952,151,551 1,952,149,504 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 244CEA814CEA4D5C ntfs Windows7
/dev/sda5 32d44757-ab61-4894-9570-d372dcf382ac swap
/dev/sda6 e5ffc2f8-4014-40fa-9162-e07a0b47faff ext4
/dev/sdb1 12C23AD8C23AC031 ntfs My Book
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/Windows7 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda6 /media/e5ffc2f8-4014-40fa-9162-e07a0b47faff ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 /media/My Book fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sr0 /cdrom iso9660 (ro,noatime)
========================== sda1/grldr embedded menu: ===========================
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
=========================== sda6/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
set locale_dir=($root)/boot/grub/locale
set lang=fr_FR
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, avec Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=e5ffc2f8-4014-40fa-9162-e07a0b47faff ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry 'Ubuntu, avec Linux 2.6.38-11-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
echo 'Loading Linux 2.6.38-11-generic ...'
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=e5ffc2f8-4014-40fa-9162-e07a0b47faff ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-11-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, avec Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=e5ffc2f8-4014-40fa-9162-e07a0b47faff ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, avec Linux 2.6.38-8-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=e5ffc2f8-4014-40fa-9162-e07a0b47faff ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root e5ffc2f8-4014-40fa-9162-e07a0b47faff
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 244CEA814CEA4D5C
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda6/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=e5ffc2f8-4014-40fa-9162-e07a0b47faff / ext4 errors=remount-ro 0 1
# /media/windows7 was on /dev/sda1 during installation
UUID=244CEA814CEA4D5C /media/windows7 ntfs defaults,umask=007,gid=46 0 0
# swap was on /dev/sda5 during installation
UUID=32d44757-ab61-4894-9570-d372dcf382ac none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda6: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
126.675594330 = 136.016883712 boot/grub/core.img 1
174.755611420 = 187.642408960 boot/grub/grub.cfg 1
127.295536041 = 136.682541056 boot/initrd.img-2.6.38-11-generic 2
104.295497894 = 111.986438144 boot/initrd.img-2.6.38-8-generic 2
126.888984680 = 136.246009856 boot/vmlinuz-2.6.38-11-generic 1
126.673831940 = 136.014991360 boot/vmlinuz-2.6.38-8-generic 1
127.295536041 = 136.682541056 initrd.img 2
104.295497894 = 111.986438144 initrd.img.old 2
126.888984680 = 136.246009856 vmlinuz 1
126.673831940 = 136.014991360 vmlinuz.old 1
=============================== StdErr Messages: ===============================
unlzma: Decoder error
OS : Ubuntu 20.04 LTS / W10
Processeur : Intel® Core™ i3-3227U CPU @ 1.90GHz × 4
Carte graphique : Intel® Ivybridge Mobile
Ram : 3,7Gb
Hors ligne
#4 Le 05/10/2011, à 16:51
- malbo
Re : [Résolu] démarrage impossible depuis le changement de noyau
De ton résultat, j'extrais le menu Grub que tu peux voir au démarrage du PC :
Ubuntu, avec Linux 2.6.38-11-generic
Ubuntu, avec Linux 2.6.38-11-generic (mode de dépannage)
Previous Linux versions
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows 7 (loader) (on /dev/sda1)
En sélectionnant la troisième ligne (Previous Linux versions), tu arriveras dans un sous-menu qui te proposera les anciens noyaux :
Ubuntu, avec Linux 2.6.38-8-generic
Ubuntu, avec Linux 2.6.38-8-generic (mode de dépannage)
en choisissant la ligne "Ubuntu, avec Linux 2.6.38-8-generic", tu devrais pouvoir démarrer.
Hors ligne
#5 Le 05/10/2011, à 17:23
- marjo
Re : [Résolu] démarrage impossible depuis le changement de noyau
cela ne démarre pas plus. j'obtiens le même écran noir avec la même ligne de commande...
OS : Ubuntu 20.04 LTS / W10
Processeur : Intel® Core™ i3-3227U CPU @ 1.90GHz × 4
Carte graphique : Intel® Ivybridge Mobile
Ram : 3,7Gb
Hors ligne
#6 Le 05/10/2011, à 22:09
- marjo
Re : [Résolu] démarrage impossible depuis le changement de noyau
que faire ?
tout réinstaller ?
merci de votre aide
OS : Ubuntu 20.04 LTS / W10
Processeur : Intel® Core™ i3-3227U CPU @ 1.90GHz × 4
Carte graphique : Intel® Ivybridge Mobile
Ram : 3,7Gb
Hors ligne
#7 Le 06/10/2011, à 09:00
- malbo
Re : [Résolu] démarrage impossible depuis le changement de noyau
Soit. Mon idée qu'en utilisant l'ancien noyau tu pouvais t'en sortir est un échec.
Si tu fais une recherche avec Google en collant toute la ligne suivante dans le champ de recherche :
"error while loading shared libraries : librt.so.1" : cannot open shared object file : no such file or directory site:forum.ubuntu-fr.org
Tu peux voir que c'est en rapport avec Java. C'est peut-être rien à faire pour remettre tout ça d'aplomb mais je ne suis pas compétent pour t'aider dans ce domaine.
Dernière modification par malbo (Le 06/10/2011, à 09:01)
Hors ligne
#8 Le 06/10/2011, à 10:19
- marjo
Re : [Résolu] démarrage impossible depuis le changement de noyau
Désespérée hier soir, j'ai décidé de tout réinstallé.
A ma grande surprise, il m'a été proposé de réinstaller ubuntu en conservant tous mes paramètres (une sorte de réparation en sorte). ET ça a marché !
Non seulement la réinstall s'est bien passée mais en plus j'ai bien le nouveau noyau et tout fonctionne...
Super contente !!!
Merci en tout cas de ton aide et de ta patience
OS : Ubuntu 20.04 LTS / W10
Processeur : Intel® Core™ i3-3227U CPU @ 1.90GHz × 4
Carte graphique : Intel® Ivybridge Mobile
Ram : 3,7Gb
Hors ligne
#9 Le 06/10/2011, à 17:01
- malbo
Re : [Résolu] démarrage impossible depuis le changement de noyau
A ma grande surprise, il m'a été proposé de réinstaller ubuntu en conservant tous mes paramètres (une sorte de réparation en sorte). ET ça a marché !
ce que tu décris comme option, ça ressemble un peu à ce qu'on trouve dans ce post de Inso: http://forum.ubuntu-fr.org/viewtopic.ph … 1#p4323531
Dernière modification par malbo (Le 06/10/2011, à 17:02)
Hors ligne
#10 Le 06/10/2011, à 18:32
- marjo
Re : [Résolu] démarrage impossible depuis le changement de noyau
oui, c'est exactement ça !!
OS : Ubuntu 20.04 LTS / W10
Processeur : Intel® Core™ i3-3227U CPU @ 1.90GHz × 4
Carte graphique : Intel® Ivybridge Mobile
Ram : 3,7Gb
Hors ligne