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 13/10/2018, à 16:42

louiselmx

Après une installation de xubuntu simple boot sur iMac, problème grub

Bonjour,

Dans un premier temps, j'ai installé Xubuntu 18.04 en dual-boot avec OSX. Pas de problème.

Ensuite j'ai changé d'idée, j'ai supprimé la partition Mac et réinstallé xUbuntu en simple boot, au moyen de ma clé USB d'installation de xUbuntu. Quelque temps après, l'ordinateur n'a plus trouvé le chemin du boot et le démarrage est devenu impossible. J'ai réinstallé xUbuntu, il y a deux jours.

Même si ça fonctionne pour l'instant, je ne suis pas convaincue que le partitionnement soit bon. Par exemple, au démarrage, je ne n'ai aucun choix, comme par exemple, les options avancées pour Ubuntu, l'ordinateur démarre directement sur Ubuntu et le démarrage est long.

Pourriez-vous jeter un coup d'oeil à ce Boot-info qui suit et me dire si ça vous semble bon. Par exemple, est-ce que le sda1 est en trop, est-ce que je ne devrais pas supprimer cette partition qui se trouve là depuis la fois où j'ai installé ubuntu en dual boot?

=> No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  -
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/BOOT/fbx64.efi 
                       /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1     1,050,623     1,050,623  ee GPT
/dev/sda2    *      1,050,624   488,396,799   487,346,176  83 Linux


GUID Partition Table detected.

Partition  Attrs   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   488,396,799   487,346,176 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        4FD0-3EBA                              vfat       
/dev/sda2        a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7   ext4       

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

Modération : merci d'utiliser les balises code (explications ici).

Dernière modification par louiselmx (Le 13/10/2018, à 18:11)

Hors ligne

#2 Le 13/10/2018, à 19:29

bluc

Re : Après une installation de xubuntu simple boot sur iMac, problème grub

Bonjour,

Quand Ubuntu est installé seul on ne voit pas le grub au démarrage qui propose le choix parce que justement pas de choix
Pour le faire apparaître taper la touche Echap

Sinon tu as tout installé sur une seule partition et tu as installé grub sur sda2
tu lances le support qui t'as servi pour installé Ubuntu tu choisis Essayer Ubuntu
une fois sur le bureau tu lances le terminal et tu y colles ces deux commandes l'une après l'autre

sudo mount /dev/sda2 /boot

et

sudo grub-install --root-directory=/boot /dev/sda

tu redemarres

Dernière modification par bluc (Le 13/10/2018, à 19:47)


Clevo :  Ubuntu 23.10   ❖  Xubuntu 22.10  ❖  Kubuntu 23.10   
         avec partition data commune       Une fraction de seconde                    Multiboot

Hors ligne

#3 Le 13/10/2018, à 20:40

louiselmx

Re : Après une installation de xubuntu simple boot sur iMac, problème grub

Merci pour votre réponse.

J'ai fait ce que vous m'avez dit de faire. Il y a eu un message d'erreur, mais je ne peux pas vous dire ce qui était écrit car j'étais sur le CD d'installation et je n'ai pas su le copier. J'ai redémarré et tout s'est passé de la même façon. Je viens de faire générer un nouveau boot info, que je vais mettre ci-dessous.  Il y a quelque chose de changé sur sda2 concernant le boot. Et à la fin on suggère une façon de réparer ou d'améliorer le boot. Est-ce que je dois en tenir compte et faire ce qu'ils disent?

 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


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

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  -
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/BOOT/fbx64.efi 
                       /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1     1,050,623     1,050,623  ee GPT
/dev/sda2    *      1,050,624   488,396,799   487,346,176  83 Linux


GUID Partition Table detected.

Partition  Attrs   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   488,396,799   487,346,176 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        4FD0-3EBA                              vfat       
/dev/sda2        a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Oct 13 15:24 ata-MATSHITADVD-R_UJ-85J -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct 13 15:28 ata-ST3250820AS_Q_9QE4B16V -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 13 15:28 ata-ST3250820AS_Q_9QE4B16V-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 13 15:28 ata-ST3250820AS_Q_9QE4B16V-part2 -> ../../sda2

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

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== 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  a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
else
  search --no-floppy --fs-uuid --set=root a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
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_CA
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; 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
### 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=1
	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-a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	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  a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
	else
	  search --no-floppy --fs-uuid --set=root a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
	fi
        linux	/boot/vmlinuz-4.15.0-36-generic root=UUID=a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.15.0-36-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7' {
	menuentry 'Ubuntu, avec Linux 4.15.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-36-generic-advanced-a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		else
		  search --no-floppy --fs-uuid --set=root a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		fi
		echo	'Chargement de Linux 4.15.0-36-generic…'
	        linux	/boot/vmlinuz-4.15.0-36-generic root=UUID=a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-36-generic-recovery-a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		else
		  search --no-floppy --fs-uuid --set=root a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		fi
		echo	'Chargement de Linux 4.15.0-36-generic…'
	        linux	/boot/vmlinuz-4.15.0-36-generic root=UUID=a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-36-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-advanced-a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		else
		  search --no-floppy --fs-uuid --set=root a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		fi
		echo	'Chargement de Linux 4.15.0-29-generic…'
	        linux	/boot/vmlinuz-4.15.0-29-generic root=UUID=a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-29-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-recovery-a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		else
		  search --no-floppy --fs-uuid --set=root a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7
		fi
		echo	'Chargement de Linux 4.15.0-29-generic…'
	        linux	/boot/vmlinuz-4.15.0-29-generic root=UUID=a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-29-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+ ###
### 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 ###
--------------------------------------------------------------------------------

=============================== 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=a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=4FD0-3EBA  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

  86.650245667 = 93.039992832   boot/grub/grub.cfg                             2
  86.669277191 = 93.060427776   boot/grub/i386-pc/core.img                     1
  86.641826630 = 93.030952960   boot/vmlinuz-4.15.0-29-generic                 1
   5.368057251 = 5.763907584    boot/vmlinuz-4.15.0-36-generic                 1
  86.641826630 = 93.030952960   vmlinuz                                        1
   5.834945679 = 6.265225216    boot/initrd.img-4.15.0-29-generic              1
   7.114078522 = 7.638683648    boot/initrd.img-4.15.0-36-generic              2
   5.834945679 = 6.265225216    initrd.img                                     1
   5.834945679 = 6.265225216    initrd.img.old                                 1


ADDITIONAL INFORMATION :
=================== log of boot-info 20181013_1528 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 18.04.1 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic root=UUID=a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7 ro quiet splash vt.handoff=1

=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 18.04.1 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="4FD0-3EBA" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="62ea6c07-8df7-4765-8b8a-4cc9a01a6cae"
/dev/sda2: UUID="a1d820d2-4c09-4bd8-b602-9aaa2c6ae9a7" TYPE="ext4" PARTUUID="a97ccb86-d716-48e1-8fbf-63547480d43f"


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


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 oct 11 18:40 grub.d
total 80
-rwxr-xr-x 1 root root  9783 jui 17 14:13 00_header
-rwxr-xr-x 1 root root  6258 jui 16 11:15 05_debian_theme
-rwxr-xr-x 1 root root 12693 jui 17 14:13 10_linux
-rwxr-xr-x 1 root root 11298 jui 17 14:13 20_linux_xen
-rwxr-xr-x 1 root root  1992 jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 jui 17 14:13 30_os-prober
-rwxr-xr-x 1 root root  1418 jui 17 14:13 30_uefi-firmware
-rwxr-xr-x 1 root root   214 jui 17 14:13 40_custom
-rwxr-xr-x 1 root root   216 jui 17 14:13 41_custom
-rw-r--r-- 1 root root   483 jui 17 14:13 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_TIMEOUT_STYLE=hidden
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"



/boot/efi detected in the fstab of sda2: UUID=4FD0-3EBA   (sda1)
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/fbx64.efi
ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82,SmmS3NvsData-8983fd2d-113c-4e2b-8f47-0abfeb20a41a,Setup-4dfbbaab-1392-4fde-abb8-c41cc5ad7d5d,prev-lang:kbd-7c436110-ab2a-4bbb-a880-fe41995c9f82,platform-uuid-7c436110-ab2a-4bbb-a880-fe41995c9f82,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,FirmwareFeaturesMask-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,FirmwareFeatures-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,efi-boot-device-data-7c436110-ab2a-4bbb-a880-fe41995c9f82,efi-boot-device-7c436110-ab2a-4bbb-a880-fe41995c9f82,efi-apple-payload0-data-7c436110-ab2a-4bbb-a880-fe41995c9f82,efi-apple-payload0-7c436110-ab2a-4bbb-a880-fe41995c9f82,del_var,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootFFFF-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0081-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0080-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e,AAPL,PathProperties0000-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,
Veuillez indiquer ce message à boot.repair@gmail.com

=================== efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0080
Boot0000* ubuntu	HD(1,GPT,62ea6c07-8df7-4765-8b8a-4cc9a01a6cae,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0080* Mac OS X	PciRoot(0x0)/Pci(0x1f,0x2)/Ata(0,1,0)/HD(2,GPT,d0e01905-4ab4-412f-848d-8de8b142296d,0x64028,0xe7c0000)
Boot0081* Mac OS X	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(1,GPT,64c45fac-8faf-4ae1-813f-27c12ccfacef,0x28,0x64000)/File(EFIAPPLEFIRMWAREEfiUpdaterApp2.efi)".-.x. .e.f.i.-.a.p.p.l.e.-.p.a.y.l.o.a.d.0.-.d.a.t.a."...
BootFFFF* 	PciRoot(0x0)/Pci(0x1f,0x1)/Ata(0,0,0)/HD(2,0,00000000000000000000000000000000,0xb89,0x490)/File(EFIBOOTBOOTX64.efi)

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-pc 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,	notbiosboot, .
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,	notbiosboot, /boot/efi.

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


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

BYT;
/dev/sda:250GB:scsi:512:512:gpt:ATA ST3250820AS Q:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:250GB:250GB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        232,9G
sda1  part vfat     512M
sda2  part ext4   232,4G
sr0   rom          1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /boot/efi
sda2     1  0  0         /
sr0      1  0  1 running


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=472468k,nr_inodes=118117,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=100588k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1873)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=100588k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 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 hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 initctl input kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  00 00 00 4d 53 57 49 4e  34 2e 31 00 02 08 2a 00  |...MSWIN4.1...*.|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 10 00 ff 03 00 00  00 00 00 00 17 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 ba 3e d0 4f 4e  4f 20 4e 41 4d 45 20 20  |..).>.ONO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 00 00 00 00 00 00  |  FAT32   ......|
00000060  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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  462M     0  462M   0% /dev
tmpfs          tmpfs      99M  1.3M   97M   2% /run
/dev/sda2      ext4      228G  7.2G  209G   4% /
tmpfs          tmpfs     492M   34M  458M   7% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     492M     0  492M   0% /sys/fs/cgroup
/dev/sda1      vfat      511M  6.1M  505M   2% /boot/efi
tmpfs          tmpfs      99M   12K   99M   1% /run/user/1000

=================== fdisk -l:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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: gpt
Disk identifier: 86F5430A-A2CA-47F4-A78C-0467CB90FF49

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1050623   1048576   512M EFI System
/dev/sda2  1050624 488396799 487346176 232.4G Linux filesystem




=================== 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


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !


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

Dernière modification par louiselmx (Le 13/10/2018, à 20:54)

Hors ligne

#4 Le 13/10/2018, à 20:45

louiselmx

Re : Après une installation de xubuntu simple boot sur iMac, problème grub

Désolée de n'avoir pas pu mettre le compte-rendu du boot info entre balises. Je n'ai pas réussi (70 ans). J'essaierai de faire mieux la prochaine fois.

Hors ligne

#5 Le 13/10/2018, à 20:48

xubu1957

Re : Après une installation de xubuntu simple boot sur iMac, problème grub

Bonjour,

C'est rattrapable. wink

Pour ajouter toi-même les balises code à ton précédent message #3 :

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

1530289742.png

comme indiqué dans le : Retour utilisable de commande


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#6 Le 13/10/2018, à 20:54

louiselmx

Re : Après une installation de xubuntu simple boot sur iMac, problème grub

Merci. J'ai réussi à mettre les balises.

Dernière modification par louiselmx (Le 13/10/2018, à 20:55)

Hors ligne

#7 Le 13/10/2018, à 20:56

xubu1957

Re : Après une installation de xubuntu simple boot sur iMac, problème grub

C'est bien plus lisible.

Merci. smile


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne