Pages : 1
#1 Le 19/09/2010, à 19:05
- xavgd
[Résolu] Problème d'erreurs dans le BOOT
Bonsoir à tous,
Désolé mais j'ai besoin d'aide ..
Comme vous le voyez ci dessous, j'ai une erreur dans ma phase de boot avec sda1/boot/grub/grub.cfg .. (enfin je pense que c'est ça .)
Quelqu'un pourrait il m'aider ??
Merci d'avance
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.
sda1: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disque /dev/sda: 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres, total 156301488 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 2,048 149,843,967 149,841,920 83 Linux
/dev/sda2 149,846,014 156,301,311 6,455,298 5 Extended
/dev/sda5 149,846,016 156,301,311 6,455,296 82 Linux swap / Solaris
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 c742fa8e-f79f-4582-818e-77c848450961 ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 1591fb3e-f77e-441b-879a-aae6ac3239d1 swap
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,errors=remount-ro)
=========================== sda1/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
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
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
set locale_dir=($root)/boot/grub/locale
set lang=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
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=c742fa8e-f79f-4582-818e-77c848450961 ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
echo 'Chargement de Linux 2.6.32-25-generic ...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=c742fa8e-f79f-4582-818e-77c848450961 ro single
echo 'Chargement du disque mémoire initial...'
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c742fa8e-f79f-4582-818e-77c848450961 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
echo 'Chargement de Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c742fa8e-f79f-4582-818e-77c848450961 ro single
echo 'Chargement du disque mémoire initial...'
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c742fa8e-f79f-4582-818e-77c848450961 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-21-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
echo 'Chargement de Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c742fa8e-f79f-4582-818e-77c848450961 ro single
echo 'Chargement du disque mémoire initial...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c742fa8e-f79f-4582-818e-77c848450961
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -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 ###
=============================== sda1/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
/dev/sda1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=1591fb3e-f77e-441b-879a-aae6ac3239d1 none swap sw 0 0
=================== sda1: Location of files loaded by Grub: ===================
21.6GB: boot/grub/core.img
58.1GB: boot/grub/grub.cfg
21.6GB: boot/initrd.img-2.6.32-21-generic
21.8GB: boot/initrd.img-2.6.32-24-generic
21.8GB: boot/initrd.img-2.6.32-25-generic
.1GB: boot/vmlinuz-2.6.32-21-generic
21.7GB: boot/vmlinuz-2.6.32-24-generic
21.7GB: boot/vmlinuz-2.6.32-25-generic
21.8GB: initrd.img
21.8GB: initrd.img.old
21.7GB: vmlinuz
21.7GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 cd e7 13 54 76 8c 87 c4 3a 85 d0 df f1 4c aa 78 |...Tv...:....L.x|
00000010 df c4 ff 18 cf 90 09 b4 b2 b7 53 e2 fc 0f 7d 65 |..........S...}e|
00000020 c5 39 ad c4 2e d5 e3 5b d2 54 67 5c 13 bd cc d4 |.9.....[.Tg\....|
00000030 5f ca e4 61 2a 5c 6b 59 1c 83 0b 30 9e 55 a8 fa |_..a*\kY...0.U..|
00000040 4c 57 e7 b4 51 b0 00 21 dd 19 16 32 65 1e 31 f9 |LW..Q..!...2e.1.|
00000050 e1 c3 d6 df 75 90 42 f6 84 b7 5c 13 52 06 8e 1e |....u.B...\.R...|
00000060 de 35 01 1a 39 8f b7 10 7f 50 9d 34 96 12 ca d4 |.5..9....P.4....|
00000070 48 b7 8a fd 8d ec ff bf 10 65 2f 66 dc 52 1a 93 |H........e/f.R..|
00000080 50 0d f1 04 c0 88 ca 0c f1 de 21 3e b8 2f 20 90 |P.........!>./ .|
00000090 9d a4 c2 2d 1e ba d5 00 c7 7a 0a 9e c0 6d b8 ce |...-.....z...m..|
000000a0 59 26 2c 67 9e e8 3a 51 9b fa 15 97 3b 5f 4b 5c |Y&,g..:Q....;_K\|
000000b0 4b 94 6d ce a3 cf d8 9e 4a 94 27 ad cf 9f 56 10 |K.m.....J.'...V.|
000000c0 e7 27 9d 9d 1a 80 27 dd 86 93 b5 02 63 3b b8 37 |.'....'.....c;.7|
000000d0 7d 6f 4a c6 e7 8a 53 cf ad 6c bd a8 a5 f1 c7 b1 |}oJ...S..l......|
000000e0 7f 30 de ec 44 3b b9 f4 ff 6e 9c 45 e8 4a 86 af |.0..D;...n.E.J..|
000000f0 85 8f 50 3e 55 16 80 18 a7 61 b7 8a 9a 52 ac d9 |..P>U....a...R..|
00000100 e0 ff d7 86 11 fa 91 36 46 76 29 d7 eb e8 e8 fd |.......6Fv).....|
00000110 f7 53 60 58 80 82 6c 5e ea 45 1d f1 5b 78 5f b4 |.S`X..l^.E..[x_.|
00000120 93 26 85 97 c2 b4 f1 9b 34 9f bf 15 f6 e9 47 c7 |.&......4.....G.|
00000130 f8 08 c1 01 98 96 ec 79 99 83 18 3e d5 3b 91 84 |.......y...>.;..|
00000140 39 11 86 97 21 e5 91 64 46 e0 36 d9 6c 1b 1e 5a |9...!..dF.6.l..Z|
00000150 6e f5 10 fc 70 af f0 4b 27 f9 93 90 6c 59 ee da |n...p..K'...lY..|
00000160 80 23 49 45 2f fb c2 fb 6b 52 1d 56 bf f8 d2 b4 |.#IE/...kR.V....|
00000170 f5 0a 75 4b 2a c3 e3 ee 3f 81 04 04 92 7a f5 c9 |..uK*...?....z..|
00000180 6d 92 87 18 77 6a aa e4 0d c2 7b 7c 3c ca 12 e8 |m...wj....{|<...|
00000190 af 8c 0a 95 89 d2 1b 93 70 de 9b bf 5e 8a d5 6b |........p...^..k|
000001a0 82 c5 77 7e 75 5c 60 a0 64 ae 89 ee b6 c6 f0 a8 |..w~u\`.d.......|
000001b0 10 7e 20 40 e6 e7 b7 75 17 e2 5f 92 ae e0 00 fe |.~ @...u.._.....|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 80 62 00 00 00 |............b...|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
Dernière modification par xavgd (Le 21/09/2010, à 09:58)
Hors ligne
#2 Le 19/09/2010, à 22:20
- kAzz
Re : [Résolu] Problème d'erreurs dans le BOOT
Hello,
Euh... c'est quoi ton pb exactly ? aucune anomalie sur le résultat de ton script...
1 + 1 = 3
Hors ligne
#3 Le 20/09/2010, à 05:29
- malbo
Re : [Résolu] Problème d'erreurs dans le BOOT
Pour moi aussi tout est correct à part une chose qu'il faudrait rectifier dans le fichier /etc/fstab : remplacer "/dev/sda1" par "UUID=c742fa8e-f79f-4582-818e-77c848450961" pour que ça donne ça :
UUID=c742fa8e-f79f-4582-818e-77c848450961 / ext4 errors=remount-ro 0 1
Pour réaliser cette modif, il faut ouvrir le fichier avec des pouvoirs administateur. Tu peux coller cette commande dans un Terminal :
gksudo gedit /etc/fstab
Tu fais la modif détaillée ci-dessus (tu peux supprimer la ligne existante et coller directement la ligne que j'ai indiquée si tu veux aller plus vite), puis tu enregistres (Fichier>Enregistrer), tu fermes et tu redémarres le PC.
Tout ça ne nous dit pas quel est ton problème au démarrage, comment il se manifeste ?
Hors ligne
#4 Le 21/09/2010, à 09:40
- xavgd
Re : [Résolu] Problème d'erreurs dans le BOOT
J'avais une série d'erreurs récurantes durant la phase de Boot, mais solutionnée par le remplacement de /dev/sda1 par "UUID=c742fa8e-f79f-4582-818e-77c848450961 / ext4 errors=remount-ro 0 1" proposé par Malbo.
Maintennat j'ai une phase de BOOT propre, sans affichage de commandes rejetées.
Merci a tous les 2.
Hors ligne
#5 Le 21/09/2010, à 09:51
- malbo
Re : [Résolu] Problème d'erreurs dans le BOOT
xavgd,
Je ne pensais pas que cette anomalie était gênante. Je suis quand même content que ça ait pu assainir la situation et te satisfaire. Peux-tu modifier le titre de ton post #1 pour qu'il devienne :
[Résolu] Problème d'erreurs dans le BOOT
Pour ce faire, une petite procédure là :
http://doc.ubuntu-fr.org/tutoriel/howto_forum#passer_son_sujet_en_resolu
Hors ligne