#1 Le 09/01/2019, à 08:57
- iwanael
Problème de démarrage [Résolu - ou plutôt contourné]
Bonjour,
J'utilise Xubuntu sur cet ordinateur depuis plusieurs années, et habituellement sans problème.
Ce matin, il ne veut pas démarrer et me parle d'une erreur swap.
Avant de tenter de réparer, je souhaiterais récupérer mes rfichiers perso (la dernière sauvegarde est assez vieille).
Je boote sur une clé en live, mais je ne sais pas rtécupérer les fichiers de mon disque dur à partir de cette clé. Qui peut m'aéider ?
Merci
Dernière modification par iwanael (Le 09/01/2019, à 18:28)
Hors ligne
#2 Le 09/01/2019, à 09:18
- diesel
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Il te faut un support externe (pour y stocker les fichiers).
Ensuite, à partir du système lancé à partir de la clé USB, il faut aller dans le gestionnaire de fichiers et ouvrir la partition de ton disque dur qui contient tes données.
Une fois que c'est fait, il n'y a plus qu'à copier.
Amicalement.
Jean-Marie
Je déteste qu'on cherche à me faire passer pour un con, j'y arrive déjà très bien tout seul.
Le mort, il sait pas qu'il est mort ; c'est pour les autres que c'est dur.................... Pour les cons, c'est pareil.
Hors ligne
#3 Le 09/01/2019, à 09:20
- NicoApi73
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Bonjour,
Peux tu faire un boot-info à partir de ta session live, qu'on voit comment est fait le partitionnement? Profite en pour faire une analyse smart du disque dur, que s'il y a un problème sur le disque on n'aggrave pas la situation.
EDIT : diesel83140 a été un peu plus rapide que moi...
Dernière modification par NicoApi73 (Le 09/01/2019, à 09:22)
Hors ligne
#4 Le 09/01/2019, à 11:17
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Je suis content d'être pris pour quelqu'un de compétent mais :
il faut aller dans le gestionnaire de fichiers et ouvrir la partition de ton disque dur qui contient tes données.
J'azi ouvert ce fameux gestionnaire de fichiers, il me propose <système de fichiers> mais je crois que je reste sur ma clé live.
Il me propose aussi Xubuntu 18.04 (et c'est peut-être ça mon DD) mais il refuse de l'ouvrir !
Il me dit
Error mounting /dev/sdb1 at /media/xubuntu/Xubuntu 18.04.1 LTS amd64: /dev/sdb1 already mounted or mount point busy.
Et puis pour NiciApi73, peux-tu préciser comment je fais un boot-info et une analyse smart ?
Désolé de vous décevoir quant à mes compétences
Hors ligne
#5 Le 09/01/2019, à 11:26
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Quand même pa si nul (merci la doc)
Mon boot-info est là : http://paste.ubuntu.com/p/HQ2f228bxn/
Hors ligne
#6 Le 09/01/2019, à 11:30
- NicoApi73
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Boot-info :
sudo add-apt-repository -y ppa:yannubuntu/boot-repair
sudo apt update
sudo apt install -y boot-info
sudo boot-info
Copie le lien URL dans ta réponse.
Pour une analyse smart :
sudo apt install --no-install-recommends smartmontools
sudo smartctl -a /dev/sda
Remplacer X par la lettre correspondant à ton disque dur
EDIT : Le disque à analyser est sda. Je regarde ton boot info un peu plus tard
Dernière modification par NicoApi73 (Le 09/01/2019, à 11:33)
Hors ligne
#7 Le 09/01/2019, à 11:33
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
et puis j'ai ça aussi :
xubuntu@xubuntu:~$ sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda1
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
SMART Automatic Offline Testing Enabled every four hours.
xubuntu@xubuntu:~$ sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda5
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
SMART Automatic Offline Testing Enabled every four hours.
Hors ligne
#8 Le 09/01/2019, à 11:36
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
et puis ça :
xubuntu@xubuntu:~$ sudo smartctl -s on -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.12
Device Model: ST3500418AS
Serial Number: 5VMR4X22
LU WWN Device Id: 5 000c50 02fccbaa3
Firmware Version: CC46
User Capacity: 500107862016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Wed Jan 9 10:35:33 2019 UTC
==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/213891en
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 600) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 81) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 101 099 006 Pre-fail Always - 3203554
3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 095 095 020 Old_age Always - 5493
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 082 060 030 Pre-fail Always - 170805956
9 Power_On_Hours 0x0032 054 054 000 Old_age Always - 40370
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 098 098 020 Old_age Always - 2719
183 Runtime_Bad_Block 0x0032 099 099 000 Old_age Always - 1
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 099 097 000 Old_age Always - 2384
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 057 040 045 Old_age Always In_the_past 43 (Min/Max 23/45 #9873)
194 Temperature_Celsius 0x0022 043 060 000 Old_age Always - 43 (0 10 0 0 0)
195 Hardware_ECC_Recovered 0x001a 028 020 000 Old_age Always - 3203554
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 47892 (203 193 0)
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 2471603942
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 2780422335
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
xubuntu@xubuntu:~$
Hors ligne
#9 Le 09/01/2019, à 12:12
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
et ça
xubuntu@xubuntu:~$ sudo smartctl -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.12
Device Model: ST3500418AS
Serial Number: 5VMR4X22
LU WWN Device Id: 5 000c50 02fccbaa3
Firmware Version: CC46
User Capacity: 500107862016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Wed Jan 9 11:11:16 2019 UTC
==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/213891en
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 600) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 81) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 103 099 006 Pre-fail Always - 5908675
3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 095 095 020 Old_age Always - 5495
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 082 060 030 Pre-fail Always - 170807626
9 Power_On_Hours 0x0032 054 054 000 Old_age Always - 40371
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 098 098 020 Old_age Always - 2720
183 Runtime_Bad_Block 0x0032 099 099 000 Old_age Always - 1
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 099 097 000 Old_age Always - 2385
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 054 040 045 Old_age Always In_the_past 46 (Min/Max 44/46 #9873)
194 Temperature_Celsius 0x0022 046 060 000 Old_age Always - 46 (0 10 0 0 0)
195 Hardware_ECC_Recovered 0x001a 028 020 000 Old_age Always - 5908675
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 47896 (165 196 0)
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 2471603984
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 1740757741
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
xubuntu@xubuntu:~$
Hors ligne
#10 Le 09/01/2019, à 12:15
- xubu1957
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Bonjour ,
Le boot-info :
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
---------------------------------------------------------------------------
=> No known boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.1 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: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sdb1: /dev/sdb1 already mounted or mount point busy.
sdb2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdb2 starts
at sector 0. But according to the info from fdisk,
sdb2 starts at sector 11812. According to the info in
the boot sector, sdb2 has 0 sectors.
Mounting failed: mount: /mnt/BootInfo/sdb1: /dev/sdb1 already mounted or mount point busy.
mount: /mnt/BootInfo/sdb2: /dev/sdb2 already mounted or mount point busy.
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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 968,384,511 968,382,464 83 Linux
/dev/sda2 968,386,558 976,771,071 8,384,514 5 Extended
/dev/sda5 968,386,560 976,771,071 8,384,512 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 14.4 GiB, 15502147584 bytes, 30277632 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 * 0 2,801,535 2,801,536 0 Empty
/dev/sdb2 11,812 16,483 4,672 ef EFI (FAT-12/16/32)
/dev/sdb1 overlaps with /dev/sdb2
GUID Partition Table detected, but does not seem to be used.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 + R 0 2,801,479 2,801,480 Data partition (Windows/Linux)
/dev/sdb2 + R 11,812 16,483 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 6aa57670-cd27-4033-831f-d34f9a1104b8 ext4
/dev/sda5 1d2db6eb-2068-4b98-acfa-0199f706ae5a swap
/dev/sdb1 2018-07-25-03-28-45-00 iso9660 Xubuntu 18.04.1 LTS amd64
/dev/sdb2 0D5F-1DB6 vfat
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 9 06:57 ata-HL-DT-STDVDRAM_GT34N_KYNB3J43040 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 9 10:24 ata-ST3500418AS_5VMR4X22 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 9 10:24 ata-ST3500418AS_5VMR4X22-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 9 10:24 ata-ST3500418AS_5VMR4X22-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 9 10:24 ata-ST3500418AS_5VMR4X22-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Jan 9 10:24 usb-Verbatim_STORE_N_GO_07C103070504E466-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 9 10:24 usb-Verbatim_STORE_N_GO_07C103070504E466-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jan 9 10:24 usb-Verbatim_STORE_N_GO_07C103070504E466-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Jan 9 10:24 wwn-0x5000c5002fccbaa3 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 9 10:24 wwn-0x5000c5002fccbaa3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 9 10:24 wwn-0x5000c5002fccbaa3-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 9 10:24 wwn-0x5000c5002fccbaa3-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb /cdrom iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
=========================== 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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
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=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; 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=1
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-6aa57670-cd27-4033-831f-d34f9a1104b8' {
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
fi
linux /boot/vmlinuz-4.15.0-43-generic root=UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-43-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-6aa57670-cd27-4033-831f-d34f9a1104b8' {
menuentry 'Ubuntu, avec Linux 4.15.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-advanced-6aa57670-cd27-4033-831f-d34f9a1104b8' {
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
fi
echo 'Chargement de Linux 4.15.0-43-generic…'
linux /boot/vmlinuz-4.15.0-43-generic root=UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-43-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-recovery-6aa57670-cd27-4033-831f-d34f9a1104b8' {
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
fi
echo 'Chargement de Linux 4.15.0-43-generic…'
linux /boot/vmlinuz-4.15.0-43-generic root=UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-43-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-42-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-42-generic-advanced-6aa57670-cd27-4033-831f-d34f9a1104b8' {
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
fi
echo 'Chargement de Linux 4.15.0-42-generic…'
linux /boot/vmlinuz-4.15.0-42-generic root=UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-42-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-42-generic-recovery-6aa57670-cd27-4033-831f-d34f9a1104b8' {
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
fi
echo 'Chargement de Linux 4.15.0-42-generic…'
linux /boot/vmlinuz-4.15.0-42-generic root=UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-42-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-39-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-39-generic-advanced-6aa57670-cd27-4033-831f-d34f9a1104b8' {
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
fi
echo 'Chargement de Linux 4.15.0-39-generic…'
linux /boot/vmlinuz-4.15.0-39-generic root=UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-39-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-39-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-39-generic-recovery-6aa57670-cd27-4033-831f-d34f9a1104b8' {
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
fi
echo 'Chargement de Linux 4.15.0-39-generic…'
linux /boot/vmlinuz-4.15.0-39-generic root=UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-39-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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
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 6aa57670-cd27-4033-831f-d34f9a1104b8
else
search --no-floppy --fs-uuid --set=root 6aa57670-cd27-4033-831f-d34f9a1104b8
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
/swapfile none swap sw 0 0
/dev/disk/by-id/wwn-0x5000c500161b490b-part1 /mnt/wwn-0x5000c500161b490b-part1 auto nosuid,nodev,nofail,x-gvfs-show,x-udisks-auth 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
258.131809235 = 277.166919680 boot/grub/grub.cfg 2
444.166503906 = 476.920152064 boot/grub/i386-pc/core.img 1
27.032119751 = 29.025517568 boot/vmlinuz-4.15.0-39-generic 1
27.637691498 = 29.675745280 boot/vmlinuz-4.15.0-42-generic 2
63.836811066 = 68.544253952 boot/vmlinuz-4.15.0-43-generic 1
63.836811066 = 68.544253952 vmlinuz 1
27.637691498 = 29.675745280 vmlinuz.old 2
27.478851318 = 29.505191936 boot/initrd.img-4.15.0-39-generic 1
27.762611389 = 29.809876992 boot/initrd.img-4.15.0-42-generic 5
18.039684296 = 19.369963520 boot/initrd.img-4.15.0-43-generic 4
18.039684296 = 19.369963520 initrd.img 4
27.762611389 = 29.809876992 initrd.img.old 5
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown MBR on /dev/sdb
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 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 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 40 04 00 00 00 00 00 00 5d 9f 53 6c 00 00 80 00 |@.......].Sl....|
000001c0 01 00 00 55 e0 f9 00 00 00 00 80 bf 2a 00 00 fe |...U........*...|
000001d0 ff ff ef fe ff ff 24 2e 00 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/sdb1: unknown GPT attributes
1000000000000001
/dev/sdb2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdb1
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 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 40 04 00 00 00 00 00 00 5d 9f 53 6c 00 00 80 00 |@.......].Sl....|
000001c0 01 00 00 55 e0 f9 00 00 00 00 80 bf 2a 00 00 fe |...U........*...|
000001d0 ff ff ef fe ff ff 24 2e 00 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/5835/mountinfo) leaked on lvs invocation. Parent PID 12374: bash
File descriptor 63 (pipe:[654480]) leaked on lvs invocation. Parent PID 12374: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 20190109_1024 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez 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 18.04.1 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/xubuntu.seed boot=casper initrd=/casper/initrd quiet splash --- maybe-ubiquity
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda1:Ubuntu 18.04.1 LTS (18.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="6aa57670-cd27-4033-831f-d34f9a1104b8" TYPE="ext4" PARTUUID="276d24e7-01"
/dev/loop0: TYPE="squashfs"
/dev/sda5: UUID="1d2db6eb-2068-4b98-acfa-0199f706ae5a" TYPE="swap" PARTUUID="276d24e7-05"
/dev/sdb1: UUID="2018-07-25-03-28-45-00" LABEL="Xubuntu 18.04.1 LTS amd64" TYPE="iso9660" PTUUID="6c539f5d" PTTYPE="dos" PARTUUID="6c539f5d-01"
/dev/sdb2: SEC_TYPE="msdos" UUID="0D5F-1DB6" TYPE="vfat" PARTUUID="6c539f5d-02"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 nov. 30 06:32 grub.d
total 80
-rwxr-xr-x 1 root root 9783 juil. 17 18:13 00_header
-rwxr-xr-x 1 root root 6258 juil. 16 15:15 05_debian_theme
-rwxr-xr-x 1 root root 12693 juil. 17 18:13 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17 18:13 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 juil. 17 18:13 30_os-prober
-rwxr-xr-x 1 root root 1418 juil. 17 18:13 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 17 18:13 40_custom
-rwxr-xr-x 1 root root 216 juil. 17 18:13 41_custom
-rw-r--r-- 1 root root 483 juil. 17 18:13 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_TIMEOUT_STYLE=hidden
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"
=================== sda1recordfail=1/grub/grubenv :
recordfail=1
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ng grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda1.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA ST3500418AS:;
1:1049kB:496GB:496GB:ext4::boot;
2:496GB:500GB:4293MB:::;
5:496GB:500GB:4293MB:linux-swap(v1)::;
BYT;
/dev/sdb:15.5GB:scsi:512:512:unknown:Verbatim STORE N GO:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
loop0 loop squashfs 1,3G
sda disk 465,8G
sda1 part ext4 461,8G
sda2 part 1K
sda5 part swap 4G
sdb disk iso9660 14,4G Xubuntu 18.04.1 LTS amd64
sdb1 part iso9660 1,3G Xubuntu 18.04.1 LTS amd64
sdb2 part vfat 2,3M Xubuntu 18.04.1 LTS amd64
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
loop0 1 1 0 /rofs
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0
sda5 1 0 0 [SWAP]
sdb 1 0 1 running /cdrom
sdb1 1 0 1
sdb2 1 0 1
sr0 1 0 1 running
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1965352k,nr_inodes=491338,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=403944k,mode=755)
/dev/sdb on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
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=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13959)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=403940k,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)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
gvfsd-fuse on /home/xubuntu/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden 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 hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg kvm lightnvm log mapper mcelog media0 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 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper: control
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 395M 1.6M 393M 1% /run
/dev/sdb iso9660 1.4G 1.4G 0 100% /cdrom
/dev/loop0 squashfs 1.3G 1.3G 0 100% /rofs
/cow overlay 2.0G 260M 1.7G 14% /
tmpfs tmpfs 2.0G 44M 1.9G 3% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 528K 2.0G 1% /tmp
tmpfs tmpfs 395M 20K 395M 1% /run/user/999
/dev/sda1 ext4 454G 18G 414G 4% /mnt/boot-sav/sda1
=================== fdisk -l:
Disk /dev/loop0: 1.3 GiB, 1345060864 bytes, 2627072 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: 465.8 GiB, 500107862016 bytes, 976773168 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: 0x276d24e7
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 968384511 968382464 461.8G 83 Linux
/dev/sda2 968386558 976771071 8384514 4G 5 Extended
/dev/sda5 968386560 976771071 8384512 4G 82 Linux swap / Solaris
Disk /dev/sdb: 14.4 GiB, 15502147584 bytes, 30277632 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: 0x6c539f5d
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 2801535 2801536 1.3G 0 Empty
/dev/sdb2 11812 16483 4672 2.3M ef EFI (FAT-12/16/32)
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== Final advice in case of suggested repair
Les fichiers de démarrage de [Ubuntu 18.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#11 Le 09/01/2019, à 12:37
- NicoApi73
Re : Problème de démarrage [Résolu - ou plutôt contourné]
1 Raw_Read_Error_Rate 0x000f 103 099 006 Pre-fail Always - 5908675
7 Seek_Error_Rate 0x000f 082 060 030 Pre-fail Always - 170807626
Pour moi ton disque montre des signes de faiblesse et n'est pas de toute jeunesse :
9 Power_On_Hours 0x0032 054 054 000 Old_age Always - 40371
Je pense qu'il n'est pas judicieux de continuer à l'utiliser.
sudo mkdir /mnt/mon_disque
sudo mount /dev/sda1 /mnt/mon_disque
Lance le gestionnaire de fichier, système de fichier et la racine de ton disque se trouve dans /mnt/mon_disque (et donc tes données dans /mnt/mon_disque/home)
EDIT : merci xubu pour le boot-info
Dernière modification par NicoApi73 (Le 09/01/2019, à 12:38)
Hors ligne
#12 Le 09/01/2019, à 12:48
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
OK NikoApi73
J'ai récupéré mes fichiers perso. Je vais voir ce que je fais de ce vieux machin (8 ans à peine !!!)
Merci pour ce dépannage.
Hors ligne
#13 Le 09/01/2019, à 12:57
- NicoApi73
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Attends peut être le passage d'une personne plus expérimentée que moi concernant l'état de ton disque.
J’interprète les informations que j'ai mises dans mon post précédent comme quoi probablement que les têtes de lecture sont fatiguées. Il n'y a pas de secteurs réalloués donc la surface du disque doit être correcte.
Hors ligne
#14 Le 09/01/2019, à 17:29
- Babdu89
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Bonjour.
Sans parler de l'état du disque, je n'y connais rien.
Dans le bootinfo on voit ceci;
=============================== 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
/swapfile none swap sw 0 0
/dev/disk/by-id/wwn-0x5000c500161b490b-part1 /mnt/wwn-0x5000c500161b490b-part1 auto nosuid,nodev,nofail,x-gvfs-show,x-udisks-auth 0 0
--------------------------------------------------------------------------------
Pour la partition système /dev/sda1. Il ne manquerait pas cette ligne?.
UUID=6aa57670-cd27-4033-831f-d34f9a1104b8 / ext4 noatime,errors=remount-ro 0 1
Avant celle-ci?.
/swapfile none swap sw 0 0
@+. 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 09/01/2019, à 17:47
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Merci Babdu89 de t'intéresser à mon problème,
Serait-il possible qu'une ligne disparaisse dans un fichier ?
De toute façon, j'ai résolu mon problème ..... en réinstallant tout !
Tout s'est bien passé et maintenant ça marche! (Jusqu'à quand ?)
Hors ligne
#16 Le 09/01/2019, à 21:15
- Babdu89
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Bonsoir.
On peut avoir un boot info de la réinstallation?.
Merci.
@+. 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
#17 Le 10/01/2019, à 07:08
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Voilà.
Fais-en bon usage
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
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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 976,771,071 976,769,024 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 19e3aad8-7554-455c-a343-f717516f1ac4 ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 10 07:05 ata-ST3500418AS_5VMR4X22 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 10 07:05 ata-ST3500418AS_5VMR4X22-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Jan 10 07:05 wwn-0x5000c5002fccbaa3 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 10 07:05 wwn-0x5000c5002fccbaa3-part1 -> ../../sda1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
=========================== 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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
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=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; 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=1
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-19e3aad8-7554-455c-a343-f717516f1ac4' {
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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
fi
linux /boot/vmlinuz-4.15.0-43-generic root=UUID=19e3aad8-7554-455c-a343-f717516f1ac4 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-43-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-19e3aad8-7554-455c-a343-f717516f1ac4' {
menuentry 'Ubuntu, avec Linux 4.15.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-advanced-19e3aad8-7554-455c-a343-f717516f1ac4' {
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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
fi
echo 'Chargement de Linux 4.15.0-43-generic…'
linux /boot/vmlinuz-4.15.0-43-generic root=UUID=19e3aad8-7554-455c-a343-f717516f1ac4 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-43-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-recovery-19e3aad8-7554-455c-a343-f717516f1ac4' {
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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
fi
echo 'Chargement de Linux 4.15.0-43-generic…'
linux /boot/vmlinuz-4.15.0-43-generic root=UUID=19e3aad8-7554-455c-a343-f717516f1ac4 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-43-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-advanced-19e3aad8-7554-455c-a343-f717516f1ac4' {
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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
fi
echo 'Chargement de Linux 4.15.0-29-generic…'
linux /boot/vmlinuz-4.15.0-29-generic root=UUID=19e3aad8-7554-455c-a343-f717516f1ac4 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-29-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-recovery-19e3aad8-7554-455c-a343-f717516f1ac4' {
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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
fi
echo 'Chargement de Linux 4.15.0-29-generic…'
linux /boot/vmlinuz-4.15.0-29-generic root=UUID=19e3aad8-7554-455c-a343-f717516f1ac4 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-29-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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
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 19e3aad8-7554-455c-a343-f717516f1ac4
else
search --no-floppy --fs-uuid --set=root 19e3aad8-7554-455c-a343-f717516f1ac4
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=19e3aad8-7554-455c-a343-f717516f1ac4 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
400.146572113 = 429.654110208 boot/grub/grub.cfg 3
284.242652893 = 305.203224576 boot/grub/i386-pc/core.img 1
400.141826630 = 429.649014784 boot/vmlinuz-4.15.0-29-generic 1
287.262592316 = 308.445859840 boot/vmlinuz-4.15.0-43-generic 1
287.262592316 = 308.445859840 vmlinuz 1
400.141826630 = 429.649014784 vmlinuz.old 1
287.676555634 = 308.890349568 boot/initrd.img-4.15.0-29-generic 2
287.853847504 = 309.080715264 boot/initrd.img-4.15.0-43-generic 1
287.853847504 = 309.080715264 initrd.img 1
287.676555634 = 308.890349568 initrd.img.old 2
ADDITIONAL INFORMATION :
=================== log of boot-info 20190110_0705 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 18.04.1 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic root=UUID=19e3aad8-7554-455c-a343-f717516f1ac4 ro quiet splash vt.handoff=1
=================== os-prober:
/dev/sda1:L'OS actuellement utilisé - Ubuntu 18.04.1 LTS CurrentSession:linux
=================== blkid:
/dev/sda1: UUID="19e3aad8-7554-455c-a343-f717516f1ac4" TYPE="ext4" PARTUUID="f0bb35d5-01"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 janv. 9 14:33 grub.d
total 80
-rwxr-xr-x 1 root root 9783 juil. 17 20:13 00_header
-rwxr-xr-x 1 root root 6258 juil. 16 17:15 05_debian_theme
-rwxr-xr-x 1 root root 12693 juil. 17 20:13 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17 20:13 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 juil. 17 20:13 30_os-prober
-rwxr-xr-x 1 root root 1418 juil. 17 20:13 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 17 20:13 40_custom
-rwxr-xr-x 1 root root 216 juil. 17 20:13 41_custom
-rw-r--r-- 1 root root 483 juil. 17 20:13 README
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, .
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA ST3500418AS:;
1:1049kB:500GB:500GB:ext4::boot;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part ext4 465,8G
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /
sr0 1 0 1 running
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1956264k,nr_inodes=489066,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=403944k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1566)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=403940k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper: control
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 395M 1.5M 393M 1% /run
/dev/sda1 ext4 458G 13G 422G 3% /
tmpfs tmpfs 2.0G 50M 1.9G 3% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 395M 16K 395M 1% /run/user/1000
=================== fdisk -l:
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: 0xf0bb35d5
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 976771071 976769024 465.8G 83 Linux
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== Final advice in case of suggested repair
Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 18.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.
Hors ligne
#18 Le 10/01/2019, à 09:39
- Babdu89
Re : Problème de démarrage [Résolu - ou plutôt contourné]
Bonjour.
Serait-il possible qu'une ligne disparaisse dans un fichier ?
Et bien, oui. Mais comment çà c'est fait?. Je ne sais pas...
Voila, le contenu du fichier fstab est correcte après réinstallation.
=============================== 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=19e3aad8-7554-455c-a343-f717516f1ac4 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
Si il n'y avait pas eu précipitation de ta part, on aurait ajouté une ligne comme montré post#14, dans le fstab, et regarder si çà répare.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 10/01/2019, à 09:42)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#19 Le 10/01/2019, à 09:45
- iwanael
Re : Problème de démarrage [Résolu - ou plutôt contourné]
OK! J'ai compris.
Le temps passé à réinstaller ne m'a pas coûté, je n'avais que ça à faire, mais j'admets que je suis allé un peu trop vite.
Merci à toi pour ton aide.
Hors ligne