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 18/11/2017, à 23:33

ab34

[DUALBOOT] Grub ne m'affiche que Ubuntu

Bonjour, j'ai installé PhoenixOS qui est un système d'exploitation développé sur la base de la plate-forme d'Android avec Ubuntu 17.10. Or quand Grub se lance au démarrage, il n'y a que Ubuntu qui s'affiche il m'est donc impossible de pouvoir accéder à PhoenixOS.

Voici mes différentes partitions : 9DXSa8n.png

Si quelqu'un peut m'aider j'en serai vraiment reconnaissant!

Dernière modification par ab34 (Le 18/11/2017, à 23:34)

Hors ligne

#2 Le 18/11/2017, à 23:35

ab34

Re : [DUALBOOT] Grub ne m'affiche que Ubuntu

Sda2 est utilisé pour PhoenixOS

Sda3, Sda4, Sda5 pour Ubuntu

Hors ligne

#3 Le 18/11/2017, à 23:36

Nuliel

Re : [DUALBOOT] Grub ne m'affiche que Ubuntu

Bonjour,

J'ai qu'une idée pour ton problème: exécuter

sudo update-grub

sur ubuntu pour mettre grub à jour

Edit: 15 Go pour grub, c'est pas un peu énorme?

Dernière modification par Nuliel (Le 18/11/2017, à 23:37)

Hors ligne

#4 Le 18/11/2017, à 23:39

ab34

Re : [DUALBOOT] Grub ne m'affiche que Ubuntu

user@Linux:~$ sudo update-grub
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-4.13.0-16-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.13.0-16-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
fait

Oui j'ai un peu trop alloué de mémoire lors du partitionnement de mon disque dur mais ça ne me dérange pas

Dernière modification par ab34 (Le 18/11/2017, à 23:43)

Hors ligne

#5 Le 18/11/2017, à 23:43

ab34

Re : [DUALBOOT] Grub ne m'affiche que Ubuntu

J'ai reboot mais toujours le même problème sad

Hors ligne

#6 Le 18/11/2017, à 23:46

Nuliel

Re : [DUALBOOT] Grub ne m'affiche que Ubuntu

Argh, mes connaissances sont maigres sad
Au cas où tu peux essayer

sudo os-prober
sudo update-grub

Et si ça marche pas, tu peux donner faire un boot info, comme ça si quelqu'un sait ajouter une entrée à grub, il aura toutes les infos pour te dire comment faire (ou s'il y a une solution magique)

Hors ligne

#7 Le 18/11/2017, à 23:54

ab34

Re : [DUALBOOT] Grub ne m'affiche que Ubuntu

Le boot info :

Ubuntu Pastebin
Paste from boot-repair at Sat, 18 Nov 2017 21:50:49 +0000


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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda2 and looks at sector 267517760 of the same hard 
                       drive for core.img, but core.img can not be found at 
                       this location.
    Operating System:  
    Boot files:        /grub/menu.lst

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 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
Disklabel type: gpt

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  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048    32,902,438    32,900,391 BIOS Boot partition
/dev/sda2            32,903,168   237,703,167   204,800,000 Data partition (Linux)
/dev/sda3           237,703,168   278,663,167    40,960,000 Data partition (Linux)
/dev/sda4           278,663,168   309,383,167    30,720,000 Swap partition (Linux)
/dev/sda5           309,383,168 1,953,525,134 1,644,141,967 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                                                          
/dev/sda2        7c28a809-c085-0d51-846a-a154b76dd2fb   ext4       PhoenixOS
/dev/sda3        064895e0-f04a-4d9a-bc0b-a34cab52aa06   ext4       
/dev/sda4        1dfd9edc-be52-4319-8cf2-98beea7b2540   swap       
/dev/sda5        f25841a8-2b6a-42da-bcbb-ceddb56b7a94   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Nov 18 22:50 ata-HGST_HTS541010A7E630_S0E001SSHZJ0VK -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 18 22:50 ata-HGST_HTS541010A7E630_S0E001SSHZJ0VK-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 18 22:50 ata-HGST_HTS541010A7E630_S0E001SSHZJ0VK-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 18 22:50 ata-HGST_HTS541010A7E630_S0E001SSHZJ0VK-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 18 22:50 ata-HGST_HTS541010A7E630_S0E001SSHZJ0VK-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 18 22:50 ata-HGST_HTS541010A7E630_S0E001SSHZJ0VK-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Nov 18 22:50 wwn-0x5000cca756dbf6cd -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 18 22:50 wwn-0x5000cca756dbf6cd-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 18 22:50 wwn-0x5000cca756dbf6cd-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 18 22:50 wwn-0x5000cca756dbf6cd-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 18 22:50 wwn-0x5000cca756dbf6cd-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 18 22:50 wwn-0x5000cca756dbf6cd-part5 -> ../../sda5

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

Device           Mount_Point              Type       Options

/dev/sda3        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda5        /home                    ext4       (rw,relatime,data=ordered)


============================= sda2/grub/menu.lst: ==============================

--------------------------------------------------------------------------------
default=0
timeout=6
splashimage=/grub/android-x86.xpm.gz
root (hd0,1)

title Phoenix OS
	kernel /PhoenixOS/kernel quiet CMDLINE SRC=/PhoenixOS
	initrd /PhoenixOS/initrd.img

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

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

           GiB - GB             File                                 Fragment(s)

  82.941783905 = 89.058062336   grub/menu.lst                                  1
  82.941772461 = 89.058050048   grub/stage2                                    1

=========================== sda3/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,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  064895e0-f04a-4d9a-bc0b-a34cab52aa06
else
  search --no-floppy --fs-uuid --set=root 064895e0-f04a-4d9a-bc0b-a34cab52aa06
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=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  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-064895e0-f04a-4d9a-bc0b-a34cab52aa06' {
	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,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  064895e0-f04a-4d9a-bc0b-a34cab52aa06
	else
	  search --no-floppy --fs-uuid --set=root 064895e0-f04a-4d9a-bc0b-a34cab52aa06
	fi
        linux	/boot/vmlinuz-4.13.0-16-generic root=UUID=064895e0-f04a-4d9a-bc0b-a34cab52aa06 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.13.0-16-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-064895e0-f04a-4d9a-bc0b-a34cab52aa06' {
	menuentry 'Ubuntu, avec Linux 4.13.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-advanced-064895e0-f04a-4d9a-bc0b-a34cab52aa06' {
		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,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  064895e0-f04a-4d9a-bc0b-a34cab52aa06
		else
		  search --no-floppy --fs-uuid --set=root 064895e0-f04a-4d9a-bc0b-a34cab52aa06
		fi
		echo	'Chargement de Linux 4.13.0-16-generic…'
	        linux	/boot/vmlinuz-4.13.0-16-generic root=UUID=064895e0-f04a-4d9a-bc0b-a34cab52aa06 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-16-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-recovery-064895e0-f04a-4d9a-bc0b-a34cab52aa06' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  064895e0-f04a-4d9a-bc0b-a34cab52aa06
		else
		  search --no-floppy --fs-uuid --set=root 064895e0-f04a-4d9a-bc0b-a34cab52aa06
		fi
		echo	'Chargement de Linux 4.13.0-16-generic…'
	        linux	/boot/vmlinuz-4.13.0-16-generic root=UUID=064895e0-f04a-4d9a-bc0b-a34cab52aa06 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-16-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_gpt
	insmod ext2
	set root='hd0,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  064895e0-f04a-4d9a-bc0b-a34cab52aa06
	else
	  search --no-floppy --fs-uuid --set=root 064895e0-f04a-4d9a-bc0b-a34cab52aa06
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  064895e0-f04a-4d9a-bc0b-a34cab52aa06
	else
	  search --no-floppy --fs-uuid --set=root 064895e0-f04a-4d9a-bc0b-a34cab52aa06
	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 ###
--------------------------------------------------------------------------------

=============================== sda3/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/sda3 during installation
UUID=064895e0-f04a-4d9a-bc0b-a34cab52aa06 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda5 during installation
UUID=f25841a8-2b6a-42da-bcbb-ceddb56b7a94 /home           ext4    defaults        0       2
# swap was on /dev/sda4 during installation
UUID=1dfd9edc-be52-4319-8cf2-98beea7b2540 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 127.761726379 = 137.183109120  boot/grub/grub.cfg                             2
 127.735000610 = 137.154412544  boot/grub/i386-pc/core.img                     1
 114.509227753 = 122.953347072  boot/vmlinuz-4.13.0-16-generic                 1
 114.509227753 = 122.953347072  vmlinuz                                        1
 115.596088409 = 124.120354816  boot/initrd.img-4.13.0-16-generic              3
 115.596088409 = 124.120354816  initrd.img                                     3


ADDITIONAL INFORMATION :
=================== log of boot-info 20171118_2250 ===================
boot-info version : 4ppa64
boot-sav version : 4ppa64
boot-sav-extra version : 4ppa64
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 17.10, artful, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic root=UUID=064895e0-f04a-4d9a-bc0b-a34cab52aa06 ro quiet splash vt.handoff=7

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

=================== blkid:
/dev/sda2: LABEL="PhoenixOS" UUID="7c28a809-c085-0d51-846a-a154b76dd2fb" TYPE="ext4" PTTYPE="dos" PARTLABEL="Phoenix Os" PARTUUID="2e467d92-8962-470d-b973-0d75c8c18e88"
/dev/sda3: UUID="064895e0-f04a-4d9a-bc0b-a34cab52aa06" TYPE="ext4" PARTLABEL="partition racine" PARTUUID="f36181e1-dd42-440d-947a-0a7fa884f73c"
/dev/sda4: UUID="1dfd9edc-be52-4319-8cf2-98beea7b2540" TYPE="swap" PARTLABEL="partition echange" PARTUUID="93b92717-0002-454e-a17d-1f8cc2a2eb12"
/dev/sda5: UUID="f25841a8-2b6a-42da-bcbb-ceddb56b7a94" TYPE="ext4" PARTLABEL="partition home" PARTUUID="652fecc1-6927-4c18-8dc9-426de3fba5fa"
/dev/sda1: PARTLABEL="partition bios" PARTUUID="b7433b12-5d74-4d4d-9fa1-676947703a02"


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

Linux not detected by os-prober on sda1. Veuillez indiquer ce message à boot.repair@gmail.com

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 nov.  18 22:47 grub.d
total 80
-rwxr-xr-x 1 root root  9783 oct.  12 15:41 00_header
-rwxr-xr-x 1 root root  6258 avril 24  2017 05_debian_theme
-rwxr-xr-x 1 root root 12676 oct.  12 15:41 10_linux
-rwxr-xr-x 1 root root 11281 oct.  12 15:41 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 oct.  12 15:41 30_os-prober
-rwxr-xr-x 1 root root  1418 oct.  12 15:41 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  12 15:41 40_custom
-rwxr-xr-x 1 root root   216 oct.  12 15:41 41_custom
-rw-r--r-- 1 root root   483 oct.  12 15:41 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"



/mnt/boot-sav/sda2/grub/menu.lst detected

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 nov.  18 22:47 grub.d
total 80
-rwxr-xr-x 1 root root  9783 oct.  12 15:41 00_header
-rwxr-xr-x 1 root root  6258 avril 24  2017 05_debian_theme
-rwxr-xr-x 1 root root 12676 oct.  12 15:41 10_linux
-rwxr-xr-x 1 root root 11281 oct.  12 15:41 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 oct.  12 15:41 30_os-prober
-rwxr-xr-x 1 root root  1418 oct.  12 15:41 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  12 15:41 40_custom
-rwxr-xr-x 1 root root   216 oct.  12 15:41 41_custom
-rw-r--r-- 1 root root   483 oct.  12 15:41 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 in EFI-mode.
EFI in dmesg.
[    0.000000] ACPI: UEFI 0x000000009B3A7360 000042 (v01                 00000000      00000000)
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda3	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	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,	notbiosboot, .
sda2	: sda,	maybesepboot,	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,	notbiosboot, /mnt/boot-sav/sda2.
sda5	: sda,	maybesepboot,	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,	notbiosboot, /home.
sda1	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	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,	not-far,	is-biosboot, .

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


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

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS541010A7:;
1:1049kB:16.8GB:16.8GB::partition bios:bios_grub;
2:16.8GB:122GB:105GB:ext4:Phoenix Os:;
3:122GB:143GB:21.0GB:ext4:partition racine:;
4:143GB:158GB:15.7GB:linux-swap(v1):partition echange:;
5:158GB:1000GB:842GB:ext4:partition home:;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        931,5G
sda1  part         15,7G
sda2  part ext4    97,7G PhoenixOS
sda3  part ext4    19,5G
sda4  part swap    14,7G
sda5  part ext4     784G

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0         /
sda4     1  0  0         [SWAP]
sda5     1  0  0         /home


=================== 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=1943816k,nr_inodes=485954,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=394060k,mode=755)
/dev/sda3 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)
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)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
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/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1553)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda5 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/121 type tmpfs (rw,nosuid,nodev,relatime,size=394056k,mode=700,uid=121,gid=127)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=394056k,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)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)


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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     385M  6.8M  379M   2% /run
/dev/sda3      ext4       20G  3.6G   15G  20% /
tmpfs          tmpfs     1.9G   36M  1.9G   2% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/sda5      ext4      771G  141M  732G   1% /home
tmpfs          tmpfs     385M   16K  385M   1% /run/user/121
tmpfs          tmpfs     385M  2.5M  383M   1% /run/user/1000
/dev/sda2      ext4       96G  2.4G   94G   3% /mnt/boot-sav/sda2

=================== fdisk -l:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 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
Disklabel type: gpt
Disk identifier: 3F2B83BA-2031-4C2E-A218-8E3098E85232

Device         Start        End    Sectors  Size Type
/dev/sda1       2048   32902438   32900391 15.7G BIOS boot
/dev/sda2   32903168  237703167  204800000 97.7G Linux filesystem
/dev/sda3  237703168  278663167   40960000 19.5G Linux filesystem
/dev/sda4  278663168  309383167   30720000 14.7G Linux swap
/dev/sda5  309383168 1953525134 1644141967  784G Linux filesystem




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda3 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


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

Merci Naziel pour ton aide, je vais continuer à chercher

Hors ligne

#8 Le 19/11/2017, à 16:11

ab34

Re : [DUALBOOT] Grub ne m'affiche que Ubuntu

Je reviens sur ce topic au cas ou ça intéresserai quelqu'un, pour vous dire que j'ai trouvé une solution là voici : https://www.reddit.com/r/PhoenixOS/comm … uor_other/

Il n'y a même pas besoin de partitionner le disque dur! smile

Hors ligne