Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#26 Le 04/06/2020, à 18:20

nisco

Re : [Résolu] Passage a 20.04 rate a cause de coupure de courant

Bon bin j'ai pu l'installer et maintenant il fonctionne très bien, hélas je n'ai plus le choix de l'OS au démarrage... J'ai donc du foirer quelque chose dans l'histoire avec le grub...

Je mets le boot-info okazou ça peut vous donner une idée du soucis et de la manière de le résoudre (soit boot-repair soit tout réinstaller...)

https://paste.ubuntu.com/p/g6dtxTS7Mc/


Soyons réalistes, demandons l'impossible

Hors ligne

#27 Le 04/06/2020, à 18:25

xubu1957

Re : [Résolu] Passage a 20.04 rate a cause de coupure de courant

Collage du boot-info du #26 :

boot-info-4ppa124                                              [20200604_1916]

============================== 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 (,msdos6)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img


================================ 4 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sda6
OS#2:   Windows Recovery Environment (boot) on sda1
OS#3:   Windows 7 (boot) on sda2
OS#4:   Windows 7 on sda3

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-26-generic root=UUID=ec850f2b-d037-4cdf-8e72-51f5d7d48bbe ro quiet splash vt.handoff=7


===================================== UEFI =====================================

This installed-session is not in EFI-mode.



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda6	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda6	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda6	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xdec82739
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048  41945087  41943040    20G 27 Hidden NTFS WinRE
sda2        41945088  42149887    204800   100M  7 HPFS/NTFS/exFAT
sda3        42149888 358819839 316669952   151G  7 HPFS/NTFS/exFAT
sda4       358821886 976771071 617949186 294.7G  f W95 Ext'd (LBA)
sda5       358821888 728094719 369272832 176.1G  7 HPFS/NTFS/exFAT
sda6       728096768 976771071 248674304 118.6G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:msdos:ATA Hitachi HTS54505:;
1:1049kB:21.5GB:21.5GB:ntfs::boot, msftres;
2:21.5GB:21.6GB:105MB:ntfs::;
3:21.6GB:184GB:162GB:ntfs::;
4:184GB:500GB:316GB:::lba;
5:184GB:373GB:189GB:ntfs::;
6:373GB:500GB:127GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
sda                                                                                                
├─sda1 ntfs     8C22F21822F2074C                     dec82739-01                          RECOVERY 
├─sda2 ntfs     8AA06137A0612B41                     dec82739-02                          SYSTEM   
├─sda3 ntfs     F424F4BE24F48540                     dec82739-03                                   
├─sda4                                               dec82739-04                                   
├─sda5 ntfs     D4CC2CC8CC2CA728                     dec82739-05                                   
└─sda6 ext4     ec850f2b-d037-4cdf-8e72-51f5d7d48bbe dec82739-06                                   

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1                2.3G  89% /mnt/boot-sav/sda1
sda2               75.3M  25% /mnt/boot-sav/sda2
sda3               42.2G  72% /media/famillemorand/F424F4BE24F48540
sda5              173.2G   2% /media/famillemorand/D4CC2CC8CC2CA728
sda6                103G   6% /

Mount options: __________________________________________________________________

sda1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3              rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
sda5              rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
sda6              rw,relatime,errors=remount-ro

====================== sda6/boot/grub/grub.cfg (filtered) ======================

Ubuntu   ec850f2b-d037-4cdf-8e72-51f5d7d48bbe
Ubuntu, avec Linux 5.4.0-26-generic   ec850f2b-d037-4cdf-8e72-51f5d7d48bbe
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=ec850f2b-d037-4cdf-8e72-51f5d7d48bbe /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

======================= sda6/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
 391,384059906 = 420,245434368  boot/grub/grub.cfg                             2
 375,420936584 = 403,105161216  boot/grub/i386-pc/core.img                     1
 351,527339935 = 377,449607168  boot/vmlinuz                                   2
 351,527339935 = 377,449607168  boot/vmlinuz-5.4.0-26-generic                  2
 381,867183685 = 410,026766336  boot/initrd.img                                3
 381,867183685 = 410,026766336  boot/initrd.img-5.4.0-26-generic               3
 381,867183685 = 410,026766336  boot/initrd.img.old                            3

===================== sda6: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17123 Apr 15 14:31 10_linux
-rwxr-xr-x 1 root root 42128 Apr 15 14:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Apr 15 14:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 Apr 15 14:31 30_os-prober
-rwxr-xr-x 1 root root  1424 Apr 15 14:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr 15 14:31 40_custom
-rwxr-xr-x 1 root root   216 Apr 15 14:31 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda6 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

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

Hors ligne

#28 Le 04/06/2020, à 19:20

moko138

Re : [Résolu] Passage a 20.04 rate a cause de coupure de courant

nisco a écrit :

Bon bin j'ai pu l'installer et maintenant il fonctionne très bien, hélas je n'ai plus le choix de l'OS au démarrage

Merci de montrer

sudo os-prober ; echo; sudo update-grub

%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#29 Le 04/06/2020, à 19:58

nisco

Re : [Résolu] Passage a 20.04 rate a cause de coupure de courant

moko138 a écrit :
nisco a écrit :

Bon bin j'ai pu l'installer et maintenant il fonctionne très bien, hélas je n'ai plus le choix de l'OS au démarrage

Merci de montrer

sudo os-prober ; echo; sudo update-grub

Tip top, c'est parfait! Merci à tous pour votre aide très précise et claire! mon ordi repart comme en 40, c'est parfait!


Soyons réalistes, demandons l'impossible

Hors ligne