#1 Le 03/11/2017, à 17:01
- Jany
Pas de boot si installation avec partitionnement manuel. [Résolu]
Bonjour à tous (et toutes, évidemment)
J'installe une 16.04.3 depuis une clef.
Si j'installe brutalement en laissant l'installateur se charger du partitionnement (une partition + SWAP), tout se passe bien.
En revanche, si je créée moi-même deux partitions ( / et /home ), le PC ne boote pas directement mais demande d'insérer un disque contenant le nécessaire pour lancer Linux.
Je suppose avoir une ânerie lors du partitionnement (choix de la partition contenant le programme de démarrage ?).
Quelq'un a une idée ?
Merci d'avance.
Jany
Dernière modification par Jany (Le 12/11/2017, à 20:59)
Hors ligne
#2 Le 03/11/2017, à 17:12
- Babdu89
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Bonjour.
le PC ne boote pas directement mais demande d'insérer un disque contenant le nécessaire pour lancer Linux.
Je suppose avoir une ânerie lors du partitionnement (choix de la partition contenant le programme de démarrage ?).
En y réfléchissant, si tu installes en mode Bios_Legacy, çà laisse supposé que tu as mis la première partie de Grub sur la clé d'installation.
Qu'est ce qui se passe en démarrant la clé branchée?
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#3 Le 03/11/2017, à 17:32
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Bonjour.
le PC ne boote pas directement mais demande d'insérer un disque contenant le nécessaire pour lancer Linux.
Je suppose avoir une ânerie lors du partitionnement (choix de la partition contenant le programme de démarrage ?).En y réfléchissant, si tu installes en mode Bios_Legacy, çà laisse supposé que tu as mis la première partie de Grub sur la clé d'installation.
Qu'est ce qui se passe en démarrant la clé branchée?@+. Babdu89 .
He ben, ça démarre. Ce qui me surprend, c'est que je ne pense pas avoir fait quelque chose de spécial quand je partitionne moi-même.
Que signifie mode Bios_Legacy ? C'est simplement le BIOS traditionnel ?
OK
Je crois bien être passé en UEFI et plus moyen de même voir la clef USB dans les périph de démarrage.
Dernière modification par Jany (Le 03/11/2017, à 19:20)
Hors ligne
#4 Le 03/11/2017, à 19:23
- Babdu89
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Bios_Legacy concerne les machines d'avant 2012. qui démarraient qu'avec leur Bios.
Les machines plus modernes démarrent en mode UEFI et Bios_Legacy .
Ce qui me fait pensé que ton installation est faite en mode Bios_Legacy, c'est la confirmation que çà démarre clé live d'installation branchée.
Le programme de démarrage (Grub) s'installe en deux parties.
La première partie dans le secteur d'amorçage du disque qui reçoit l'installation. La deuxième partie dans le système. Au démarrage la machine cherche sur le secteur d'amorçage du disque dur la première partie de Grub pour permettre le lancement du système.
Lorsque l'on installe en passant comme tu l'as fait; création des partitions d'installation. Puis choix d'installer en "manuel" (Autre chose pendant l'installation) Si on ne fait pas attention à ce que propose l'installateur (tu en as toi même douté) il a une fâcheuse tendance en présence de disque, clé, ou autres périphériques USB à proposer d'installer dans le secteur d'amorçage de ces périphériques.
Par exemple.
Depuis ta clé live qui est /dev/sdb. Tu installes ton système sur le disque et partition /dev/sda1. Normalement il devrait proposer par défaut de mettre la première partie de Grub dans /dev/sda.
Mais comme il est capricieux, en présence de périphériques usb, il propose autre chose.
Comme ta machine démarre avec la clé branchée; il a mis la première partie de grub dans le secteur d'amorçage de la clé (/dev/sdb).
On va t'expliquer comment réinstaller Grub correctement.
Mais avant stp, clé branché ton Ubuntu démarré, veux tu bien faire un boot ionfo
Tu lances ton Ubuntu, et tu installes le boot info
sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt update && sudo apt install -y boot-repair boot-info && boot-info
Combine pour ne pas faire d'erreur en copiant la commande dans le terminal.
un triple clic gauche sur la commande.
Un clic molette dans le terminal.
https://doc.ubuntu-fr.org/tutoriel/boot-info
Puis tu donnes l'URL du boot-info dans ta réponse.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#5 Le 07/11/2017, à 19:38
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Bonsoir
et merci pour ta réponse Babdu89.
Comme j'étais pressé par le temps, j'avais un peu laissé tomber, mais j'ai obtenu un délai pour rendre le PC.
Donc, j'ai repris les choses au début et j'ai réinstallé en partitionnant.
J'ai un sda (1To) et un sdb (24 Go).
J'ai mis le / et le swap sur sdb et le /home sur sda, et j'ai demandé en bas de la fenêtre que le Boot loader soit installé sur sdb1.
Ma clef Live USB est le sdc.
Lorsque je redémarre, ce chancre me dit :
Reboot and select proper Boot device
or Insert Boot Media in selected Boot device and press a key
Ce qui m'ennuie plus, c'est que la clef une fois branchée, j'obtiens la même chose.
Je rappelle que si je demande une installation brutale sur sda avec une seule partition (ext4) et un swap en automatique, je peux relancer la machine.
Le PC est un ASUS récent avec la carte WiFi qui pose problème mais pour laquelle j'ai une solution donnée dans le forum, et qui marche.
Donc là, j'ai du mal à passer ta commande.
Jany
Dernière modification par Jany (Le 07/11/2017, à 21:05)
Hors ligne
#6 Le 08/11/2017, à 00:01
- Babdu89
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Bonsoir.
Donc, j'ai repris les choses au début et j'ai réinstallé en partitionnant.
J'ai un sda (1To) et un sdb (24 Go).
J'ai mis le / et le swap sur sdb et le /home sur sda, et j'ai demandé en bas de la fenêtre que le Boot loader soit installé sur sdb1.
Ma clef Live USB est le sdc.
Il faut mettre le boot loader sur /dev/sdb et non /sdb1.
Et redémarrer la machine sur /dev/sdb.
Soit tu fais çà en session live avec Boot-Repair, en réinstallant grub comme il faut. Il vaut mieux passer par les "Options avancées" que la réparation recommandée.
Soit tu réinstalles, si tu ne peux pas utiliser Boot-Repair.
@]+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#7 Le 08/11/2017, à 11:26
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Bonjour
J'ai du merder.
Le paquet grub-efi-amd64-signed n'a pas pu être installé dans /target. En l'absence... ne pourra pas démarrer.
BOn j'ai retnté en mettant le boot sur sda. Même punition.
Il y a quelqu'un là haut qui ne m'aime pas ?
Jany
Hors ligne
#8 Le 08/11/2017, à 12:28
- Babdu89
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Bonjour.
On peut avoir un boot info?
https://doc.ubuntu-fr.org/tutoriel/boot-info
A faire en session live.
Pour que l'on voit comme tout ceci est installé.
@+; Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#9 Le 08/11/2017, à 16:46
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Hors ligne
#10 Le 08/11/2017, à 17:30
- Nasman
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Si tu démarres ton PC en mode bios, il faut que tu aies une partition bios-boot (une taille de 1 Mio suffit, sans système de fichier) car comme ton disque est partitionné en gpt (et non pas en msdos) il faut réserver un emplacement (cette partition) pour y mettre core.img.
Si tu démarre en mode uefi alors il faut avoir une partition FAT32 avec le drapeau EFI pour mettre les fichiers pour ce mode de démarrage.
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#11 Le 08/11/2017, à 17:45
- Babdu89
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Nasman a raison. mais on ne sait pas si l'installation est en 32 ou 64 bits.
Alors ton boot info est là.
Ubuntu Pastebin
Paste from boot-repair at Wed, 8 Nov 2017 14:42:51 +0000
Download as text
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector
2048 of the same hard drive for core.img, but core.img can not be found at
this location.
=> No boot loader is installed in the MBR of /dev/sdb.
=> No known boot loader is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sdb2: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc1: __________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
sdc2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdc2 starts
at sector 0. But according to the info from fdisk,
sdc2 starts at sector 3006684. According to the info
in the boot sector, sdc2 has 0 sectors.
Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
mount: /dev/sdc2 is already mounted or /mnt/BootInfo/sdc2 busy
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,953,523,532 1,953,521,485 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 22.4 GiB, 24015495168 bytes, 46905264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 1 46,905,263 46,905,263 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 39,092,223 39,090,176 Data partition (Linux)
/dev/sdb2 39,092,224 46,903,295 7,811,072 Swap partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 7.2 GiB, 7744782336 bytes, 15126528 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/sdc1 * 0 3,100,799 3,100,800 0 Empty
/dev/sdc2 3,006,684 3,011,355 4,672 ef EFI (FAT-12/16/32)
/dev/sdc1 overlaps with /dev/sdc2
GUID Partition Table detected, but does not seem to be used.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdc1 + R 0 3,100,743 3,100,744 Data partition (Windows/Linux)
/dev/sdc2 + R 3,006,684 3,011,355 4,672 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 8d5d72e2-9c42-4a23-9d1d-3a76378bc088 ext4
/dev/sdb1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ext4
/dev/sdb2 c926c7bd-7507-4761-ad7d-4d3148c2a194 swap
/dev/sdc1 2017-08-01-11-51-33-00 iso9660 Ubuntu 16.04.3 LTS amd64
/dev/sdc2 398E-230F vfat
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Nov 8 14:39 ata-MATSHITADVD-RAM_UJ8E2_S_H090_612957 -> ../../sr0
lrwxrwxrwx 1 root root 9 Nov 8 14:42 ata-ST1000LM024_HN-M101MBB_S32XJ9CF821005 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 8 14:42 ata-ST1000LM024_HN-M101MBB_S32XJ9CF821005-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Nov 8 14:42 ata-SanDisk_SSD_U100_24GB_132146404600 -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 8 14:42 ata-SanDisk_SSD_U100_24GB_132146404600-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 8 14:42 ata-SanDisk_SSD_U100_24GB_132146404600-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Nov 8 14:42 usb-_USB_DISK_2.0_070A5CFD90AF3E44-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Nov 8 14:42 usb-_USB_DISK_2.0_070A5CFD90AF3E44-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Nov 8 14:42 usb-_USB_DISK_2.0_070A5CFD90AF3E44-0:0-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Nov 8 14:42 wwn-0x50004cf20df3da03 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 8 14:42 wwn-0x50004cf20df3da03-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Nov 8 14:42 wwn-0x5001b449d01f18f8 -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 8 14:42 wwn-0x5001b449d01f18f8-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 8 14:42 wwn-0x5001b449d01f18f8-part2 -> ../../sdb2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdc /cdrom iso9660 (ro,noatime)
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
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
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-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
fi
linux /boot/vmlinuz-4.10.0-38-generic.efi.signed root=UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
menuentry 'Ubuntu, avec Linux 4.10.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-advanced-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
fi
echo 'Chargement de Linux 4.10.0-38-generic…'
linux /boot/vmlinuz-4.10.0-38-generic.efi.signed root=UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-38-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-init-upstart-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
fi
echo 'Chargement de Linux 4.10.0-38-generic…'
linux /boot/vmlinuz-4.10.0-38-generic.efi.signed root=UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-recovery-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
fi
echo 'Chargement de Linux 4.10.0-38-generic…'
linux /boot/vmlinuz-4.10.0-38-generic.efi.signed root=UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Ubuntu, avec Linux 4.10.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-advanced-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
fi
echo 'Chargement de Linux 4.10.0-28-generic…'
linux /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-28-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-init-upstart-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
fi
echo 'Chargement de Linux 4.10.0-28-generic…'
linux /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-28-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-a5b32d7f-3993-4d35-a1fd-4f29a745ac49' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a5b32d7f-3993-4d35-a1fd-4f29a745ac49
else
search --no-floppy --fs-uuid --set=root a5b32d7f-3993-4d35-a1fd-4f29a745ac49
fi
echo 'Chargement de Linux 4.10.0-28-generic…'
linux /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-28-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
--------------------------------------------------------------------------------
=============================== sdb1/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/sdb1 during installation
UUID=a5b32d7f-3993-4d35-a1fd-4f29a745ac49 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda1 during installation
UUID=8d5d72e2-9c42-4a23-9d1d-3a76378bc088 /home ext4 defaults 0 2
# swap was on /dev/sdb2 during installation
UUID=c926c7bd-7507-4761-ad7d-4d3148c2a194 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
16.371917725 = 17.579212800 boot/grub/grub.cfg 1
1.406303406 = 1.510006784 boot/vmlinuz-4.10.0-28-generic 2
16.289115906 = 17.490305024 boot/vmlinuz-4.10.0-28-generic.efi.signed 1
2.712631226 = 2.912665600 boot/vmlinuz-4.10.0-38-generic 1
2.910217285 = 3.124822016 boot/vmlinuz-4.10.0-38-generic.efi.signed 1
1.406303406 = 1.510006784 vmlinuz 2
3.033260345 = 3.256938496 boot/initrd.img-4.10.0-28-generic 1
2.900455475 = 3.114340352 boot/initrd.img-4.10.0-38-generic 1
3.033260345 = 3.256938496 initrd.img 1
3.033260345 = 3.256938496 initrd.img.old 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown MBR on /dev/sdc
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 78 ac 2d 00 00 00 00 00 15 cd 66 0d 00 00 80 00 |x.-.......f.....|
000001c0 01 00 00 5e e0 fb 00 00 00 00 80 50 2f 00 00 fe |...^.......P/...|
000001d0 ff ff ef fe ff ff dc e0 2d 00 40 12 00 00 00 00 |........-.@.....|
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
/dev/sdc1: unknown GPT attributes
1000000000000001
/dev/sdc2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdc1
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 78 ac 2d 00 00 00 00 00 15 cd 66 0d 00 00 80 00 |x.-.......f.....|
000001c0 01 00 00 5e e0 fb 00 00 00 00 80 50 2f 00 00 fe |...^.......P/...|
000001d0 ff ff ef fe ff ff dc e0 2d 00 40 12 00 00 00 00 |........-.@.....|
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/6200/mounts) leaked on lvs invocation. Parent PID 14190: bash
File descriptor 63 (pipe:[40807]) leaked on lvs invocation. Parent PID 14190: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 20171108_1442 ===================
boot-info version : 4ppa64
boot-sav version : 4ppa64
boot-sav-extra version : 4ppa64
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-info is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
=================== os-prober:
/dev/sdb1:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="8d5d72e2-9c42-4a23-9d1d-3a76378bc088" TYPE="ext4" PARTUUID="28826397-1f62-4bc3-9260-30a27aeb64d2"
/dev/sdb1: UUID="a5b32d7f-3993-4d35-a1fd-4f29a745ac49" TYPE="ext4" PARTUUID="3a309266-2acf-4872-a802-323bd944ce8a"
/dev/loop0: TYPE="squashfs"
/dev/sdb2: UUID="c926c7bd-7507-4761-ad7d-4d3148c2a194" TYPE="swap" PARTUUID="403e3c88-e168-4c1c-b413-c59e6d4f08c1"
/dev/sdc1: UUID="2017-08-01-11-51-33-00" LABEL="Ubuntu 16.04.3 LTS amd64" TYPE="iso9660" PTUUID="0d66cd15" PTTYPE="dos" PARTUUID="0d66cd15-01"
/dev/sdc2: SEC_TYPE="msdos" UUID="398E-230F" TYPE="vfat" PARTUUID="0d66cd15-02"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== sdb1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Nov 8 09:20 grub.d
total 80
-rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
-rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom
-rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom
-rw-r--r-- 1 root root 483 Jun 21 04:11 README
=================== sdb1/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"
=================== efibootmgr -v
BootCurrent: 0010
Timeout: 0 seconds
BootOrder: 0010,0011,000B,000F
Boot000B* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.M.A.T.S.H.I.T.A.D.V.D.-.R.A.M. .U.J.8.E.2. .S....................A...........................>..Gd-.;.A..MQ..L.0.H.0.9. . .1.6.9.2.7.5. . . . . . . . ........BO
Boot000F* Network Card BBS(Network,,0x0)..GO..NO........k.R.e.a.l.t.e.k. .P.X.E. .B.0.2. .D.0.0.........................rN.D+..,............<..Gd-.;.A..MQ..L.R.e.a.l.t.e.k. .P.X.E. .B.0.2. .D.0.0........BO
Boot0010* UEFI: USB DISK 2.0 PMAP PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(2,0)/HD(1,MBR,0x21,0x2de0dc,0x1240)..BO
Boot0011* Hard Drive BBS(HD,,0x0)..GO..NO........m. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.............................:..Gd-.;.A..MQ..L. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P........BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda1 : 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/sda1.
sdb1 : sdb, not-sepboot, no-grubenv grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/sdb1.
sda : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
sdb : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA ST1000LM024 HN-M:;
1:1049kB:1000GB:1000GB:ext4::;
BYT;
/dev/sdb:24.0GB:scsi:512:512:gpt:ATA SanDisk SSD U100:;
1:1049kB:20.0GB:20.0GB:ext4::;
2:20.0GB:24.0GB:3999MB:linux-swap(v1)::;
BYT;
/dev/sdc:7745MB:scsi:512:512:unknown: USB DISK 2.0:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sdb disk 22.4G
sdb2 part swap 3.7G
sdb1 part ext4 18.7G
sr0 rom 1024M
loop0 loop squashfs 1.4G
sdc disk iso9660 7.2G Ubuntu 16.04.3 LTS amd64
sdc2 part vfat 2.3M Ubuntu 16.04.3 LTS amd64
sdc1 part iso9660 1.5G Ubuntu 16.04.3 LTS amd64
sda disk 931.5G
sda1 part ext4 931.5G
KNAME ROTA RO RM STATE MOUNTPOINT
sdb 0 0 0 running
sdb2 0 0 0 [SWAP]
sdb1 0 0 0 /mnt/boot-sav/sdb1
sr0 1 0 1 running
loop0 1 1 0 /rofs
sdc 1 0 1 running /cdrom
sdc2 1 0 1
sdc1 1 0 1
sda 1 0 0 running
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=1946536k,nr_inodes=486634,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=392516k,mode=755)
/dev/sdc on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=425f9fbc8c392393)
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)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
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)
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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14735)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (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=392516k,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)
/dev/sdb1 on /mnt/boot-sav/sdb1 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 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 sdb2 size slaves stat subsystem trace uevent
/sys/block/sdc (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 sdc1 sdc2 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): acpi_thermal_rel autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdc sdc1 sdc2 sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 384M 6.3M 378M 2% /run
/dev/sdc iso9660 1.5G 1.5G 0 100% /cdrom
/dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
aufs aufs 1.9G 71M 1.9G 4% /
tmpfs tmpfs 1.9G 284K 1.9G 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs tmpfs 1.9G 808K 1.9G 1% /tmp
tmpfs tmpfs 384M 76K 384M 1% /run/user/999
/dev/sda1 ext4 917G 72M 871G 1% /mnt/boot-sav/sda1
/dev/sdb1 ext4 19G 4.7G 13G 28% /mnt/boot-sav/sdb1
=================== fdisk -l:
Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D4A32379-281D-461A-BA4F-A1C4069A6D65
Device Start End Sectors Size Type
/dev/sda1 2048 1953523532 1953521485 931.5G Linux filesystem
Disk /dev/sdb: 22.4 GiB, 24015495168 bytes, 46905264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B282E191-9BD4-4230-B371-4C035CC878F9
Device Start End Sectors Size Type
/dev/sdb1 2048 39092223 39090176 18.7G Linux filesystem
/dev/sdb2 39092224 46903295 7811072 3.7G Linux swap
Disk /dev/sdc: 7.2 GiB, 7744782336 bytes, 15126528 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: 0x0d66cd15
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 0 3100799 3100800 1.5G 0 Empty
/dev/sdc2 3006684 3011355 4672 2.3M ef EFI (FAT-12/16/32)
(debug) reinstall grub2 place-in-all-MBRs no-BIOS_boot (sdb1)
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of sdb1 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s
=================== Blockers in case of suggested repair
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
=================== Advice in case of suggested repair
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Do you want to continue?
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sdb (ATA SanDisk SSD U100) disk!
=================== User settings
The settings chosen by the user will not act on the boot.
Download as text
Question
En session live.
Dans la partition système de ton Ubuntu.
/dev/sdb1 Volume de 19 Go .
Vois tu un dossier " lib64 " ?
C'est le seuls moyen que je connaisse, de l'extérieur de savoir quelle est l'architecture de l'installation.
Présence du dossier lib64 ==> architecture 64 Bits
Pas de dossier lib64 ==> architecture 32 bits.
De la réponse que tu vas donner, dépendra le type de réparation que l'on pourra faire.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#12 Le 08/11/2017, à 18:48
- ikewdu
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Salut,
A priori, je dirais que l'installation est faite en 64 bits :
sdb1 : sdb, not-sepboot, no-grubenv grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/sdb1.
Tu as tout simplement oublié de créer une partition esp-efi de 100 Mo en environ (en fat32) pour que les fichiers grub puissent s'écrire quelque part.
En revanche, si je créée moi-même deux partitions ( / et /home ),
Tu peux aussi suivre la première solution proposée par Nasman et faire booter tout ça en Legacy, mais il me semble plus logique de faire quelque chose de propre en uefi.
Dernière modification par ikewdu (Le 08/11/2017, à 18:52)
Hors ligne
#13 Le 08/11/2017, à 19:32
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Merci de vos conseils.
L'installation devrait être en 64 bits.
Je fais ça :
ls -laR /| grep lib64
et j'obtiens :
drwxr-xr-x 2 root root 43 Aug 1 11:19 lib64
/lib64:
drwxr-xr-x 2 root root 43 Aug 1 11:19 lib64
/rofs/lib64:
drwxr-xr-x 2 root root 31 Aug 1 11:23 lib64
/rofs/usr/src/linux-headers-4.10.0-28/arch/sh/lib64:
drwxr-xr-x 2 root root 31 Aug 1 11:23 lib64
/usr/src/linux-headers-4.10.0-28/arch/sh/lib64:
Existe-t-il un autre moyen pour avoir le contenu d'une partition ?
Et une question comme ça : La procédure d'installation a changé vis à vis de GRUB ?
Ce n'est pas la première fois que j'installe Ubuntu et je n'avais même pas idée de ce genre de problèmes.
Jany
Hors ligne
#14 Le 08/11/2017, à 19:57
- Babdu89
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Deux solutions avec un partitionnement en GPT comme sont tes disques actuellement.
Soit installer en mode UEFI. en automatique.
En automatique, l'installateur créé les partitions;
Partition boot-efi; FAT32 de 250 Mo avec drapeau boot-esp. + une partition / système + une partition swap ? Mais! Tout çà sur le même disque.
Soit installer en manuel, si tu prépares les partitions toi même. Tu dois sur le disque /dev/sdb créer une partition boot-efi; FAT32 de 250 Mo avec le drapeau boot-esp (/sdb1) + une partition ext4 pour le système / (/sdb2)
Sur le disque /dev/sda, puisque c'est ton souhait, une partition ext4 pour le /home , (/dev/sda1) sur le disque /sda
Tu lances l'iso que tu veux installé en session live en mode UEFI. Puis depuis le bureau, tu lances l'installation.
Arrivé à l'étape choix du périphérique; tu choisis "Autre chose"
Puis tu sélectionnes les partitions d'installation
Pour le système en /dev/sdb2, tu fait "Changer"
Dans utilisé comme ; système de fichiers ext4
Point de montage; /
cocher , formater
Tu valides.
Pour avoir un /home séparé, tu sélectionnes la partition /dev/sda1
Changer
Utilisé comme fichiers ext4
point de montage ; /home
Formater.
Tu valides.
ET tu continues l'installation, l'installateur vas installer grub-efi dans la partition boot-efi /dev/sdb1. Tu ne tiens pas compte de ce qui est proposé pour l'installation de grub. L'installateur lui non plus.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#15 Le 08/11/2017, à 20:08
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Merci Babdu89 et les autres.
Je vais essayer ça et je vous tiens au courant.
Toutes ces subtilités, c'est lié à l'arrivée de UEFI ? Avant, je partitionnais mes disques simplement avec un / un /home et un swap sans me soucier de ce coquin de GRUB, et tout roulait gentiment.
Bon, mon PC perso date de 2006, inutile de dire que le BIOS n'est pas dernier cri.
Jany
Hors ligne
#16 Le 08/11/2017, à 22:23
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Alors, dans la série "Bourrin un jour, bourrin toujours", j'ai suivi les instructions.
Ça ressemble en gros à ce que je faisais, sauf que :
- je mets un swap de 4 Go en sdb3 ;
- je ne me soucias pas de grub.
Et c'est la que ça se gâte.
Pour Grub, je peux faire :
1) /dev/sdb1 biosgrub 248Mo (choix : zone réservée pour le chargeur d'amorçage BIOS)
2) /dev/sdb1 FAT32 /boot 248Mo (choix : système de fichiers FAT32)
3) /dev/sdb1 efi 248Mo (choix : partition système EFI)
Pas de drapeau boot-esp (ou alors choix 2 ?).
J'ai essayé
1) qui ne marche pas.
2) qui est impossible car on ne peut monter /boot sur du FAT32
j'essaie 3)
Et on verra.
Jany
Dernière modification par Jany (Le 08/11/2017, à 22:35)
Hors ligne
#17 Le 09/11/2017, à 09:03
- ikewdu
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Re,
Si tu créés une partition fat32 et que tu lui adjoins le drapeau boot depuis gparted, ça convient très bien pour que la partition soit reconnue comme efi. Tu dois avoir ça si tu veux un home séparé :
<--efi---><------ /------><------- /home ----------><--swap--->
Et pour éclairer ta lanterne, GRUB se place dans le mbr lorsque le disque est au format ms-dos (anciens BIOS), alors qu'il se place sur une partition fat32 en uefi (nouveaux BIOS) car le mbr n'est plus utilisé. D'une certaine façon, c'est mieux.
Et comme la plupart des installations se font en dual-boot, le problème ne se pose pas car la partition efi existe déjà du fait que Ws l'utilise aussi.
Dernière modification par ikewdu (Le 09/11/2017, à 09:08)
Hors ligne
#18 Le 09/11/2017, à 11:46
- Jany
Re : Pas de boot si installation avec partitionnement manuel. [Résolu]
Merci à tous/toutes.
Avec les derniers conseils de Badbu89 et le mot de ikewdu, ça fonctionne.
Donc, passer par la session "live", préparer la partition FAT32 au GParted et ça roule.
Vraiment merci. Avec mes pratiques préhistoriques j'aurais vraiment eu du mal sans vous.
ikewdu, merci pour tes explications très claires sur les nouveautés.
Je n'installe plus en dual boot depuis un moment et comme je le disais, sur des PCs anciens (voire ordinosaures).
Bon, ben je n'ai plus qu'à faire marcher le WiFi et voir si Gimp démarre sans faire de manières.
;-)
Jany
PS : Quelques tests et je passe le sujet en "résolu".
Dernière modification par Jany (Le 09/11/2017, à 11:52)
Hors ligne