Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/05/2015, à 09:56

lotharvonmallow

problème démarrage{résolu}

Bonjour, suite à un bug, j'ai réinstaller Ubuntu 14.10, et l' installation c dérouler sans problème mais quand je fait le redémarrage ça me dit no such partition  grub rescue> et j'avoue que je suis complètement perdu,   en sachant que je n'ai que Ubuntu, pas de dual boot...   pouvez vous m'aider??? D' avance merci

Dernière modification par lotharvonmallow (Le 03/05/2015, à 17:10)

Hors ligne

#2 Le 01/05/2015, à 12:15

erresse

Re : problème démarrage{résolu}

Bonjour,
En réinstallant, tu as juste bousillé "grub". Il te faut le réinstaller depuis une session live : ATTENTION, il s'agit de l'installer sur le disque dur de démarrage, cherche la syntaxe correcte pour la commande "grub-install" avec, peut-être après, une "update-grub" pour réactualiser l'environnement de ta machine.


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#3 Le 01/05/2015, à 23:25

lotharvonmallow

Re : problème démarrage{résolu}

Et comment faire car je suis complètement perdu

Hors ligne

#4 Le 02/05/2015, à 07:07

malbo

Re : problème démarrage{résolu}

Je te prie de faire un Boot-Info. Tu donneras l'URL de ce Boot-Info dans ta réponse.

Hors ligne

#5 Le 02/05/2015, à 08:32

lotharvonmallow

Re : problème démarrage{résolu}

Hors ligne

#6 Le 02/05/2015, à 09:00

malbo

Re : problème démarrage{résolu}

Ton Boot-Info est là :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 9Feb2015]


============================= Boot Info Summary: ===============================

 => Grub2 (v2.00) 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 /boot/grub and uses an embedded config file:
    
    ---------------------------------------------------------------------------
    search.fs_uuid 2a3d6f5b-e094-4025-a163-3dece8db02a5 root hd1,msdos5 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos2)/boot/grub.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.10 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sdc1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 76.7 GiB, 82348277760 bytes, 160836480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   160,810,649   160,810,587   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048     9,764,863     9,762,816  82 Linux swap / Solaris
/dev/sdb2           9,766,910   312,580,095   302,813,186   5 Extended
/dev/sdb5           9,766,912   312,580,095   302,813,184  83 Linux


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1    *             63   976,751,999   976,751,937   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        348CF6538CF60EDC                       ntfs       
/dev/sdb1        1e154a66-f5cc-4a1f-9d8d-8a0bb822e613   swap       
/dev/sdb5        2a3d6f5b-e094-4025-a163-3dece8db02a5   ext4       lotharpartition
/dev/sdc1        A600C98F00C966C1                       ntfs       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 May  2 01:06 ata-HDS728080PLAT20_PFD215E7T2KXXM -> ../../sda
lrwxrwxrwx 1 root root 10 May  2 01:08 ata-HDS728080PLAT20_PFD215E7T2KXXM-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 May  2 01:06 ata-Hitachi_HTS545050B9A300_120312PDD400J7K2L42A -> ../../sdc
lrwxrwxrwx 1 root root 10 May  2 01:08 ata-Hitachi_HTS545050B9A300_120312PDD400J7K2L42A-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 May  2 00:33 ata-Optiarc_DVD_RW_AD-7170A -> ../../sr0
lrwxrwxrwx 1 root root  9 May  2 01:06 ata-ST3160021A_3LJ1J7PD -> ../../sdb
lrwxrwxrwx 1 root root 10 May  2 00:33 ata-ST3160021A_3LJ1J7PD-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May  2 01:06 ata-ST3160021A_3LJ1J7PD-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May  2 00:33 ata-ST3160021A_3LJ1J7PD-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 May  2 00:33 usb-7-in-1_CompactFlashI_II_030704M000123-0:0 -> ../../sde
lrwxrwxrwx 1 root root  9 May  2 00:33 usb-7-in-1_MS_MS_Pro_030704M000123-0:3 -> ../../sdh
lrwxrwxrwx 1 root root  9 May  2 00:33 usb-7-in-1_SD_MMC_030704M000123-0:2 -> ../../sdg
lrwxrwxrwx 1 root root  9 May  2 00:33 usb-7-in-1_SmartMedia_030704M000123-0:1 -> ../../sdf
lrwxrwxrwx 1 root root  9 May  2 01:06 usb-Samsung_G3_Station_00000011E09310C00043-0:0 -> ../../sdd
lrwxrwxrwx 1 root root  9 May  2 01:06 wwn-0x5000cca30fdd5b11 -> ../../sda
lrwxrwxrwx 1 root root 10 May  2 01:08 wwn-0x5000cca30fdd5b11-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 May  2 01:06 wwn-0x5000cca6adeb7351 -> ../../sdc
lrwxrwxrwx 1 root root 10 May  2 01:08 wwn-0x5000cca6adeb7351-part1 -> ../../sdc1

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sdb5        /                        ext4       (rw,errors=remount-ro)


=========================== sdb5/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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
else
  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
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,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2a3d6f5b-e094-4025-a163-3dece8db02a5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
	else
	  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
	fi
	linux	/boot/vmlinuz-3.16.0-36-generic root=UUID=2a3d6f5b-e094-4025-a163-3dece8db02a5 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-36-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-2a3d6f5b-e094-4025-a163-3dece8db02a5' {
	menuentry 'Ubuntu, avec Linux 3.16.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-36-generic-advanced-2a3d6f5b-e094-4025-a163-3dece8db02a5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
		else
		  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
		fi
		echo	'Chargement de Linux 3.16.0-36-generic…'
		linux	/boot/vmlinuz-3.16.0-36-generic root=UUID=2a3d6f5b-e094-4025-a163-3dece8db02a5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-36-generic-recovery-2a3d6f5b-e094-4025-a163-3dece8db02a5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
		else
		  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
		fi
		echo	'Chargement de Linux 3.16.0-36-generic…'
		linux	/boot/vmlinuz-3.16.0-36-generic root=UUID=2a3d6f5b-e094-4025-a163-3dece8db02a5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-36-generic
	}
	menuentry 'Ubuntu, avec Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-2a3d6f5b-e094-4025-a163-3dece8db02a5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
		else
		  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
		fi
		echo	'Chargement de Linux 3.16.0-23-generic…'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=2a3d6f5b-e094-4025-a163-3dece8db02a5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-2a3d6f5b-e094-4025-a163-3dece8db02a5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
		else
		  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
		fi
		echo	'Chargement de Linux 3.16.0-23-generic…'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=2a3d6f5b-e094-4025-a163-3dece8db02a5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-23-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='hd1,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
	else
	  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5  2a3d6f5b-e094-4025-a163-3dece8db02a5
	else
	  search --no-floppy --fs-uuid --set=root 2a3d6f5b-e094-4025-a163-3dece8db02a5
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb5/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>
# / was on /dev/sdb5 during installation
UUID=2a3d6f5b-e094-4025-a163-3dece8db02a5 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb1 during installation
UUID=1e154a66-f5cc-4a1f-9d8d-8a0bb822e613 none            swap    sw              0       0
--------------------------------------------------------------------------------

========= Devices which don't seem to have a corresponding hard drive: =========

sdd sde sdf sdg sdh 

=============================== StdErr Messages: ===============================

cat: write error: Broken pipe
cat: write error: Broken pipe

ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-05-02__01h04 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in installed-session (Ubuntu 14.10, utopic, Ubuntu, i686)
CPU op-mode(s):        32-bit
BOOT_IMAGE=/boot/vmlinuz-3.16.0-36-generic root=UUID=2a3d6f5b-e094-4025-a163-3dece8db02a5 ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sdb5:L'OS actuellement utilisé - Ubuntu 14.10 CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="348CF6538CF60EDC" TYPE="ntfs" PARTUUID="d21cd21c-01"
/dev/sdc1: UUID="A600C98F00C966C1" TYPE="ntfs" PARTUUID="06d706d6-01"
/dev/sdb1: UUID="1e154a66-f5cc-4a1f-9d8d-8a0bb822e613" TYPE="swap" PARTUUID="308d2c73-01"
/dev/sdb5: LABEL="lotharpartition" UUID="2a3d6f5b-e094-4025-a163-3dece8db02a5" TYPE="ext4" PARTUUID="308d2c73-05"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root             4096 oct.  22  2014 grub.d
total 76
-rwxr-xr-x 1 root root  9424 oct.  16  2014 00_header
-rwxr-xr-x 1 root root  6058 oct.  15  2014 05_debian_theme
-rwxr-xr-x 1 root root 11611 oct.  16  2014 10_linux
-rwxr-xr-x 1 root root 10418 oct.  16  2014 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 oct.  16  2014 30_os-prober
-rwxr-xr-x 1 root root  1416 oct.  16  2014 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  16  2014 40_custom
-rwxr-xr-x 1 root root   216 oct.  16  2014 41_custom
-rw-r--r-- 1 root root   483 oct.  16  2014 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== UEFI/Legacy mode:
This installed-session is not EFI-compatible.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdb5	: sdb,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	32,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sdc1	: sdc,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sdc1.

sdb	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes
sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	no-os,	63 sectors * 512 bytes
sdc	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	no-os,	63 sectors * 512 bytes


=================== parted -l:

Model: ATA HDS728080PLAT20 (scsi)
Disk /dev/sda: 82.3GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      32.3kB  82.3GB  82.3GB  primary  ntfs         boot


Model: ATA ST3160021A (scsi)
Disk /dev/sdb: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
1      1049kB  5000MB  4999MB  primary   linux-swap(v1)
2      5001MB  160GB   155GB   extended
5      5001MB  160GB   155GB   logical   ext4


Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End    Size   Type     File system  Flags
1      32.3kB  500GB  500GB  primary  ntfs         boot

=================== parted -lm:

BYT;
/dev/sda:82.3GB:scsi:512:512:msdos:ATA HDS728080PLAT20:;
1:32.3kB:82.3GB:82.3GB:ntfs::boot;

BYT;
/dev/sdb:160GB:scsi:512:512:msdos:ATA ST3160021A:;
1:1049kB:5000MB:4999MB:linux-swap(v1)::;
2:5001MB:160GB:155GB:::;
5:5001MB:160GB:155GB:ext4::;

BYT;
/dev/sdc:500GB:scsi:512:512:msdos:ATA Hitachi HTS54505:;
1:32.3kB:500GB:500GB:ntfs::boot;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL           MODEL            UUID
sda   disk         76,7G                 HDS728080PLAT20
sda1  part ntfs    76,7G                                  348CF6538CF60EDC
sdb   disk        149,1G                 ST3160021A
sdb1  part swap     4,7G                                  1e154a66-f5cc-4a1f-9d8d-8a0bb822e613
sdb2  part            1K
sdb5  part ext4   144,4G lotharpartition                  2a3d6f5b-e094-4025-a163-3dece8db02a5
sdc   disk        465,8G                 Hitachi HTS54505
sdc1  part ntfs   465,8G                                  A600C98F00C966C1
sr0   rom          1024M                 DVD RW AD-7170A

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sdb      1  0  0 running
sdb1     1  0  0         [SWAP]
sdb2     1  0  0
sdb5     1  0  0         /
sdc      1  0  0 running
sdc1     1  0  0         /mnt/boot-sav/sdc1
sr0      1  0  1 running


=================== mount:
/dev/sdb5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lotharvonmallow)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdc1 on /mnt/boot-sav/sdc1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb5 size slaves stat subsystem trace uevent
/sys/block/sdc (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdc1 size slaves stat subsystem trace uevent
/sys/block/sdd (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sde (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdf (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdg (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdh (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dmmidi dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet input kmsg log lp0 mapper mcelog media0 mem midi net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb5 sdc sdc1 sdd sde sdf sdg sdh sg0 sg1 sg2 sg3 sg4 sg5 sg6 sg7 sg8 shm snapshot snd sr0 stderr stdin stdout uinput urandom usb v4l vga_arbiter video0 zero
ls /dev/mapper:  control
ls: impossible d'accéder à : Aucun fichier ou dossier de ce type

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  00 00 00 00 80 00 80 00  5a c6 95 09 00 00 00 00  |........Z.......|
00000030  00 00 0c 00 00 00 00 00  65 5c 99 00 00 00 00 00  |........e......|
00000040  f6 00 00 00 01 00 00 00  dc 0e f6 8c 53 f6 8c 34  |............S..4|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 45 72 72  2e 20 6c 65 63 74 75 72  |.....Err. lectur|
00000190  65 20 64 69 73 71 75 65  00 0d 0a 4e 54 4c 44 52  |e disque...NTLDR|
000001a0  20 6d 61 6e 71 75 65 00  0d 0a 4e 54 4c 44 52 20  | manque...NTLDR |
000001b0  65 73 74 20 63 6f 6d 70  72 65 73 73 82 00 0d 0a  |est compress....|
000001c0  45 6e 74 72 65 7a 20 43  74 72 6c 2b 41 6c 74 2b  |Entrez Ctrl+Alt+|
000001d0  53 75 70 70 72 20 70 6f  75 72 20 72 65 64 82 6d  |Suppr pour red.m|
000001e0  61 72 72 65 72 0d 0a 00  0d 0a 00 00 00 00 00 00  |arrer...........|
000001f0  00 00 00 00 00 00 00 00  83 99 a8 be 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdc1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  00 00 00 00 80 00 80 00  40 0d 38 3a 00 00 00 00  |........@.8:....|
00000030  00 00 0c 00 00 00 00 00  d4 80 a3 03 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  c1 66 c9 00 8f c9 00 a6  |.........f......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 45 72 72  2e 20 6c 65 63 74 75 72  |.....Err. lectur|
00000190  65 20 64 69 73 71 75 65  00 0d 0a 4e 54 4c 44 52  |e disque...NTLDR|
000001a0  20 6d 61 6e 71 75 65 00  0d 0a 4e 54 4c 44 52 20  | manque...NTLDR |
000001b0  65 73 74 20 63 6f 6d 70  72 65 73 73 82 00 0d 0a  |est compress....|
000001c0  45 6e 74 72 65 7a 20 43  74 72 6c 2b 41 6c 74 2b  |Entrez Ctrl+Alt+|
000001d0  53 75 70 70 72 20 70 6f  75 72 20 72 65 64 82 6d  |Suppr pour red.m|
000001e0  61 72 72 65 72 0d 0a 00  0d 0a 00 00 00 00 00 00  |arrer...........|
000001f0  00 00 00 00 00 00 00 00  83 99 a8 be 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sdb5      ext4      143G  4.5G  131G   4% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
udev           devtmpfs  618M  4.0K  618M   1% /dev
tmpfs          tmpfs     126M  1.1M  125M   1% /run
none           tmpfs     5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs     628M   76K  628M   1% /run/shm
none           tmpfs     100M   52K  100M   1% /run/user
/dev/sda1      fuseblk    77G   52G   25G  68% /mnt/boot-sav/sda1
/dev/sdc1      fuseblk   466G  231G  236G  50% /mnt/boot-sav/sdc1

=================== fdisk -l:

Disk /dev/sda: 76.7 GiB, 82348277760 bytes, 160836480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd21cd21c

Device     Boot Start       End   Sectors  Size Id Type
/dev/sda1  *       63 160810649 160810587 76.7G  7 HPFS/NTFS/exFAT

Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x308d2c73

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sdb1          2048   9764863   9762816   4.7G 82 Linux swap / Solaris
/dev/sdb2       9766910 312580095 302813186 144.4G  5 Extended
/dev/sdb5       9766912 312580095 302813184 144.4G 83 Linux

Disk /dev/sdc: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x06d706d6

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdc1  *       63 976751999 976751937 465.8G  7 HPFS/NTFS/exFAT




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb5 into the MBRs of all disks (except USB without OS).
The boot flag would be placed on sdb5.
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb (160GB) !

Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 14.10] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


=================== User settings
The settings chosen by the user will not act on the boot.

On dirait que l'anomalie est dans cet extrait de la partie "Boot Info Summary" (tout au début du Boot-Info) :

 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos2)/boot/grub.

On y voit que sur le disque sdb, le chargeur d'amorçage de Grub pointe vers une partition  ",msdos2" sur ce même disque dur. Je suppose que ce chargeur est une relique de ton ancienne install : au moment de l'installation, tu as dû laisser sélectionné "/dev/sda" dans le champ "Périphérique où sera installé le programme de démarrage"(en bas de la fenêtre) alors qu'il aurait fallu sélectionner "/dev/sdb". Du coup, si tu mets en priorité de démarrage dans le Bios le disque dur sdb, ça te donne "no such partition  grub rescue>" puisque l'ancienne partition n'existe plus. Il faut donc que tu changes la priorité de démarrage dans le Bios pour la mettre sur le disque sda et là ça va marcher comme on peut voir dans cet extrait du Boot-Info :

============================ Boot Info Summary: ===============================

 => Grub2 (v2.00) 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 /boot/grub and uses an embedded config file:
    
    ---------------------------------------------------------------------------
    search.fs_uuid 2a3d6f5b-e094-4025-a163-3dece8db02a5 root hd1,msdos5 
    set prefix=($root)'/boot/grub'

On voit que le chargeur d'amorçage de Grub pointe vers "hd1,msdos5", c'est à dire sdb5 et c'est bien la partition racine de ta nouvelle installation.
Si tu parviens à démarrer Ubuntu en changeant la priorité de démarrage dans le Bios, je te conseille de ne pas laisser comme ça et de réparer ta connerie au moment de l'installation. Le bon endroit pour installer le chargeur d'amorçage de Ubuntu dans une installation classique (non-EFI) , c'est toujours le MBR du même disque dur que la partition racine. Dans ton cas, ta partition racine étant sur sdb, il convient que le chargeur d'amorçage de Grub soit sur sdb. Je t'indiquerai comment faire pour rectifier cela.

Dernière modification par malbo (Le 02/05/2015, à 09:08)

Hors ligne

#7 Le 02/05/2015, à 09:18

lotharvonmallow

Re : problème démarrage{résolu}

Le truc bizarre c que j'ai réinstaller en sélectionnant bien le disque dur sdb mais que ça n'a rien changer et au démarrage quand il me met grub rescue, je lui indique hd0,5 et là ca redemare normal? Mais après je ne sais pas quoi faire? Puis-je modifier grub sans réinstaller Ubuntu?

Hors ligne

#8 Le 02/05/2015, à 09:22

malbo

Re : problème démarrage{résolu}

Je t'ai dit de changer la priorité de démarrage dans ton Bios pour la mettre sur le disque HDS728080PLAT20 (sda). L'as-tu fait ?

Hors ligne

#9 Le 02/05/2015, à 09:44

lotharvonmallow

Re : problème démarrage{résolu}

Je veux bien mais comment dois-je faire? Et je le ferai après mon boulot...

Hors ligne

#10 Le 02/05/2015, à 10:04

malbo

Re : problème démarrage{résolu}

lotharvonmallow a écrit :

Je veux bien mais comment dois-je faire?

Il y a des explications dans cette doc : http://www.actual-pc.fr/tuto_bios_boot
Toutefois, la procédure dépend un peu des fabricants donc tu peux avoir quelques différences par rapport aux vues qui sont dans cette doc. Dans la doc de ton ordi, en général c'est expliqué comment changer la priorité de démarrage.

EDIT : donne le nom de ton modèle d'ordi et son fabricant : je pourrai peut-être trouver quelques conseils à te donner.

Dernière modification par malbo (Le 02/05/2015, à 10:09)

Hors ligne

#11 Le 02/05/2015, à 10:43

dada625

Re : problème démarrage{résolu}

Bonjour,

J'ai plusieurs fois eu ce problème en installant une distribution . lorsque je n'ai plus le grub ,j'installe  boot-repair  (que tu télécharge ) de plus il te permet. de changer le démarrage
c'est un outils à conserver.


carte mère :Asus B85M-G   -  CPU 1150 Intel  core I5-4430     -  RAM DDR3 8GB
HD Sata III 1TO  , Carte graphique intégrée. Ubuntu 14.04  Unity et 16.04 Mate.

Hors ligne

#12 Le 02/05/2015, à 18:34

lotharvonmallow

Re : problème démarrage{résolu}

Problème réglé... Merci à tous....

Hors ligne

#13 Le 02/05/2015, à 18:37

erresse

Re : problème démarrage{résolu}

Alors... un petit [Résolu] pour clore ton sujet en modifiant le titre dans ton premier message. tongue


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#14 Le 02/05/2015, à 18:51

malbo

Re : problème démarrage{résolu}

ça m'étonnerait bien que le pb soit réglé. Depuis une session de ton Ubuntu installé, je te prie de passer cette commande dans un terminal :

sudo debconf-show grub-pc

et de coller le résultat obtenu dans ta réponse.

Hors ligne

#15 Le 03/05/2015, à 09:09

lotharvonmallow

Re : problème démarrage{résolu}

ok voici ce que ça donne:

* grub-pc/install_devices: /dev/disk/by-id/ata-HDS728080PLAT20_PFD215E7T2KXXM
  grub-pc/partition_description:
  grub-pc/postrm_purge_boot_grub: false
  grub2/linux_cmdline:
  grub2/device_map_regenerated:
  grub2/linux_cmdline_default: quiet splash
  grub2/kfreebsd_cmdline_default: quiet splash
  grub-pc/install_devices_empty: false
  grub-pc/timeout: 10
  grub2/kfreebsd_cmdline:
  grub-pc/install_devices_disks_changed:
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/install_devices_failed: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/kopt_extracted: false
  grub-pc/disk_description:
  grub-pc/hidden_timeout: true

Hors ligne

#16 Le 03/05/2015, à 09:39

malbo

Re : problème démarrage{résolu}

La ligne significative est la suivante :

* grub-pc/install_devices: /dev/disk/by-id/ata-HDS728080PLAT20_PFD215E7T2KXXM

elle indique que le chargeur d'amorçage de Grub se trouve dans le MBR du disque HDS728080PLAT20, lequel est ton disque dur sda.
Je t’invite à suivre ce tuo : http://forum.ubuntu-fr.org/viewtopic.php?id=440159
en démarrant à 2) MISE A JOUR DE GRUB-PC (en effet, tu as déjà répondu à 1) ÉTAT DES LIEUX AVANT MODIF : c'est ce que tu as collé dans ton post #15)
Arrivé à le 5ème étape, tu verras que "/dev/sda" est coché. Tu laisseras cochée cette case mais tu cocheras en plus la case "/dev/sdb"
Tu feras 3) VÉRIFICATION et tu colleras dans ta réponse le résultat de la commande "sudo debconf-show grub-pc" comme tu l'as fait pour le post #15 de sorte que je puisse vérifier que la réparation a bien été faite. Pour la ligne "grub-pc/install_devices", on devrait voir qu'il y les deux disques durs sda et sdb (au lieu de sda actuellement)

Quel est l'intérêt de tout cela ?
- demain si ton disque dur sda tombe en panne, tu pourras démarrer sur sdb puisque le chargeur d'amorçage dans le MBR de sdb sera opérationnel.
- En cas d'évolution de Grub impliquant une réécriture du chargeur d'amorçage - c'est ce qui peut se produire lors d'une mise à niveau de la distribution - les DEUX chargeurs d'amorçage, celui du MBR de sda et celui du MBR de sdb, seront réécrits et donc à jour.

Dernière modification par malbo (Le 03/05/2015, à 09:45)

Hors ligne

#17 Le 03/05/2015, à 17:09

lotharvonmallow

Re : problème démarrage{résolu}

voilà:

grub2/kfreebsd_cmdline_default: quiet splash
* grub2/linux_cmdline:
* grub-pc/install_devices: /dev/disk/by-id/ata-HDS728080PLAT20_PFD215E7T2KXXM, /dev/disk/by-id/ata-ST3160021A_3LJ1J7PD
  grub-pc/install_devices_disks_changed:
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_empty: false
  grub-pc/mixed_legacy_and_grub2: true
  grub2/device_map_regenerated:
* grub2/linux_cmdline_default: quiet splash
  grub-pc/timeout: 10
  grub-pc/hidden_timeout: false
  grub-pc/partition_description:
  grub-pc/install_devices_failed: false
  grub-pc/kopt_extracted: false
  grub-pc/install_devices_failed_upgrade: true
  grub2/kfreebsd_cmdline:
  grub-pc/disk_description:
  grub-pc/chainload_from_menu.lst: true

Hors ligne

#18 Le 03/05/2015, à 17:28

malbo

Re : problème démarrage{résolu}

Le résultat est parfait :

* grub-pc/install_devices: /dev/disk/by-id/ata-HDS728080PLAT20_PFD215E7T2KXXM, /dev/disk/by-id/ata-ST3160021A_3LJ1J7PD

A présent que tu as rectifié le tir, tu peux remettre le disque ST3160021A (c'est ton disque sdb) en priorité de démarrage dans la Bios. Quelque soit le disque dur qui est en priorité dans le Bios, Ubuntu démarrera de la même façon mais c'est quand même plus "logique" de mettre la priorité de démarrage sur le disque qui contient la partition racine de Ubuntu, c'est à dire sur le disque ST3160021A.

Hors ligne