Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 22/01/2018, à 23:54

6_monts

arrêt brutal de l'ordinateur, impossible d'acceder à ma session

bonjour,

suite à un arrêt brutal de l'ordinateur, impossible d'acceder à ma session (la session invité fonctionne)

le login et mdp sont correct car valable dans la console.

j'ai essayé la solution: rm .Xauthority , sans succés.

j'ai fais une boot-info , que voici:

https://paste.ubuntu.com/26440176/

merci par avance pour votre aide .

Simon

Hors ligne

#2 Le 23/01/2018, à 09:36

malbo

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

@6_monts : je te prie de créer une nouvelle discussion pour ton cas personnel. Les indications pour le faire sont dans 4.1 Initier une nouvelle discussion

Hors ligne

#3 Le 24/01/2018, à 09:04

6_monts

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

Ça marche

Hors ligne

#4 Le 24/01/2018, à 09:44

malbo

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

Bonjour,
Ton 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 (,msdos1)/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:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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   230,252,543   230,250,496  83 Linux
/dev/sda2         230,254,590   234,440,703     4,186,114   5 Extended
/dev/sda5         230,254,592   234,440,703     4,186,112  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 1.9 GiB, 2013265920 bytes, 3932160 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     3,932,159     3,930,112   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0       2017-02-15-20-43-09-00                 iso9660    Xubuntu 16.04.2 LTS i386
/dev/loop1                                              squashfs   
/dev/sda1        d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74   ext4       
/dev/sda5        9b0a2e54-38e4-4f21-9cb3-a0741f69265b   swap       
/dev/sdb1        3492-6C44                              vfat       MULTISYSTEM

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

total 0
lrwxrwxrwx 1 root root  9 Jan 22 21:25 ata-SONY_DVD+_-RW_DW-Q58A -> ../../sr0
lrwxrwxrwx 1 root root  9 Jan 22 21:31 ata-TOSHIBA_MK1234GSX_Z6FNTBCJT -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 22 21:31 ata-TOSHIBA_MK1234GSX_Z6FNTBCJT-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 22 21:31 ata-TOSHIBA_MK1234GSX_Z6FNTBCJT-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 22 21:31 ata-TOSHIBA_MK1234GSX_Z6FNTBCJT-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jan 22 21:31 usb-USB2.0_Flash_Disk_MK24Y50232102183-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 22 21:31 usb-USB2.0_Flash_Disk_MK24Y50232102183-0:0-part1 -> ../../sdb1

================================ 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/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,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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
else
  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
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=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=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-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
	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,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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
	else
	  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
	fi
	linux	/boot/vmlinuz-4.13.0-26-generic root=UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.13.0-26-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
	menuentry 'Ubuntu, avec Linux 4.13.0-26-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-26-generic-advanced-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
		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,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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		else
		  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		fi
		echo	'Chargement de Linux 4.13.0-26-generic…'
		linux	/boot/vmlinuz-4.13.0-26-generic root=UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-26-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-26-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-26-generic-init-upstart-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
		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,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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		else
		  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		fi
		echo	'Chargement de Linux 4.13.0-26-generic…'
		linux	/boot/vmlinuz-4.13.0-26-generic root=UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-26-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-26-generic-recovery-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		else
		  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		fi
		echo	'Chargement de Linux 4.13.0-26-generic…'
		linux	/boot/vmlinuz-4.13.0-26-generic root=UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-26-generic
	}
	menuentry 'Ubuntu, avec Linux 4.10.0-33-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-33-generic-advanced-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
		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,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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		else
		  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		fi
		echo	'Chargement de Linux 4.10.0-33-generic…'
		linux	/boot/vmlinuz-4.10.0-33-generic root=UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-33-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-33-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-33-generic-init-upstart-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
		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,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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		else
		  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		fi
		echo	'Chargement de Linux 4.10.0-33-generic…'
		linux	/boot/vmlinuz-4.10.0-33-generic root=UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-33-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-33-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-33-generic-recovery-d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		else
		  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
		fi
		echo	'Chargement de Linux 4.10.0-33-generic…'
		linux	/boot/vmlinuz-4.10.0-33-generic root=UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-33-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,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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
	else
	  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	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  d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
	else
	  search --no-floppy --fs-uuid --set=root d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/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/sda1 during installation
UUID=d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=9b0a2e54-38e4-4f21-9cb3-a0741f69265b none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  68.616310120 = 73.676201984   boot/grub/grub.cfg                             1
   6.149772644 = 6.603268096    boot/grub/i386-pc/core.img                     1
   3.636631012 = 3.904802816    boot/vmlinuz-4.10.0-33-generic                 1
   6.507751465 = 6.987644928    boot/vmlinuz-4.13.0-26-generic                 1
   6.507751465 = 6.987644928    vmlinuz                                        1
   3.636631012 = 3.904802816    vmlinuz.old                                    1
   6.921241760 = 7.431626752    boot/initrd.img-4.10.0-33-generic              3
   7.200374603 = 7.731343360    boot/initrd.img-4.13.0-26-generic              2
   7.200374603 = 7.731343360    initrd.img                                     2
   6.921241760 = 7.431626752    initrd.img.old                                 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=0
#fi
set default=0
set timeout=30
set fallback=1
search --no-floppy --fs-uuid --set=root 3492-6C44
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
fi
fi
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
#
#
#Pour activer le thème graphique multisystem décommentez les 4 lignes ci-dessous
#set gfxmode=640x480
#set theme=($root)/boot/grub/themes/multisystem/theme.txt
#export theme
#loadfont /boot/grub/themes/multisystem/fonts/Helvetica-8.pf2
#
#
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_MENU_DEBUT|02-03-2017-22:53:28-109695682|xubuntu-16.04.2-desktop-i386.iso|multisystem-xubuntu|1241Mio|
menuentry "xubuntu-16.04.2-desktop-i386.iso" {
search --set -f "/xubuntu-16.04.2-desktop-i386.iso"
loopback loop "/xubuntu-16.04.2-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=3492-6C44 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=latin9 iso-scan/filename=/xubuntu-16.04.2-desktop-i386.iso boot=casper file=/cdrom/preseed/xubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|02-03-2017-22:53:28-109695682|xubuntu-16.04.2-desktop-i386.iso|multisystem-xubuntu|1241Mio|
#MULTISYSTEM_MENU_DEBUT|02-03-2017-23:12:10-435409546|xubuntu-16.04.2-desktop-i386.iso|multisystem-xubuntu|1241Mio|persistent 648Mio
menuentry "Mode persistent xubuntu-16.04.2-desktop-i386.iso" {
search --set -f "/xubuntu-16.04.2-desktop-i386.iso"
loopback loop "/xubuntu-16.04.2-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=3492-6C44 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=latin9 iso-scan/filename=/xubuntu-16.04.2-desktop-i386.iso boot=casper persistent file=/cdrom/preseed/xubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|02-03-2017-23:12:10-435409546|xubuntu-16.04.2-desktop-i386.iso|multisystem-xubuntu|1241Mio|persistent 648Mio
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
menuentry "______________Grub4Dos______________" {
echo
}
#http://grub4dos.sourceforge.net/
#http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
menuentry "Grub4Dos" {
	linux /boot/grub.exe --config-file=/boot/grub/menu.lst
}
menuentry "______________Syslinux______________" {
echo
}
#solution tordue, mais qui passe partout ...
#menuentry "Syslinux" {
#search --set -f /boot/syslinux/redir.img
#	linux16 /boot/syslinux/memdisk
#	initrd16 /boot/syslinux/redir.img
#}
#http://syslinux.zytor.com
menuentry "Syslinux" {
search --set -f "/boot/syslinux/ldlinux.sys"
drivemap -s (hd0) $root
chainloader +1
}
#Autre solution pour chainer Syslinux via une copie du mbr
#dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
#menuentry "Syslinux" {
#search --set -f "/boot/img/syslinux.mbr"
#drivemap -s (hd0) $root
#chainloader /boot/img/syslinux.mbr
#}
menuentry "______________UTIL______________" {
echo
}
## for debugging set debug=efi
#menuentry "0-testfakebios" {
#	hexdump -s 0xc0000 (mem)
#	fakebios
#	hexdump -s 0xc0000 (mem)
## deliberate error to get wait for key
#	xxx
#}
#How to test GRUB 2 on Macbook
#http://grub.enbug.org/TestingOnMacbook
#
#http://wiki.gentoo.org/wiki/GRUB2
#
#menuentry "Windows 7 BIOS/MBR" {
#     insmod part_msdos
#     insmod ntldr
#     insmod ntfs
#     ntldr (hd0,msdos1)/bootmgr
#}
#menuentry "Windows XP BIOS/MBR" {
#     insmod part_msdos
#     insmod ntldr
#     insmod ntfs
#     ntldr (hd0,msdos1)/ntldr
#}
#
#chainer un autre grub
#menuentry "grub.cfg auf /dev/sdb1" {
#	configfile (hd1,1)/boot/grub/grub.cfg
#}
#menuentry "Chain other configfile" {
#configfile /boot/grub/grub-xxx.cfg
#}
#
#menuentry "Return default menu" {
#chainloader /boot/grub/boot.img
#}
#chainer win ou autre OS
#menuentry "Chainer UUID de la partition" {
#insmod=ntfs
#set root=(hd0,1)
#search --no-floppy --fs-uuid --set=root xxx-xxx
#	drivemap -s (hd0) $root
#	chainloader +1
#}
#Booter une iso avec memdisk
#menuentry "FreeBSD" {
#    search --set -f "/FreeBSD-10.2-RELEASE-amd64-bootonly.iso"
#    linux16 /boot/syslinux/memdisk iso raw
#    initrd16 /FreeBSD-10.2-RELEASE-amd64-bootonly.iso
#}
#http://www.plop.at/en/bootmanagerdl.html
menuentry "PLoP Boot Manager" {
	linux16 /boot/img/plpbt
}
#http://www.supergrubdisk.org/
#http://developer.berlios.de/project/showfiles.php?group_id=10921
#SG2D (Floppy, CD & USB in one)
#super_grub_disk_hybrid-1.98s1.iso
menuentry "Super Grub2 Disk" {
search --set -f /boot/img/sgdh.iso
	linux16 /boot/syslinux/memdisk
	initrd16 /boot/img/sgdh.iso
}
menuentry "Super Grub Disk" {
search --set -f /boot/img/sgdfr.img
	linux16 /boot/syslinux/memdisk
	initrd16 /boot/img/sgdfr.img
}
menuentry "Smart Boot Manager" {
search --set -f /boot/img/sbootmgr.dsk
	linux16 /boot/syslinux/memdisk
	initrd16 /boot/img/sbootmgr.dsk
}
#Site: http://boot.kernel.org/index.html
#Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
menuentry "BKO (boot.kernel.org)" {
	search --set -f /boot/img/gpxe.lkrn
	linux16 /boot/img/gpxe.lkrn
}
#http://www.memtest.org/#downiso
menuentry "memtest86+" {
	linux16 /boot/img/memtest86+.bin
}
menuentry "vbeinfo" {
	vbeinfo
read
}
menuentry "lspci" {
	lspci
read
}
menuentry "gfxpayload 640x480" {
set gfxpayload=640x480
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 800x600" {
set gfxpayload=800x600
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1024x768" {
set gfxpayload=1024x768
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1280x1024" {
set gfxpayload=1280x1024
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "Reboot" {
insmod reboot
reboot
}
--------------------------------------------------------------------------------

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

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

MENU TITLE MultiSystem LiveUSB
MENU DEFAULT 0

MENU BACKGROUND /boot/splash/splash.png

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

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

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

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

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

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

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

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

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

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

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

           GiB - GB             File                                 Fragment(s)

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

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/syslinux/syslinux.cfg                     1
            ?? = ??             boot/syslinux/ldlinux.sys                      1
            ?? = ??             boot/syslinux/chain.c32                        1
            ?? = ??             boot/syslinux/hdt.c32                          1
            ?? = ??             boot/syslinux/ifplop.c32                       1
            ?? = ??             boot/syslinux/ldlinux.c32                      1
            ?? = ??             boot/syslinux/libcom32.c32                     1
            ?? = ??             boot/syslinux/libutil.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            :  not a COM32/COM32R module
 boot/syslinux/hdt.c32              :  not a COM32/COM32R module
 boot/syslinux/ifplop.c32           :  not a COM32/COM32R module
 boot/syslinux/ldlinux.c32          :  not a COM32/COM32R module
 boot/syslinux/libcom32.c32         :  not a COM32/COM32R module
 boot/syslinux/libutil.c32          :  not a COM32/COM32R module
 boot/syslinux/menu.c32             :  not a COM32/COM32R module
 boot/syslinux/reboot.c32           :  not a COM32/COM32R module
 boot/syslinux/vesamenu.c32         :  not a COM32/COM32R module

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

File descriptor 9 (/proc/5810/mounts) leaked on lvs invocation. Parent PID 13833: bash
File descriptor 63 (pipe:[68668]) leaked on lvs invocation. Parent PID 13833: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20180122_2131 ===================
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.2 LTS, xenial, Ubuntu, i686)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=(loop)/casper/vmlinuz root=UUID=3492-6C44 maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=latin9 iso-scan/filename=/xubuntu-16.04.2-desktop-i386.iso boot=casper file=/cdrom/preseed/xubuntu.seed noprompt quiet splash --
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type

=================== os-prober:
/dev/sda1:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/sdb1: LABEL="MULTISYSTEM" UUID="3492-6C44" TYPE="vfat" PARTUUID="000b2b66-01"
/dev/loop0: UUID="2017-02-15-20-43-09-00" LABEL="Xubuntu 16.04.2 LTS i386" TYPE="iso9660" PTUUID="28907e4d" PTTYPE="dos"
/dev/loop1: TYPE="squashfs"
/dev/sda1: UUID="d1f1b23e-c8ec-422e-9a5c-cf98e77d3e74" TYPE="ext4" PARTUUID="86e33530-01"
/dev/sda5: UUID="9b0a2e54-38e4-4f21-9cb3-a0741f69265b" TYPE="swap" PARTUUID="86e33530-05"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 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

=================== sda1/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 févr. 15  2017 grub.d
total 76
-rwxr-xr-x 1 root root  9791 janv. 13  2017 00_header
-rwxr-xr-x 1 root root  6258 mars  15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12261 janv. 13  2017 10_linux
-rwxr-xr-x 1 root root 11082 janv. 13  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 janv. 13  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 janv. 13  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2017 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2017 41_custom
-rw-r--r-- 1 root root   483 janv. 13  2017 README




=================== sda1/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:
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.
sda1	: 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/sda1.

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


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

BYT;
/dev/sda:120GB:scsi:512:512:msdos:ATA TOSHIBA MK1234GS:;
1:1049kB:118GB:118GB:ext4::boot;
2:118GB:120GB:2143MB:::;
5:118GB:120GB:2143MB:linux-swap(v1)::;

BYT;
/dev/sdb:2013MB:scsi:512:512:msdos:USB2.0 Flash Disk:;
1:1049kB:2013MB:2012MB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop1 loop squashfs   1,2G
sdb   disk            1,9G
sdb1  part vfat       1,9G MULTISYSTEM
sr0   rom            1024M
loop0 loop iso9660    1,2G Xubuntu 16.04.2 LTS i386
sda   disk          111,8G
sda2  part              1K
sda5  part swap         2G
sda1  part ext4     109,8G

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


=================== 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=1015588k,nr_inodes=212157,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=206028k,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)
aufs on / type aufs (rw,noatime,si=e763c026)
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/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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12911)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (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=206028k,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 ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/sda (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset badblocks 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 badblocks 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 dvdrw ecryptfs fb0 fd full fuse fw0 gpiochip0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 initctl input kmsg lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control

=================== 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 3e 00 00 08 00 00  |........>.>.....|
00000020  00 f8 3b 00 f7 0e 00 00  00 00 00 00 02 00 00 00  |..;.............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 44 6c 92 34 6d  75 6c 74 69 73 79 73 74  |..)Dl.4multisyst|
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 f6 c5 27 00 66 ba  |.t...F}.f...'.f.|
00000120  00 00 00 00 bb 00 80 e8  0e 00 66 81 3e 1c 80 9a  |..........f.>...|
00000130  ad 7f 68 75 74 e9 f8 02  66 03 06 60 7b 66 13 16  |..hut...f..`{f..|
00000140  64 7b b9 10 00 eb 2b 66  52 66 50 06 53 6a 01 6a  |d{....+fRfP.Sj.j|
00000150  10 89 e6 66 60 b4 42 e8  77 00 66 61 8d 64 10 72  |...f`.B.w.fa.d.r|
00000160  01 c3 66 60 31 c0 e8 68  00 66 61 e2 da c6 06 46  |..f`1..h.fa....F|
00000170  7d 2b 66 60 66 0f b7 36  18 7c 66 0f b7 3e 1a 7c  |}+f`f..6.|f..>.||
00000180  66 f7 f6 31 c9 87 ca 66  f7 f7 66 3d ff 03 00 00  |f..1...f..f=....|
00000190  77 17 c0 e4 06 41 08 e1  88 c5 88 d6 b8 01 02 e8  |w....A..........|
000001a0  2f 00 66 61 72 01 c3 e2  c9 31 f6 8e d6 bc 68 7b  |/.far....1....h{|
000001b0  8e de 66 8f 06 78 00 be  da 7d ac 20 c0 74 09 b4  |..f..x...}. .t..|
000001c0  0e bb 07 00 cd 10 eb f2  31 c0 cd 16 cd 19 f4 eb  |........1.......|
000001d0  fd 8a 16 74 7b 06 cd 13  07 c3 42 6f 6f 74 20 65  |...t{.....Boot e|
000001e0  72 72 6f 72 0d 0a 00 00  00 00 00 00 00 00 00 00  |rror............|
000001f0  00 00 00 00 00 00 00 00  fe 02 b2 3e 18 37 55 aa  |...........>.7U.|
00000200

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  992M     0  992M   0% /dev
tmpfs          tmpfs     202M  8.8M  193M   5% /run
/dev/sdb1      vfat      1.9G  1.9G  436K 100% /isodevice
/dev/loop0     iso9660   1.3G  1.3G     0 100% /cdrom
/dev/loop1     squashfs  1.2G  1.2G     0 100% /rofs
aufs           aufs     1006M  203M  804M  21% /
tmpfs          tmpfs    1006M   25M  982M   3% /dev/shm
tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
tmpfs          tmpfs    1006M     0 1006M   0% /sys/fs/cgroup
tmpfs          tmpfs    1006M  8.0K 1006M   1% /tmp
tmpfs          tmpfs     202M   44K  202M   1% /run/user/999
/dev/sda1      ext4      108G  9.4G   94G  10% /mnt/boot-sav/sda1

=================== 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.2 GiB, 1302233088 bytes, 2543424 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: 0x28907e4d

Device       Boot Start     End Sectors  Size Id Type
/dev/loop0p1 *       64 2543423 2543360  1.2G 17 Hidden HPFS/NTFS


Disk /dev/loop1: 1.2 GiB, 1257189376 bytes, 2455448 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: 111.8 GiB, 120034123776 bytes, 234441648 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: 0x86e33530

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 230252543 230250496 109.8G 83 Linux
/dev/sda2       230254590 234440703   4186114     2G  5 Extended
/dev/sda5       230254592 234440703   4186112     2G 82 Linux swap / Solaris




Disk /dev/sdb: 1.9 GiB, 2013265920 bytes, 3932160 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: 0x000b2b66

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *     2048 3932159 3930112  1.9G  c W95 FAT32 (LBA)




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 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 TOSHIBA MK1234GS) !

Les fichiers de démarrage de [Ubuntu 16.04.2 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.

Un tel rapport ne permet pas d'investiguer sur le problème d'accès impossible à ta session alors que la session invité est accessible et fonctionne bien. Tu n'es pas très précis sur l'arrêt brutal de l'ordinateur : on ne sait pas si c'est un arrêt accidentel ou volontaire. Et si c'est volontaire, est-ce parce que l'ordi était planté et que tu as arrêté par un appui prolongé sur le bouton marche-arrêt de l'ordi ? Peux-tu expliquer ?

Dernière modification par malbo (Le 24/01/2018, à 09:47)

Hors ligne

#5 Le 24/01/2018, à 21:21

6_monts

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

@malbo:  j'ai du fermer mon ordinateur par appuis longt sur le bouton de démarrage, car j'avais un écran noir et la combinaison Alt+syst+S,E,U,I,B n'ayant pas fonctionné.

suite à la manipulation, xubuntu démarre correctement, mais me demande mon mdp pour déverouiller la session (chose qu'il ne fait pas habituellement).

Hors ligne

#6 Le 24/01/2018, à 21:52

malbo

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

6_monts a écrit :

xubuntu démarre correctement, mais me demande mon mdp pour déverouiller la session (chose qu'il ne fait pas habituellement).

Et là si tu rentres ton mot de passe, tu peux ouvrir ta session ou pas ?

Hors ligne

#7 Le 24/01/2018, à 22:25

6_monts

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

non.

je tapes le mdp, je valide, l'écran passe au noir comme si la session allait s'ouvrir et reviens sur l'écran pour se loger ... et ainsi de suite.

Hors ligne

#8 Le 25/01/2018, à 08:29

malbo

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

As-tu essayé de démarrer sur "Ubuntu, avec Linux 4.10.0-33-generic" dans les options avancées du menu Grub pour voir si ça résout le pb ?

Hors ligne

#9 Le 25/01/2018, à 09:13

6_monts

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

je vois comment faire sur ubuntu mais depuis que je suis passé sur Xubuntu, le menu grub ne s'affiche plus au démarrage.
je vais me renseigner sur cette piste

PS: merci d'avoir modifié l'ancienne discution afin que je n'ai pas à la recreer.

Hors ligne

#10 Le 29/01/2018, à 09:13

6_monts

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

J'ai essayé la méthode, mais j'obtiens exactement la même chose hmm

Hors ligne

#11 Le 29/01/2018, à 10:21

malbo

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

Essaie de faire un appui sur les 3 touches Ctrl + Alt +F1 pour te connecter en console comme l'a fait Zulfikar313 dans ce post pour une situation similaire (mais pas forcément la même) : https://forum.ubuntu-fr.org/viewtopic.p … #p21862320
Zulfikar313 a mal raconté son histoire : les commandes à passer en console doivent l'être avec sudo en tête :

sudo apt update

Puis :

sudo apt full-upgrade

Redémarrage de l'ordi :

sudo reboot

Dernière modification par malbo (Le 29/01/2018, à 10:23)

Hors ligne

#12 Le 29/01/2018, à 20:06

6_monts

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

Bon les MAJ sont faites.... mais rien de changé !!!:/

Dernière modification par 6_monts (Le 29/01/2018, à 20:06)

Hors ligne

#13 Le 06/02/2018, à 12:54

enebre

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

Bonjour,
Je te suggère de démarrer avec une clé usb en Live, sauve tes données et réinstalle

Hors ligne

#14 Le 03/03/2018, à 15:15

6_monts

Re : arrêt brutal de l'ordinateur, impossible d'acceder à ma session

oui au final c'est ce que j'ai fais

Hors ligne