#1 Le 08/05/2010, à 17:28
- elifarae
Long au démarrage (grub)
Depuis que j'ai mis à niveau Ubuntu sur mon Pc portable le lancement est horriblement long. Une explication possible est que j'ai fait une erreur lors de paramétrage du grub (ça j'en suis sur).J'ai chercher et j'ai trouver "réparer Windows 7 avec un FixBoot" le problème reste que le grub est installer sur (aussi ?) sur sda1 qui correspond en faîte à WinRe.
Je tien à préciser que logiquement après un Fixboot il faut réinstaller le grub. Là non rien n'a changer(hormis et cela est non négligeable l'accès a Windows )
Si dessous de quoi comprendre (peu être) mieux ce que j'essaie de vous expliquer
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 #5 for /boot/grub.
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 564083344 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Boot file info: BootPart in the file /NST/nst_grub.mbr is trying to
chain load sector #563704848 on boot drive #1
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disque /dev/sda: 320.1 Go, 320072933376 octets
255 têtes, 63 secteurs/piste, 38913 cylindres, total 625142448 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 3,074,047 3,072,000 27 Hidden HPFS/NTFS
/dev/sda2 * 3,084,480 563,698,775 560,614,296 7 HPFS/NTFS
/dev/sda3 563,704,785 625,137,344 61,432,560 5 Extended
/dev/sda5 563,704,848 622,518,749 58,813,902 83 Linux
/dev/sda6 622,518,813 625,137,344 2,618,532 82 Linux swap / Solaris
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/mmcblk0p1 0D19-321F vfat
/dev/sda1 70247AC9247A91B8 ntfs WinRE
/dev/sda2 E85E7D535E7D1B8E ntfs Vista
/dev/sda3: PTTYPE="dos"
/dev/sda5 4d04b919-a2bc-43f0-b423-2e76f065b1fe ext4
/dev/sda6 c8ae257b-98e5-4e41-87a7-9eb6b81d5381 swap
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda5 / ext4 (rw,errors=remount-ro)
/dev/mmcblk0p1 /media/0D19-321F_ vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
=========================== sda5/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,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
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,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
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-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=4d04b919-a2bc-43f0-b423-2e76f065b1fe ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-22-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
echo 'Chargement de Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=4d04b919-a2bc-43f0-b423-2e76f065b1fe ro single
echo 'Chargement du disque mémoire initial...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, avec Linux 2.6.31-20-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=4d04b919-a2bc-43f0-b423-2e76f065b1fe ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry 'Ubuntu, avec Linux 2.6.31-20-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
echo 'Chargement de Linux 2.6.31-20-generic ...'
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=4d04b919-a2bc-43f0-b423-2e76f065b1fe ro single
echo 'Chargement du disque mémoire initial...'
initrd /boot/initrd.img-2.6.31-20-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 4d04b919-a2bc-43f0-b423-2e76f065b1fe
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/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set e85e7d535e7d1b8e
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 ###
=============================== sda5/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 defaults 0 0
# / was on /dev/sda5 during installation
UUID=4d04b919-a2bc-43f0-b423-2e76f065b1fe / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=c8ae257b-98e5-4e41-87a7-9eb6b81d5381 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda5: Location of files loaded by Grub: ===================
288.7GB: boot/grub/core.img
293.2GB: boot/grub/grub.cfg
299.8GB: boot/initrd.img-2.6.31-20-generic
299.8GB: boot/initrd.img-2.6.32-22-generic
295.1GB: boot/vmlinuz-2.6.31-20-generic
299.0GB: boot/vmlinuz-2.6.32-22-generic
299.8GB: initrd.img
299.8GB: initrd.img.old
299.0GB: vmlinuz
295.1GB: vmlinuz.old
Edit: comme demander voici le contenu complet du fichier
Dernière modification par elifarae (Le 09/05/2010, à 22:18)
Hors ligne
#2 Le 09/05/2010, à 09:05
- malbo
Re : Long au démarrage (grub)
Modifie ton post #1 pour mettre l'intégralité de ton fichier résultat du bootinfoscript entre les balises code (là, tu n'as mis que le début dans lequel on voit des anomalies certes mais il faut mettre la totalité du fichier résultat)
Hors ligne
#3 Le 11/05/2010, à 09:13
- elifarae
Re : Long au démarrage (grub)
Les modification demandées ont été faite j'attends maintenant une réponse merci
Dernière modification par elifarae (Le 11/05/2010, à 09:14)
Hors ligne
#4 Le 11/05/2010, à 11:48
- malbo
Re : Long au démarrage (grub)
elifarae,
Je ne vois pas d'anomalie dans le résultat complet que tu as posté à part ça qui me chiffonne un peu :
vers le début de ton résultat, on peut voir :
sda2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Boot file info: BootPart in the file /NST/nst_grub.mbr is trying to
chain load sector #563704848 on boot drive #1
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
Moi sur mon PC, pour ma partition Win7 qui se trouve être comme toi sur sda2, j'ai ça :
sda2: _________________________________________________________________________
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/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
En somme c'est cette partie que tu as en plus de moi qui attire mon attention :
Boot file info: BootPart in the file /NST/nst_grub.mbr is trying to chain load sector #563704848 on boot drive #1
Je ne sais pas trop ce que c'est que ce machin mais je ne pense pas que ce soit de nature à expliquer le démarrage long
Dernière modification par malbo (Le 11/05/2010, à 11:48)
Hors ligne