Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#151 Le 27/06/2021, à 03:13

Pfiouu

Re : boot repair rapport[résolu]

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287

	

boot-repair-4ppa130                                              [20210627_0412]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/refind/refind.conf /efi/BOOT/BKbootx64.efi 
                       /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi 
                       /efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi 
                       /efi/BOOT/mmx64.efi /efi/BOOT/refind_x64.efi 
                       /efi/refind/refind_x64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/BKbootx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/fbx64.efi 
                       /efi/Microsoft/Boot/mmx64.efi 
                       /efi/Microsoft/Boot/refind_x64.efi 
                       /efi/refind/drivers_x64/ext4_x64.efi

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 21.04
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/refind_linux.conf


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

OS#1:   L'OS actuellement utilisé - Ubuntu 21.04 CurrentSession on sda3

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-22-generic root=UUID=34bfb491-dc3d-441d-af9c-3ee288152a44 ro quiet splash


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

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

efibootmgr -v
BootCurrent: 0009
Timeout: 0 seconds
BootOrder: 0000,0009,0001,0002,0004,0005,0006,0007,0008
Boot0000* ubuntu	HD(2,GPT,ad559566-6d4f-4c5c-a7a4-f7786fff4802,0x1000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* USB Floppy/CD	VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* USB Hard Drive	VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0004* ATAPI CD-ROM Drive	VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0005* Unknown Device	BBS(CDROM,,0x0)AMGOAMNOi.......+.h.p. . . . . . .D.V.D.-.R.A.M. .G.H.8.0.N.........................rN.D+..,.\.........AMBO
Boot0006* USB Floppy/CD	VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0007* Hard Drive	BBS(HD,,0x0)AMGOAMNOi.......+.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G.........................rN.D+..,.\.........AMBO
Boot0008* Realtek PXE B07 D00	BBS(Network,,0x0)AMBO
Boot0009* rEFInd Boot Manager	HD(2,GPT,ad559566-6d4f-4c5c-a7a4-f7786fff4802,0x1000,0x100800)/File(\EFI\refind\refind_x64.efi)

6b1b74131fef5ddeb521d339b85eef13   sda2/BOOT/BKbootx64.efi
fc580a1e0f74d5732c398955bdbef157   sda2/BOOT/bkpbootx64.efi
fc580a1e0f74d5732c398955bdbef157   sda2/BOOT/bootx64.efi
70e6762d5a857c9a46b29d4faa537753   sda2/BOOT/fbx64.efi
ce4cbbb3600d4dcd3914f6e97bbc46f1   sda2/BOOT/grubx64.efi
6c5448e8165a27b1b1ea9af6cce7c961   sda2/BOOT/mmx64.efi
498a1f4eee84228e954c467b4c656a0d   sda2/BOOT/refind_x64.efi
2084ae0ea1fcb1690c00c1cba188c40b   sda2/refind/refind_x64.efi
ce4cbbb3600d4dcd3914f6e97bbc46f1   sda2/ubuntu/grubx64.efi
6c5448e8165a27b1b1ea9af6cce7c961   sda2/ubuntu/mmx64.efi
fc580a1e0f74d5732c398955bdbef157   sda2/ubuntu/shimx64.efi
d41d8cd98f00b204e9800998ecf8427e   sda2/Microsoft/Boot/bkbootmgfw.efi
6b1b74131fef5ddeb521d339b85eef13   sda2/Microsoft/Boot/BKbootx64.efi
498a1f4eee84228e954c467b4c656a0d   sda2/Microsoft/Boot/bootmgfw.efi
70e6762d5a857c9a46b29d4faa537753   sda2/Microsoft/Boot/fbx64.efi
6c5448e8165a27b1b1ea9af6cce7c961   sda2/Microsoft/Boot/mmx64.efi
498a1f4eee84228e954c467b4c656a0d   sda2/Microsoft/Boot/refind_x64.efi
2b640ccd1b7b0c8325d3c732ff74c374   sda2/refind/drivers_x64/ext4_x64.efi
498a1f4eee84228e954c467b4c656a0d   sda2/Microsoft/Boot/BOOTX64.efi


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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 575D5B32-C300-4653-BF78-54599EC9FBA5
        Start       End   Sectors   Size Type
sda1     2048      4095      2048     1M BIOS boot
sda2     4096   1054719   1050624   513M EFI System
sda3  1054720 937701375 936646656 446.6G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:480GB:480GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1                                               cc59cc46-fa20-4a77-ac2a-8a4ff08881ca       
├─sda2 vfat     D032-D2BC                            ad559566-6d4f-4c5c-a7a4-f7786fff4802       EFI System Partition
└─sda3 ext4     34bfb491-dc3d-441d-af9c-3ee288152a44 9b49bc7b-3ee6-47c6-994a-f6ce7dbc71bc       

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda2   490.6M   4% /mnt/boot-sav/sda2
sda3   407.8G   2% /

Mount options: __________________________________________________________________

sda2   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda3   rw,relatime,errors=remount-ro

==================== sda2/EFI/refind/refind.conf (filtered) ====================

timeout 20
menuentry Linux {
    icon EFI/refind/icons/os_linux.png
    volume 904404F8-B481-440C-A1E3-11A5A954E601
    loader bzImage-3.3.0-rc7
    initrd initrd-3.3.0.img
    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
    disabled
}
menuentry "Arch Linux" {
    icon     /EFI/refind/icons/os_arch.png
    volume   "Arch Linux"
    loader   /boot/vmlinuz-linux
    initrd   /boot/initramfs-linux.img
    options  "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs" {
        initrd /boot/initramfs-linux-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
    disabled
}
menuentry Ubuntu {
    loader /EFI/ubuntu/grubx64.efi
    icon /EFI/refind/icons/os_linux.png
    disabled
}
menuentry "ELILO" {
    loader \EFI\elilo\elilo.efi
    disabled
}
menuentry "Windows 7" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    disabled
}
menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
    disabled
}
menuentry "My macOS" {
    icon \EFI\refind\icons\os_mac.png
    volume "macOS boot"
    loader \System\Library\CoreServices\boot.efi
    disabled
}
menuentry "Mon Windows 10" {
icon \EFI\refind\icons\os_win.png
loader \EFI\Microsoft\Boot\bkbootmgfw.efi    }

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

search.fs_uuid 34bfb491-dc3d-441d-af9c-3ee288152a44 root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   34bfb491-dc3d-441d-af9c-3ee288152a44
Ubuntu, with Linux 5.11.0-22-generic   34bfb491-dc3d-441d-af9c-3ee288152a44
### END /etc/grub.d/30_os-prober ###
### 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=34bfb491-dc3d-441d-af9c-3ee288152a44 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
/swapfile                                 none            swap    sw              0       0
UUID=D032-D2BC  /boot/efi       vfat    defaults      0       1

======================= 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/boot/refind_linux.conf (filtered) ====================

"Boot with standard options"  "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---"
"Boot to single-user mode"    "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash --- single"
"Boot with minimal options"   "ro root=UUID=34bfb491-dc3d-441d-af9c-3ee288152a44"

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

           GiB - GB             File                                 Fragment(s)
 236,628070831 = 254,077456384  boot/grub/grub.cfg                             1
  13,860404968 = 14,882496512   boot/vmlinuz                                   1
  13,860404968 = 14,882496512   boot/vmlinuz-5.11.0-22-generic                 1
  13,860404968 = 14,882496512   boot/vmlinuz.old                               1
  16,810359955 = 18,049986560   boot/initrd.img                                4
  16,810359955 = 18,049986560   boot/initrd.img-5.11.0-22-generic              4
  16,810359955 = 18,049986560   boot/initrd.img.old                            4

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

-rwxr-xr-x 1 root root 18151 mars  30 12:55 10_linux
-rwxr-xr-x 1 root root 43031 mars  30 12:55 10_linux_zfs
-rwxr-xr-x 1 root root 12894 mars  30 12:55 20_linux_xen
-rwxr-xr-x 1 root root 12059 mars  30 12:55 30_os-prober
-rwxr-xr-x 1 root root  1424 mars  30 12:55 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mars  30 12:55 40_custom
-rwxr-xr-x 1 root root   216 mars  30 12:55 41_custom


========= Devices which don't seem to have a corresponding hard drive ==========

sdb 

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda3,
using the following options:        sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file  restore-efi-backups  

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 21.04 CurrentSession entry (sda2/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Jusqu'au bout j'irai xD

Hors ligne

#152 Le 27/06/2021, à 10:35

geole

Re : boot repair rapport[résolu]

Bonjour

Pfiouu a écrit :

Tu connais l'histoire du gars qui fait sudo apt-get update/upgrade puis un petit boot repair pour rigoler....
......
mais oui, j'ai réussi à démarrer
"Un petit clic pour un grand soulagement"

extraits significatifs du boot-info

================================ 1 OS detected 
OS#1:   L'OS actuellement utilisé - Ubuntu 21.04 CurrentSession on sda3
.....
fibootmgr -v
BootCurrent: 0009
BootOrder: 0000,0009
Boot0000* ubuntu	HD(2,GPT,ad559566-6d4f-4c5c-a7a4-f7786fff4802,0x1000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0009* rEFInd Boot Manager	HD(2,GPT,ad559566-6d4f-4c5c-a7a4-f7786fff4802,0x1000,0x100800)/File(\EFI\refind\refind_x64.efi)
.....
==================== sda3/boot/refind_linux.conf (filtered) ====================
"Boot with standard options"  "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---"
"Boot to single-user mode"    "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash --- single"
"Boot with minimal options"   "ro root=UUID=34bfb491-dc3d-441d-af9c-3ee288152a44"
.....
blkid (filtered): ______________________________________________________________
NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
└─sda3 ext4     34bfb491-dc3d-441d-af9c-3ee288152a44 9b49bc7b-3ee6-47c6-994a-f6ce7dbc
......
==================== sda3: Location of files loaded by Grub ====================
           GiB - GB             File                                 Fragment(s)
  13,860404968 = 14,882496512   boot/vmlinuz                                   1
  13,860404968 = 14,882496512   boot/vmlinuz-5.11.0-22-generic                 1
  13,860404968 = 14,882496512   boot/vmlinuz.old                               1
  16,810359955 = 18,049986560   boot/initrd.img                                4
  16,810359955 = 18,049986560   boot/initrd.img-5.11.0-22-generic              4
  16,810359955 = 18,049986560   boot/initrd.img.old                            4

Je ne comprends pas la présence des ces deux lignes
"Boot with standard options"  "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---"
"Boot to single-user mode"    "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash --- single"

A titre d'exemple

a@a:/boot$ cat refind_linux.conf
"Boot with standard options"  "ro root=UUID=dcdbc6fa-e2ec-453b-b5cd-fe8958ad1cae  "
"Boot to single-user mode"    "ro root=UUID=dcdbc6fa-e2ec-453b-b5cd-fe8958ad1cae single  radeon.dpm=0 pci=biosirq debug loglevel=7 boot_delay=10 nomodeset acpi=off noapic dis_ucode_ldr modprobe.blacklist=nouveau noresume"
"Boot with minimal options"   "ro root=UUID=dcdbc6fa-e2ec-453b-b5cd-fe8958ad1cae radeon.dpm=0"

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#153 Le 27/06/2021, à 11:56

Pfiouu

Re : boot repair rapport[résolu]

Ha ben c'est pas moi qui vais t'aider

Hors ligne

#154 Le 27/06/2021, à 12:13

geole

Re : boot repair rapport[résolu]

Je voulais dire que je ne comprenais pas que le fichier /boot/refind_linux.conf
contiennent ces trois lignes
"Boot with standard options"  "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---"
"Boot to single-user mode"    "file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash --- single"
"Boot with minimal options"   "ro root=UUID=34bfb491-dc3d-441d-af9c-3ee288152a44"

   => Cela donne l'impression qu'il te fait utiliser refind pour booter avec le CDROM.......
        Alors que normalement un CDROM boote tout seul....
Cela serait plus logique d'avoir ces trois lignes

"Boot  standard  "   "ro root=UUID=34bfb491-dc3d-441d-af9c-3ee288152a44  quiet splash"
"Boot avec trace "   "ro root=UUID=34bfb491-dc3d-441d-af9c-3ee288152a44"
"Boot en recovery"   "ro root=UUID=34bfb491-dc3d-441d-af9c-3ee288152a44 recovery nomodeset "

Dernière modification par geole (Le 27/06/2021, à 12:15)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#155 Le 28/06/2021, à 09:51

Pfiouu

Re : boot repair rapport[résolu]

Du coup, je fais quoi à ton avis?
J'ai envie de dire que si ça fonctionne.....Je touche plus haha
Mais si tu as une idée, je prends!

Hors ligne

#156 Le 28/06/2021, à 12:09

geole

Re : boot repair rapport[résolu]

Bonjour

Pfiouu a écrit :

J'ai envie de dire que si ça fonctionne.....Je touche plus haha

Si le démarrage est simple, C'est parfait.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#157 Le 28/06/2021, à 12:53

Pfiouu

Re : boot repair rapport[résolu]

Oui faut que j'automatise ou que je réduise le temps d'attente de sélection

Hors ligne