#1 Le 19/10/2022, à 17:23
- Cruipee_17
Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour à tous
Comme je ne comprends pas trop quel est mon problème, mon titre est un peu chelou et mes explicatins le seront sûrement...
Je suis linuxien only, depuis 20 ans, mais c'est la première fois que je bloque au point de ne même pas être capable de savoir expliquer mon problème et de devoir demander de l'aide (voir être prêt à aller dans une boutique).
Voilà j'ai acheté un pc en juillet (config à la fin du message).
J'ai testé dessus différents OS avant de me décider (Ubuntu, Kubuntu, Mint) pour Zorin OS. Tout a très très bien fonctionné, carte graphique incluse. J'ai fait du montage vidéo, de la burautique, du minecraft (avec des mod 3d) etc...
Début septembre, le drame... plantage, démarrage douloureux, puis plus de démarrage. Je me dis que sans m'en rendre compte j'ai dû toucher à quelque chose... Je re install... sauf que plein de message d'erreur, longueur...Zorin Os passe difficilement (mais quand il est lancé ça va, mais sans contrôle de la carte graphique). Je tente Ubuntu... ça ne se lance pas... en mode safe, ça se lance et j'ai des couleurs chelou et plus rien.... Mint cinnamon ne se lance pas du tout.... Kubunutu se lance en live, l’installation fonctionne, mais au démarrage une fois sur 2 ça ne se lance pas.
J'ai mis à jour le bios pour voir, j'ai viré tout le grub pour recommencer...
Ubuntu studio est passé, j'ai le contrôle de la carte vidéo, je peux changer toute la config, ça ne plante pas une fois lancé. Par contre quand je le lance parfois à l'invit pour me logger il devient noir. Si je tape Ctl Alt F2 ça fonctionne, mais il refuse de me logger, si je fais ensuite Ctl Alt F3 je peux me logger et lancer Startx et tout tourne.... (si je fais F3 en premier ça ne marche pas...).
Je toujours les même message d'erreur au lancement, j'ai trouvé quelques trucs équivalent en anglais mais sans rien comprendre....
Si quelqu'un arrive à comprendre (là j'ai une minte Mate qui tourne plutôt bien ... mais ça n'est pas ce que je veux... et j'ai les message d'erreur.
J'ai fais de mauvaise capture, donc je vous mets un peu de tout en espérant respecter les règles du forum.
Je remercie par avance ceux qui prendront le temps de lire. Si par miralce quelqu'un a une idée je suis preneur.
Ce que je trouve étrange c'est que par exemple là Mint Mate tourne plutôt bien (il a plante si je veux ouvrir directement mes photo de la carte sd par contre..) et que le pc a très bien tournée pendant quelqes semaines.
Bref, merci beaucoup et bonne journée à toutes et tous.
Cruipee (je n'ai pas réussi a re activer mon ancien compte lol). Désolé pour la mise en page...
pour mon boot : http://sprunge.us/azNv7m (il n'y a pas de windows sur sdb contrairement à ce qui est écrit et je n'ai pas eu l'occasion de tester windows).
(https://ibb.co/p0Fv6mk)
(https://ibb.co/2PKS66H)
[quote=Config pc]
Il s'agit d'un tour achetée montée :
Memory-PC Description:
Corps: Aerocool Cylon noir, fenêtres en acrylique, gestion des câbles, filtre anti-poussière intégré éclairage LED RGB
Alimentation: 650 Watts Super alimentation silencieuse avec 120mm ventilateur efficacité très calme et 82%
CPU: AMD Ryzen 5 5500 / 6 x 3,6 GHz / Turbo 6 x 4.20- SixCore - douille AM4 - L3 16 Mo
Refroidir: AMD certifié refroidisseur
carte mère: AMD B450 chipset de marque avec connexion HDMI ou DVI pour un maximum de deux moniteurs
stockage: 32 Go DDR4 RAM 3000 MHz
Carte graphique: Nvidia Geforce GTX 1650 avec 4096 Mo de mémoire et résolution 4K
Son: puce son pour 7.1 à bord de son
disque dur: 512 Go SSD disque d'état solide et un disque dur de 2000 Go supplémentaire à la fois S-ata3 (SATA-600) Marques
lecteur optique: sans disque
réseau: 10/100/1000 puce de réseau MBit bord
Config quand je demande au PC (sous Ubuntu Studio) :
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
Subsystem: ASUSTeK Computer Inc. Renoir/Cezanne Root Complex
Flags: fast devsel
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
Subsystem: ASUSTeK Computer Inc. Renoir/Cezanne IOMMU
Flags: bus master, fast devsel, latency 0, IRQ -2147483648
Capabilities: <access denied>
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Flags: fast devsel, IOMMU group 0
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 26, IOMMU group 1
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000f000-0000ffff [size=4K]
Memory behind bridge: f5000000-f60fffff [size=17M]
Prefetchable memory behind bridge: 00000000e0000000-00000000f20fffff [size=289M]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
DeviceName: Onboard IGD
Flags: fast devsel, IOMMU group 2
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 3
Bus: primary=00, secondary=02, subordinate=08, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: f6600000-f67fffff [size=2M]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Flags: fast devsel, IOMMU group 4
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 28, IOMMU group 5
Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: f6200000-f65fffff [size=4M]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 29, IOMMU group 6
Bus: primary=00, secondary=0a, subordinate=0a, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: f6800000-f68fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller
Flags: 66MHz, medium devsel, IOMMU group 7
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: ASUSTeK Computer Inc. FCH LPC Bridge
Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 7
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
Flags: fast devsel, IOMMU group 8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
Flags: fast devsel, IOMMU group 8
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
Flags: fast devsel, IOMMU group 8
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
Flags: fast devsel, IOMMU group 8
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
Flags: fast devsel, IOMMU group 8
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
Flags: fast devsel, IOMMU group 8
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
Flags: fast devsel, IOMMU group 8
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
Flags: fast devsel, IOMMU group 8
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1650] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 [GeForce GTX 1650]
Flags: bus master, fast devsel, latency 0, IRQ 72, IOMMU group 9
Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at f000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 75, IOMMU group 9
Memory at f6080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1) (prog-if 30 [XHCI])
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB 3.1 Host Controller
Flags: fast devsel, IRQ 42, IOMMU group 9
Memory at f2000000 (64-bit, prefetchable) [size=256K]
Memory at f2040000 (64-bit, prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB Type-C UCSI Controller
Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 9
Memory at f6084000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: nvidia-gpu
Kernel modules: i2c_nvidia_gpu
02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01) (prog-if 30 [XHCI])
Subsystem: ASMedia Technology Inc. 400 Series Chipset USB 3.1 XHCI Controller
Flags: bus master, fast devsel, latency 0, IRQ 32, IOMMU group 10
Memory at f67a0000 (64-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01) (prog-if 01 [AHCI 1.0])
Subsystem: ASMedia Technology Inc. 400 Series Chipset SATA Controller
Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 10
Memory at f6780000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at f6700000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 31, IOMMU group 10
Bus: primary=02, secondary=03, subordinate=08, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: f6600000-f66fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 33, IOMMU group 10
Bus: primary=03, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
03:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 34, IOMMU group 10
Bus: primary=03, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
03:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 10
Bus: primary=03, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
03:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 10
Bus: primary=03, secondary=07, subordinate=07, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
03:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 10
Bus: primary=03, secondary=08, subordinate=08, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: f6600000-f66fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: ASUSTeK Computer Inc. PRIME B450M-A Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 38, IOMMU group 10
I/O ports at e000 [size=256]
Memory at f6604000 (64-bit, non-prefetchable) [size=4K]
Memory at f6600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
09:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c9)
Subsystem: ASUSTeK Computer Inc. Zeppelin/Raven/Raven2 PCIe Dummy Function
Flags: fast devsel, IOMMU group 11
Capabilities: <access denied>
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
Subsystem: ASUSTeK Computer Inc. Renoir Radeon High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 76, IOMMU group 12
Memory at f6508000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
09:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
Subsystem: ASUSTeK Computer Inc. Family 17h (Models 10h-1fh) Platform Security Processor
Flags: bus master, fast devsel, latency 0, IRQ 32, IOMMU group 13
Memory at f6400000 (32-bit, non-prefetchable) [size=1M]
Memory at f650c000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: ccp
Kernel modules: ccp
09:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Renoir/Cezanne USB 3.1
Flags: bus master, fast devsel, latency 0, IRQ 35, IOMMU group 14
Memory at f6300000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
09:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Renoir/Cezanne USB 3.1
Flags: bus master, fast devsel, latency 0, IRQ 30, IOMMU group 15
Memory at f6200000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
09:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
Subsystem: ASUSTeK Computer Inc. PRIME B450M-A Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 77, IOMMU group 16
Memory at f6500000 (32-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
0a:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. FCH SATA Controller [AHCI mode]
Flags: bus master, fast devsel, latency 0, IRQ 45, IOMMU group 17
Memory at f6800000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
[/quote]
Le Boot info sous Ubuntu Studio
boot-info-4ppa200 [20221020_0952]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Windows 7/8/10/11/2012 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: Ubuntu 22.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 21
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on sda2
OS#2: Linux Mint 21 Vanessa (21) on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TU116 [GeForce GTX 1650] from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-50-lowlatency root=UUID=259ac804-6a12-40ce-8172-ff75363b9565 ro threadirqs quiet splash
df -Th / : /dev/sda2 ext4 194G 26G 158G 14% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 3802(5.17) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0008,0009
Boot0008* ubuntu HD(1,GPT,ae147ae3-5685-3944-8660-31caae525f4f,0x1000,0x96000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0009* Hard Drive BBS(HD,,0x0)..GO..NO........u.E.M.T.E.C. .X.1.6.0. .5.1.2.G.B....................A.................................>..Gd-.;.A..MQ..L.1.5.2.1.1.1.1.2.0.5.1.0.0.0.9.2.7.2. . ........BO..NO........u.S.T.2.0.0.0.D.M.0.0.8.-.2.U.B.1.0.2....................A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .K.Z.0.3.3.C.P.0........BO
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 34 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, 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
sda3 : 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
Partitions info (3/3): _________________________________________________________
sdb2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : 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, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 7BBB9491-AC49-3741-8AB4-7515B014C014
Start End Sectors Size Type
sda1 4096 618495 614400 300M EFI System
sda2 618496 414268886 413650391 197.2G Linux filesystem
sda3 414269440 1000214527 585945088 279.4G Linux filesystem
Disk sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 407B57C5-439B-4E61-9EF4-2948D5565D9D
Start End Sectors Size Type
sdb1 34 32767 32734 16M Microsoft reserved
sdb2 32768 1359324976 1359292209 648.2G Microsoft basic data
parted -lm (filtered): _________________________________________________________
sda:512GB:scsi:512:512:gpt:ATA EMTEC X160 512GB:;
1:2097kB:317MB:315MB:fat32::boot, esp;
2:317MB:212GB:212GB:ext4:root:;
3:212GB:512GB:300GB:ext4::;
sdb:2000GB:scsi:512:4096:gpt:ATA ST2000DM008-2UB1:;
1:17.4kB:16.8MB:16.8MB::Microsoft reserved partition:msftres;
2:16.8MB:696GB:696GB:ntfs:Basic data partition:msftdata;
Free space >10MiB: ______________________________________________________________
sdb: 663733MiB:1907729MiB:1243996MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 6B56-38AF ae147ae3-5685-3944-8660-31caae525f4f NO_LABEL
├─sda2 ext4 259ac804-6a12-40ce-8172-ff75363b9565 453ef977-23be-4546-ad7c-102b02ecf0d4 root
└─sda3 ext4 0329af1d-2988-4266-9991-b245056d78b9 8e4396ac-f597-4ab7-8bc2-bcaf242035e1
sdb
├─sdb1 400bcbe0-3364-44dd-a961-9ce6807fe162 Microsoft reserved partition
└─sdb2 ntfs DADC7ED1DC7EA781 80edbb68-888d-445b-8815-8cb91620f5d5 Nouveau nom Basic data partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 157.8G 13% /
/dev/sda2[/usr/share/hunspell] 157.8G 13% /var/snap/firefox/common/host-hunspell
/dev/sda3 230G 11% /media/cruipee/0329af1d-2988-4266-9991-b245056d78b9
/dev/sdb2 625.5G 3% /media/cruipee/Nouveau nom
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime,discard
/dev/sda2[/usr/share/hunspell] ext4 ro,noexec,noatime,discard
/dev/sda3 ext4 rw,nosuid,nodev,relatime,errors=remount-ro
/dev/sdb2 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 0329af1d-2988-4266-9991-b245056d78b9 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu (lowlatency) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-52-lowlatency 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-50-lowlatency 259ac804-6a12-40ce-8172-ff75363b9565
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=6B56-38AF /boot/efi vfat umask=0077 0 2
UUID=259ac804-6a12-40ce-8172-ff75363b9565 / ext4 defaults,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
======================= sda2/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=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
13.170433044 = 14.141644800 boot/grub/grub.cfg 1
175.438510895 = 188.375666688 boot/vmlinuz 1
142.266635895 = 152.757637120 boot/vmlinuz-5.15.0-50-lowlatency 1
175.438510895 = 188.375666688 boot/vmlinuz-5.15.0-52-lowlatency 1
142.266635895 = 152.757637120 boot/vmlinuz.old 1
83.282150269 = 89.423527936 boot/initrd.img 1
95.711837769 = 102.769803264 boot/initrd.img-5.15.0-50-lowlatency 2
83.282150269 = 89.423527936 boot/initrd.img-5.15.0-52-lowlatency 1
95.711837769 = 102.769803264 boot/initrd.img.old 2
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 15845 mars 19 2022 09_lowlatency
-rw-r--r-- 1 root root 18683 avril 15 2022 10_linux
-rwxr-xr-x 1 root root 43031 avril 15 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avril 15 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 avril 15 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 avril 15 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 févr. 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 avril 15 2022 40_custom
-rwxr-xr-x 1 root root 215 avril 15 2022 41_custom
======================== sda2/etc/grub.d/09_lowlatency =========================
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
#
# Ubuntustudio customization that keeps the latest lowlatency kernel
# as the first menu item and default boot even if there is a newer
# generic or other kernel. Often the updated generic kernel is
# released a few days earlier than the lowlatency kernel
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
ubuntu_recovery="1"
quiet_boot="1"
quick_boot="1"
gfxpayload_dynamic="1"
vt_handoff="1"
. "$pkgdatadir/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
# only 09_lowlatency or 10_linux should run, since we got this far
# 10_linux should not run next
if [ -x /etc/grub.d/10_linux ]; then
chmod -x /etc/grub.d/10_linux
fi
CLASS="--class gnu-linux --class gnu --class os"
SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
case ${GRUB_DISTRIBUTOR} in
Ubuntu|Kubuntu)
OS="${GRUB_DISTRIBUTOR}"
;;
*)
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
;;
esac
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
fi
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
/dev/loop/*|/dev/loop[0-9])
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
# We can't cope with devices loop-mounted from files here.
case ${GRUB_DEVICE} in
/dev/*) ;;
*) exit 0 ;;
esac
;;
esac
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
# and mounting btrfs requires user space scanning, so force UUID in this case.
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
|| ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
|| ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
case x"$GRUB_FS" in
xbtrfs)
rootsubvol="`make_system_path_relative_to_its_root /`"
rootsubvol="${rootsubvol#/}"
if [ "x${rootsubvol}" != x ]; then
GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} threadirqs ${GRUB_CMDLINE_LINUX}"
fi;;
xzfs)
rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}"
;;
esac
title_correction_code=
if [ -x /lib/recovery-mode/recovery-menu ]; then
GRUB_CMDLINE_LINUX_RECOVERY=recovery
else
GRUB_CMDLINE_LINUX_RECOVERY=single
fi
if [ "$ubuntu_recovery" = 1 ]; then
GRUB_CMDLINE_LINUX_RECOVERY="$GRUB_CMDLINE_LINUX_RECOVERY nomodeset"
fi
if [ "$vt_handoff" = 1 ]; then
for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
if [ "$word" = splash ]; then
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
fi
done
fi
if [ x"$GRUB_FORCE_PARTUUID" != x ]; then
echo "set partuuid=${GRUB_FORCE_PARTUUID}"
fi
linux_entry ()
{
os="$1"
version="$2"
type="$3"
args="$4"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ x$type != xsimple ] ; then
case $type in
recovery)
title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")" ;;
init-*)
title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "${type#init-}")" ;;
*)
title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
esac
if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
fi
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
else
echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
fi
if [ "$quick_boot" = 1 ]; then
echo " recordfail" | sed "s/^/$submenu_indentation/"
fi
if [ x$type != xrecovery ] ; then
save_default_entry | grub_add_tab
fi
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
echo " load_video" | sed "s/^/$submenu_indentation/"
else
if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
echo " load_video" | sed "s/^/$submenu_indentation/"
fi
fi
if ([ "$ubuntu_recovery" = 0 ] || [ x$type != xrecovery ]) && \
([ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 1 ]); then
echo " gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
fi
echo " insmod gzio" | sed "s/^/$submenu_indentation/"
echo " if [ x\$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi" | sed "s/^/$submenu_indentation/"
if [ x$dirname = x/ ]; then
if [ -z "${prepare_root_cache}" ]; then
prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | grub_add_tab)"
fi
printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/"
else
if [ -z "${prepare_boot_cache}" ]; then
prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
fi
printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
fi
if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
message="$(gettext_printf "Loading Linux %s ..." ${version})"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
EOF
else
# We have initrd and PARTUUID is set - we try to boot without initrd, and fallback to using it
# if it fails.
# "panic=-1" means "on panic reboot immediately". "panic=0" disables the reboot behavior.
if [ x"$GRUB_FORCE_PARTUUID" != x ]; then
linux_root_device_thisversion="PARTUUID=${GRUB_FORCE_PARTUUID}"
fi
message="$(gettext_printf "Loading initial ramdisk ...")"
if test -n "${initrd}" && [ x"$GRUB_FORCE_PARTUUID" != x ]; then
sed "s/^/$submenu_indentation/" << EOF
if [ "\${initrdfail}" = 1 ]; then
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
initrd ${rel_dirname}/${initrd}
else
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} panic=-1
fi
initrdfail
EOF
else
# We don't have initrd or we don't want to set PARTUUID. Don't try initrd-less boot with fallback.
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
if test -n "${initrd}"; then
# We do have initrd - let's use it at boot.
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
initrd ${rel_dirname}/${initrd}
EOF
fi
fi
fi
sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
machine=`uname -m`
case "x$machine" in
xi?86 | xx86_64)
list=
for i in /boot/vmlinuz-*lowlatency /vmlinuz-*lowlatency /boot/kernel-*lowlatency ; do
if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi
done
list2=
for i in /boot/vmlinuz-*generic /vmlinuz-*generic /boot/kernel-*generic ; do
if grub_file_is_not_garbage "$i" ; then list2="$list2 $i" ; fi
done ;;
*)
list=
for i in /boot/vmlinuz-*lowlatency /boot/vmlinux-*lowlatency /vmlinuz-*lowlatency /vmlinux-*lowlatency /boot/kernel-*lowlatency ; do
if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi
done
list2=
for i in /boot/vmlinuz-*generic /boot/vmlinux-*generic /vmlinuz-*generic /vmlinux-*generic /boot/kernel-*generic ; do
if grub_file_is_not_garbage "$i" ; then list2="$list2 $i" ; fi
done ;;
esac
case "$machine" in
i?86) GENKERNEL_ARCH="x86" ;;
mips|mips64) GENKERNEL_ARCH="mips" ;;
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
arm*) GENKERNEL_ARCH="arm" ;;
*) GENKERNEL_ARCH="$machine" ;;
esac
prepare_boot_cache=
prepare_root_cache=
boot_device_id=
title_correction_code=
cat << 'EOF'
function gfxmode {
set gfxpayload="${1}"
EOF
if [ "$vt_handoff" = 1 ]; then
cat << 'EOF'
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
EOF
fi
cat << EOF
}
EOF
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 0 ]; then
echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
else
cat << EOF
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
EOF
fi
cat << EOF
export linux_gfx_mode
EOF
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_top_level=true
is_generic_top=true
if [ "x$list" = "x" ]; then
is_top_level=false
generic_is_default=true
fi
if [ "x$list2" = "x" ]; then
is_generic_top=false
fi
while [ "x$list $list2" != "x" ] ; do
if [ "x$is_generic_top" = xtrue ] && [ "x$is_top_level" != xtrue ]; then
linux=`version_find_latest $list2`
case $linux in
*.efi.signed)
# We handle these in linux_entry.
list2=`echo $list2 | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
continue
;;
esac
else
linux=`version_find_latest $list`
if [ "x$linux" = "x" ]; then
break
fi
case $linux in
*.efi.signed)
# We handle these in linux_entry.
list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
continue
;;
esac
fi
gettext_printf "Found linux image: %s\n" "$linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`
rel_dirname=`make_system_path_relative_to_its_root $dirname`
version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
initrd=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
if test -e "${dirname}/${i}" ; then
initrd="$i"
break
fi
done
config=
for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
if test -e "${i}" ; then
config="${i}"
break
fi
done
initramfs=
if test -n "${config}" ; then
initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
fi
if test -n "${initrd}" ; then
gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
elif test -z "${initramfs}" ; then
# "UUID=" and "ZFS=" magic is parsed by initrd or initramfs. Since there's
# no initrd or builtin initramfs, it can't work here.
linux_root_device_thisversion=${GRUB_DEVICE}
fi
if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
linux_entry "${OS} (lowlatency)" "${version}" simple \
"${GRUB_CMDLINE_LINUX} threadirqs ${GRUB_CMDLINE_LINUX_DEFAULT}"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ "x$is_generic_top" != xtrue ]; then
submenu_indentation="$grub_tab"
# TRANSLATORS: %s is replaced with an OS name
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
fi
is_top_level=false
continue
fi
if [ "x$is_generic_top" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
linux_entry "${OS} (generic)" "${version}" simple \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
submenu_indentation="$grub_tab"
list="$list $list2"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
# TRANSLATORS: %s is replaced with an OS name
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
is_generic_top=false
continue
fi
linux_entry "${OS}" "${version}" advanced \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
for supported_init in ${SUPPORTED_INITS}; do
init_path="${supported_init#*:}"
if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
linux_entry "${OS}" "${version}" "init-${supported_init%%:*}" \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}"
fi
done
if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
linux_entry "${OS}" "${version}" recovery \
"${GRUB_CMDLINE_LINUX_RECOVERY} ${GRUB_CMDLINE_LINUX}"
fi
list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
done
# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
if [ x"$is_top_level" != xtrue ]; then
echo '}'
fi
echo "$title_correction_code"
=========================== sda2/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Linux Mint 21 MATE 0329af1d-2988-4266-9991-b245056d78b9
Linux Mint 21 MATE, with Linux 5.15.0-50-generic 0329af1d-2988-4266-9991-b245056d78b9
Linux Mint 21 MATE, with Linux 5.15.0-48-generic 0329af1d-2988-4266-9991-b245056d78b9
Linux Mint 21 MATE, with Linux 5.15.0-41-generic 0329af1d-2988-4266-9991-b245056d78b9
Ubuntu 22.04.1 LTS (22.04) (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu (lowlatency) (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-50-lowlatency (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-48-lowlatency (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=0329af1d-2988-4266-9991-b245056d78b9 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=6B56-38AF /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda3/etc/default/grub (filtered) =======================
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=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
212.919940948 = 228.621045760 boot/grub/grub.cfg 1
233.432617188 = 250.646364160 boot/vmlinuz 1
325.484371185 = 349.486182400 boot/vmlinuz-5.15.0-41-generic 2
291.448234558 = 312.940158976 boot/vmlinuz-5.15.0-48-generic 1
233.432617188 = 250.646364160 boot/vmlinuz-5.15.0-50-generic 1
291.448234558 = 312.940158976 boot/vmlinuz.old 1
300.289058685 = 322.432921600 boot/initrd.img 2
269.844127655 = 289.742925824 boot/initrd.img-5.15.0-41-generic 1
262.126670837 = 281.456369664 boot/initrd.img-5.15.0-48-generic 1
300.289058685 = 322.432921600 boot/initrd.img-5.15.0-50-generic 2
262.126670837 = 281.456369664 boot/initrd.img.old 1
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 avril 15 2022 10_linux
-rwxr-xr-x 1 root root 43031 avril 15 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avril 15 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 avril 15 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 avril 15 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 févr. 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 avril 15 2022 40_custom
-rwxr-xr-x 1 root root 215 avril 15 2022 41_custom
=========================== sda3/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options: sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Linux Mint 21 Vanessa (21) entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Dernière modification par Cruipee_17 (Le 20/10/2022, à 08:56)
Hors ligne
#2 Le 19/10/2022, à 17:33
- cqfd93
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Modération
Bonjour,
Pour ajouter toi-même les balises code à ton message #1 :
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Aide à demander chez zorin. Déplacement dans « Support non officiel pour les autres systèmes d'exploitation »
− cqfd93 −
Hors ligne
#3 Le 19/10/2022, à 18:35
- inbox
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Salut,
Ton pc a une carte graphique nvidia. Tu utilises le pilote nouveau. Essaye d'installer le pilote propriétaire nvidia avec :
sudo ubuntu-drivers autoinstall
Sous zorin, je ne pas comment ça fonctionne.
A+
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#4 Le 19/10/2022, à 19:33
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour,
Là je n'ai plus Zorin, j'ai Mint et Ubuntu Studio (mon principal os étant Studo je vais vous refaire la manip en me logant dessus, j'avoue ne pas avoir refléchi, j'ai pris de Mint car c'est le plus "stable" pour le moment, mais en postant ici ça n'est pas logique j'avoue)
Je vais faire le modification de texte.
(Sous Ubuntu Studio le driver Nvidia est installé et Ubuntu tout est totalement ininstallable)
EDIT :
Donc de nouveau sous Ubuntu Studio, j'ai tapé l'auto install (effectivement cette fois - je suis à ma 5em installation pour chercher des solutions - je ne l'avais pas activée)
J'obtiens ça en retours
File "/usr/bin/ubuntu-drivers", line 513, in <module>
greet()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/bin/ubuntu-drivers", line 432, in autoinstall
command_install(config)
File "/usr/bin/ubuntu-drivers", line 187, in command_install
UbuntuDrivers.detect.nvidia_desktop_pre_installation_hook(to_install)
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 839, in nvidia_desktop_pre_installation_hook
with_nvidia_kms = version >= 470
UnboundLocalError: local variable 'version' referenced before assignment
Mais même problème au démarage évidemment (avec les mêmes messages d'erreurs.
Encore une fois sous Ubuntu Studio (ou Mint) généralement j'arrive à démarrer, mais je ne peux pas installer Ubuntu (classic) et d'autres OS ... et sous Ubuntu studio je n'ai pas un démarrage garanti.
Dernière modification par Cruipee_17 (Le 19/10/2022, à 19:44)
Hors ligne
#5 Le 19/10/2022, à 19:54
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Re bonjour,
Voici le nouveau Boot-info, cette fois sous Ubuntu (studio)
https://paste.ubuntu.com/p/3zBRWqWDdR/
Comme le lien ne marche pas
boot-info-4ppa200 [20221020_0952]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Windows 7/8/10/11/2012 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: Ubuntu 22.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 21
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on sda2
OS#2: Linux Mint 21 Vanessa (21) on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TU116 [GeForce GTX 1650] from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-50-lowlatency root=UUID=259ac804-6a12-40ce-8172-ff75363b9565 ro threadirqs quiet splash
df -Th / : /dev/sda2 ext4 194G 26G 158G 14% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 3802(5.17) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0008,0009
Boot0008* ubuntu HD(1,GPT,ae147ae3-5685-3944-8660-31caae525f4f,0x1000,0x96000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0009* Hard Drive BBS(HD,,0x0)..GO..NO........u.E.M.T.E.C. .X.1.6.0. .5.1.2.G.B....................A.................................>..Gd-.;.A..MQ..L.1.5.2.1.1.1.1.2.0.5.1.0.0.0.9.2.7.2. . ........BO..NO........u.S.T.2.0.0.0.D.M.0.0.8.-.2.U.B.1.0.2....................A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .K.Z.0.3.3.C.P.0........BO
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 34 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, 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
sda3 : 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
Partitions info (3/3): _________________________________________________________
sdb2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : 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, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 7BBB9491-AC49-3741-8AB4-7515B014C014
Start End Sectors Size Type
sda1 4096 618495 614400 300M EFI System
sda2 618496 414268886 413650391 197.2G Linux filesystem
sda3 414269440 1000214527 585945088 279.4G Linux filesystem
Disk sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 407B57C5-439B-4E61-9EF4-2948D5565D9D
Start End Sectors Size Type
sdb1 34 32767 32734 16M Microsoft reserved
sdb2 32768 1359324976 1359292209 648.2G Microsoft basic data
parted -lm (filtered): _________________________________________________________
sda:512GB:scsi:512:512:gpt:ATA EMTEC X160 512GB:;
1:2097kB:317MB:315MB:fat32::boot, esp;
2:317MB:212GB:212GB:ext4:root:;
3:212GB:512GB:300GB:ext4::;
sdb:2000GB:scsi:512:4096:gpt:ATA ST2000DM008-2UB1:;
1:17.4kB:16.8MB:16.8MB::Microsoft reserved partition:msftres;
2:16.8MB:696GB:696GB:ntfs:Basic data partition:msftdata;
Free space >10MiB: ______________________________________________________________
sdb: 663733MiB:1907729MiB:1243996MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 6B56-38AF ae147ae3-5685-3944-8660-31caae525f4f NO_LABEL
├─sda2 ext4 259ac804-6a12-40ce-8172-ff75363b9565 453ef977-23be-4546-ad7c-102b02ecf0d4 root
└─sda3 ext4 0329af1d-2988-4266-9991-b245056d78b9 8e4396ac-f597-4ab7-8bc2-bcaf242035e1
sdb
├─sdb1 400bcbe0-3364-44dd-a961-9ce6807fe162 Microsoft reserved partition
└─sdb2 ntfs DADC7ED1DC7EA781 80edbb68-888d-445b-8815-8cb91620f5d5 Nouveau nom Basic data partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 157.8G 13% /
/dev/sda2[/usr/share/hunspell] 157.8G 13% /var/snap/firefox/common/host-hunspell
/dev/sda3 230G 11% /media/cruipee/0329af1d-2988-4266-9991-b245056d78b9
/dev/sdb2 625.5G 3% /media/cruipee/Nouveau nom
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime,discard
/dev/sda2[/usr/share/hunspell] ext4 ro,noexec,noatime,discard
/dev/sda3 ext4 rw,nosuid,nodev,relatime,errors=remount-ro
/dev/sdb2 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 0329af1d-2988-4266-9991-b245056d78b9 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu (lowlatency) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-52-lowlatency 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-50-lowlatency 259ac804-6a12-40ce-8172-ff75363b9565
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=6B56-38AF /boot/efi vfat umask=0077 0 2
UUID=259ac804-6a12-40ce-8172-ff75363b9565 / ext4 defaults,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
======================= sda2/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=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
13.170433044 = 14.141644800 boot/grub/grub.cfg 1
175.438510895 = 188.375666688 boot/vmlinuz 1
142.266635895 = 152.757637120 boot/vmlinuz-5.15.0-50-lowlatency 1
175.438510895 = 188.375666688 boot/vmlinuz-5.15.0-52-lowlatency 1
142.266635895 = 152.757637120 boot/vmlinuz.old 1
83.282150269 = 89.423527936 boot/initrd.img 1
95.711837769 = 102.769803264 boot/initrd.img-5.15.0-50-lowlatency 2
83.282150269 = 89.423527936 boot/initrd.img-5.15.0-52-lowlatency 1
95.711837769 = 102.769803264 boot/initrd.img.old 2
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 15845 mars 19 2022 09_lowlatency
-rw-r--r-- 1 root root 18683 avril 15 2022 10_linux
-rwxr-xr-x 1 root root 43031 avril 15 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avril 15 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 avril 15 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 avril 15 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 févr. 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 avril 15 2022 40_custom
-rwxr-xr-x 1 root root 215 avril 15 2022 41_custom
======================== sda2/etc/grub.d/09_lowlatency =========================
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
#
# Ubuntustudio customization that keeps the latest lowlatency kernel
# as the first menu item and default boot even if there is a newer
# generic or other kernel. Often the updated generic kernel is
# released a few days earlier than the lowlatency kernel
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
ubuntu_recovery="1"
quiet_boot="1"
quick_boot="1"
gfxpayload_dynamic="1"
vt_handoff="1"
. "$pkgdatadir/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
# only 09_lowlatency or 10_linux should run, since we got this far
# 10_linux should not run next
if [ -x /etc/grub.d/10_linux ]; then
chmod -x /etc/grub.d/10_linux
fi
CLASS="--class gnu-linux --class gnu --class os"
SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
case ${GRUB_DISTRIBUTOR} in
Ubuntu|Kubuntu)
OS="${GRUB_DISTRIBUTOR}"
;;
*)
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
;;
esac
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
fi
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
/dev/loop/*|/dev/loop[0-9])
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
# We can't cope with devices loop-mounted from files here.
case ${GRUB_DEVICE} in
/dev/*) ;;
*) exit 0 ;;
esac
;;
esac
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
# and mounting btrfs requires user space scanning, so force UUID in this case.
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
|| ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
|| ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
case x"$GRUB_FS" in
xbtrfs)
rootsubvol="`make_system_path_relative_to_its_root /`"
rootsubvol="${rootsubvol#/}"
if [ "x${rootsubvol}" != x ]; then
GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} threadirqs ${GRUB_CMDLINE_LINUX}"
fi;;
xzfs)
rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}"
;;
esac
title_correction_code=
if [ -x /lib/recovery-mode/recovery-menu ]; then
GRUB_CMDLINE_LINUX_RECOVERY=recovery
else
GRUB_CMDLINE_LINUX_RECOVERY=single
fi
if [ "$ubuntu_recovery" = 1 ]; then
GRUB_CMDLINE_LINUX_RECOVERY="$GRUB_CMDLINE_LINUX_RECOVERY nomodeset"
fi
if [ "$vt_handoff" = 1 ]; then
for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
if [ "$word" = splash ]; then
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
fi
done
fi
if [ x"$GRUB_FORCE_PARTUUID" != x ]; then
echo "set partuuid=${GRUB_FORCE_PARTUUID}"
fi
linux_entry ()
{
os="$1"
version="$2"
type="$3"
args="$4"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ x$type != xsimple ] ; then
case $type in
recovery)
title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")" ;;
init-*)
title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "${type#init-}")" ;;
*)
title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
esac
if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
fi
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
else
echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
fi
if [ "$quick_boot" = 1 ]; then
echo " recordfail" | sed "s/^/$submenu_indentation/"
fi
if [ x$type != xrecovery ] ; then
save_default_entry | grub_add_tab
fi
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
echo " load_video" | sed "s/^/$submenu_indentation/"
else
if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
echo " load_video" | sed "s/^/$submenu_indentation/"
fi
fi
if ([ "$ubuntu_recovery" = 0 ] || [ x$type != xrecovery ]) && \
([ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 1 ]); then
echo " gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
fi
echo " insmod gzio" | sed "s/^/$submenu_indentation/"
echo " if [ x\$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi" | sed "s/^/$submenu_indentation/"
if [ x$dirname = x/ ]; then
if [ -z "${prepare_root_cache}" ]; then
prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | grub_add_tab)"
fi
printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/"
else
if [ -z "${prepare_boot_cache}" ]; then
prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
fi
printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
fi
if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
message="$(gettext_printf "Loading Linux %s ..." ${version})"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
EOF
else
# We have initrd and PARTUUID is set - we try to boot without initrd, and fallback to using it
# if it fails.
# "panic=-1" means "on panic reboot immediately". "panic=0" disables the reboot behavior.
if [ x"$GRUB_FORCE_PARTUUID" != x ]; then
linux_root_device_thisversion="PARTUUID=${GRUB_FORCE_PARTUUID}"
fi
message="$(gettext_printf "Loading initial ramdisk ...")"
if test -n "${initrd}" && [ x"$GRUB_FORCE_PARTUUID" != x ]; then
sed "s/^/$submenu_indentation/" << EOF
if [ "\${initrdfail}" = 1 ]; then
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
initrd ${rel_dirname}/${initrd}
else
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} panic=-1
fi
initrdfail
EOF
else
# We don't have initrd or we don't want to set PARTUUID. Don't try initrd-less boot with fallback.
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
if test -n "${initrd}"; then
# We do have initrd - let's use it at boot.
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
initrd ${rel_dirname}/${initrd}
EOF
fi
fi
fi
sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
machine=`uname -m`
case "x$machine" in
xi?86 | xx86_64)
list=
for i in /boot/vmlinuz-*lowlatency /vmlinuz-*lowlatency /boot/kernel-*lowlatency ; do
if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi
done
list2=
for i in /boot/vmlinuz-*generic /vmlinuz-*generic /boot/kernel-*generic ; do
if grub_file_is_not_garbage "$i" ; then list2="$list2 $i" ; fi
done ;;
*)
list=
for i in /boot/vmlinuz-*lowlatency /boot/vmlinux-*lowlatency /vmlinuz-*lowlatency /vmlinux-*lowlatency /boot/kernel-*lowlatency ; do
if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi
done
list2=
for i in /boot/vmlinuz-*generic /boot/vmlinux-*generic /vmlinuz-*generic /vmlinux-*generic /boot/kernel-*generic ; do
if grub_file_is_not_garbage "$i" ; then list2="$list2 $i" ; fi
done ;;
esac
case "$machine" in
i?86) GENKERNEL_ARCH="x86" ;;
mips|mips64) GENKERNEL_ARCH="mips" ;;
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
arm*) GENKERNEL_ARCH="arm" ;;
*) GENKERNEL_ARCH="$machine" ;;
esac
prepare_boot_cache=
prepare_root_cache=
boot_device_id=
title_correction_code=
cat << 'EOF'
function gfxmode {
set gfxpayload="${1}"
EOF
if [ "$vt_handoff" = 1 ]; then
cat << 'EOF'
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
EOF
fi
cat << EOF
}
EOF
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 0 ]; then
echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
else
cat << EOF
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
EOF
fi
cat << EOF
export linux_gfx_mode
EOF
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_top_level=true
is_generic_top=true
if [ "x$list" = "x" ]; then
is_top_level=false
generic_is_default=true
fi
if [ "x$list2" = "x" ]; then
is_generic_top=false
fi
while [ "x$list $list2" != "x" ] ; do
if [ "x$is_generic_top" = xtrue ] && [ "x$is_top_level" != xtrue ]; then
linux=`version_find_latest $list2`
case $linux in
*.efi.signed)
# We handle these in linux_entry.
list2=`echo $list2 | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
continue
;;
esac
else
linux=`version_find_latest $list`
if [ "x$linux" = "x" ]; then
break
fi
case $linux in
*.efi.signed)
# We handle these in linux_entry.
list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
continue
;;
esac
fi
gettext_printf "Found linux image: %s\n" "$linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`
rel_dirname=`make_system_path_relative_to_its_root $dirname`
version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
initrd=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
if test -e "${dirname}/${i}" ; then
initrd="$i"
break
fi
done
config=
for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
if test -e "${i}" ; then
config="${i}"
break
fi
done
initramfs=
if test -n "${config}" ; then
initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
fi
if test -n "${initrd}" ; then
gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
elif test -z "${initramfs}" ; then
# "UUID=" and "ZFS=" magic is parsed by initrd or initramfs. Since there's
# no initrd or builtin initramfs, it can't work here.
linux_root_device_thisversion=${GRUB_DEVICE}
fi
if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
linux_entry "${OS} (lowlatency)" "${version}" simple \
"${GRUB_CMDLINE_LINUX} threadirqs ${GRUB_CMDLINE_LINUX_DEFAULT}"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ "x$is_generic_top" != xtrue ]; then
submenu_indentation="$grub_tab"
# TRANSLATORS: %s is replaced with an OS name
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
fi
is_top_level=false
continue
fi
if [ "x$is_generic_top" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
linux_entry "${OS} (generic)" "${version}" simple \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
submenu_indentation="$grub_tab"
list="$list $list2"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
# TRANSLATORS: %s is replaced with an OS name
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
is_generic_top=false
continue
fi
linux_entry "${OS}" "${version}" advanced \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
for supported_init in ${SUPPORTED_INITS}; do
init_path="${supported_init#*:}"
if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
linux_entry "${OS}" "${version}" "init-${supported_init%%:*}" \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}"
fi
done
if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
linux_entry "${OS}" "${version}" recovery \
"${GRUB_CMDLINE_LINUX_RECOVERY} ${GRUB_CMDLINE_LINUX}"
fi
list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
done
# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
if [ x"$is_top_level" != xtrue ]; then
echo '}'
fi
echo "$title_correction_code"
=========================== sda2/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Linux Mint 21 MATE 0329af1d-2988-4266-9991-b245056d78b9
Linux Mint 21 MATE, with Linux 5.15.0-50-generic 0329af1d-2988-4266-9991-b245056d78b9
Linux Mint 21 MATE, with Linux 5.15.0-48-generic 0329af1d-2988-4266-9991-b245056d78b9
Linux Mint 21 MATE, with Linux 5.15.0-41-generic 0329af1d-2988-4266-9991-b245056d78b9
Ubuntu 22.04.1 LTS (22.04) (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu (lowlatency) (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-50-lowlatency (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
Ubuntu, with Linux 5.15.0-48-lowlatency (on sda2) 259ac804-6a12-40ce-8172-ff75363b9565
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=0329af1d-2988-4266-9991-b245056d78b9 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=6B56-38AF /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda3/etc/default/grub (filtered) =======================
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=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
212.919940948 = 228.621045760 boot/grub/grub.cfg 1
233.432617188 = 250.646364160 boot/vmlinuz 1
325.484371185 = 349.486182400 boot/vmlinuz-5.15.0-41-generic 2
291.448234558 = 312.940158976 boot/vmlinuz-5.15.0-48-generic 1
233.432617188 = 250.646364160 boot/vmlinuz-5.15.0-50-generic 1
291.448234558 = 312.940158976 boot/vmlinuz.old 1
300.289058685 = 322.432921600 boot/initrd.img 2
269.844127655 = 289.742925824 boot/initrd.img-5.15.0-41-generic 1
262.126670837 = 281.456369664 boot/initrd.img-5.15.0-48-generic 1
300.289058685 = 322.432921600 boot/initrd.img-5.15.0-50-generic 2
262.126670837 = 281.456369664 boot/initrd.img.old 1
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 avril 15 2022 10_linux
-rwxr-xr-x 1 root root 43031 avril 15 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avril 15 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 avril 15 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 avril 15 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 févr. 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 avril 15 2022 40_custom
-rwxr-xr-x 1 root root 215 avril 15 2022 41_custom
=========================== sda3/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options: sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Linux Mint 21 Vanessa (21) entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
(cette fois il a corrigé plusieurs trucs avant de faire son rapport avec boot repair, mais ça n'a rien changé).
Encore merci en tout cas.
Cruipee
EDIT : je vois en copiant collant une proposition de réparation que je n'ai pas testée, je vais la faire et je reviens vous dire ; cela dit j'ai absolument tout tout supprimé du disque au moins une fois pour tester et fait le "efi"à zéro...)
RE EDIT : j'ai fait ce que recommande Boot repair... ça n'a rien changé j'ai l'impression...
Comme j'ai eu à nouveau le bug au moment du log (qui quitte le mode graphique) je vous mets le message d'erreur après m'être logué en ligne de commande (après avoir fait alt ctl F3) , après le loggin par contre je peux sans problème lancer startx
Dernière modification par Cruipee_17 (Le 20/10/2022, à 09:24)
Hors ligne
#6 Le 20/10/2022, à 08:27
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour,
Désolé pour le petit flood (qui pourra être supprimé) maintenant que j'ai réparer mon erreur et bien loggé à partir d'une distrib Ubuntu (même si c'est Studio) et vu que l'objectif et d'installer Kubuntu quand ça sera réparé, peut-être qu'il serait judicieux de remettre ce message dans une rubrique plus aproprié (même si je m'étais trompé au départ avec un log à partir de Mint).
Désolé si je dis une bêtise et merci beaucoup.
Bonne journée.
Cruipee
Hors ligne
#7 Le 20/10/2022, à 19:42
- inbox
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Au vu de l'erreur lors de l'installation du pilote propriétaire Nvidia, et vu que ton installation est neuve, je pense que ta carte graphique a un problème.
Soit la carte elle même a un défaut, soit elle est mal enfichée.
Pour vérifier cette dernière possibilité, PC éteint et alimentation débranchée, enlève et remet précautionneusement ta carte graphique. Ensuite, réessaye d'installer le pilote propriétaire avec :
sudo ubuntu-drivers autoinstall
Par contre, il faut que tu colles de prompt à prompt pour être certain d'avoir la commande et son résultat entier.
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#8 Le 21/10/2022, à 21:28
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour,
Plusieurs distrib ont bien fonctionnées pendant quelques semaines, avant que d'un coup ça lache...
et ce qui me surprend le plus c'est que ça coince durant les démarrage (ou l'install de certaines distrib') mais une fois lancée, ça tourne sans aucun problème.
Je vais tenter ça demain matin, débrancher, remettre la carte graphique et refaire la ligne de commande pour mettre le driver propriétaire.
Je me demandais si mettre acpi sur off "no acpi" ça aurait un interêt dans mon cas de figure si ça ne mache pas ? (ça n'a peut être aucun sens, car je ne suis pas certain de l'intérêt dans le cadre d'un pc fixe).
EDIT :
Finalement je viens de faire le débranchage à l'instant
j'ai fait la ligne de commande, j'ai la même chose en retour :
Traceback (most recent call last):
File "/usr/bin/ubuntu-drivers", line 513, in <module>
greet()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/bin/ubuntu-drivers", line 432, in autoinstall
command_install(config)
File "/usr/bin/ubuntu-drivers", line 187, in command_install
UbuntuDrivers.detect.nvidia_desktop_pre_installation_hook(to_install)
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 839, in nvidia_desktop_pre_installation_hook
with_nvidia_kms = version >= 470
UnboundLocalError: local variable 'version' referenced before assignment
Dernière modification par Cruipee_17 (Le 21/10/2022, à 21:53)
Hors ligne
#9 Le 22/10/2022, à 06:54
- iznobe
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour , juste pour voir , installe sur une partition de l' autre disque .
NOTE + DETAIL : pas important pour le soucis actuel , mais a y etre je le dis : des partitions au format NTFS sans windows , c' est pas bien . irreparable en cas de soucis .*
le fait que ca a fonctionné quelques semaines sans soucis , et que maintenant c' est la cata , me porte a croire qu ' un materiel a lacher . A mon avis le disque dur , pour ca que j ' ai demandé d' installer sur l' autre disque .
Il faut aussi que tu verifies la memoire avec memtest86 ( recherche sur le forum ) .
tu peux aussi donner le rapport smart du disque :
sudo apt-get install --no-install-recommends smartmontools
sudo smartctl -s on -a /dev/sda
On voit aussi clairement comme d ' autres l' ont deja dis que tu utilises le pilote nouveau a la place du pilote nvidia . mais pour le moment pas moyen d' installer le nvidia ce qui empeche probablement l' affichage correct .
As tu essayé de changer de session graphique pour voir ce que ca dis ?
Deonnexion , puis roue crantée et changer de XORG a wayland ou l' inverse le cas echeant .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#10 Le 22/10/2022, à 07:25
- FrancisFDZ
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour
@iznobe : il me semble que nvidia (proprio) supporte mal wayland, mais je ne suis peut-être pas à jour
-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]
Hors ligne
#11 Le 22/10/2022, à 14:00
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Je regarde pour faire une partition sur le disque, mais vu que le session live aussi ont parfois un souci (Ubuntu, je ne peux même pas lancer une live - je vais tenter avec la toute nouvelle version pour voir ce qui se passe), je ne pense pas que ça soit le disque le problème. Mais je vais tenter (ça ne coûte rien de toute façon)
Retour pour smart
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-52-lowlatency] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: EMTEC X160 512GB
Serial Number: 511211215001002927
Firmware Version: SBFM61.5
User Capacity: 512110190592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sat Oct 22 14:54:58 2022 CEST
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
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: (65535) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 30) minutes.
Conveyance self-test routine
recommended polling time: ( 6) minutes.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 629
12 Power_Cycle_Count 0x0012 100 100 000 Old_age Always - 156
168 Unknown_Attribute 0x0012 100 100 000 Old_age Always - 0
170 Unknown_Attribute 0x0003 100 100 000 Pre-fail Always - 258
173 Unknown_Attribute 0x0012 100 100 000 Old_age Always - 131076
192 Power-Off_Retract_Count 0x0012 100 100 000 Old_age Always - 31
194 Temperature_Celsius 0x0023 067 067 000 Pre-fail Always - 33 (Min/Max 33/33)
218 Unknown_Attribute 0x000b 100 100 050 Pre-fail Always - 0
231 Unknown_SSD_Attribute 0x0013 100 100 000 Pre-fail Always - 99
241 Total_LBAs_Written 0x0012 100 100 000 Old_age Always - 1028
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 0
Note: revision number not 1 implies that no selective self-test has ever been run
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.
Je me déco pour nmtest et changement de session graphique pour voir (il me semble, depuis mes problème, avoir sur Mint par exemple réussi à installer pilote Nvidio 470 de mémoire)
Et merci beaucoup pour le temps consacré à mon problème !
Dernière modification par Cruipee_17 (Le 22/10/2022, à 14:00)
Hors ligne
#12 Le 22/10/2022, à 14:31
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Je viens de me rendre compte que je n'avais pas la petite roue cranté dans le menu pour se loguer de Ubuntu Studio.
Je viens de vérifier sur Mint actuellement le pilote est : nvidia-driver-515-open (recommandé) ; version 515.76-Oubuntu0.22.04.1 (Nvidia driver (open kernel) metapackage).
Je vais tenter l'installe de la 22.10 sur l'autre disque, mais version LTS en Ubuntu n'avait même pas réussi à se lancer en live la dernière fois (et le problème était comme vous le mentionnez graphique).
Edit
Je n'ai pas trouvé memtest86 au démarrage... je viens de voir que c'est plus complexe qu'avant lol... je vais m'occuper de ça après du coup...
Edit 2 :
Il y a une carte graphique intégrée à la carte mère, si je branche l'écran dessus ça ne fonctionne pas, mais j'imagine que si je retire la carte graphique elle prendra le relais ça validera de manière définitive si le problème vient de la carte graphique ? J'imagine ?
Dernière modification par Cruipee_17 (Le 22/10/2022, à 14:37)
Hors ligne
#13 Le 22/10/2022, à 17:07
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Re bonjour,
Petit retour :
Memtest86+ : aucune erreur détectée.
L'installe (du coup de Ubuntu 22.10) sur mon autre disque a échouée. Le démarrage du live à fonctionné, l'installation semble avoir fonctionné mais quand je lance les même message d'erreur mais en plus "Error Nvidia persistenced daemon"
ça mouline, ça mouline et l'écran se coupe, mais l'ordi fait encore du bruit.
Je pense que vous avez raison pour le problème de carte graphique...
Je vais la débrancher à nouveau et voir si ça "active" celle intégrée à la carte mère...
Merci pour tout en tout cas.
Hors ligne
#14 Le 22/10/2022, à 17:22
- inbox
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Concernant l'edit 2, la réponse est oui.
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#15 Le 22/10/2022, à 17:58
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Re bonjour,
J'ai redébranché la carte graphique, branché l'écran sur un prise vga intégrée à la carte mère, ça ne semble absolument pas pris en charge...
Hors ligne
#16 Le 22/10/2022, à 18:21
- iznobe
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
verifie dans le BIOS que l ' IGP est bien activée ( generalement dans l' onglet peripherals ) : en francais la carte graphique integrée dans l' onglet peripherique en general .
pour etre syr que tu disposes bien d' une IGP :
sudo lshw -c display
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#17 Le 22/10/2022, à 21:31
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
ça donne ça
*-display
description: VGA compatible controller
product: TU116 [GeForce GTX 1650]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nouveau latency=0 resolution=1920,1080
resources: irq:72 memory:f5000000-f5ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:f000(size=128) memory:c0000-dffff
Par contre, et là j'imagine que ça confirme ton hypothèse de la carte graphique, je viens d'installer une vielle carte graphique, qui était dans un vieux pc de ma compagne dans le garage, tout à démarrer sans aucun message d'erreur. Même la parittion Ubuntu qui n'a jamais rien voulu savoir. Par contre au bout de quelques minutes ça bug de partout (mais ça je pense que c'est l'age et l'état de la vieille carte graphique).
Là j'ai remis ma Nvidia, car une fois lancé Mint ou Ubuntu studio je peux faire ce que je veux (j'ai essayé le minecraft des petits qui est modé avec plein d'options graphiques et tout passe.... C'est ça que je ne pige pas, je ne peux pas lancer Ubuntu par exemple, le lancement de Ubuntu studio bug une fois sur 3, mais une fois lancé, je fais vraiment tout ce que je veux...
En tout cas merci pour l'aide, mais j'imagine qu'on ne pourra pas aller plus loin ?
Hors ligne
#18 Le 22/10/2022, à 21:42
- iznobe
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
a priori tu n' as a pas de carte graphique integrée au processeur .
Mais ca vaut peut etre la peine de de verifier dans le BIOS q u' elle ne soit pas desactivée , si toute fois il y en a une .
si les symptomes disparraissent avec le changement de carte , c ' est qu' effectivement la carte parai etre en cause .
Pour l' ancienne carte il se peut que le ventilateur ne tourne plus et qu ' au bout d' un certain temps elle surchauffe , mais c ' est un autre soucis .
As tu tenté d' installer le pilote adequate pour voir si ca ameliore la situation apres le redemarrage sur ubuntu ? tu peux forcer l' installation du pilote , meme si la carte n' est pas presente par exemple , en installant le paquet du pilote manuellement , eteindre l' ordi , remettre la carte nvidia , relancer pour voir .
Dernière modification par iznobe (Le 22/10/2022, à 21:46)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#19 Le 22/10/2022, à 22:05
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
J'avais tenté avec Kubuntu d'installer moi même le pilot fourni par Nvidia.
J'avais exactement les mêmes problème de démarrage...
Je retente pour vous montrer ce que ça donne.
Hors ligne
#20 Le 22/10/2022, à 22:14
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Cette fois ça n'est pas passé
The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the
NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and
your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel
driver.
Hors ligne
#21 Le 22/10/2022, à 22:30
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Quand je bascule "alt ctl F3" quand ça a un bugué avec l'autre carte graphique, en me loggant (avant de taper startx) je n'ai rien eu de spécial, là j'ai
gr init failed -16
Quand je tape ce message d'erreur je vois plein de truc en anglais que je ne comprends malheureusement pas ...
De plus la partition avec Mint où j'ai installe pilote propriétaire Nvidia bug à son tour et ne démarre pas.
Sur le site de Nvidia en cherchant de la doc, j'ai vu tout un paragraphe (aussi en anglais donc pas forcement bien compris) qui parle d'une clé Nvidia qu'il faut entrer quelque part pour le premier démarrage, ça vous dit quelque chose où j'e n'ai rien compris ?
Hors ligne
#22 Le 23/10/2022, à 04:28
- iznobe
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour , on peut verifier le processeur :
sudo lshw -c cpu
il se peut que la prise en charge de la carte graphique integrée au processeur soit la cause du soucis .
certains ont eu un soucis similaire , leur solution a été de changer de noyau ou de version d' ubuntu .
Si c ' est bien l' IGPu qui pose probleme , une solution serait peut etre de justement la desactivée dans le BIOS .
tu n' as toujours pas dis si effectivement tu avais la possibilité d' activer / desactiver l' IGPu dans le BIOS , en fait c ' est toujours possible . il faut juste trouver ou est ce que c' est .
Peux tu aussi fournir :
echo BIOS:;sudo dmidecode -t bios | grep -e Version -e Revision;echo carte mere:;sudo dmidecode -t baseboard | grep -e Version -e Revision -e Product -e Manufacturer
Dernière modification par iznobe (Le 23/10/2022, à 04:34)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#23 Le 23/10/2022, à 14:17
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
Bonjour
J'ai passé un long, très long moment sur le bios, sans trouver cette option...
J'ai envoyé un message au monteur du pc (à tout hasard), mais c'est en Allemagne...
Cpu
*-cpu
description: CPU
product: AMD Ryzen 5 5500
vendor: Advanced Micro Devices [AMD]
physical id: 2d
bus info: cpu@0
version: 25.80.0
serial: Unknown
slot: AM4
size: 2296MHz
capacity: 4267MHz
width: 64 bits
clock: 100MHz
capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm cpufreq
configuration: cores=6 enabledcores=6 microcode=173015053 threads=12
echo BIOS:;sudo dmidecode -t bios | grep -e Version -e Revision;echo carte mere:;sudo dmidecode -t baseboard | grep -e Version -e Revision -e Product -e Manufacturer
BIOS:
Version: 3802
BIOS Revision: 5.17
carte mere:
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: PRIME B450M-K II
Version: Rev X.0x
Le bios est dans sa version la plus récente (j'ai mis à jour après le début de mes problèmes).
Hors ligne
#24 Le 23/10/2022, à 16:48
- iznobe
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
ok merci pour l' info sur la MAJ du BIOS , ca m' evitera de chercher .
On voit encore une fois que ton processeur ne comporte pas de IGPU .
Tu n' aurais pas moyen d' emprunter une carte graphique que tu sais valide pour tester pendant une petite heure ?
il ya degrandes chances que ce soit elle la fautive , mais tu serais certains et pourrait mettre en avant le probleme en face du " monteur du pc " , meme en allemagne il y a une garantie non ?
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#25 Le 23/10/2022, à 17:25
- Cruipee_17
Re : Erreur 110 (ubuntu Studio ; ubuntu classic impossible a installer)
J'imagine qu'il y a une garantie, mais il va jouer sur le fait que je ne sois pas sous windows...
il faudrait que j'essaie d'installer un windows pour voir aussi.
Mais vraiment, encore une fois, ce qui me suprend c'est qu'une fois lancé (quand un os est installable) ça tourne...
Hors ligne