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 26/11/2015, à 21:31

nantes44120

Probleme de démarrage écran noir «Grub»

Bonjour à tous,

Je ne sais pas si c'est le bon endroit où venir mais je suis désespéré.

J'ai voulu installer Elementary OS sur mon ordinateur. L'installation s'est bien déroulé et une fois faite, il m'est indiqué de redémarrer l'ordinateur, chose que je fais. Et là, écran noir avec inscrit «GNU GRUB version 2.02-beta2-9ubuntu1 minimal bash-like line editing is supported. For the first word TAB lists possible device or file completions»

... Je ne comprends rien sad

Même la touche F2 ne fonctionne pas.

En espérant que vous pourrez m'aider.

PS: je sais que des sujets comme celui-là en déjà été traité mais je n'y comprends pas grande chose et cela semble être du cas par cas.

PS: j'ai effectué le boot-info :
http://paste2.org/h6GDb8Gd

Dernière modification par nantes44120 (Le 26/11/2015, à 22:44)

Hors ligne

#2 Le 27/11/2015, à 16:03

maxire

Re : Probleme de démarrage écran noir «Grub»

Salut,

Une solution possible en https://forum.ubuntu-fr.org/viewtopic.php?pid=20741091 messages #4 et #6.

@nantes44120, remplacer gpt9 par gpt1 dans les commandes données en message #4
@bugatswood, remplacer gpt9 par gpt2 dans les commandes données en message #4.

Aux deux remplacer 1 par 2 dans la commande efibootmgr du message 5.

Il existe également la méthode utilisée par Robin26 en messag #6, mais elle n'est pas clairement décrite, à vrai dire je ne sais pas exactement ce qu'il a fait.

Dernière modification par maxire (Le 30/11/2015, à 11:50)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#3 Le 27/11/2015, à 22:30

nantes44120

Re : Probleme de démarrage écran noir «Grub»

Merci mais je ne comprends pas il n'y a rien dans le message 6. Ne confonds tu pas avec le message 5 ? J'ai essayé et j'obtiens "can't find command subo"

Merci par avance

Dernière modification par nantes44120 (Le 27/11/2015, à 22:38)

Hors ligne

#4 Le 29/11/2015, à 20:49

malbo

Re : Probleme de démarrage écran noir «Grub»

Ton Boot-Info est là :

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


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

 => No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/grub/MokManager.efi /EFI/grub/grubx64.efi 
                       /EFI/grub/shimx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  elementary OS Freya 
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.03 2010-10-22 ........>..sr>.......sjx9...0...~.....~...f...M.f.f....f..0~....>E}.u......
    Boot sector info:  Syslinux looks at sector 3531680 of /dev/sdb1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2       1,050,624 1,936,988,159 1,935,937,536 Data partition (Linux)
/dev/sda3   1,936,988,160 1,953,523,711    16,535,552 Swap partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 4037 MB, 4037017600 bytes
255 heads, 63 sectors/track, 490 cylinders, total 7884800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048     7,884,799     7,882,752   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        E0A6-C3A6                              vfat       
/dev/sda2        6c6852dc-9a06-4ee9-9766-dbb4128655ff   ext4       
/dev/sda3        902eae20-5b0b-44eb-93cf-2a99238c9f21   swap       
/dev/sdb1        1216-DAFD                              vfat       ELEMENTARY

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

total 0
lrwxrwxrwx 1 root root  9 Nov 26 19:05 ata-HL-DT-ST_DVDRAM_GUA0N_KYTE4QE3832 -> ../../sr0
lrwxrwxrwx 1 root root  9 Nov 26 20:11 ata-WDC_WD10JPVX-22JC3T0_WD-WX11A44D7323 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 26 19:05 ata-WDC_WD10JPVX-22JC3T0_WD-WX11A44D7323-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 26 19:05 ata-WDC_WD10JPVX-22JC3T0_WD-WX11A44D7323-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 26 19:05 ata-WDC_WD10JPVX-22JC3T0_WD-WX11A44D7323-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Nov 26 20:11 usb-2.0_Flash_Disk_D8F171E9-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 26 19:05 usb-2.0_Flash_Disk_D8F171E9-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Nov 26 19:05 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Nov 26 20:11 wwn-0x50014ee659f425c7 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 26 19:05 wwn-0x50014ee659f425c7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 26 19:05 wwn-0x50014ee659f425c7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 26 19:05 wwn-0x50014ee659f425c7-part3 -> ../../sda3

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda2/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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6c6852dc-9a06-4ee9-9766-dbb4128655ff
else
  search --no-floppy --fs-uuid --set=root 6c6852dc-9a06-4ee9-9766-dbb4128655ff
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=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  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/white
### 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 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6c6852dc-9a06-4ee9-9766-dbb4128655ff' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6c6852dc-9a06-4ee9-9766-dbb4128655ff
	else
	  search --no-floppy --fs-uuid --set=root 6c6852dc-9a06-4ee9-9766-dbb4128655ff
	fi
	linux	/boot/vmlinuz-3.19.0-26-generic.efi.signed root=UUID=6c6852dc-9a06-4ee9-9766-dbb4128655ff ro  
	initrd	/boot/initrd.img-3.19.0-26-generic
}
submenu 'Options avancées pour GNU/Linux' $menuentry_id_option 'gnulinux-advanced-6c6852dc-9a06-4ee9-9766-dbb4128655ff' {
	menuentry 'GNU/Linux, avec Linux 3.19.0-26-generic' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-26-generic-advanced-6c6852dc-9a06-4ee9-9766-dbb4128655ff' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6c6852dc-9a06-4ee9-9766-dbb4128655ff
		else
		  search --no-floppy --fs-uuid --set=root 6c6852dc-9a06-4ee9-9766-dbb4128655ff
		fi
		echo	'Chargement de Linux 3.19.0-26-generic…'
		linux	/boot/vmlinuz-3.19.0-26-generic.efi.signed root=UUID=6c6852dc-9a06-4ee9-9766-dbb4128655ff ro  
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.19.0-26-generic
	}
	menuentry 'GNU/Linux, with Linux 3.19.0-26-generic (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-26-generic-recovery-6c6852dc-9a06-4ee9-9766-dbb4128655ff' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6c6852dc-9a06-4ee9-9766-dbb4128655ff
		else
		  search --no-floppy --fs-uuid --set=root 6c6852dc-9a06-4ee9-9766-dbb4128655ff
		fi
		echo	'Chargement de Linux 3.19.0-26-generic…'
		linux	/boot/vmlinuz-3.19.0-26-generic.efi.signed root=UUID=6c6852dc-9a06-4ee9-9766-dbb4128655ff ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.19.0-26-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/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda2/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/sda2 during installation
UUID=6c6852dc-9a06-4ee9-9766-dbb4128655ff /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=E0A6-C3A6  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda3 during installation
UUID=902eae20-5b0b-44eb-93cf-2a99238c9f21 none            swap    sw              0       0
--------------------------------------------------------------------------------

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try elementary OS without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "Install elementary OS" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
	initrd	/casper/initrd.lz
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash --
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit boot=casper quiet splash --

label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 

label ubnentry1
menu label ^Try elementary OS without installing
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper  quiet splash --

label ubnentry2
menu label ^Install elementary OS
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper only-ubiquity  quiet splash --

label ubnentry3
menu label ^Check disc for defects
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash --

label ubnentry4
menu label Test ^memory
kernel /install/mt86plus
append initrd=/ubninit 

label ubnentry5
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit 

label ubnentry6
menu label Try elementary OS without installing
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --

label ubnentry7
menu label Install elementary OS
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --

label ubnentry8
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --

label ubnentry9
menu label Check disc for defects
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash --

--------------------------------------------------------------------------------

============== sdb1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)

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

File descriptor 9 (/proc/9381/mounts) leaked on lvs invocation. Parent PID 15287: bash
File descriptor 63 (pipe:[76191]) leaked on lvs invocation. Parent PID 15287: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-info 2015-11-26__20h11 ===================
boot-info version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-info is executed in live-session (elementary OS Freya, freya, elementary OS, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
ls: cannot access /home/usr/.config: No such file or directory

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:
/dev/sda2:elementary OS Freya (0.3.1):elementaryOS:linux

=================== blkid:
/dev/sda1: UUID="E0A6-C3A6" TYPE="vfat"
/dev/sda2: UUID="6c6852dc-9a06-4ee9-9766-dbb4128655ff" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/sda3: UUID="902eae20-5b0b-44eb-93cf-2a99238c9f21" TYPE="swap"
/dev/sdb1: LABEL="ELEMENTARY" UUID="1216-DAFD" TYPE="vfat"


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


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== sda2/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 sept.  3 11:35 grub.d
total 72
-rwxr-xr-x 1 root root  9424 juil.  8 17:00 00_header
-rwxr-xr-x 1 root root  6076 juil.  8 16:18 05_debian_theme
-rwxr-xr-x 1 root root 11481 juil.  8 17:00 10_linux
-rwxr-xr-x 1 root root 10412 juil.  8 17:00 20_linux_xen
-rwxr-xr-x 1 root root 11692 juil.  8 17:00 30_os-prober
-rwxr-xr-x 1 root root  1416 juil.  8 17:00 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juil.  8 17:00 40_custom
-rwxr-xr-x 1 root root   216 juil.  8 17:00 41_custom
-rw-r--r-- 1 root root   483 juil.  8 17:00 README




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


GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX=""



/boot/efi detected in the fstab of sda2: UUID=E0A6-C3A6   (sda1)

=================== efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 2001,0002,2002,2003
Boot0001* USB HDD: 2.0     Flash Disk	ACPI(a0341d0,0)PCI(14,0)USB(0,0)HD(1,800,784800,04913fd1)RC
Boot0002* grub	HD(1,800,100000,207fc15c-b41b-4322-9082-9a5b9daa79b7)File(EFIgrubshimx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	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.
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	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,	/mnt/boot-sav/sda2.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	has-os,	2048 sectors * 512 bytes


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

Model: ATA WDC WD10JPVX-22J (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
1      1049kB  538MB   537MB   fat32                 boot
2      538MB   992GB   991GB   ext4
3      992GB   1000GB  8466MB  linux-swap(v1)


Model: 2.0 Flash Disk (scsi)
Disk /dev/sdb: 4037MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      1049kB  4037MB  4036MB  primary  fat32        boot, lba

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

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-22J;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:992GB:991GB:ext4::;
3:992GB:1000GB:8466MB:linux-swap(v1)::;

BYT;
/dev/sdb:4037MB:scsi:512:512:msdos:2.0 Flash Disk;
1:1049kB:4037MB:4036MB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL    MODEL    UUID
sda   disk          931,5G          WDC WD10
sda1  part vfat       512M                   E0A6-C3A6
sda2  part ext4     923,1G                   6c6852dc-9a06-4ee9-9766-dbb4128655ff
sda3  part swap       7,9G                   902eae20-5b0b-44eb-93cf-2a99238c9f21
sdb   disk            3,8G          Flash Di
sdb1  part vfat       3,8G ELEMENTARY
1216-DAFD
sr0   rom            1024M          DVDRAM G
loop0 loop squashfs 817,1M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0         [SWAP]
sdb      1  0  1 running
sdb1     1  0  1         /cdrom
sr0      1  0  1 running
loop0    1  1  0         /rofs


=================== mount:
aufs on / type aufs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=elementary)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw)


=================== 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 sda2 sda3 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 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):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hpet i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 10 00 fe 03 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 a6 c3 a6 e0 4e  4f 20 4e 41 4d 45 20 20  |..)....NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  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

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem     Type      Size  Used Avail Use% Mounted on
aufs           aufs      3.9G  420M  3.5G  11% /
udev           devtmpfs  3.9G   12K  3.9G   1% /dev
tmpfs          tmpfs     787M  1.2M  786M   1% /run
/dev/sdb1      vfat      3.8G  903M  2.9G  24% /cdrom
/dev/loop0     squashfs  818M  818M     0 100% /rofs
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs     3.9G   44K  3.9G   1% /tmp
none           tmpfs     5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs     3.9G  144K  3.9G   1% /run/shm
none           tmpfs     100M   60K  100M   1% /run/user
/dev/sda1      vfat      511M  3.4M  508M   1% /mnt/boot-sav/sda1
/dev/sda2      ext4      909G  3.1G  860G   1% /mnt/boot-sav/sda2

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

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x57e83112

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1953525167   976762583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 4037 MB, 4037017600 bytes
255 heads, 63 sectors/track, 490 cylinders, total 7884800 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
Disk identifier: 0x04913fd1

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     7884799     3941376    c  W95 FAT32 (LBA)




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file rename-ms-efi


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

@nantes44120 : j'ai voulu essayer en machine virtuelle la version 0.3.1 de Elementary OS et je confirme que ça ne marche pas et qu'on arrive au "Minimal bash-like". Du coup, j'ai cherché sur la toile de l'info sur le sujet et je constate qu'il n'y a pas d'info. Moi, je suis parvenu à démarrer en utilisant Super Grub2 Disk (*) mais c'est honteux de proposer une distribution de merde comme ça.

(*) j'ai utilisé l'ISO suivant : super_grub2_disk_hybrid_2.02s3.iso (téléchargeable à cette adresse : https://forja.cenatic.es/frs/download.p … 2.02s3.iso )

Edit le 30 nov 2015 : en passant par Super Grub2 Disk, j'arrive à ouvrir une session et à faire toutes les mises à jour (j'ai sélectionné "Installer la version du responsable du paquet" quand j'ai eu un message au sujet de la configuration de grub-efi-amd64) mais même après ça, j'ai encore le "Minimal bash-like" au démarrage. J'ai donc été obligé de repasser par Super Grub2 Disk pour ouvrir une session et à passer la commande de réinstallation de grub :

sudo grub-install 

Après cela, j'ai obtenu enfin le démarrage par défaut de l'ordi sur le menu Grub (état final : http://paste2.org/pDv2HX1h )

Dernière modification par malbo (Le 16/12/2015, à 06:57)

Hors ligne

#5 Le 30/11/2015, à 09:15

nantes44120

Re : Probleme de démarrage écran noir «Grub»

D'accord ! Je te remercie smile je vais essayer cela ce soir en espérant que cela marche !

Hors ligne

#6 Le 30/11/2015, à 09:21

malbo

Re : Probleme de démarrage écran noir «Grub»

J'ai édité mon post #5 entre-temps. Tu devrais abandonner Elementary OS, c'est vraiment pas sérieux comme distribution.

EDIT : si tu veux utiliser SG2D (Super Grub2 Disk), n'essaie pas de réaliser une clé USB parce que ça ne marche pas avec les méthodes classiques (sauf ma recette particulière) : grave un CD (ou un CD réinscriptible) parce que c'est la solution la plus efficace à mon avis.
Si tu ne peux vraiment pas utiliser un CD, fais-toi une LiveUSB SG2D en utilisant cette technique :  http://forum.ubuntu-fr.org/viewtopic.ph … #p18288531

Dernière modification par malbo (Le 30/11/2015, à 09:39)

Hors ligne

#7 Le 30/11/2015, à 12:03

maxire

Re : Probleme de démarrage écran noir «Grub»

@nantes4420, désolé pour cette réponse tardive, j'ai été pas mal occupé, j'ai corrigé mon message, désolé pour les erreurs.

Les commandes du message 5 doivent être passée une fois Os Elementary lancé (en plus c'est sudo... et non subo...).
Le message 4 indique comment à partir du prompt Grub afficher le menu pour ensuite lance Elementary Os.

Tu peux effectivement utiliser SG2D, une autre solution serait de refaire l'installation en mode BIOS/CSM si ton matériel le permet.

@malbo, ce qui est honteux c'est surtout l'utilisation par défaut de shimx64.efi par Ubuntu ce qui casse les distributions construites à partir des dépôts Canonical lorsque installées en UEFI.
Ce qui me fait penser que je n'ai pas testé de Mint en mode UEFI, je me demande comment ils ont résolu ce problème.

La solution que tu proposes est un peu bancale puisque:

Boot0003* grub	HD(1,800,100000,2667332a-947d-40e2-b087-3868c50bfe17)File(EFIgrubshimx64.efi)
Boot0004* ubuntu	HD(1,800,100000,2667332a-947d-40e2-b087-3868c50bfe17)File(EFIubuntushimx64.efi)

et

/EFI/grub/grubx64.efi 
/EFI/grub/shimx64.efi
/EFI/ubuntu/MokManager.efi /EFI/ubuntu/grubx64.efi 
/EFI/ubuntu/shimx64.efi 

Maintenant tu as 2 entrées EFI une Ubuntu et une Grub, je ne comprends pas d'ailleurs pourquoi.

Dernière modification par maxire (Le 30/11/2015, à 12:09)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#8 Le 30/11/2015, à 12:54

malbo

Re : Probleme de démarrage écran noir «Grub»

maxire a écrit :

ce qui est honteux c'est surtout l'utilisation par défaut de shimx64.efi par Ubuntu ce qui casse les distributions construites à partir des dépôts Canonical lorsque installées en UEFI.

Admettons.
Comme j'ai dit plus haut, je n'ai rien trouvé d'officiel au sujet de ce problème. Des conseils de contributeurs de forum, ça j'en ai vu mais l'équivalent des "ReleaseNotes" de Ubuntu, dans lesquelles ce problème serait mentionné, je n'ai pas pu en trouver.
Tu dis que je propose une solution mais ce n'est pas mon intention de proposer une solution : j'ai seulement indiqué comment j'avais pu obtenir un fonctionnement qui m'a paru satisfaisant. La bonne solution que je propose, c'est de virer Elementary OS comme je l'ai mentionné plus haut.

Dernière modification par malbo (Le 30/11/2015, à 13:00)

Hors ligne

#9 Le 30/11/2015, à 21:11

lynn

Re : Probleme de démarrage écran noir «Grub»

Bonjour,

malbo a écrit :

La bonne solution que je propose, c'est de virer Elementary OS comme je l'ai mentionné plus haut.

Je viens d'installer Elementary OS en 64 bits sous VBox ( 5.0 ) et ça fonctionne très bien. L'installation s'est effectuée sans problème ainsi que le démarrage et je n'ai pas rencontré le problème que tu mentionne avec grub..?!


«C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!»

Coluche

Hors ligne

#10 Le 30/11/2015, à 21:43

malbo

Re : Probleme de démarrage écran noir «Grub»

@lynn : j'ai installé la version 0.3.1 de Elementary OS parce que c'est celle que nantes44120 a installée (voir le Boot-Info de son post #1) et j'ai installé en mode EFI c'est à dire que dans les "fonctions avancées" de la machine virtuelle, j'ai coché la case "Activer EFI (OS spéciaux seulement)". Là aussi, j'ai fait comme ça pour être conforme à l'installation de nantes44120 puisque mon but c'était de vérifier que je retrouvais le même dysfonctionnement.

A noter que la version 0.3 de Elementary OS ne présente pas ce bug chez moi. La version 0.3.1 était sensée corriger les bugs de la version 0.3. Quelle farce !

Dernière modification par malbo (Le 30/11/2015, à 21:46)

Hors ligne

#11 Le 30/11/2015, à 21:51

lynn

Re : Probleme de démarrage écran noir «Grub»

J'avais pas vu que tu avais utilisé le mode efi. Je retente ça et je te dis ce qu'il en est.


«C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!»

Coluche

Hors ligne

#12 Le 30/11/2015, à 22:29

lynn

Re : Probleme de démarrage écran noir «Grub»

Bon et bien, même constat..! En efi, c'est la cata! C'est dommage parce qu'elle est plutôt bien jolie cette distribution... hmm

Dernière modification par lynn (Le 01/12/2015, à 18:43)


«C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!»

Coluche

Hors ligne

#13 Le 01/12/2015, à 12:45

maxire

Re : Probleme de démarrage écran noir «Grub»

Salut,

Voci la solution appliquée par Mint:

Créer le fichier /etc/default/grub.d/50_linuxmint.cfg avec ce contenu,

#! /bin/sh
set -e

# Set distributor to "Ubuntu" 
#
# In Mint 16:
# shim and grub come with hardcoded ubuntu strings upstream, without this EFI installation is broken
# https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417
#
# In Mint 17:
# Despite the bug report being marked as fixed, the situation is the same. Grub was patched by Ubuntu
# to assign the "ubuntu" distributor ID when it was given "Kubuntu". That results in Kubuntu finally 
# getting EFI to work out of the box but still using "ubuntu" as far as grub-install is concerned.
# So we'll stick to "Ubuntu" for this iteration.
#
# The remaining issues are almost the same:
# 
#  - Branding issue in Linux Mint (our EFI name is "Ubuntu" because anything else won't work)
#  - Conflict between Linux Mint and Ubuntu (in multi-boot situations 
#	   they use the same EFI name so EFI implementations can't list them both). 
#      That should also be a problem with derivatives, and also a problem with 
#      multiple installations of the same operating system (for instance in the case of Mint editions).
#

GRUB_DISTRIBUTOR="Ubuntu"

Une fois ce fichier créé grub-install fonctionne correctement.

Dernière modification par maxire (Le 01/12/2015, à 12:46)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#14 Le 19/12/2015, à 07:16

moko138

Re : Probleme de démarrage écran noir «Grub»

maxire a écrit :

Voci la solution appliquée par Mint:

Créer le fichier /etc/default/grub.d/50_linuxmint.cfg avec ce (...)
Une fois ce fichier créé grub-install fonctionne correctement.

Est-ce vraiment
/etc/default/grub.d/50_linuxmint.cfg
ou bien
/etc/grub.d/50_linuxmint.cfg ?


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#15 Le 19/12/2015, à 10:29

Compte supprimé

Re : Probleme de démarrage écran noir «Grub»

Bonjour,
Oui, Mint place bien ce fichier dans  /etc/default/grub.d/

Par contre je viens de tenter d'installer EOs 0.3.2 sur une VM uefi, elle ne redémarre pas mieux.

Dernière modification par Compte supprimé (Le 19/12/2015, à 11:36)

#16 Le 19/12/2015, à 11:05

maxire

Re : Probleme de démarrage écran noir «Grub»

@moko138, c'est bien /etc/default/grub.d, après tu appelles le fichier de configuration comme tu veux, il doit juste être préfixé par un numéro d'ordre d'interprétation (Edit: et suffixé par cfg).

Une autre solution est de mettre directement GRUB_DISTRIBUTOR="Ubuntu" dans /etc/default/grub.

@Tamarou, je n'ai plus d'environnement de test EOS, cette solution avait fonctionné avec EOS 0.3.1 si je me souviens bien, en modifiant directement /etc/default/grub.

VM UEFI, virtualbox, vmware ou kvm?

virtualbox ---> seul grub-install --removable --no-uefi-secure-boot fonctionne ou bien tu crées le script startup.nsh dans la partition ESP
vmware    ---> Bug, il faut supprimer les entrées uefi créées via grub-install et les créer via le menu de configuration du bootloader de vmware, c'est ce que je suis obligé de faire avec vmware player 12.0
kvm         ---> je ne connais pas

En fait quel est le problème exact de démarrage?

Dernière modification par maxire (Le 19/12/2015, à 13:04)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#17 Le 19/12/2015, à 11:24

moko138

Re : Probleme de démarrage écran noir «Grub»

Merci !


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#18 Le 19/12/2015, à 11:49

Compte supprimé

Re : Probleme de démarrage écran noir «Grub»

En fait quel est le problème exact de démarrage?

Je pense que c'était lié au fonctionnement de virtualbox en UEFI et pas directement à la distribution.
Il s'agissait d'une question de caractères non reconnus dans le nom du fichier .efi à lancer. Une correction à la main n'avait rien changé, mais je n'ai pas vraiment approfondi vu que c'était "juste pour voir".

Dernière modification par Compte supprimé (Le 19/12/2015, à 16:24)

#19 Le 19/12/2015, à 12:59

maxire

Re : Probleme de démarrage écran noir «Grub»

Je ne suis pas certain que ce soit la raison pour laquelle OES démarre en uefi, à moins que je ne me trompe GRUB_DISTRIBUTOR prend la valeur debian si lsb_release ne renvoie rien.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#20 Le 19/12/2015, à 19:07

Compte supprimé

Re : Probleme de démarrage écran noir «Grub»

Oui maxire, je le pense aussi. Mais je ne vais chercher plus loin, cette distribution n'a pas grand intérêt pour moi.
Leur lsb-release ne contient pas Ubuntu, comme je le pensais, mais Elementary OS.

Dernière modification par Compte supprimé (Le 19/12/2015, à 19:09)

#21 Le 20/12/2015, à 15:18

maxire

Re : Probleme de démarrage écran noir «Grub»

Tant que cela fonctionne, je ne vois pas de raison de chercher pourquoi.
Bon dimanche!


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne