#1 Le 15/02/2012, à 00:15
- Pierre Jaraud
Problème GRUB : minimal bash-like après MAJ [Résolu]
Bonjour,
j'ai fais les mises à jours automatique aujourd'hui, un redémarrage était nécessaire et là, bingo :
Problème GRUB : minimal bash-like
grub>
et voili voilou, et maintenant je fais quoi ? je redémarre en Live CD et j'appelle au secours
voici le script récupéré grâce à Malbo, merci,
http://forum.ubuntu-fr.org/viewtopic.ph … 1#p3226641
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 on this drive.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.10
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 têtes, 63 secteurs/piste, 19457 cylindres, total 312581808 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 310,484,991 310,482,944 83 Linux
/dev/sda2 310,487,038 312,580,095 2,093,058 5 Extended
/dev/sda5 310,487,040 312,580,095 2,093,056 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 f5c8728e-1ca9-4610-ab8b-485edd540b0c ext4
/dev/sda5 62e3efa0-499b-4a46-a804-c57ffc8fe4d8 swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/f5c8728e-1ca9-4610-ab8b-485edd540b0c ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sda1/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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
set locale_dir=($root)/boot/grub/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
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
### 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 3.0.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-16-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-16-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-16-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-16-generic ...'
linux /boot/vmlinuz-3.0.0-16-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-16-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, avec Linux 3.0.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-15-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-15-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-15-generic ...'
linux /boot/vmlinuz-3.0.0-15-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-15-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-14-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-14-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-14-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-14-generic ...'
linux /boot/vmlinuz-3.0.0-14-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-14-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-13-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-13-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-13-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-13-generic ...'
linux /boot/vmlinuz-3.0.0-13-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-13-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-12-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-12-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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
--------------------------------------------------------------------------------
=============================== sda1/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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/sda1 during installation
UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=62e3efa0-499b-4a46-a804-c57ffc8fe4d8 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
= boot/grub/core.img 1
= boot/grub/grub.cfg 1
= boot/initrd.img-3.0.0-12-generic 1
= boot/initrd.img-3.0.0-13-generic 3
= boot/initrd.img-3.0.0-14-generic 1
= boot/initrd.img-3.0.0-15-generic 3
= boot/initrd.img-3.0.0-16-generic 1
= boot/vmlinuz-3.0.0-12-generic 1
= boot/vmlinuz-3.0.0-13-generic 1
= boot/vmlinuz-3.0.0-14-generic 2
= boot/vmlinuz-3.0.0-15-generic 2
= boot/vmlinuz-3.0.0-16-generic 2
= vmlinuz 2
= vmlinuz.old 2
=============================== StdErr Messages: ===============================
unlzma: Decoder error
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
--------------------------------------------------------------------------------------------------
Voili voilou, ça coince où ??
Merci d'avance pour votre aide à tous et à toutes,
[Edit modérateur : merci d'utiliser les balises code pour les longues pages de résultats]
Dernière modification par Pierre Jaraud (Le 15/02/2012, à 15:35)
Hors ligne
#2 Le 15/02/2012, à 00:48
- xabilon
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
Salut
Ça n'a pas l'air méchant. Depuis le liveCD, ouvre un terminal, puis :
sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
sudo umount /mnt
et redémarre
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#3 Le 15/02/2012, à 01:41
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
Salut Xabilon,
merci j'ai essayé ta méthode mais sans résultat
peut-être une autre idée?
il semblerait que ce soit la dernière MAJ qui n'est pas été digérée?
y'a-t-il un moyen de revenir sur la dernière bonne version?
merci
Hors ligne
#4 Le 15/02/2012, à 01:53
- xabilon
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
Non, ça c'est pas possible. As-tu le menu de démarrage avec les différents noyaux, ou même pas ?
Je vois pas trop ce qui peut coincer ... tu peux refaire le boot info script, et montrer juste les lignes juste après "Boot Info Summary" (au début), voir si Grub va chercher ses fichiers dans la bonne partition ?
Et aussi la partie "sda1: Location of files loaded by Grub" (vers la fin)
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#5 Le 15/02/2012, à 02:01
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
j'ai refais le boot info:
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 on this drive.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.10
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 têtes, 63 secteurs/piste, 19457 cylindres, total 312581808 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 310,484,991 310,482,944 83 Linux
/dev/sda2 310,487,038 312,580,095 2,093,058 5 Extended
/dev/sda5 310,487,040 312,580,095 2,093,056 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 f5c8728e-1ca9-4610-ab8b-485edd540b0c ext4
/dev/sda5 62e3efa0-499b-4a46-a804-c57ffc8fe4d8 swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sda1/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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
set locale_dir=($root)/boot/grub/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
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
### 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 3.0.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-16-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-16-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-16-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-16-generic ...'
linux /boot/vmlinuz-3.0.0-16-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-16-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, avec Linux 3.0.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-15-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-15-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-15-generic ...'
linux /boot/vmlinuz-3.0.0-15-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-15-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-14-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-14-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-14-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-14-generic ...'
linux /boot/vmlinuz-3.0.0-14-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-14-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-13-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-13-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-13-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-13-generic ...'
linux /boot/vmlinuz-3.0.0-13-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-13-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, avec Linux 3.0.0-12-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
echo 'Chargement de Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.0.0-12-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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root f5c8728e-1ca9-4610-ab8b-485edd540b0c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
--------------------------------------------------------------------------------
=============================== sda1/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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/sda1 during installation
UUID=f5c8728e-1ca9-4610-ab8b-485edd540b0c / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=62e3efa0-499b-4a46-a804-c57ffc8fe4d8 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
= boot/grub/core.img 1
= boot/grub/grub.cfg 1
= boot/initrd.img-3.0.0-12-generic 1
= boot/initrd.img-3.0.0-13-generic 3
= boot/initrd.img-3.0.0-14-generic 1
= boot/initrd.img-3.0.0-15-generic 3
= boot/initrd.img-3.0.0-16-generic 1
= boot/vmlinuz-3.0.0-12-generic 1
= boot/vmlinuz-3.0.0-13-generic 1
= boot/vmlinuz-3.0.0-14-generic 2
= boot/vmlinuz-3.0.0-15-generic 2
= boot/vmlinuz-3.0.0-16-generic 2
= vmlinuz 2
= vmlinuz.old 2
=============================== StdErr Messages: ===============================
unlzma: Decoder error
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
mais on dirait que rien n'a été modifié
Hors ligne
#6 Le 15/02/2012, à 02:03
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
heu dsl, j'ai tout mis j'avais pas vu ta réponse ...
Hors ligne
#7 Le 15/02/2012, à 02:07
- xabilon
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
C'est ce que je vois :
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 [rien_du_tout] on this drive
à la place de [rien_du_tout] il devrait y avoir sda1, ou partition #1 ...
Ton installation m'a l'air on ne peut plus simple et standard : un seul disque, une seule distrib, pas de partitionnement bizarre ...
Essaye la commande de réinstallation de Grub sous une autre forme :
sudo mkdir /media/sda1
sudo mount /dev/sda1 /media/sda1
sudo grub-install --boot-directory=/media/sda1/boot /dev/sda
Tu n'as aucun message d'erreur après ces commandes ?
Dernière modification par xabilon (Le 15/02/2012, à 02:08)
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#8 Le 15/02/2012, à 02:15
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
j'essaie de suite...
Hors ligne
#9 Le 15/02/2012, à 02:30
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
pas d'erreur après les commandes, et pas de résultat après redémarrage, toujours la même chose
et toujours:
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 on this drive.
cha m'enerveeee
grub cherche et ne trouve pas , mais quoi ?
Dernière modification par Pierre Jaraud (Le 15/02/2012, à 02:46)
Hors ligne
#10 Le 15/02/2012, à 11:27
- YannUbuntu
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
Bonjour
peux-tu stp lancer Boot-Repair, cliquer sur "Réparation recommandée", et nous indiquer le nouveau rapport Boot-Info qui apparaitra stp ?
puis redémarre et dis-nous si quelquechose a changé (je ne pense pas).
Dernière modification par YannUbuntu (Le 15/02/2012, à 11:28)
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne
#11 Le 15/02/2012, à 12:34
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
Bonjour,
j'ai tanté boot-repair à partir de ma session en live CD, mais il semblerait que ça ne fonctionne pas, je vais donc télécharger l'iso et faire un cd bootable pour voir.
Pendant le téléchargment (en 3G ) j'ai essayé ça de grandtoubab #306
Le 27/01/2012, à 13:15 sur http://forum.ubuntu-fr.org/viewtopic.php?id=509791&p=13:
Suite à une mise à jour vers le noyau 3.0.0-16 qui s'est mal passée sans que je sache pourquoi, au redémarrage je me retrouvai sur le prompt
grub >
Heureusement je connais mon installation et j'ai écrit directement les infos (sachant qu'a ce moment là le clavier devient un qwerty, c'est pas facile : mais la touche TAB permet de lister ce qui existe )
Heureusement aussi j'ai une imprssion papier de ça
https://help.ubuntu.com/community/Grub2 … pt_Booting
grub > set boot = (hd0,3)grub > linux /boot/vmlinuz-3.0.0-15-generic root=/dev/sda3 rogrub > initrd /boot/initrd.img-3.0.0-15-genericgrub > boot
j'y ai cru quelques secondes, mais ecran noire et pc gelé,
on passe au live cd...
Dernière modification par Pierre Jaraud (Le 15/02/2012, à 13:00)
Hors ligne
#12 Le 15/02/2012, à 13:07
- compte supprimé
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
Question bête. Ça, c'est quoi ?
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
#13 Le 15/02/2012, à 13:12
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
Bonjour Faustus,
heu ,aucune idée
une recette de crèpe en bash?
résultat de
grub> ls
(hd0) (hd0,msdos1) (fd0)
c'est quoi msdos1 ?
Dernière modification par Pierre Jaraud (Le 15/02/2012, à 13:19)
Hors ligne
#14 Le 15/02/2012, à 13:29
- YannUbuntu
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
> j'ai tenté boot-repair à partir de ma session en live CD, mais il semblerait que ça ne fonctionne pas --> Boot-Repair s'est-il lancé? as-tu cliqué sur "Réparation recommandée" ? une URL ou un rapport Boo-Info est-il apparu ? (si oui, nous indiquer le contenu stp)
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne
#15 Le 15/02/2012, à 13:40
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
msdos1 c'est ton "Y" mon gars !!!
et là la soluce grandtoubab fonctionne, merci à toi grantoubab
je vais maintenant installer boot-repair sur le convalescent ...
Hors ligne
#16 Le 15/02/2012, à 15:03
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
__>Yannubuntu,
boot-repair n'a pas l'air de fonctionner :
quelque soit la methode, live ubuntu, session "normale", ou livecd boot repair, le scanning system dure depuis presque 1 heure et aucun résultat, et les 3 methodes ont donné la même chose, donc je n'arrive pas à l'écran réparation recommandée
au moment ou j'ai ecris ces lignes, le "reparation recommandé" c'est affiché, j'ai cliqué et....
merci yannubuntu ça a fonctionné niquel, re-boot et tout a l'air ok :D:D
je pense (comme d'autre) que ton package doit etre inclus dans le Live cd, c'est vraiment indispensable, un truc qui pourrait etre au boot du cd, :
1.TESTER UBUNTU en LIVE
2. INSTALLER UBUNTU sur DD
3. REPARER avec BOOT-REPAIR
etc...
merci à ceux qui sont intervenus sur ce post
Dernière modification par Pierre Jaraud (Le 15/02/2012, à 15:22)
Hors ligne
#17 Le 15/02/2012, à 15:31
- Pierre Jaraud
Re : Problème GRUB : minimal bash-like après MAJ [Résolu]
A propos de boot-repair, il serait intéressant d'avoir une console de contrôle sur ce qu'il fait pendant le scanning, ça ferait patienter les énervés comme moi et éviterait de penser qu'il est "planté"
Hors ligne