#1 Le 06/07/2025, à 12:21
- Alch
Démarrage Ubuntu vieux PC
Bonjour, je n'arrive pas a démarrer sous Ubuntu.
j'ai récup un vieux pc que j'ai un peu rénové, je l'ai entièrement réinitialisé donc il n'y a plus windows (specs : intel pentium G840, 2x8go 1333Mhz, carte mère H61M, SSD M.2 Nvme Lexar 1T).
J'ai installé ubuntu avec une clé bootable, je peux le lancer en mode essai, mais au démarrage le pc ne me propose pas de lancer ubuntu après l'installation.
J'ai modifié dans le BIOS les options de boot pour mettre en legacy only, l'option de boot n°1 est bien le SSD en question (de toute façon il n'y en a qu'un).
Avez vous des idées ?
Merci par avance !
Hors ligne
#2 Le 06/07/2025, à 13:22
- geole
Re : Démarrage Ubuntu vieux PC
Bonjour
Afin de voir comment est ton installation, fais un boot-info et indique l'URL qui sera générée
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 06/07/2025, à 14:05
- Alch
Re : Démarrage Ubuntu vieux PC
Hors ligne
#4 Le 06/07/2025, à 14:35
- xubu1957
Re : Démarrage Ubuntu vieux PC
Bonjour,
Collage du Boot-info, pour les spécialistes :
boot-info-4ppa2081 [20250706_1203]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 and looks at sector
2048 of the same hard drive for core.img. core.img is at this location and
looks for (,gpt2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (hd0,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
---------------------------------------------------------------------------
nvme0n1p1: _____________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /efi/boot/bootx64.efi
/efi/boot/grubx64.efi /efi/boot/mmx64.efi
================================ 1 OS detected =================================
OS#1 (linux): Ubuntu 24.04.2 LTS on nvme0n1p2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: 2nd Generation Core Processor Family Integrated Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.2 LTS, noble, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 4.6.5(4.6) from American Megatrends Inc.
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, hasBIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
nvme0n1p2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
Partitions info (3/3): _________________________________________________________
nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: EEF0C05A-46A7-446A-BA6C-D2B112B6303A
Start End Sectors Size Type
nvme0n1p1 2048 4095 2048 1M BIOS boot
nvme0n1p2 4096 1953521663 1953517568 931.5G Linux filesystem
Disk sda: 7.47 GiB, 8019509248 bytes, 15663104 sectors
Disk identifier: 0x003a6b71
Boot Start End Sectors Size Id Type
sda1 * 2048 15663087 15661040 7.5G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:8020MB:scsi:512:512:msdos:Sony Storage Media:;
1:1049kB:8020MB:8018MB:fat32::boot, lba;
nvme0n1:1000GB:nvme:512:512:gpt:Lexar SSD NM610 PRO 1TB:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:1000GB:1000GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 vfat 947D-F851 003a6b71-01 UBUNTU 24_0
nvme0n1
├─nvme0n1p1 64e20784-df18-4c6d-b51a-ffd6e587c6c3
└─nvme0n1p2 ext4 ea854a3d-638a-42c2-8e10-4daa346a14d0 8347db8b-88e6-4d1a-85f4-c1c9e0714fd2
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p2 860.3G 1% /mnt/boot-sav/nvme0n1p2
/dev/sda1 1.5G 79% /cdrom
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p2 ext4 rw,relatime
/dev/sda1 vfat ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu ea854a3d-638a-42c2-8e10-4daa346a14d0
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during curtin installation
/dev/disk/by-uuid/ea854a3d-638a-42c2-8e10-4daa346a14d0 / ext4 defaults 0 1
/swap.img none swap sw 0 0
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
102.127700806 = 109.658783744 boot/grub/grub.cfg 1
102.129383087 = 109.660590080 boot/grub/i386-pc/core.img 1
100.242801666 = 107.634888704 boot/vmlinuz 1
100.242801666 = 107.634888704 boot/vmlinuz-6.11.0-17-generic 1
100.242801666 = 107.634888704 boot/vmlinuz.old 1
285.626949310 = 306.689601536 boot/initrd.img 2
285.626949310 = 306.689601536 boot/initrd.img-6.11.0-17-generic 2
285.626949310 = 306.689601536 boot/initrd.img.old 2
=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 18133 Sep 11 2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Sep 11 2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Sep 11 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Dec 5 2024 35_fwupd
-rwxr-xr-x 1 root root 214 Sep 11 2024 40_custom
-rwxr-xr-x 1 root root 215 Sep 11 2024 41_custom
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Try or Install Ubuntu
Ubuntu (safe graphics)
Boot from next volume
UEFI Firmware Settings
Test memory
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
nvme0n1p2 into the MBR of nvme0n1.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
Final advice in case of suggested repair: ______________________________________
The boot files of [nvme0n1p2 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot-Repair]. (https://help.ubuntu.com/community/BootPartition)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#5 Le 06/07/2025, à 14:42
- geole
Re : Démarrage Ubuntu vieux PC
J'ai modifié dans le BIOS les options de boot pour mettre en legacy only, l'option de boot n°1 est bien le SSD en question (de toute façon il n'y en a qu'un).
La fabrication de la structure de boot LEGACY est correcte.
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 and looks at sector
2048 of the same hard drive for core.img. core.img is at this location and
looks for (,gpt2)/boot/grub.
Cela devrait booter en légacy
Tente de raconter ce qui se passe où ne se passe pas.
Dernière modification par geole (Le 06/07/2025, à 22:55)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#6 Le 06/07/2025, à 15:08
- Alch
Re : Démarrage Ubuntu vieux PC
Lorsque je démarre sans la clé USB, n'ayant pas windows ou d'aute OS, il me dit "Reboot and select proper boot device" et "Or insert boot média in selected boot device and press a key" (en gros le GRUB n'apparait pas)
Quand il y a la clé il me propose de l'installer et de l'essayer "Try or Install Ubuntu" ou "test memory" ou "Ubuntu Safe graphics" qui était déjà présent avant de l'installer
Hors ligne
#7 Le 06/07/2025, à 16:19
- geole
Re : Démarrage Ubuntu vieux PC
Il faudrait que tu fasses des photos du bios et que tu les postes dans un site de partage
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#8 Le 06/07/2025, à 16:28
- Alch
Re : Démarrage Ubuntu vieux PC
https://postimg.cc/gallery/NL3wL5h
j'ai mis celles-ci qui me semblent les plus importantes, dites moi si il vous en faut d'autres
Hors ligne
#9 Le 06/07/2025, à 22:41
- geole
Re : Démarrage Ubuntu vieux PC
Je ne vois rien qui expliquerait pourquoi cela ne boote pas en légacy.
Il est probable que ton ordinateur soit accroc à windows.
Je propose une nouvelle installation en EFI.
Puis un nouveau boot-info.
Je pourrais alors te proposer d’installer la structure de boot windows
Dernière modification par geole (Le 06/07/2025, à 22:59)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#10 Hier à 09:49
- Alch
Re : Démarrage Ubuntu vieux PC
D'accord très bien, je regarde pour faire une installation en EFI et je reviens vers vous.
Merci
Hors ligne