#1 Le 01/02/2010, à 22:56
- groinko
Grub 2 sur disque usb Ubuntu 9.10 ne démarre pas
Bonjour,
je continue ici le sujet commencé là :
http://forum.ubuntu-fr.org/viewtopic.php?id=376230
il s'agissait au départ du clavier qui n'était pas reconnu : c'est résolu.
J'ai installé Ubuntu sur un disque usb 80 Go, le disque interne 320 Go a vista.
Ubuntu ne démarre pas quand je fais Entrée sur Grub ni en attendant 10 secondes.
Le décompte ne s'affiche pas.
Le clavier fonctionne (flèches, e).
Voici le résultat de fdisk -l :
ubuntu@ubuntu:~$ sudo fdisk -l
Disque /dev/sda: 320.1 Go, 320072933376 octets
255 têtes, 63 secteurs/piste, 38913 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0xc525744e
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 1567 12586896 27 Inconnu
/dev/sda2 * 1568 38914 299983272+ 7 HPFS/NTFS
Disque /dev/sdb: 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x73957ab4
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 9327 74919096 83 Linux
/dev/sdb2 9328 9729 3229065 5 Etendue
/dev/sdb5 9328 9729 3229033+ 82 Linux swap / Solaris
ubuntu@ubuntu:~$
j'ai ensuite monté /dev/sdb1 dans /mnt
et voici /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 /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set bf0c5397-19fe-471e-8217-fd8622a67d76
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
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/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set bf0c5397-19fe-471e-8217-fd8622a67d76
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=bf0c5397-19fe-471e-8217-fd8622a67d76 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set bf0c5397-19fe-471e-8217-fd8622a67d76
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=bf0c5397-19fe-471e-8217-fd8622a67d76 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set d8a06f51a06f34e2
chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 90d026e8d026d3ee
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 ###
Je ne sais quoi faire.
Merci.
Dernière modification par groinko (Le 01/02/2010, à 23:18)
Hors ligne