#1 Le 19/01/2018, à 12:19
- jmfdescourvieres
[Résolu] pb de grub à l'installation ubuntu en double boot de win2K
Impossible d'avoir la fenetre grub multi boot après installation d'un 2 ieme OS.
Il sagit d'un PC Dell optiplex 320 (processeur Intel Pentium CPU 2.8 Ghz, multicore. rénové avec un disque dur 80 giga et 2 giga de ram.
J'ai installé une version windows 2OOO en sda1, afin de pouvoir utiliser un fichier excel avec macro pour la gestion de mes comptes, et en sda7 ubuntu 16.
Lors du boot la fenètre grub n'apparait pas, et le systeme boote directement sur ubuntu.
Le boot repair 32 bits ne me répare le grub. Il me propose bien d'intervenir mais je n'arrive pas à prendre la main.
J'ai lancé un boot info. voir https:// paste.ubuntu.com/26415573
merci pour votre aide à venir
Jean-Marie Descourvieres
Dernière modification par jmfdescourvieres (Le 20/01/2018, à 19:49)
Hors ligne
#2 Le 19/01/2018, à 13:01
- malbo
Re : [Résolu] pb de grub à l'installation ubuntu en double boot de win2K
Le Boot-Info a été fait depuis une session live d'une version obsolète de Boot-Repair-Disk comme on peut voir dans cet extrait :
boot-repair is executed in live-session (Boot-Repair-Disk 32bit 24avr2013, raring, Ubuntu, i686)
Je te recommande de ne plus utiliser cet outil obsolète. Tu vas démarrer en session Live sur ton support d'installation de Ubuntu 16.04.1 et depuis cette session live, tu vas faire un Boot-Info en suivant les indications du paragraphe 1.2 Cas où aucun ubuntu installé sur disque n'est opérationnel. Tu donneras l'URL de ce Boot-Info dans ta réponse.
Dernière modification par malbo (Le 19/01/2018, à 13:02)
Hors ligne
#3 Le 19/01/2018, à 15:58
- jmfdescourvieres
Re : [Résolu] pb de grub à l'installation ubuntu en double boot de win2K
merci pour cette 1ére réponse.
Voilà l'URL du nouvel boot info réalisé comme demandé ci-dessus: https:// paste.ubuntu.com/26416588
merci pour la suite
jeanMarie Descourvières
Hors ligne
#4 Le 19/01/2018, à 17:17
- malbo
Re : [Résolu] pb de grub à l'installation ubuntu en double boot de win2K
Ton dernier Boot-Info est là :
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 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> 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 2000/XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot.ini /ntldr /NTDETECT.COM
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda2
and looks at sector 292611040 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
-------------------------. No errors found in the Boot
Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda8: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Syslinux 4.03 or higher
Boot sector info: Syslinux looks at sector 642688 of /dev/sdb1 for its
second stage. It is very unlikely that Syslinux is
(still) installed. The second stage could not be
found. 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: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 22,126,591 22,124,544 7 NTFS / exFAT / HPFS
/dev/sda2 22,126,592 145,455,103 123,328,512 7 NTFS / exFAT / HPFS
/dev/sda3 145,457,150 312,580,095 167,122,946 5 Extended
/dev/sda5 145,457,152 153,661,439 8,204,288 82 Linux swap / Solaris
/dev/sda6 153,663,488 248,694,737 95,031,250 83 Linux
/dev/sda7 248,696,832 283,834,367 35,137,536 83 Linux
/dev/sda8 283,836,416 312,580,095 28,743,680 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3.8 GiB, 4026531840 bytes, 7864320 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 * 2,048 7,864,319 7,862,272 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 2016-07-19-21-31-47-00 iso9660 Ubuntu 16.04.1 LTS i386
/dev/loop1 squashfs
/dev/sda1 846C71DB6C71C906 ntfs
/dev/sda2 4AFC2C61FC2C4A11 ntfs Data
/dev/sda5 550c432e-7e92-4d0d-b31f-b78e4c2a2a0d swap
/dev/sda6 9eae4ca5-3147-4f17-acaa-d0ce68940b3f ext4
/dev/sda7 c8bfb837-fd30-427e-8ebf-eea52dec5a74 ext4
/dev/sda8 7aa9c696-2c78-43f3-8c86-6300788bb4b7 ext4 debian
/dev/sdb1 D2A2-BA89 vfat MULTISYSTEM
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 19 13:54 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 19 13:55 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 19 13:55 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 19 13:54 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 19 13:54 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jan 19 13:54 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jan 19 13:54 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jan 19 13:54 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part8 -> ../../sda8
lrwxrwxrwx 1 root root 9 Jan 19 13:50 ata-TSSTcorp_CD-RW_DVD-ROM_TS-H492C -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 19 13:54 usb-JetFlash_Transcend_4GB_NCJUORF8-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 19 13:54 usb-JetFlash_Transcend_4GB_NCJUORF8-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jan 19 13:54 wwn-0x5000cca207c1c08c -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 19 13:55 wwn-0x5000cca207c1c08c-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 19 13:55 wwn-0x5000cca207c1c08c-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 19 13:54 wwn-0x5000cca207c1c08c-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 19 13:54 wwn-0x5000cca207c1c08c-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jan 19 13:54 wwn-0x5000cca207c1c08c-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jan 19 13:54 wwn-0x5000cca207c1c08c-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jan 19 13:54 wwn-0x5000cca207c1c08c-part8 -> ../../sda8
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /cdrom iso9660 (ro,noatime)
/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)
================================ sda1/boot.ini: ================================
--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professionnel" /fastdetect
--------------------------------------------------------------------------------
=========================== sda7/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
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-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-31-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
menuentry 'Ubuntu, avec Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
echo 'Chargement de Linux 4.4.0-31-generic…'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
echo 'Chargement de Linux 4.4.0-31-generic…'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
echo 'Chargement de Linux 4.4.0-31-generic…'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-31-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Microsoft Windows 2000 Professionnel (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-846C71DB6C71C906' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 846C71DB6C71C906
else
search --no-floppy --fs-uuid --set=root 846C71DB6C71C906
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### 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 ###
--------------------------------------------------------------------------------
=============================== sda7/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/sda7 during installation
UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=9eae4ca5-3147-4f17-acaa-d0ce68940b3f /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=550c432e-7e92-4d0d-b31f-b78e4c2a2a0d none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=================== sda7: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
128.931713104 = 138.439372800 boot/grub/grub.cfg 1
130.835151672 = 140.483174400 boot/grub/i386-pc/core.img 1
130.781715393 = 140.425797632 boot/vmlinuz-4.4.0-31-generic 1
130.781715393 = 140.425797632 vmlinuz 1
129.402679443 = 138.945069056 boot/initrd.img-4.4.0-31-generic 3
129.402679443 = 138.945069056 initrd.img 3
=========================== 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 D2A2-BA89
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|06-09-2016-15:39:09-014024022|ubuntu-mate-16.04.1-desktop-i386.iso|multisystem-ubuntumate|1792Mio|
menuentry "ubuntu-mate-16.04.1-desktop-i386.iso" {
search --set -f "/ubuntu-mate-16.04.1-desktop-i386.iso"
loopback loop "/ubuntu-mate-16.04.1-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=D2A2-BA89 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss iso-scan/filename=/ubuntu-mate-16.04.1-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntustudio.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|06-09-2016-15:39:09-014024022|ubuntu-mate-16.04.1-desktop-i386.iso|multisystem-ubuntumate|1792Mio|
#MULTISYSTEM_MENU_DEBUT|18-01-2018-18:49:03-215482491|ubuntu-16.04.1-desktop-i386.iso|multisystem-ubuntu|1536Mio|
menuentry "ubuntu-16.04.1-desktop-i386.iso" {
search --set -f "/ubuntu-16.04.1-desktop-i386.iso"
loopback loop "/ubuntu-16.04.1-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=D2A2-BA89 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss iso-scan/filename=/ubuntu-16.04.1-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|18-01-2018-18:49:03-215482491|ubuntu-16.04.1-desktop-i386.iso|multisystem-ubuntu|1536Mio|
#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
#}
#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/chain.c32 1
?? = ?? boot/syslinux/hdt.c32 1
?? = ?? boot/syslinux/ifplop.c32 1
?? = ?? boot/syslinux/menu.c32 1
?? = ?? boot/syslinux/reboot.c32 1
?? = ?? boot/syslinux/vesamenu.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
boot/syslinux/chain.c32 : COM32R module (v4.xx)
boot/syslinux/hdt.c32 : COM32R module (v4.xx)
boot/syslinux/ifplop.c32 : COM32R module (v4.xx)
boot/syslinux/menu.c32 : COM32R module (v4.xx)
boot/syslinux/reboot.c32 : COM32R module (v4.xx)
boot/syslinux/vesamenu.c32 : COM32R module (v4.xx)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda3
00000000 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
00000010 5a 19 64 19 5a 19 5a 19 5f 19 5a 19 5a 19 5a 19 |Z.d.Z.Z._.Z.Z.Z.|
00000020 5a 19 5a 19 5a 19 5a 19 e7 26 e7 26 e7 26 e7 26 |Z.Z.Z.Z..&.&.&.&|
00000030 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 |<.<.<.<.<.<.<.<.|
*
00000060 3c 06 3c 06 3c 06 3c 06 e7 26 e7 26 e7 26 e7 26 |<.<.<.<..&.&.&.&|
00000070 e7 26 3c 06 3c 06 3c 06 59 19 59 19 59 19 59 19 |.&<.<.<.Y.Y.Y.Y.|
00000080 59 19 59 19 59 19 59 19 59 19 59 19 e7 26 e7 26 |Y.Y.Y.Y.Y.Y..&.&|
00000090 e7 26 e7 26 e7 26 e7 26 46 06 65 19 5a 19 5a 19 |.&.&.&.&F.e.Z.Z.|
000000a0 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
*
000000c0 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 e7 26 |Z.Z.Z.Z.Z.Z.Z..&|
000000d0 e7 26 e7 26 e7 26 3c 06 3c 06 3c 06 3c 06 3c 06 |.&.&.&<.<.<.<.<.|
000000e0 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 |<.<.<.<.<.<.<.<.|
*
00000100 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 e7 26 |<.<.<.<.<.<.<..&|
00000110 e7 26 e7 26 e7 26 e7 26 3c 06 3c 06 3c 06 59 19 |.&.&.&.&<.<.<.Y.|
00000120 59 19 59 19 59 19 59 19 59 19 59 19 59 19 59 19 |Y.Y.Y.Y.Y.Y.Y.Y.|
00000130 59 19 e7 26 e7 26 e7 26 e7 26 e7 26 e7 26 46 06 |Y..&.&.&.&.&.&F.|
00000140 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
00000150 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 66 19 |Z.Z.Z.Z.Z.Z.Z.f.|
00000160 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
00000170 5a 19 5a 19 e7 26 e7 26 e7 26 e7 26 3c 06 3c 06 |Z.Z..&.&.&.&<.<.|
00000180 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 |<.<.<.<.<.<.<.<.|
*
000001b0 3c 06 3c 06 e7 26 e7 26 e7 26 e7 26 e7 26 00 fe |<.<..&.&.&.&.&..|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 30 7d 00 00 fe |...........0}...|
000001d0 ff ff 05 fe ff ff 1f 31 7d 00 b5 16 aa 05 00 00 |.......1}.......|
000001e0 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
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/9076/mounts) leaked on lvs invocation. Parent PID 21165: bash
File descriptor 63 (pipe:[66933]) leaked on lvs invocation. Parent PID 21165: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 20180119_1354 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, i686)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=(loop)/casper/vmlinuz root=UUID=D2A2-BA89 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss iso-scan/filename=/ubuntu-16.04.1-desktop-i386.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
=================== os-prober:
/dev/sda1:Microsoft Windows 2000 Professionnel:Windows:chain
/dev/sda7:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="846C71DB6C71C906" TYPE="ntfs" PARTUUID="0ccc9846-01"
/dev/sda2: LABEL="Data" UUID="4AFC2C61FC2C4A11" TYPE="ntfs" PARTUUID="0ccc9846-02"
/dev/sdb1: LABEL="MULTISYSTEM" UUID="D2A2-BA89" TYPE="vfat" PARTUUID="000b9a60-01"
/dev/loop0: UUID="2016-07-19-21-31-47-00" LABEL="Ubuntu 16.04.1 LTS i386" TYPE="iso9660" PTUUID="09b07823" PTTYPE="dos"
/dev/loop1: TYPE="squashfs"
/dev/sda5: UUID="550c432e-7e92-4d0d-b31f-b78e4c2a2a0d" TYPE="swap" PARTUUID="0ccc9846-05"
/dev/sda6: UUID="9eae4ca5-3147-4f17-acaa-d0ce68940b3f" TYPE="ext4" PARTUUID="0ccc9846-06"
/dev/sda7: UUID="c8bfb837-fd30-427e-8ebf-eea52dec5a74" TYPE="ext4" PARTUUID="0ccc9846-07"
/dev/sda8: LABEL="debian" UUID="7aa9c696-2c78-43f3-8c86-6300788bb4b7" TYPE="ext4" PARTUUID="0ccc9846-08"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
=================== No kernel in /isodevice/boot:
grub
grub.exe
img
kexec-loader.lst
multisystem.bs.save
polices
splash
syslinux
/isodevice/boot/grub/menu.lst detected
=================== sda7/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 juil. 19 2016 grub.d
total 76
-rwxr-xr-x 1 root root 9791 juin 17 2016 00_header
-rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12261 juin 17 2016 10_linux
-rwxr-xr-x 1 root root 11082 juin 17 2016 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 juin 17 2016 30_os-prober
-rwxr-xr-x 1 root root 1418 juin 17 2016 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juin 17 2016 40_custom
-rwxr-xr-x 1 root root 216 juin 17 2016 41_custom
-rw-r--r-- 1 root root 483 juin 17 2016 README
=================== sda7/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 live-session is not EFI-compatible.
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, ntldr, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, 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, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/sda2.
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.
sda6 : 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/sda6.
sda7 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 32, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda7.
sda8 : 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/sda8.
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:160GB:scsi:512:512:msdos:ATA HDT722516DLA380:;
1:1049kB:11.3GB:11.3GB:ntfs::boot;
2:11.3GB:74.5GB:63.1GB:ntfs::;
3:74.5GB:160GB:85.6GB:::;
5:74.5GB:78.7GB:4201MB:linux-swap(v1)::;
6:78.7GB:127GB:48.7GB:ext4::;
7:127GB:145GB:18.0GB:ext4::;
8:145GB:160GB:14.7GB:ext4::;
BYT;
/dev/sdb:4027MB:scsi:512:512:msdos:JetFlash Transcend 4GB:;
1:1049kB:4027MB:4025MB:fat32::boot;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
fd0 disk 4K
sda disk 149,1G
sda1 part ntfs 10,6G
sda2 part ntfs 58,8G Data
sda3 part 1K
sda5 part swap 3,9G
sda6 part ext4 45,3G
sda7 part ext4 16,8G
sda8 part ext4 13,7G debian
sdb disk 3,8G
sdb1 part vfat 3,8G MULTISYSTEM
sr0 rom 1024M
loop0 loop iso9660 1,4G Ubuntu 16.04.1 LTS i386
loop1 loop squashfs 1,4G
KNAME ROTA RO RM STATE MOUNTPOINT
fd0 1 0 1
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
sda5 1 0 0 [SWAP]
sda6 1 0 0 /mnt/boot-sav/sda6
sda7 1 0 0 /mnt/boot-sav/sda7
sda8 1 0 0 /mnt/boot-sav/sda8
sdb 1 0 1 running
sdb1 1 0 1 /isodevice
sr0 1 0 1 running
loop0 1 0 0 /cdrom
loop1 1 1 0 /rofs
=================== 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=1000424k,nr_inodes=212886,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=202752k,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)
/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/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
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/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)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=202752k,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 (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw,relatime,data=ordered)
/dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /mnt/boot-sav/sda8 type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/fd0 (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
/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 sda5 sda6 sda7 sda8 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 dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 initctl input kmsg lightnvm log lp0 mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sda7 sda8 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net 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 f0 97 51 01 00 00 00 00 |..........Q.....|
00000030 04 00 00 00 00 00 00 00 7f 19 15 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 06 c9 71 6c db 71 6c 84 |..........ql.ql.|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb b8 c0 07 |.....3.....|....|
00000060 8e d8 e8 16 00 b8 00 0d 8e c0 33 db c6 06 0e 00 |..........3.....|
00000070 10 e8 53 00 68 00 0d 68 6a 02 cb 8a 16 24 00 b4 |..S.h..hj....$..|
00000080 08 cd 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 |...s......f...@f|
00000090 0f b6 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f |.....?.......Af.|
000000a0 b7 c9 66 f7 e1 66 a3 20 00 c3 b4 41 bb aa 55 8a |..f..f. ...A..U.|
000000b0 16 24 00 cd 13 72 0f 81 fb 55 aa 75 09 f6 c1 01 |.$...r...U.u....|
000000c0 74 04 fe 06 14 00 c3 66 60 1e 06 66 a1 10 00 66 |t......f`..f...f|
000000d0 03 06 1c 00 66 3b 06 20 00 0f 82 3a 00 1e 66 6a |....f;. ...:..fj|
000000e0 00 66 50 06 53 66 68 10 00 01 00 80 3e 14 00 00 |.fP.Sfh.....>...|
000000f0 0f 85 0c 00 e8 b3 ff 80 3e 14 00 00 0f 84 61 00 |........>.....a.|
00000100 b4 42 8a 16 24 00 16 1f 8b f4 cd 13 66 58 5b 07 |.B..$.......fX[.|
00000110 66 58 66 58 1f eb 2d 66 33 d2 66 0f b7 0e 18 00 |fXfX..-f3.f.....|
00000120 66 f7 f1 fe c2 8a ca 66 8b d0 66 c1 ea 10 f7 36 |f......f..f....6|
00000130 1a 00 86 d6 8a 16 24 00 8a e8 c0 e4 06 0a cc b8 |......$.........|
00000140 01 02 cd 13 0f 82 19 00 8c c0 05 20 00 8e c0 66 |........... ...f|
00000150 ff 06 10 00 ff 0e 0e 00 0f 85 6f ff 07 1f 66 61 |..........o...fa|
00000160 c3 a0 f8 01 e8 09 00 a0 fb 01 e8 03 00 fb eb fe |................|
00000170 b4 01 8b f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 |.....<.t........|
00000180 eb f2 c3 0d 0a 45 72 72 2e 20 6c 65 63 74 75 72 |.....Err. lectur|
00000190 65 20 64 69 73 71 75 65 00 0d 0a 4e 54 4c 44 52 |e disque...NTLDR|
000001a0 20 6d 61 6e 71 75 65 00 0d 0a 4e 54 4c 44 52 20 | manque...NTLDR |
000001b0 65 73 74 20 63 6f 6d 70 72 65 73 73 82 00 0d 0a |est compress....|
000001c0 45 6e 74 72 65 7a 20 43 74 72 6c 2b 41 6c 74 2b |Entrez Ctrl+Alt+|
000001d0 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 6d |Suppr pour red.m|
000001e0 61 72 72 65 72 0d 0a 00 0d 0a 00 00 00 00 00 00 |arrer...........|
000001f0 00 00 00 00 00 00 00 00 83 99 a8 be 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 63 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.c.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a0 51 01 |........?.....Q.|
00000020 00 00 00 00 80 00 80 00 f0 d7 59 07 00 00 00 00 |..........Y.....|
00000030 02 00 00 00 00 00 00 00 64 d9 44 00 00 00 00 00 |........d.D.....|
00000040 f6 00 00 00 01 00 00 00 11 4a 2c fc 61 2c fc 4a |.........J,.a,.J|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 80 e0 e3 70 11 |.....3........p.|
00000060 00 00 00 00 ff fa 90 90 f6 c2 80 74 05 f6 c2 70 |...........t...p|
00000070 74 02 b2 80 ea 79 7c 00 00 31 c0 8e d8 8e d0 bc |t....y|..1......|
00000080 00 20 fb a0 64 7c 3c ff 74 02 88 c2 52 bb 17 04 |. ..d|<.t...R...|
00000090 f6 07 03 74 06 be 88 7d e8 17 01 be 05 7c b4 41 |...t...}.....|.A|
000000a0 bb aa 55 cd 13 5a 52 72 3d 81 fb 55 aa 75 37 83 |..U..ZRr=..U.u7.|
000000b0 e1 01 74 32 31 c0 89 44 04 40 88 44 ff 89 44 02 |..t21..D.@.D..D.|
000000c0 c7 04 10 00 66 8b 1e 5c 7c 66 89 5c 08 66 8b 1e |....f..|f..f..|
000000d0 60 7c 66 89 5c 0c c7 44 06 00 70 b4 42 cd 13 72 |`|f...D..p.B..r|
000000e0 05 bb 00 70 eb 76 b4 08 cd 13 73 0d 5a 84 d2 0f |...p.v....s.Z...|
000000f0 83 d0 00 be 93 7d e9 82 00 66 0f b6 c6 88 64 ff |.....}...f....d.|
00000100 40 66 89 44 04 0f b6 d1 c1 e2 02 88 e8 88 f4 40 |@f.D...........@|
00000110 89 44 08 0f b6 c2 c0 e8 02 66 89 04 66 a1 60 7c |.D.......f..f.`||
00000120 66 09 c0 75 4e 66 a1 5c 7c 66 31 d2 66 f7 34 88 |f..uNf.|f1.f.4.|
00000130 d1 31 d2 66 f7 74 04 3b 44 08 7d 37 fe c1 88 c5 |.1.f.t.;D.}7....|
00000140 30 c0 c1 e8 02 08 c1 88 d0 5a 88 c6 bb 00 70 8e |0........Z....p.|
00000150 c3 31 db b8 01 02 cd 13 72 1e 8c c3 60 1e b9 00 |.1......r...`...|
00000160 01 8e db 31 f6 bf 00 80 8e c6 fc f3 a5 1f 61 ff |...1..........a.|
00000170 26 5a 7c be 8e 7d eb 03 be 9d 7d e8 34 00 be a2 |&Z|..}....}.4...|
00000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65 |}.......GRUB .Ge|
00000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61 |om.Hard Disk.Rea|
000001a0 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 b4 0e |d. Error........|
000001b0 cd 10 ac 3c 00 75 f4 c3 4f 4f 54 4d 47 52 20 63 |...<.u..OOTMGR 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/sdb1
00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 08 20 00 |.X.SYSLINUX... .|
00000010 02 00 00 00 00 f8 00 00 3e 00 7c 00 00 08 00 00 |........>.|.....|
00000020 00 f8 77 00 f0 1d 00 00 00 00 00 00 02 00 00 00 |..w.............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 89 ba a2 d2 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 80 ce 09 00 66 ba |.t...F}.f.....f.|
00000120 00 00 00 00 bb 00 80 e8 0e 00 66 81 3e 1c 80 99 |..........f.>...|
00000130 99 61 6c 75 74 e9 f8 02 66 03 06 60 7b 66 13 16 |.alut...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
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 977M 0 977M 0% /dev
tmpfs tmpfs 198M 8.8M 190M 5% /run
/dev/sdb1 vfat 3.8G 3.3G 481M 88% /isodevice
/dev/loop0 iso9660 1.5G 1.5G 0 100% /cdrom
/dev/loop1 squashfs 1.4G 1.4G 0 100% /rofs
/cow overlay 990M 117M 874M 12% /
tmpfs tmpfs 990M 408K 990M 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 990M 0 990M 0% /sys/fs/cgroup
tmpfs tmpfs 990M 296K 990M 1% /tmp
tmpfs tmpfs 198M 80K 198M 1% /run/user/999
/dev/sda1 fuseblk 11G 2.2G 8.4G 21% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 59G 151M 59G 1% /mnt/boot-sav/sda2
/dev/sda6 ext4 45G 55M 43G 1% /mnt/boot-sav/sda6
/dev/sda7 ext4 17G 4.0G 12G 26% /mnt/boot-sav/sda7
/dev/sda8 ext4 14G 35M 13G 1% /mnt/boot-sav/sda8
=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/loop0: 1.4 GiB, 1531445248 bytes, 2991104 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: 0x09b07823
Device Boot Start End Sectors Size Id Type
/dev/loop0p1 * 64 2991103 2991040 1.4G 17 Hidden HPFS/NTFS
Disk /dev/loop1: 1.4 GiB, 1488424960 bytes, 2907080 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: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0ccc9846
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 22126591 22124544 10.6G 7 HPFS/NTFS/exFAT
/dev/sda2 22126592 145455103 123328512 58.8G 7 HPFS/NTFS/exFAT
/dev/sda3 145457150 312580095 167122946 79.7G 5 Extended
/dev/sda5 145457152 153661439 8204288 3.9G 82 Linux swap / Solaris
/dev/sda6 153663488 248694737 95031250 45.3G 83 Linux
/dev/sda7 248696832 283834367 35137536 16.8G 83 Linux
/dev/sda8 283836416 312580095 28743680 13.7G 83 Linux
Disk /dev/sdb: 3.8 GiB, 4026531840 bytes, 7864320 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: 0x000b9a60
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 7864319 7862272 3.8G b W95 FAT32
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda7 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (ATA HDT722516DLA380) !
Les fichiers de démarrage de [Ubuntu 16.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.
On y voit cet extrait qui montre ce qui va se passer si tu fais la réparation recommandée de Boot-Repair :
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda7 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
C'est bien ce qu'il convient de faire pour réparer ton démarrage aussi je te suggère de faire cette Réparation Standard de Boot-repair depuis la session Live de Ubuntu 16.04.1
Hors ligne
#5 Le 20/01/2018, à 11:52
- jmfdescourvieres
Re : [Résolu] pb de grub à l'installation ubuntu en double boot de win2K
Je viens de faire la réparation standard (à partir du live ubuntu, installer boot repair et boot-info puis lancer boot-repair), ça ne marche toujours pas. Quand je reboote, ça lance directement ubuntu (qui est en sda7).
Dans le boot-info que vous m'avez renvoyé (ci-dessus) il y a en fin une suggestion (en français):
=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (ATA HDT722516DLA380) !
Les fichiers de démarrage de [Ubuntu 16.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
mais je n'ose pas la faire, car je ne sais comment créé une partition /boot en début de disque, sans casser windows qui doit bien etre sur la première partition? Cette partition boot peut-elle être en sda3???
A noter que je peux très bien tout repartitionner et réinstaller... mais où mettre cette partition /boot.
Merci
Je vous redonne le nouveau boot-info, après avoir réalisé le boot-repair: http://paste.ubuntu.com/26421852/
Hors ligne
#6 Le 20/01/2018, à 12:54
- malbo
Re : [Résolu] pb de grub à l'installation ubuntu en double boot de win2K
Ton dernier Boot-Info est là :
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 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> 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 2000/XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot.ini /ntldr /NTDETECT.COM
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda2
and looks at sector 292611040 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
-------------------------. No errors found in the Boot
Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda8: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Syslinux 4.03 or higher
Boot sector info: Syslinux looks at sector 642688 of /dev/sdb1 for its
second stage. It is very unlikely that Syslinux is
(still) installed. The second stage could not be
found. 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: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 22,126,591 22,124,544 7 NTFS / exFAT / HPFS
/dev/sda2 22,126,592 145,455,103 123,328,512 7 NTFS / exFAT / HPFS
/dev/sda3 145,457,150 312,580,095 167,122,946 5 Extended
/dev/sda5 145,457,152 153,661,439 8,204,288 82 Linux swap / Solaris
/dev/sda6 153,663,488 248,694,737 95,031,250 83 Linux
/dev/sda7 248,696,832 283,834,367 35,137,536 83 Linux
/dev/sda8 283,836,416 312,580,095 28,743,680 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3.8 GiB, 4026531840 bytes, 7864320 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 * 2,048 7,864,319 7,862,272 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 2016-07-19-21-31-47-00 iso9660 Ubuntu 16.04.1 LTS i386
/dev/loop1 squashfs
/dev/sda1 846C71DB6C71C906 ntfs
/dev/sda2 4AFC2C61FC2C4A11 ntfs Data
/dev/sda5 550c432e-7e92-4d0d-b31f-b78e4c2a2a0d swap
/dev/sda6 9eae4ca5-3147-4f17-acaa-d0ce68940b3f ext4
/dev/sda7 c8bfb837-fd30-427e-8ebf-eea52dec5a74 ext4
/dev/sda8 7aa9c696-2c78-43f3-8c86-6300788bb4b7 ext4 debian
/dev/sdb1 D2A2-BA89 vfat MULTISYSTEM
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jan 20 09:49 ata-HDT722516DLA380_41N3148LEN_VDS71DTGC3VH4J-part8 -> ../../sda8
lrwxrwxrwx 1 root root 9 Jan 20 09:45 ata-TSSTcorp_CD-RW_DVD-ROM_TS-H492C -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 20 09:48 usb-JetFlash_Transcend_4GB_NCJUORF8-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 20 09:48 usb-JetFlash_Transcend_4GB_NCJUORF8-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jan 20 09:49 wwn-0x5000cca207c1c08c -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 20 09:49 wwn-0x5000cca207c1c08c-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 20 09:49 wwn-0x5000cca207c1c08c-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 20 09:49 wwn-0x5000cca207c1c08c-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 20 09:49 wwn-0x5000cca207c1c08c-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jan 20 09:49 wwn-0x5000cca207c1c08c-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jan 20 09:49 wwn-0x5000cca207c1c08c-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jan 20 09:49 wwn-0x5000cca207c1c08c-part8 -> ../../sda8
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /cdrom iso9660 (ro,noatime)
/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)
================================ sda1/boot.ini: ================================
--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professionnel" /fastdetect
--------------------------------------------------------------------------------
=========================== sda7/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
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=10
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-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-31-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-c8bfb837-fd30-427e-8ebf-eea52dec5a74' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 c8bfb837-fd30-427e-8ebf-eea52dec5a74
else
search --no-floppy --fs-uuid --set=root c8bfb837-fd30-427e-8ebf-eea52dec5a74
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Microsoft Windows 2000 Professionnel (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-846C71DB6C71C906' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 846C71DB6C71C906
else
search --no-floppy --fs-uuid --set=root 846C71DB6C71C906
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### 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 ###
--------------------------------------------------------------------------------
=============================== sda7/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/sda7 during installation
UUID=c8bfb837-fd30-427e-8ebf-eea52dec5a74 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=9eae4ca5-3147-4f17-acaa-d0ce68940b3f /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=550c432e-7e92-4d0d-b31f-b78e4c2a2a0d none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=================== sda7: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
130.765541077 = 140.408430592 boot/grub/grub.cfg 1
130.795822144 = 140.440944640 boot/grub/i386-pc/core.img 1
130.781715393 = 140.425797632 boot/vmlinuz-4.4.0-31-generic 1
130.781715393 = 140.425797632 vmlinuz 1
129.402679443 = 138.945069056 boot/initrd.img-4.4.0-31-generic 3
129.402679443 = 138.945069056 initrd.img 3
=========================== 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 D2A2-BA89
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|06-09-2016-15:39:09-014024022|ubuntu-mate-16.04.1-desktop-i386.iso|multisystem-ubuntumate|1792Mio|
menuentry "ubuntu-mate-16.04.1-desktop-i386.iso" {
search --set -f "/ubuntu-mate-16.04.1-desktop-i386.iso"
loopback loop "/ubuntu-mate-16.04.1-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=D2A2-BA89 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss iso-scan/filename=/ubuntu-mate-16.04.1-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntustudio.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|06-09-2016-15:39:09-014024022|ubuntu-mate-16.04.1-desktop-i386.iso|multisystem-ubuntumate|1792Mio|
#MULTISYSTEM_MENU_DEBUT|18-01-2018-18:49:03-215482491|ubuntu-16.04.1-desktop-i386.iso|multisystem-ubuntu|1536Mio|
menuentry "ubuntu-16.04.1-desktop-i386.iso" {
search --set -f "/ubuntu-16.04.1-desktop-i386.iso"
loopback loop "/ubuntu-16.04.1-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=D2A2-BA89 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss iso-scan/filename=/ubuntu-16.04.1-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|18-01-2018-18:49:03-215482491|ubuntu-16.04.1-desktop-i386.iso|multisystem-ubuntu|1536Mio|
#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
#}
#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/chain.c32 1
?? = ?? boot/syslinux/hdt.c32 1
?? = ?? boot/syslinux/ifplop.c32 1
?? = ?? boot/syslinux/menu.c32 1
?? = ?? boot/syslinux/reboot.c32 1
?? = ?? boot/syslinux/vesamenu.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
boot/syslinux/chain.c32 : COM32R module (v4.xx)
boot/syslinux/hdt.c32 : COM32R module (v4.xx)
boot/syslinux/ifplop.c32 : COM32R module (v4.xx)
boot/syslinux/menu.c32 : COM32R module (v4.xx)
boot/syslinux/reboot.c32 : COM32R module (v4.xx)
boot/syslinux/vesamenu.c32 : COM32R module (v4.xx)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda3
00000000 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
00000010 5a 19 64 19 5a 19 5a 19 5f 19 5a 19 5a 19 5a 19 |Z.d.Z.Z._.Z.Z.Z.|
00000020 5a 19 5a 19 5a 19 5a 19 e7 26 e7 26 e7 26 e7 26 |Z.Z.Z.Z..&.&.&.&|
00000030 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 |<.<.<.<.<.<.<.<.|
*
00000060 3c 06 3c 06 3c 06 3c 06 e7 26 e7 26 e7 26 e7 26 |<.<.<.<..&.&.&.&|
00000070 e7 26 3c 06 3c 06 3c 06 59 19 59 19 59 19 59 19 |.&<.<.<.Y.Y.Y.Y.|
00000080 59 19 59 19 59 19 59 19 59 19 59 19 e7 26 e7 26 |Y.Y.Y.Y.Y.Y..&.&|
00000090 e7 26 e7 26 e7 26 e7 26 46 06 65 19 5a 19 5a 19 |.&.&.&.&F.e.Z.Z.|
000000a0 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
*
000000c0 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 e7 26 |Z.Z.Z.Z.Z.Z.Z..&|
000000d0 e7 26 e7 26 e7 26 3c 06 3c 06 3c 06 3c 06 3c 06 |.&.&.&<.<.<.<.<.|
000000e0 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 |<.<.<.<.<.<.<.<.|
*
00000100 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 e7 26 |<.<.<.<.<.<.<..&|
00000110 e7 26 e7 26 e7 26 e7 26 3c 06 3c 06 3c 06 59 19 |.&.&.&.&<.<.<.Y.|
00000120 59 19 59 19 59 19 59 19 59 19 59 19 59 19 59 19 |Y.Y.Y.Y.Y.Y.Y.Y.|
00000130 59 19 e7 26 e7 26 e7 26 e7 26 e7 26 e7 26 46 06 |Y..&.&.&.&.&.&F.|
00000140 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
00000150 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 66 19 |Z.Z.Z.Z.Z.Z.Z.f.|
00000160 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 5a 19 |Z.Z.Z.Z.Z.Z.Z.Z.|
00000170 5a 19 5a 19 e7 26 e7 26 e7 26 e7 26 3c 06 3c 06 |Z.Z..&.&.&.&<.<.|
00000180 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 3c 06 |<.<.<.<.<.<.<.<.|
*
000001b0 3c 06 3c 06 e7 26 e7 26 e7 26 e7 26 e7 26 00 fe |<.<..&.&.&.&.&..|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 30 7d 00 00 fe |...........0}...|
000001d0 ff ff 05 fe ff ff 1f 31 7d 00 b5 16 aa 05 00 00 |.......1}.......|
000001e0 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
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/9066/mounts) leaked on lvs invocation. Parent PID 24066: bash
File descriptor 63 (pipe:[66532]) leaked on lvs invocation. Parent PID 24066: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 20180120_0948 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, i686)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=(loop)/casper/vmlinuz root=UUID=D2A2-BA89 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss iso-scan/filename=/ubuntu-16.04.1-desktop-i386.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
=================== os-prober:
/dev/sda1:Microsoft Windows 2000 Professionnel:Windows:chain
/dev/sda7:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="846C71DB6C71C906" TYPE="ntfs" PARTUUID="0ccc9846-01"
/dev/sda2: LABEL="Data" UUID="4AFC2C61FC2C4A11" TYPE="ntfs" PARTUUID="0ccc9846-02"
/dev/sdb1: LABEL="MULTISYSTEM" UUID="D2A2-BA89" TYPE="vfat" PARTUUID="000b9a60-01"
/dev/loop0: UUID="2016-07-19-21-31-47-00" LABEL="Ubuntu 16.04.1 LTS i386" TYPE="iso9660" PTUUID="09b07823" PTTYPE="dos"
/dev/loop1: TYPE="squashfs"
/dev/sda5: UUID="550c432e-7e92-4d0d-b31f-b78e4c2a2a0d" TYPE="swap" PARTUUID="0ccc9846-05"
/dev/sda6: UUID="9eae4ca5-3147-4f17-acaa-d0ce68940b3f" TYPE="ext4" PARTUUID="0ccc9846-06"
/dev/sda7: UUID="c8bfb837-fd30-427e-8ebf-eea52dec5a74" TYPE="ext4" PARTUUID="0ccc9846-07"
/dev/sda8: LABEL="debian" UUID="7aa9c696-2c78-43f3-8c86-6300788bb4b7" TYPE="ext4" PARTUUID="0ccc9846-08"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
=================== No kernel in /isodevice/boot:
grub
grub.exe
img
kexec-loader.lst
multisystem.bs.save
polices
splash
syslinux
/isodevice/boot/grub/menu.lst detected
=================== sda7/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 juil. 19 2016 grub.d
total 76
-rwxr-xr-x 1 root root 9791 juin 17 2016 00_header
-rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12261 juin 17 2016 10_linux
-rwxr-xr-x 1 root root 11082 juin 17 2016 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 juin 17 2016 30_os-prober
-rwxr-xr-x 1 root root 1418 juin 17 2016 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juin 17 2016 40_custom
-rwxr-xr-x 1 root root 216 juin 17 2016 41_custom
-rw-r--r-- 1 root root 483 juin 17 2016 README
=================== sda7/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"
=================== sda7recordfail=1/grub/grubenv :
recordfail=1
=================== UEFI/Legacy mode:
This live-session is not EFI-compatible.
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, ntldr, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, 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, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/sda2.
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.
sda6 : 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/sda6.
sda7 : sda, not-sepboot, grubenv-ng grub2, grub-pc , update-grub, 32, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda7.
sda8 : 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/sda8.
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:160GB:scsi:512:512:msdos:ATA HDT722516DLA380:;
1:1049kB:11.3GB:11.3GB:ntfs::boot;
2:11.3GB:74.5GB:63.1GB:ntfs::;
3:74.5GB:160GB:85.6GB:::;
5:74.5GB:78.7GB:4201MB:linux-swap(v1)::;
6:78.7GB:127GB:48.7GB:ext4::;
7:127GB:145GB:18.0GB:ext4::;
8:145GB:160GB:14.7GB:ext4::;
BYT;
/dev/sdb:4027MB:scsi:512:512:msdos:JetFlash Transcend 4GB:;
1:1049kB:4027MB:4025MB:fat32::boot;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
fd0 disk 4K
sda disk 149,1G
sda1 part ntfs 10,6G
sda2 part ntfs 58,8G Data
sda3 part 1K
sda5 part swap 3,9G
sda6 part ext4 45,3G
sda7 part ext4 16,8G
sda8 part ext4 13,7G debian
sdb disk 3,8G
sdb1 part vfat 3,8G MULTISYSTEM
sr0 rom 1024M
loop0 loop iso9660 1,4G Ubuntu 16.04.1 LTS i386
loop1 loop squashfs 1,4G
KNAME ROTA RO RM STATE MOUNTPOINT
fd0 1 0 1
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
sda5 1 0 0 [SWAP]
sda6 1 0 0 /mnt/boot-sav/sda6
sda7 1 0 0 /mnt/boot-sav/sda7
sda8 1 0 0 /mnt/boot-sav/sda8
sdb 1 0 1 running
sdb1 1 0 1 /isodevice
sr0 1 0 1 running
loop0 1 0 0 /cdrom
loop1 1 1 0 /rofs
=================== 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=1000424k,nr_inodes=212886,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=202752k,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)
/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/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,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/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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
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=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=202752k,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 (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw,relatime,data=ordered)
/dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /mnt/boot-sav/sda8 type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/fd0 (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
/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 sda5 sda6 sda7 sda8 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 dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 initctl input kmsg lightnvm log lp0 mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sda7 sda8 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net 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 f0 97 51 01 00 00 00 00 |..........Q.....|
00000030 04 00 00 00 00 00 00 00 7f 19 15 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 06 c9 71 6c db 71 6c 84 |..........ql.ql.|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb b8 c0 07 |.....3.....|....|
00000060 8e d8 e8 16 00 b8 00 0d 8e c0 33 db c6 06 0e 00 |..........3.....|
00000070 10 e8 53 00 68 00 0d 68 6a 02 cb 8a 16 24 00 b4 |..S.h..hj....$..|
00000080 08 cd 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 |...s......f...@f|
00000090 0f b6 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f |.....?.......Af.|
000000a0 b7 c9 66 f7 e1 66 a3 20 00 c3 b4 41 bb aa 55 8a |..f..f. ...A..U.|
000000b0 16 24 00 cd 13 72 0f 81 fb 55 aa 75 09 f6 c1 01 |.$...r...U.u....|
000000c0 74 04 fe 06 14 00 c3 66 60 1e 06 66 a1 10 00 66 |t......f`..f...f|
000000d0 03 06 1c 00 66 3b 06 20 00 0f 82 3a 00 1e 66 6a |....f;. ...:..fj|
000000e0 00 66 50 06 53 66 68 10 00 01 00 80 3e 14 00 00 |.fP.Sfh.....>...|
000000f0 0f 85 0c 00 e8 b3 ff 80 3e 14 00 00 0f 84 61 00 |........>.....a.|
00000100 b4 42 8a 16 24 00 16 1f 8b f4 cd 13 66 58 5b 07 |.B..$.......fX[.|
00000110 66 58 66 58 1f eb 2d 66 33 d2 66 0f b7 0e 18 00 |fXfX..-f3.f.....|
00000120 66 f7 f1 fe c2 8a ca 66 8b d0 66 c1 ea 10 f7 36 |f......f..f....6|
00000130 1a 00 86 d6 8a 16 24 00 8a e8 c0 e4 06 0a cc b8 |......$.........|
00000140 01 02 cd 13 0f 82 19 00 8c c0 05 20 00 8e c0 66 |........... ...f|
00000150 ff 06 10 00 ff 0e 0e 00 0f 85 6f ff 07 1f 66 61 |..........o...fa|
00000160 c3 a0 f8 01 e8 09 00 a0 fb 01 e8 03 00 fb eb fe |................|
00000170 b4 01 8b f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 |.....<.t........|
00000180 eb f2 c3 0d 0a 45 72 72 2e 20 6c 65 63 74 75 72 |.....Err. lectur|
00000190 65 20 64 69 73 71 75 65 00 0d 0a 4e 54 4c 44 52 |e disque...NTLDR|
000001a0 20 6d 61 6e 71 75 65 00 0d 0a 4e 54 4c 44 52 20 | manque...NTLDR |
000001b0 65 73 74 20 63 6f 6d 70 72 65 73 73 82 00 0d 0a |est compress....|
000001c0 45 6e 74 72 65 7a 20 43 74 72 6c 2b 41 6c 74 2b |Entrez Ctrl+Alt+|
000001d0 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 6d |Suppr pour red.m|
000001e0 61 72 72 65 72 0d 0a 00 0d 0a 00 00 00 00 00 00 |arrer...........|
000001f0 00 00 00 00 00 00 00 00 83 99 a8 be 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 63 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.c.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a0 51 01 |........?.....Q.|
00000020 00 00 00 00 80 00 80 00 f0 d7 59 07 00 00 00 00 |..........Y.....|
00000030 02 00 00 00 00 00 00 00 64 d9 44 00 00 00 00 00 |........d.D.....|
00000040 f6 00 00 00 01 00 00 00 11 4a 2c fc 61 2c fc 4a |.........J,.a,.J|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 80 e0 e3 70 11 |.....3........p.|
00000060 00 00 00 00 ff fa 90 90 f6 c2 80 74 05 f6 c2 70 |...........t...p|
00000070 74 02 b2 80 ea 79 7c 00 00 31 c0 8e d8 8e d0 bc |t....y|..1......|
00000080 00 20 fb a0 64 7c 3c ff 74 02 88 c2 52 bb 17 04 |. ..d|<.t...R...|
00000090 f6 07 03 74 06 be 88 7d e8 17 01 be 05 7c b4 41 |...t...}.....|.A|
000000a0 bb aa 55 cd 13 5a 52 72 3d 81 fb 55 aa 75 37 83 |..U..ZRr=..U.u7.|
000000b0 e1 01 74 32 31 c0 89 44 04 40 88 44 ff 89 44 02 |..t21..D.@.D..D.|
000000c0 c7 04 10 00 66 8b 1e 5c 7c 66 89 5c 08 66 8b 1e |....f..|f..f..|
000000d0 60 7c 66 89 5c 0c c7 44 06 00 70 b4 42 cd 13 72 |`|f...D..p.B..r|
000000e0 05 bb 00 70 eb 76 b4 08 cd 13 73 0d 5a 84 d2 0f |...p.v....s.Z...|
000000f0 83 d0 00 be 93 7d e9 82 00 66 0f b6 c6 88 64 ff |.....}...f....d.|
00000100 40 66 89 44 04 0f b6 d1 c1 e2 02 88 e8 88 f4 40 |@f.D...........@|
00000110 89 44 08 0f b6 c2 c0 e8 02 66 89 04 66 a1 60 7c |.D.......f..f.`||
00000120 66 09 c0 75 4e 66 a1 5c 7c 66 31 d2 66 f7 34 88 |f..uNf.|f1.f.4.|
00000130 d1 31 d2 66 f7 74 04 3b 44 08 7d 37 fe c1 88 c5 |.1.f.t.;D.}7....|
00000140 30 c0 c1 e8 02 08 c1 88 d0 5a 88 c6 bb 00 70 8e |0........Z....p.|
00000150 c3 31 db b8 01 02 cd 13 72 1e 8c c3 60 1e b9 00 |.1......r...`...|
00000160 01 8e db 31 f6 bf 00 80 8e c6 fc f3 a5 1f 61 ff |...1..........a.|
00000170 26 5a 7c be 8e 7d eb 03 be 9d 7d e8 34 00 be a2 |&Z|..}....}.4...|
00000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65 |}.......GRUB .Ge|
00000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61 |om.Hard Disk.Rea|
000001a0 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 b4 0e |d. Error........|
000001b0 cd 10 ac 3c 00 75 f4 c3 4f 4f 54 4d 47 52 20 63 |...<.u..OOTMGR 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/sdb1
00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 08 20 00 |.X.SYSLINUX... .|
00000010 02 00 00 00 00 f8 00 00 3e 00 7c 00 00 08 00 00 |........>.|.....|
00000020 00 f8 77 00 f0 1d 00 00 00 00 00 00 02 00 00 00 |..w.............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 89 ba a2 d2 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 80 ce 09 00 66 ba |.t...F}.f.....f.|
00000120 00 00 00 00 bb 00 80 e8 0e 00 66 81 3e 1c 80 99 |..........f.>...|
00000130 99 61 6c 75 74 e9 f8 02 66 03 06 60 7b 66 13 16 |.alut...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
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 977M 0 977M 0% /dev
tmpfs tmpfs 198M 6.3M 192M 4% /run
/dev/sdb1 vfat 3.8G 3.3G 481M 88% /isodevice
/dev/loop0 iso9660 1.5G 1.5G 0 100% /cdrom
/dev/loop1 squashfs 1.4G 1.4G 0 100% /rofs
/cow overlay 990M 115M 876M 12% /
tmpfs tmpfs 990M 344K 990M 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 990M 0 990M 0% /sys/fs/cgroup
tmpfs tmpfs 990M 288K 990M 1% /tmp
tmpfs tmpfs 198M 84K 198M 1% /run/user/999
/dev/sda1 fuseblk 11G 2.2G 8.4G 21% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 59G 151M 59G 1% /mnt/boot-sav/sda2
/dev/sda6 ext4 45G 74M 43G 1% /mnt/boot-sav/sda6
/dev/sda7 ext4 17G 4.0G 12G 26% /mnt/boot-sav/sda7
/dev/sda8 ext4 14G 35M 13G 1% /mnt/boot-sav/sda8
=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/loop0: 1.4 GiB, 1531445248 bytes, 2991104 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: 0x09b07823
Device Boot Start End Sectors Size Id Type
/dev/loop0p1 * 64 2991103 2991040 1.4G 17 Hidden HPFS/NTFS
Disk /dev/loop1: 1.4 GiB, 1488424960 bytes, 2907080 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: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0ccc9846
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 22126591 22124544 10.6G 7 HPFS/NTFS/exFAT
/dev/sda2 22126592 145455103 123328512 58.8G 7 HPFS/NTFS/exFAT
/dev/sda3 145457150 312580095 167122946 79.7G 5 Extended
/dev/sda5 145457152 153661439 8204288 3.9G 82 Linux swap / Solaris
/dev/sda6 153663488 248694737 95031250 45.3G 83 Linux
/dev/sda7 248696832 283834367 35137536 16.8G 83 Linux
/dev/sda8 283836416 312580095 28743680 13.7G 83 Linux
Disk /dev/sdb: 3.8 GiB, 4026531840 bytes, 7864320 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: 0x000b9a60
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 7864319 7862272 3.8G b W95 FAT32
=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub2 of sda7 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi will not be selected by default because: no-win-efi
Additional repair will be performed: unhide-bootmenu-10s
Reinstall the GRUB of sda7 into MBRs of all disks (except live-disks and removable disks without OS)
*******lspci -nnk | grep -iA3 vga
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RC410 [Radeon Xpress 200/1100] [1002:5a61]
Subsystem: Dell RC410 [Radeon Xpress 200/1100] [1028:01e5]
Kernel driver in use: radeon
Kernel modules: radeon
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.1,grub-install (GRUB) 2.
Reinstall the GRUB of sda7 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
chroot /mnt/boot-sav/sda7 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows 2000 Professionnel on /dev/sda1
Unhide GRUB boot menu in sda7/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (ATA HDT722516DLA380) !
Les fichiers de démarrage de [Ubuntu 16.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
Je t'ai fait faire cette "Réparation standard" de Boot-Repair pour rien. J'avais lu trop vite ton post #1 et je n'avais pas compris que ton problème, c'est que le menu Grub est invisible.
Je te suggère la manip suivante :
1) installer gksu en vue d'utiliser gksudo : http://forum.ubuntu-fr.org/viewtopic.ph … #p19459481
2) appliquer l'astuce de Ccile suivant la procédure détaillée de ce post : http://forum.ubuntu-fr.org/viewtopic.ph … #p11447371
Dernière modification par malbo (Le 20/01/2018, à 12:55)
Hors ligne
#7 Le 20/01/2018, à 14:34
- jmfdescourvieres
Re : [Résolu] pb de grub à l'installation ubuntu en double boot de win2K
ok grand merci
ça marche..
Je vais pouvoir poursuivre: mettre une 3ieme install debian moins gourmande car le PC rame...
Merci
Jean-Marie Descourvieres
Hors ligne
#8 Le 20/01/2018, à 16:12
- malbo
Re : [Résolu] pb de grub à l'installation ubuntu en double boot de win2K
Si ton pb est résolu, je te prie de fermer la discussion en procédant comme suit :
1) te connecter sur le forum
2) cliquer sur "Modifier" en bas à droite de ton PREMIER post
3) modifier le titre de la discussion pour qu'il devienne :
[Résolu] probleme de grub à l'installation ubuntu en double boot de win2K
Hors ligne