Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 23/12/2020, à 21:57

romainguru

[Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Bonjour à tous!

Il y a peu de temps je me suis décidé à passer de la version 18.04 à la 20.04.

J'ai un PC asus intel core I7 avec 8Go de RAM et un disque dur d'1 to SSD.

Pour procéder à l'installation, j'ai d'abord sauvegardé tout le contenu de mon pc sur un disque dur. Puis j'ai créé une clé usb bootable pour passer à la version 20.04 et j'ai tout réécrasé pour passer à la nouvelle version.  Ceci m'a permis de passer à une installation avec contenu du pc crypté, ce qui n'était pas le cas avant.
Enfin, j'ai recopié le contenu de mon disque dur sur la nouvelle version du PC.

Depuis, j'ai un soucis lors du démarrage :
lors du lancement, le système ne se lance pas vraiment. En fait  l'écran reste bloqué sur le logo Asus. Et il ne se passe rien, quel que soit le temps que j'attends.

Je suis donc obligé d'appuyer de force sur la touche "power" du pc pour l'éteindre de force.
Puis quand je redémarre le logo passe et j'aboutis à un menu avec :
*ubuntu
*advanced options for ubuntu
*uefi firmware settings

Si je sélectionne la première option (ce qui me semble être le démarrage normal) alors le pc se lance normalement.
Je peux alors l'éteindre normalement.

Mais la fois suivante il reste à nouveau bloqué sur le logo Asus.
En gros il ne se lance correctement qu'une fois sur deux puisqu'il faut que je l'aie éteint de force pour pouvoir accéder au menu de sélection du démarrage et qu'il puisse se lancer correctement.

J'ai fait un boot repair sans procéder aux modifications et voici l'url du rapport.

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

Ca fait bien plus de 10 ans que je suis sur Ubuntu et je n'ai jamais eu un tel problème...
Je vous remercie par avance de votre aide.

Romain.

Dernière modification par romainguru (Le 29/12/2020, à 01:58)

Hors ligne

#2 Le 24/12/2020, à 01:30

Vobul

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Donne la version du BIOS/UEFI et le modèle précis de la carte-mère.


Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM

Hors ligne

#3 Le 24/12/2020, à 08:30

malbo

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Bonjour,
Je colle ci-dessous le Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/sPH2kz9pry/ ) dans ton post #1 :

boot-repair-4ppa125                                              [20201223_2026]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg

sda3: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows XP: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        


================================ 1 OS detected =================================

OS#1:   The OS now in use - Ubuntu 20.04.1 LTS CurrentSession on mapper/vgubuntu-root

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/vmlinuz-5.4.0-58-generic root=/dev/mapper/vgubuntu-root ro quiet splash


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0002,0003,0004,0005
Boot0001* ubuntu	HD(1,GPT,03a94a68-0a9f-4c86-a9d6-e770e5e69db7,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002* ubuntu	HD(1,GPT,03a94a68-0a9f-4c86-a9d6-e770e5e69db7,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)..BO
Boot0003* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0004* UEFI:Removable Device	BBS(130,,0x0)
Boot0005* UEFI:Network Device	BBS(131,,0x0)

2895d47544fd587b26c7e29be1295c27   sda1/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/BOOT/mmx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff   sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/BOOT/BOOTX64.efi
2895d47544fd587b26c7e29be1295c27   sda2/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda2/BOOT/mmx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff   sda2/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda2/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda2/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f   sda2/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	usb-disk,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

mapper/vgubuntu-root	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	grubenv-ok,	noupdategrub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

mapper/vgubuntu-root	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

mapper/vgubuntu-root	: not-sepboot,	with-boot,	fstab-has-goodBOOT,	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	: is-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 978.9 GiB, 1050214588416 bytes, 2051200368 sectors
Disk identifier: FE104CE4-BB64-4EE3-992C-CE166C0A3A0D
        Start        End    Sectors   Size Type
sda1     2048    1050623    1048576   512M EFI System
sda2  1050624    2549759    1499136   732M Linux filesystem
sda3  2549760 2051198975 2048649216 976.9G Linux filesystem
Disk sdb: 57.72 GiB, 61958258688 bytes, 121012224 sectors
Disk identifier: 0x71d37d3b
      Boot Start       End   Sectors  Size Id Type
sdb1       60688 121012223 120951536 57.7G  c W95 FAT32 (LBA)
Disk mapper/sda3_crypt: 976.88 GiB, 1048891621376 bytes, 2048616448 sectors
Disk mapper/vgubuntu-root: 930.38 GiB, 998974160896 bytes, 1951121408 sectors
Disk mapper/vgubuntu-swap_1: 976 MiB, 1023410176 bytes, 1998848 sectors

parted -lm (filtered): _________________________________________________________

sda:1050GB:scsi:512:512:gpt:ATA Crucial_CT1050MX:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:1305MB:768MB:ext4::;
3:1305MB:1050GB:1049GB:::;
sdb:62.0GB:scsi:512:512:msdos:PKparis PK K'1:;
1:31.1MB:62.0GB:61.9GB:fat32::lba;
mapper/vgubuntu-swap_1:1023MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:1023MB:1023MB:linux-swap(v1)::;
mapper/vgubuntu-root:999GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:999GB:999GB:ext4::;
mapper/sda3_crypt:1049GB:dm:512:512:unknown:Linux device-mapper (crypt):;

blkid (filtered): ______________________________________________________________

NAME                  FSTYPE      UUID                                   PARTUUID                             LABEL  PARTLABEL
sda                                                                                                                  
├─sda1                vfat        3725-C69D                              03a94a68-0a9f-4c86-a9d6-e770e5e69db7        EFI System Partition
├─sda2                ext4        9a2b8e5c-ca50-4503-ae87-a60de6669881   6c69092c-2542-4e4e-90ae-e10f2a654e03        
└─sda3                crypto_LUKS 053647b7-9220-45c6-b4ac-2e986af00768   69412abe-f486-446b-aaa6-3161db0c196f        
  └─sda3_crypt        LVM2_member faoygB-P52G-7Pfj-0ygx-Tyn4-qYCY-GG3Uox                                             
    ├─vgubuntu-root   ext4        b6c6163a-6c5d-495a-87fd-92bd4410a6c9                                               
    └─vgubuntu-swap_1 swap        e712a08a-db82-48a8-bd8a-bd5f01e5ceeb                                               
sdb                                                                                                                  
└─sdb1                vfat        A5EF-D18F                              71d37d3b-01                          PK K'1 

df (filtered): _________________________________________________________________

                      Avail Use% Mounted on
mapper/vgubuntu-root 361.9G  55% /
sda2                 449.7M  29% /boot
sdb1                  28.8G  50% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

mapper/vgubuntu-root rw,relatime,errors=remount-ro
sda2                 rw,relatime
sdb1                 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
sda3_crypt
vgubuntu-root
vgubuntu-swap_1

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 9a2b8e5c-ca50-4503-ae87-a60de6669881 root hd0,gpt2 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

======================== sda2/grub/grub.cfg (filtered) =========================

Ubuntu   b6c6163a-6c5d-495a-87fd-92bd4410a6c9
Ubuntu, with Linux 5.4.0-58-generic   b6c6163a-6c5d-495a-87fd-92bd4410a6c9
Ubuntu, with Linux 5.4.0-56-generic   b6c6163a-6c5d-495a-87fd-92bd4410a6c9
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

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

           GiB - GB             File                                 Fragment(s)
   0,655284882 = 0,703606784    grub/grub.cfg                                  1
   0,750972748 = 0,806350848    vmlinuz                                        2
   0,949356079 = 1,019363328    vmlinuz-5.4.0-56-generic                       1
   0,750972748 = 0,806350848    vmlinuz-5.4.0-58-generic                       2
   0,949356079 = 1,019363328    vmlinuz.old                                    1
   0,932518005 = 1,001283584    initrd.img                                     3
   1,101081848 = 1,182277632    initrd.img-5.4.0-56-generic                    2
   0,932518005 = 1,001283584    initrd.img-5.4.0-58-generic                    3
   1,101081848 = 1,182277632    initrd.img.old                                 2


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sda3

00000000  4c 55 4b 53 ba be 00 02  00 00 00 00 00 00 40 00  |LUKS..........@.|
00000010  00 00 00 00 00 00 00 03  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  b6 30 67 83 6e 22 f7 ec  |.........0g.n"..|
00000070  ef 4a dc 96 c7 47 8f 61  a4 e4 f8 b1 cb f9 1c 28  |.J...G.a.......(|
00000080  49 76 82 a8 f8 69 0c c2  14 e2 0c 10 30 5e 3b cc  |Iv...i......0^;.|
00000090  51 bf fc e8 ff 0f 60 46  6f af 13 61 e2 3b 14 b3  |Q.....`Fo..a.;..|
000000a0  74 d3 23 46 a1 32 04 56  30 35 33 36 34 37 62 37  |t.#F.2.V053647b7|
000000b0  2d 39 32 32 30 2d 34 35  63 36 2d 62 34 61 63 2d  |-9220-45c6-b4ac-|
000000c0  32 65 39 38 36 61 66 30  30 37 36 38 00 00 00 00  |2e986af00768....|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  f1 64 c9 79 37 aa 4f ee  90 ed 0a b9 bc 4b 67 09  |.d.y7.O......Kg.|
000001d0  37 20 7e 96 26 fd b7 9d  3f 6c ef 27 df 2b e0 a9  |7 ~.&...?l.'.+..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[110360]) leaked on lvs invocation. Parent PID 16073: /bin/bash
File descriptor 63 (pipe:[110360]) leaked on lvchange invocation. Parent PID 29062: /bin/bash
/usr/share/boot-sav/b-i-s-functions.sh: line 1653: 1951121408S: value too great for base (error token is "1951121408S")

================================= User choice ==================================

Is there RAID on this computer? no

================================ LVM activation ================================

modprobe dm-mod  
vgscan --mknodes
  Found volume group "vgubuntu" using metadata type lvm2
vgchange -ay
  2 logical volume(s) in volume group "vgubuntu" now active
lvscan
  ACTIVE            '/dev/vgubuntu/root' [<930.37 GiB] inherit
  ACTIVE            '/dev/vgubuntu/swap_1' [976.00 MiB] inherit
blkid -g

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
mapper/vgubuntu-root,
using the following options:        sda2/boot, sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file    

Confirmation request before suggested repair: __________________________________

You may want to retry after mounting your encrypted partitions so that the tool can verify their contents. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the The OS now in use - Ubuntu 20.04.1 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !

Je crois comprendre qu'il s'agit d'une installation propre de la version 20.04. Alors pourquoi tu nous embrouilles en écrivant : "passage de ubuntu 18.04 à 20.04" ? Quand on lit ça, on pense que tu as fait une mise à niveau de 18.04 vers 20.04.

EDIT : je te prie de donner le retour complet (*) de cette commande :

cat /etc/default/grub

Ainsi que le retour complet (*) de cette autre commande :

cat /boot/grub/grub.cfg

(*) définition de ce qu'on appelle "retour complet" : https://forum.ubuntu-fr.org/viewtopic.p … #p22040823

Dernière modification par malbo (Le 24/12/2020, à 09:34)

Hors ligne

#4 Le 24/12/2020, à 16:00

romainguru

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Bonjour Vobul,

Pour les infos du bios j'ai récupéré ça:

Bios vendor : american megatrend
Version : 201
GOP Version : 9.0.1031
EC version : F0SL0900

Pour la carte mère j'ai récupéré : 1.0 / UX305UA (ASUSTeK COMPUTER INC.)

J'espère que ce sont bien ces infos que tu attendais.
Romain.

Hors ligne

#5 Le 24/12/2020, à 16:10

romainguru

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Bonjour Malbo,

Je ne m'étais honnêtement pas rendu compte que le titre pouvait porter à confusion. Je l'ai corrigé.

voici les retours complets des deux commandes :

romain@Modji:~$ cat /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=0
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"
romain@Modji:~$ 
romain@Modji:~$ cat /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 [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
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 initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; 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 lvm
insmod ext2
set root='lvmid/xfvpLU-At59-L98y-XRga-3jFn-J76M-bkX2Pa/0DQT5B-FwpY-T20V-TY3m-Uox7-HACV-38GyKI'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/xfvpLU-At59-L98y-XRga-3jFn-J76M-bkX2Pa/0DQT5B-FwpY-T20V-TY3m-Uox7-HACV-38GyKI'  b6c6163a-6c5d-495a-87fd-92bd4410a6c9
else
  search --no-floppy --fs-uuid --set=root b6c6163a-6c5d-495a-87fd-92bd4410a6c9
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=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b6c6163a-6c5d-495a-87fd-92bd4410a6c9' {
	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='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  9a2b8e5c-ca50-4503-ae87-a60de6669881
	else
	  search --no-floppy --fs-uuid --set=root 9a2b8e5c-ca50-4503-ae87-a60de6669881
	fi
	linux	/vmlinuz-5.4.0-58-generic root=/dev/mapper/vgubuntu-root ro  quiet splash $vt_handoff
	initrd	/initrd.img-5.4.0-58-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b6c6163a-6c5d-495a-87fd-92bd4410a6c9' {
	menuentry 'Ubuntu, with Linux 5.4.0-58-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-58-generic-advanced-b6c6163a-6c5d-495a-87fd-92bd4410a6c9' {
		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='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  9a2b8e5c-ca50-4503-ae87-a60de6669881
		else
		  search --no-floppy --fs-uuid --set=root 9a2b8e5c-ca50-4503-ae87-a60de6669881
		fi
		echo	'Loading Linux 5.4.0-58-generic ...'
		linux	/vmlinuz-5.4.0-58-generic root=/dev/mapper/vgubuntu-root ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-58-generic
	}
	menuentry 'Ubuntu, with Linux 5.4.0-58-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-58-generic-recovery-b6c6163a-6c5d-495a-87fd-92bd4410a6c9' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  9a2b8e5c-ca50-4503-ae87-a60de6669881
		else
		  search --no-floppy --fs-uuid --set=root 9a2b8e5c-ca50-4503-ae87-a60de6669881
		fi
		echo	'Loading Linux 5.4.0-58-generic ...'
		linux	/vmlinuz-5.4.0-58-generic root=/dev/mapper/vgubuntu-root ro recovery nomodeset dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-58-generic
	}
	menuentry 'Ubuntu, with Linux 5.4.0-56-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-56-generic-advanced-b6c6163a-6c5d-495a-87fd-92bd4410a6c9' {
		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='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  9a2b8e5c-ca50-4503-ae87-a60de6669881
		else
		  search --no-floppy --fs-uuid --set=root 9a2b8e5c-ca50-4503-ae87-a60de6669881
		fi
		echo	'Loading Linux 5.4.0-56-generic ...'
		linux	/vmlinuz-5.4.0-56-generic root=/dev/mapper/vgubuntu-root ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-56-generic
	}
	menuentry 'Ubuntu, with Linux 5.4.0-56-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-56-generic-recovery-b6c6163a-6c5d-495a-87fd-92bd4410a6c9' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  9a2b8e5c-ca50-4503-ae87-a60de6669881
		else
		  search --no-floppy --fs-uuid --set=root 9a2b8e5c-ca50-4503-ae87-a60de6669881
		fi
		echo	'Loading Linux 5.4.0-56-generic ...'
		linux	/vmlinuz-5.4.0-56-generic root=/dev/mapper/vgubuntu-root ro recovery nomodeset dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-56-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

### 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 'UEFI Firmware Settings' $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 ###
romain@Modji:~$ 

Merci pour la rapidité de l'aide en tout cas.
Romain.

Hors ligne

#6 Le 24/12/2020, à 17:02

Vobul

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Commence par mettre à jour le bios: https://www.asus.com/us/Laptops/ASUS-Ze … Desk_BIOS/


Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM

Hors ligne

#7 Le 24/12/2020, à 19:09

malbo

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Je ne suis pas certain que ça puisse résoudre ton problème mais je te suggère de faire la manip suivante :
1) ouverture avec gedit du fichier /etc/default/grub avec pouvoir administrateur. Pour ce faire, passe la commande suivante (n'essaie même pas de la taper : utilise le copier-coller):

gedit admin:///etc/default/grub

2) supprimer le caractère # en tête de cette ligne :

#GRUB_TERMINAL=console

afin qu'elle devienne :

GRUB_TERMINAL=console

3) enregistrer dans gedit et quitter gedit
4) réaliser la mise à jour de Grub en passant cette commande :

sudo update-grub

EDIT : cette procédure a pu résoudre le souci de "des fontaines" dans ce fil : https://forum.ubuntu-fr.org/viewtopic.p … #p22397430

Dernière modification par malbo (Le 16/01/2021, à 08:38)

Hors ligne

#8 Le 24/12/2020, à 20:06

Vobul

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

@malbo: je ne pense pas que ce soit le grub qui soit en faute ici. Si il reste bloqué sur le logo Asus, c'est que Grub ne charge pas. Je peux me tromper mais c'est ce que je pense. Si grub avait un problème, il te mettrait en mode console d'urgence.


Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM

Hors ligne

#9 Le 29/12/2020, à 01:54

romainguru

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Bonjour,

J'ai finalement mis à jour mon Bios après avoir enfin trouvé comment faire. Je suis passé par une clé USB sous dos...
Ca a totalement résolu le problème!
Depuis le PC démarre et s'éteint normalement à tous les coups.
@Vobul et Malbo : merci beaucoup pour votre aide rapide et efficace. Au passage j'ai appris qu'on pouvait mettre à jour un Bios en plus. smile

J'ai un autre soucis qui s'est déclaré juste deux jours avant que je poste le message pour le problème au démarrage. Je pensais que ça devait probablement être lié au problème du démarrage, mais en fait non. Le Bluetooth passe de on à off tout seul tout le temps. Du coup je ne peux plus rien y connecter. Et que bouton des paramètres bluetooth dans les réglages ubuntu soit sur "on" ou "off" ça n'y change rien. Le bluetooth s'allume et s'éteint tout seul toutes les deux secondes en permanence.
Je n'ai rien trouvé de similaire sur le forum. Faut-il que je poste un message dans une nouvelle discussion?
En y réfléchissant je me dis que oui ne serait-ce que pour la possibilité des autres membres du forum de trouver la solution s'ils rencontrent le même soucis.

En tout cas merci encore pour votre efficacité. Ca me fait encore une raison de plus de préferer ubuntu!
Et joyeuses fêtes de fin d'année!
Romain.

Hors ligne

#10 Le 29/12/2020, à 07:51

Vobul

Re : [Résolu] Problème de démarrage suite à installation de ubuntu 20.04

Super !

Oui poste un nouveau thread pour ton problème de bluetooth (donne bien toutes les infos utiles).


Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM

Hors ligne