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 04/01/2018, à 20:22

Zolann

[Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Bonsoir à tous, et merci d'avance pour votre aide !

Ce matin, j'ai dû démarrer mon pc portable (celui qui le double boot dont parle le titre) sur Windows 10 pour accéder un logiciel propriétaire de configuration de NAS.
Ça faisait une éternité que je n'avais pas démarré Windows et il a téléchargé une looooooongue mise à jour, et a dû redémarrer.
Mais la mise à jour à fait sauter GRUB.

J'ai lancé boot repair, mais au démarrage seul windows est reconnu.

J'ai eu beau télécharger la dernière version de boot repair (lancée sur clé usb avec Multisystem), rien à faire, ma partition 17.10 demeure introuvable.
(sans doute qu'il n'y a pas encore de version qui reconnait 17.10 ?)

Si quelqu'un a une solution pour que je retrouve mon double boot, merci d'avance !

Dernière modification par Zolann (Le 07/01/2018, à 10:57)

Hors ligne

#2 Le 04/01/2018, à 21:43

malbo

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

C'est quoi le nom du modèle de ton PC portable ?
Depuis une session Live de Ubuntu 17.10, je te prie de faire un Boot-Info* et de donner l'URL de ce Boot-Info dans ta réponse.

* tu suivras le paragraphe 1.2 Cas où aucun ubuntu installé sur disque n'est opérationnel

Hors ligne

#3 Le 04/01/2018, à 22:56

Zolann

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Merci pour ta réponse rapide.

Mon PC est un Acer Aspire.
J'ai fait un boot info :
Voilà le boot info

Je suis pas un spécialiste du décodage des rapports de boot, mais l'absence de partition ext4 m'inquiète (de même que la profusion de partitions NTFS).
N'hésite pas si tu as besoin d'autres infos.

Hors ligne

#4 Le 04/01/2018, à 23:21

Babdu89

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Bonsoir.

Je suis pas un spécialiste du décodage des rapports de boot, mais l'absence de partition ext4 m'inquiète

Aïe aïe!!!. Encore une victime de ceci;

https://forum.ubuntu-fr.org/viewtopic.php?id=1895691

Çà faisait bien longtemps qu'on en avait pas vu.

La partition système de ton Ubuntu qui était entre les secteurs en gras à été virée par la maj de Windows.

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   391,353,785   391,146,938   7 NTFS / exFAT / HPFS
/dev/sda3         391,354,368   392,353,791       999,424  27 Hidden NTFS (Recovery Environment)
/dev/sda4         392,355,838 1,953,523,711 1,561,167,874   5 Extended
/dev/sda5       1,945,374,720 1,953,523,711     8,148,992  82 Linux swap / Solaris

/dev/sda5 étant en fin de partition étendue /dev/sda4, la partition Système (peut-être /dev/sda6)  à été virée par la longue maj de ton Windows.
Pas de réparation possible, il faut réinstaller en mettant la partition système  de ton Ubuntu au début de la partition étendue, en /dev/sda5 et le swap en /dev/sda6, en fin de partition étendue .

Le mieux étant de préparer les partitions d'installation en session live avec Gparted.
Une partition Ext4 au début de /dev/sda4, elle s'appellera /dev/sda5, pour le système, puis le swap derrière /dev/sda6.
Puis installer en passant par "Autre chose" à l'étape "Choix du périphérique"

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#5 Le 05/01/2018, à 00:54

??

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Bonsoir.
Peut-être que je me trompe, mais je pense que Windows est encore capable de livrer de futures mises à jours qui auront le même comportement.
Il serait moins risqué de supprimer sda5 puis de créer d'abord la partition de swap sda5 qui serait alors en première ligne et enfin la partition ext4 qui serait sda6. On aurait tout dans le bon ordre .

Dernière modification par ?? (Le 05/01/2018, à 01:03)


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#6 Le 05/01/2018, à 01:06

Babdu89

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Bonsoir.

@ ??

L'ordre des partitions quel-qu’en soit le format et l'utilisation dans ce cas, est d'avoir la partition /sd*5 obligatoirement en début de partition étendue, pour ne pas avoir le souci.

Certains utilisateurs se sont fait piégé par l'installateur, lorsque l'on choisi;  installer à côté de ...

@+.   Babdu89  .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#7 Le 05/01/2018, à 07:58

malbo

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Bonjour,
Ton Boot-Info est là :

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


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

 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fat part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03 20151222............................................@.....2....0............A20 gate n
    Boot sector info:  Syslinux looks at sector 3029924 of /dev/sdb1 for its 
                       second stage. SYSLINUX is installed in the 
                       /boot/syslinux directory. No errors found in the Boot 
                       Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/menu.lst /boot/grub/grub.cfg 
                       /boot/syslinux/syslinux.cfg /EFI/BOOT/grubx64.efi 
                       /boot/grub/i386-pc/core.img /boot/syslinux/ldlinux.sys

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   391,353,785   391,146,938   7 NTFS / exFAT / HPFS
/dev/sda3         391,354,368   392,353,791       999,424  27 Hidden NTFS (Recovery Environment)
/dev/sda4         392,355,838 1,953,523,711 1,561,167,874   5 Extended
/dev/sda5       1,945,374,720 1,953,523,711     8,148,992  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 28.9 GiB, 30992891904 bytes, 60532992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          8,064    60,532,991    60,524,928   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0       2017-10-18-18-53-18-00                 iso9660    Ubuntu 17.10 amd64
/dev/loop1                                              squashfs   
/dev/sda1        569AE81A9AE7F501                       ntfs       Réservé au système
/dev/sda2        6AFAA4CFFAA498B9                       ntfs       
/dev/sda3        A60074FF0074D82F                       ntfs       
/dev/sda5        1212618f-72f6-448a-8bba-4635d0f4bfe8   swap       
/dev/sdb1        6013-8110                              vfat       MULTISYSTEM

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

total 0
lrwxrwxrwx 1 root root  9 Jan  4 20:52 ata-HL-DT-ST_DVDRAM_GU71N_KX3D9AN1350 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jan  4 20:52 ata-WDC_WD10JPVX-22JC3T0_WD-WXR1E63FMYKK -> ../../sda
lrwxrwxrwx 1 root root 10 Jan  4 20:53 ata-WDC_WD10JPVX-22JC3T0_WD-WXR1E63FMYKK-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan  4 20:53 ata-WDC_WD10JPVX-22JC3T0_WD-WXR1E63FMYKK-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan  4 20:53 ata-WDC_WD10JPVX-22JC3T0_WD-WXR1E63FMYKK-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan  4 20:52 ata-WDC_WD10JPVX-22JC3T0_WD-WXR1E63FMYKK-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan  4 20:52 ata-WDC_WD10JPVX-22JC3T0_WD-WXR1E63FMYKK-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jan  4 20:52 usb-_USB_DISK_3.0_07072B01BBD7B030-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan  4 20:52 usb-_USB_DISK_3.0_07072B01BBD7B030-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jan  4 20:52 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jan  4 20:52 wwn-0x50014ee6593745d7 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan  4 20:53 wwn-0x50014ee6593745d7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan  4 20:53 wwn-0x50014ee6593745d7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan  4 20:53 wwn-0x50014ee6593745d7-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan  4 20:52 wwn-0x50014ee6593745d7-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan  4 20:52 wwn-0x50014ee6593745d7-part5 -> ../../sda5

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

Device           Mount_Point              Type       Options

/dev/loop0       /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop1       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /isodevice               vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sdb1/boot/grub/menu.lst: ===========================

--------------------------------------------------------------------------------
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

timeout 30
default /default
#convert -resize 640x480 -colors 14 /media/multisystem/boot/splash/splash.png /media/multisystem/boot/splash/splash.xpm.gz
splashimage=/boot/splash/splash.xpm.gz
#color blue/green yellow/red white/magenta white/magenta
foreground=0033FF
background=FF3300

#http://diddy.boot-land.net/grub4dos/Grub4dos.htm
#http://www.boot-land.net/forums/index.php?showforum=66
#http://diddy.boot-land.net/grub4dos/files/syntax.htm
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#http://diddy.boot-land.net/grub4dos/files/syntax.htm

title Chainloader into GRUB 2
find --set-root /boot/grub/boot.img
chainloader /boot/grub/boot.img
boot

#title Chainloader into Syslinux
#map (hd0) (hd0)
#map (hd0) (hd0)
#chainloader (hd0,0)+1
#rootnoverify (hd0,0)

##Autre solution pour chainer Syslinux
##faire une copie du mbr de la clé USB
##dd if=/dev/sd?1 of=/media/multisystem/syslinux.mbr bs=512 count=1
#title Chainloader into Syslinux
#find --set-root --ignore-floppies --ignore-cd /syslinux.mbr
#map (hd0) (hd0)
#map (hd0) (hd0)
#map --rehook
#find --set-root --ignore-floppies --ignore-cd /syslinux.mbr
#chainloader /syslinux.mbr

##Autre solution pour chainer Syslinux
#title Chainloader into Syslinux
#find --set-root /boot/syslinux/ldlinux.sys
#chainloader /boot/syslinux/ldlinux.sys

##Autre solution pour chainer Syslinux
#title Chainloader into Syslinux
#find --set-root --ignore-floppies --ignore-cd /boot/syslinux/redir.img
#kernel /boot/syslinux/memdisk
#initrd /boot/syslinux/redir.img

#http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/
title FreeDos
kernel /boot/syslinux/memdisk
initrd /boot/img/fdboot.img

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2

title find and load BOOTMGR of Windows VISTA/SEVEN
fallback 2
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2

title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2

title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2

title find and boot 0PE.ISO
fallback 5
find --set-root /0PE/0PE.ISO
map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title find and boot MicroPE.ISO
fallback 6
find --set-root /boot/MicroPE.ISO
map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title find and boot ubcd.iso
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title commandline
commandline

title reboot
reboot

title halt
halt
--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------
#insmod gpt
#insmod pc
#insmod gfxmenu
#
#insmod videotest
insmod tga
insmod png
insmod gfxterm
insmod lspci
#insmod vbeinfo
insmod vbe
insmod ntfs
insmod chain
insmod biosdisk
insmod font
#http://grub.enbug.org/ThemeFormat
#http://grub.gibibit.com/Theme_format#colors
#http://code.google.com/p/burg/wiki/InstallUbuntu
#http://code.google.com/p/burg/downloads/list
#http://ubuntuforums.org/showthread.php?t=1195275
#pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub
#GRUB_HIDDEN_TIMEOUT=10 #0 par defaut
#GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine
#sudo update-grub
#echo -n "Press ESC to see the menu... "
#if sleep --verbose --interruptible 5 ; then
#set timeout=10
#fi
set default=0
set timeout=10
set fallback=1
search --no-floppy --fs-uuid --set=root 6013-8110
set root=${root}
#http://grub.enbug.org/gfxterm
if loadfont /boot/polices/unicode.pf2 ; then
set gfxmode=640x480
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
#set gfxmode=auto
#set gfxpayload=keep
fi
fi
#set locale_dir=/boot/grub/locale
#set lang=en
#insmod gettext
if background_image /boot/splash/splash.png ; then
#text no sel/fond ecran
set color_normal=white/black #1
#text sel/fond ecran sel
set color_highlight=green/white #1
else
set menu_color_normal=white/black #2
set menu_color_highlight=green/white #2
set color_normal=white/magenta #2
set color_highlight=green/white #2
fi
#set gfxpayload="1280x1024,1024x768,800x600,640x480"
#set gfxpayload=keep
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_MENU_DEBUT|30-06-2016-21:01:23-047277915|boot-repair-disk-32bit.iso|multisystem-lubuntu|598Mio|
menuentry "boot-repair-disk-32bit.iso" {
search --set -f "/boot-repair-disk-32bit.iso"
loopback loop "/boot-repair-disk-32bit.iso"
linux (loop)/casper/vmlinuz root=UUID=6013-8110 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=  iso-scan/filename=/boot-repair-disk-32bit.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|30-06-2016-21:01:23-047277915|boot-repair-disk-32bit.iso|multisystem-lubuntu|598Mio|
#MULTISYSTEM_MENU_DEBUT|29-07-2016-17:10:53-786232169|ubuntu-14.04.4-desktop-i386.iso|multisystem-ubuntu|1025Mio|
menuentry "ubuntu-14.04.4-desktop-i386.iso" {
search --set -f "/ubuntu-14.04.4-desktop-i386.iso"
loopback loop "/ubuntu-14.04.4-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=6013-8110 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=  iso-scan/filename=/ubuntu-14.04.4-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|29-07-2016-17:10:53-786232169|ubuntu-14.04.4-desktop-i386.iso|multisystem-ubuntu|1025Mio|
#MULTISYSTEM_MENU_DEBUT|21-10-2017-16:01:37-298176395|ubuntu-17.10-desktop-amd64.iso|multisystem-ubuntu|1431Mio|
menuentry "ubuntu-17.10-desktop-amd64.iso" {
search --set -f "/ubuntu-17.10-desktop-amd64.iso"
loopback loop "/ubuntu-17.10-desktop-amd64.iso"
linux (loop)/casper/vmlinuz.efi root=UUID=6013-8110 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=  iso-scan/filename=/ubuntu-17.10-desktop-amd64.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|21-10-2017-16:01:37-298176395|ubuntu-17.10-desktop-amd64.iso|multisystem-ubuntu|1431Mio|
#MULTISYSTEM_MENU_DEBUT|29-11-2017-21:22:21-089314356|ubuntu-16.04.3-desktop-amd64.iso|multisystem-ubuntu|1514Mio|
menuentry "ubuntu-16.04.3-desktop-amd64.iso" {
search --set -f "/ubuntu-16.04.3-desktop-amd64.iso"
loopback loop "/ubuntu-16.04.3-desktop-amd64.iso"
linux (loop)/casper/vmlinuz.efi root=UUID=6013-8110 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=  iso-scan/filename=/ubuntu-16.04.3-desktop-amd64.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|29-11-2017-21:22:21-089314356|ubuntu-16.04.3-desktop-amd64.iso|multisystem-ubuntu|1514Mio|
#MULTISYSTEM_MENU_DEBUT|04-01-2018-15:08:26-982557818|boot-repair-disk-64bit.iso|multisystem-lubuntu|708Mio|
menuentry "boot-repair-disk-64bit.iso" {
search --set -f "/boot-repair-disk-64bit.iso"
loopback loop "/boot-repair-disk-64bit.iso"
linux (loop)/casper/vmlinuz.efi root=UUID=6013-8110 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr  iso-scan/filename=/boot-repair-disk-64bit.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|04-01-2018-15:08:26-982557818|boot-repair-disk-64bit.iso|multisystem-lubuntu|708Mio|
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
menuentry "______________Grub4Dos______________" {
echo
}
#http://grub4dos.sourceforge.net/
#http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
menuentry "Grub4Dos" {
	linux /boot/grub.exe --config-file=/boot/grub/menu.lst
}
menuentry "______________Syslinux______________" {
echo
}
#solution tordue, mais qui passe partout ...
#menuentry "Syslinux" {
#search --set -f /boot/syslinux/redir.img
#	linux16 /boot/syslinux/memdisk
#	initrd16 /boot/syslinux/redir.img
#}
#http://syslinux.zytor.com
menuentry "Syslinux" {
search --set -f "/boot/syslinux/ldlinux.sys"
drivemap -s (hd0) $root
chainloader +1
}
#Autre solution pour chainer Syslinux via une copie du mbr
#dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
#menuentry "Syslinux" {
#search --set -f "/boot/img/syslinux.mbr"
#drivemap -s (hd0) $root
#chainloader /boot/img/syslinux.mbr
#}
menuentry "______________UTIL______________" {
echo
}
## for debugging set debug=efi
#menuentry "0-testfakebios" {
#	hexdump -s 0xc0000 (mem)
#	fakebios
#	hexdump -s 0xc0000 (mem)
## deliberate error to get wait for key
#	xxx
#}
#How to test GRUB 2 on Macbook
#http://grub.enbug.org/TestingOnMacbook
#
#http://wiki.gentoo.org/wiki/GRUB2
#
#menuentry "Windows 7 BIOS/MBR" {
#     insmod part_msdos
#     insmod ntldr
#     insmod ntfs
#     ntldr (hd0,msdos1)/bootmgr
#}
#menuentry "Windows XP BIOS/MBR" {
#     insmod part_msdos
#     insmod ntldr
#     insmod ntfs
#     ntldr (hd0,msdos1)/ntldr
#}
#
#chainer un autre grub
#menuentry "grub.cfg auf /dev/sdb1" {
#	configfile (hd1,1)/boot/grub/grub.cfg
#}
#menuentry "Chain other configfile" {
#configfile /boot/grub/grub-xxx.cfg
#}
#
#menuentry "Return default menu" {
#chainloader /boot/grub/boot.img
#}
#chainer win ou autre OS
#menuentry "Chainer UUID de la partition" {
#insmod=ntfs
#set root=(hd0,1)
#search --no-floppy --fs-uuid --set=root xxx-xxx
#	drivemap -s (hd0) $root
#	chainloader +1
#}
#Booter une iso avec memdisk
#menuentry "FreeBSD" {
#    search --set -f "/FreeBSD-10.2-RELEASE-amd64-bootonly.iso"
#    linux16 /boot/syslinux/memdisk iso raw
#    initrd16 /FreeBSD-10.2-RELEASE-amd64-bootonly.iso
#}
#http://www.plop.at/en/bootmanagerdl.html
menuentry "PLoP Boot Manager" {
	linux16 /boot/img/plpbt
}
#http://www.supergrubdisk.org/
#http://developer.berlios.de/project/showfiles.php?group_id=10921
#SG2D (Floppy, CD & USB in one)
#super_grub_disk_hybrid-1.98s1.iso
menuentry "Super Grub2 Disk" {
search --set -f /boot/img/sgdh.iso
	linux16 /boot/syslinux/memdisk
	initrd16 /boot/img/sgdh.iso
}
menuentry "Super Grub Disk" {
search --set -f /boot/img/sgdfr.img
	linux16 /boot/syslinux/memdisk
	initrd16 /boot/img/sgdfr.img
}
menuentry "Smart Boot Manager" {
search --set -f /boot/img/sbootmgr.dsk
	linux16 /boot/syslinux/memdisk
	initrd16 /boot/img/sbootmgr.dsk
}
#Site: http://boot.kernel.org/index.html
#Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
menuentry "BKO (boot.kernel.org)" {
	search --set -f /boot/img/gpxe.lkrn
	linux16 /boot/img/gpxe.lkrn
}
#http://www.memtest.org/#downiso
menuentry "memtest86+" {
	linux16 /boot/img/memtest86+.bin
}
menuentry "vbeinfo" {
	vbeinfo
read
}
menuentry "lspci" {
	lspci
read
}
menuentry "gfxpayload 640x480" {
set gfxpayload=640x480
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 800x600" {
set gfxpayload=800x600
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1024x768" {
set gfxpayload=1024x768
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1280x1024" {
set gfxpayload=1280x1024
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "Reboot" {
insmod reboot
reboot
}
--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------
default /boot/syslinux/vesamenu.c32
prompt 0
timeout 40
ontimeout 0

MENU TITLE MultiSystem LiveUSB
MENU DEFAULT 0

MENU BACKGROUND /boot/splash/splash.png

#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!

label 0
MENU LABEL PLoP Boot Manager
KERNEL /boot/img/plpbt

label 1
MENU LABEL Grub2
kernel /boot/syslinux/chain.c32 file=/boot/grub/boot.img

label 2
MENU LABEL Grub4Dos
kernel /boot/grub.exe

LABEL 3
MENU LABEL Hardware Detection Tool
KERNEL /boot/syslinux/hdt.c32

#Exemple pour booter un iso avec version recente de memdisk
#label 4
#MENU LABEL boot iso
#KERNEL /boot/syslinux/memdisk
#APPEND iso raw initrd=/g4u.iso

#LABEL 5
#KERNEL /boot/syslinux/memdisk
#APPEND initrd=freebsd.img floppy

#LABEL 6
#MENU LABEL Chainer win
#KERNEL /boot/syslinux/chain.c32 ntldr=/ntldr

#LABEL 7
#MENU LABEL Chainer partition 2
#kernel /boot/syslinux/chain.c32
#append hd0 2

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

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/menu.lst                             1
            ?? = ??             boot/grub/grub.cfg                             1
            ?? = ??             boot/grub/i386-pc/core.img                     1

================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/syslinux/syslinux.cfg                     1
            ?? = ??             boot/syslinux/ldlinux.sys                      1
            ?? = ??             boot/syslinux/ldlinux.c32                      1

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

 boot/syslinux/ldlinux.c32          :  not a COM32/COM32R module

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

ERROR: sil: invalid metadata checksum in area 4 on /dev/sda
ERROR: sil: invalid metadata checksum in area 4 on /dev/sda
File descriptor 9 (/proc/15665/mountinfo) leaked on lvs invocation. Parent PID 22751: bash
File descriptor 63 (pipe:[90865]) leaked on lvs invocation. Parent PID 22751: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20180104_2052 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Partition 4 does not start on physical sector boundary.
boot-info is executed in live-session (Ubuntu 17.10, artful, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=(loop)/casper/vmlinuz.efi root=UUID=6013-8110 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode= iso-scan/filename=/ubuntu-17.10-desktop-amd64.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)

=================== os-prober:
/dev/sda1:Windows 10:Windows:chain

=================== blkid:
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="569AE81A9AE7F501" TYPE="ntfs" PARTUUID="0c8aa542-01"
/dev/sda2: UUID="6AFAA4CFFAA498B9" TYPE="ntfs" PARTUUID="0c8aa542-02"
/dev/sda3: UUID="A60074FF0074D82F" TYPE="ntfs" PARTUUID="0c8aa542-03"
/dev/sdb1: LABEL="MULTISYSTEM" UUID="6013-8110" TYPE="vfat" PARTUUID="c3072e18-01"
/dev/loop0: UUID="2017-10-18-18-53-18-00" LABEL="Ubuntu 17.10 amd64" TYPE="iso9660" PTUUID="690a7a2e" PTTYPE="dos"
/dev/loop1: TYPE="squashfs"
/dev/sda5: UUID="1212618f-72f6-448a-8bba-4635d0f4bfe8" TYPE="swap" PARTUUID="0c8aa542-05"


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

Windows not detected by os-prober on sda2.
Partition 4 does not start on physical sector boundary.
Partition 4 does not start on physical sector boundary.
=================== No kernel in /isodevice/boot:
grub
grub.exe
img
kexec-loader.lst
multisystem.bs.save
polices
splash
syslinux


/isodevice/boot/grub/menu.lst detected

=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
EFI in dmesg.
[    0.000000] ACPI: UEFI 0x000000009AFFD000 000236 (v01 ACRSYS ACRPRDCT 00000001 1025 00040000)
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	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.
sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda3.
sdb1	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-kernel,	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, /isodevice.

sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: not-GPT,	BIOSboot-not-needed,	has-correctEFI, 	liveusb,	not-mmc, no-os,	2048 sectors * 512 bytes


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

BYT;
/dev/sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10JPVX-22J:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:200GB:200GB:ntfs::;
3:200GB:201GB:512MB:ntfs::diag;
4:201GB:1000GB:799GB:::;
5:996GB:1000GB:4172MB:linux-swap(v1)::;

BYT;
/dev/sdb:31.0GB:scsi:512:512:msdos: USB DISK 3.0:;
1:4129kB:31.0GB:31.0GB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop iso9660    1,4G Ubuntu 17.10 amd64
loop1 loop squashfs   1,3G
sda   disk          931,5G
sda1  part ntfs       100M Réservé au système
sda2  part ntfs     186,5G
sda3  part ntfs       488M
sda4  part              1K
sda5  part swap       3,9G
sdb   disk           28,9G
sdb1  part vfat      28,9G MULTISYSTEM
sr0   rom            1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  0  0         /cdrom
loop1    1  1  0         /rofs
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         /mnt/boot-sav/sda3
sda4     1  0  0
sda5     1  0  0         [SWAP]
sdb      1  0  1 running
sdb1     1  0  1         /isodevice
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=1944512k,nr_inodes=486128,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=392456k,mode=755)
/dev/sdb1 on /isodevice type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop1 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
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/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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=20224)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=392452k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 sda5 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 integrity 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 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 drm_dp_aux0 drm_dp_aux1 dvd dvdrw 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 sdb sdb1 sg0 sg1 sg2 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  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
00000040  f6 00 00 00 01 00 00 00  01 f5 e7 9a 1a e8 9a 56  |...............V|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 28 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  b9 6d 50 17 00 00 00 00  |.........mP.....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  b9 98 a4 fa cf a4 fa 6a  |...............j|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 98 53 17  |........?.....S.|
00000020  00 00 00 00 80 00 80 00  ff 3f 0f 00 00 00 00 00  |.........?......|
00000030  aa a2 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  2f d8 74 00 ff 74 00 a6  |......../.t..t..|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb1
00000000  eb 58 90 53 59 53 4c 49  4e 55 58 00 02 20 20 00  |.X.SYSLINUX..  .|
00000010  02 00 00 00 00 f8 00 00  20 00 40 00 80 1f 00 00  |........ .@.....|
00000020  80 89 9b 03 b2 39 00 00  00 00 00 00 02 00 00 00  |.....9..........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 10 81 13 60 6d  75 6c 74 69 73 79 73 74  |..)...`multisyst|
00000050  65 6d 46 41 54 33 32 20  20 20 fa fc 31 c9 8e d1  |emFAT32   ..1...|
00000060  bc 76 7b 52 06 57 1e 56  8e c1 b1 26 bf 78 7b f3  |.v{R.W.V...&.x{.|
00000070  a5 8e d9 bb 78 00 0f b4  37 0f a0 56 20 d2 78 1b  |....x...7..V .x.|
00000080  31 c0 b1 06 89 3f 89 47  02 f3 64 a5 8a 0e 18 7c  |1....?.G..d....||
00000090  88 4d f8 50 50 50 50 cd  13 eb 62 8b 55 aa 8b 75  |.M.PPPP...b.U..u|
000000a0  a8 c1 ee 04 01 f2 83 fa  4f 76 31 81 fa b2 07 73  |........Ov1....s|
000000b0  2b f6 45 b4 7f 75 25 38  4d b8 74 20 66 3d 21 47  |+.E..u%8M.t f=!G|
000000c0  50 54 75 10 80 7d b8 ed  75 0a 66 ff 75 ec 66 ff  |PTu..}..u.f.u.f.|
000000d0  75 e8 eb 0f 51 51 66 ff  75 bc eb 07 51 51 66 ff  |u...QQf.u...QQf.|
000000e0  36 1c 7c b4 08 e8 e9 00  72 13 20 e4 75 0f c1 ea  |6.|.....r. .u...|
000000f0  08 42 89 16 1a 7c 83 e1  3f 89 0e 18 7c fb bb aa  |.B...|..?...|...|
00000100  55 b4 41 e8 cb 00 72 10  81 fb 55 aa 75 0a f6 c1  |U.A...r...U.u...|
00000110  01 74 05 c6 06 46 7d 00  66 b8 a4 3b 2e 00 66 ba  |.t...F}.f..;..f.|
00000120  00 00 00 00 bb 00 80 e8  0e 00 66 81 3e 1c 80 8c  |..........f.>...|
00000130  ad 7f 68 75 74 e9 f8 02  66 03 06 60 7b 66 13 16  |..hut...f..`{f..|
00000140  64 7b b9 10 00 eb 2b 66  52 66 50 06 53 6a 01 6a  |d{....+fRfP.Sj.j|
00000150  10 89 e6 66 60 b4 42 e8  77 00 66 61 8d 64 10 72  |...f`.B.w.fa.d.r|
00000160  01 c3 66 60 31 c0 e8 68  00 66 61 e2 da c6 06 46  |..f`1..h.fa....F|
00000170  7d 2b 66 60 66 0f b7 36  18 7c 66 0f b7 3e 1a 7c  |}+f`f..6.|f..>.||
00000180  66 f7 f6 31 c9 87 ca 66  f7 f7 66 3d ff 03 00 00  |f..1...f..f=....|
00000190  77 17 c0 e4 06 41 08 e1  88 c5 88 d6 b8 01 02 e8  |w....A..........|
000001a0  2f 00 66 61 72 01 c3 e2  c9 31 f6 8e d6 bc 68 7b  |/.far....1....h{|
000001b0  8e de 66 8f 06 78 00 be  da 7d ac 20 c0 74 09 b4  |..f..x...}. .t..|
000001c0  0e bb 07 00 cd 10 eb f2  31 c0 cd 16 cd 19 f4 eb  |........1.......|
000001d0  fd 8a 16 74 7b 06 cd 13  07 c3 42 6f 6f 74 20 65  |...t{.....Boot e|
000001e0  72 72 6f 72 0d 0a 00 00  00 00 00 00 00 00 00 00  |rror............|
000001f0  00 00 00 00 00 00 00 00  fe 02 b2 3e 18 37 55 aa  |...........>.7U.|
00000200
Partition 4 does not start on physical sector boundary.

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     384M  6.6M  377M   2% /run
/dev/sdb1      vfat       29G   15G   15G  52% /isodevice
/dev/loop0     iso9660   1.4G  1.4G     0 100% /cdrom
/dev/loop1     squashfs  1.4G  1.4G     0 100% /rofs
/cow           overlay   1.9G  115M  1.8G   6% /
tmpfs          tmpfs     1.9G   25M  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
tmpfs          tmpfs     1.9G  824K  1.9G   1% /tmp
tmpfs          tmpfs     384M   52K  384M   1% /run/user/999
/dev/sda1      fuseblk   100M   31M   70M  31% /mnt/boot-sav/sda1
/dev/sda2      fuseblk   187G   53G  134G  29% /mnt/boot-sav/sda2
/dev/sda3      fuseblk   488M  404M   85M  83% /mnt/boot-sav/sda3

=================== fdisk -l:
Disk /dev/loop0: 1.4 GiB, 1501102080 bytes, 2931840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x690a7a2e

Device       Boot   Start     End Sectors  Size Id Type
/dev/loop0p1 *          0 2931839 2931840  1.4G  0 Empty
/dev/loop0p2      2880880 2885487    4608  2.3M ef EFI (FAT-12/16/32)


Disk /dev/loop1: 1.3 GiB, 1425731584 bytes, 2784632 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 /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: dos
Disk identifier: 0x0c8aa542

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048     206847     204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2           206848  391353785  391146938 186.5G  7 HPFS/NTFS/exFAT
/dev/sda3        391354368  392353791     999424   488M 27 Hidden NTFS WinRE
/dev/sda4        392355838 1953523711 1561167874 744.4G  5 Extended
/dev/sda5       1945374720 1953523711    8148992   3.9G 82 Linux swap / Solaris





Disk /dev/sdb: 28.9 GiB, 30992891904 bytes, 60532992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc3072e18

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     8064 60532991 60524928 28.9G  c W95 FAT32 (LBA)




=================== Suggested repair
The default repair of the Boot-Repair utility would restore the [(generic mbr)] MBR in sda, and make it boot on sda1.
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot


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

Je confirme qu'il faut supprimer la partition swap actuelle sinon elle peut nuire encore lors d'une future mise à niveau de Windows 10 (*). Il faut que la partition étendue /dev/sda4 soit vide puis que tu recrées dedans les partitions logiques suivant les indications de Babdu89.

(*) c'est ce qui est arrivé à HobbyShooter comme tu peux voir dans ce fil : https://forum.ubuntu-fr.org/viewtopic.php?id=2010052
Il s'est fait avoir lors de la mise à niveau gratuite de Windows 7 vers Windows 10. Et 9 mois plus tard, il s'est encore fait avoir lors de la mise à niveau de Windows 10. Tout ça parce qu'il avait conservé la partition swap.

Dernière modification par malbo (Le 05/01/2018, à 08:07)

Hors ligne

#8 Le 06/01/2018, à 17:27

Zolann

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Bon, je m'attendais un peu à ça, rien de majeur sur ce pc, mais en effet, j'aimerais éviter à l'avenir que ça se reproduise...

Donc, si j'ai tout suivi :
-> Le manque de place sur la partition Windows à "forcé" la mise à jour à s'étendre sur une autre partition ?

Et je récapitule les étapes à suivre :
-> Démarrer en session Live.
-> Installer Gparted.
-> Supprimer sda4 et sda5.
-> Créer d'abord la partition swap, puis la partition ext4 sur laquelle j'installerai Ubuntu.
Je m'en occupe ce soir.

Merci encore pour votre aide.

Hors ligne

#9 Le 06/01/2018, à 17:34

??

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Bonjour
Ne supprimes pas SDA4 c'est  le contenant des partitions logiques. Supprimes seulement SDA5


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#10 Le 07/01/2018, à 14:55

Zolann

Re : [Résolu] Comment restaurer un double boot Ubuntu 17.10 / Win 10 ?

Installation sans souci en suivant vos instructions.

En espérant être protégé d'une telle mésaventure à l'avenir !

Merci !

Hors ligne