Alors effectivement, forcer avec Gparted de créer une partition MBR change quelque chose ! Ca ne fonctionne pas pour autant mais on avance.
Je vais essayer de récapituler avec ce post où j'en suis pour éviter qu'on s'éparpille (notamment les 50 boot-info que j'ai partagé -désolé...-).
Machine cible :
Asus avec Intel Pentinium T4400 4GO RAM
Fonctionne avec HDD 500GO Windows 7
>>> BIOS ONLY
Impossible d'installer n'importe quel OS depuis cette machine sur le SSD neuf
Machine hôte :
Lenovo Thinkpad
>>> UEFI/BIOS
Tout fonctionne bien depuis celle là, quelque soit la façon dont s'installe Ubuntu
Disque d'installation :
SSD Crucial BX500 240Go vérifié avec CrystalDiskInfo
Où j'en suis actuellement :
Depuis l'hôte en Live USB avec Gparted, création d'une table MBR avec une seule partition '/' dessus, puis installation d'Ubuntu dessus
Fin de l'installation >>> je n'ai bien qu'une seule partition !
Note : l'ordinateur hôte est en "Legacy only" / "CSM Support yes" dans l'UEFI
Quand je lance le pc cible avec le SSD et Ubuntu fraichement installé (vous m'excuserez par avance des photos, mais là pas le choix) :
- Ça démarre avec ceci (qui n'apparait pas ensuite)
- Puis quelque chose d'inquiétant, notamment la mention "ATA bus error" qui m'inquiète un peu...
- Et pour finir, je tombe sur l'interface de lancement Ubuntu (roue qui tourne), puis ça écrit pour en arriver là
- Au second lancement, j'ai accès au Grub (on me propose Ubuntu, Option supplémentaire, Test memoire...) et à la fin du moulinage, bizarrement je n'ai que ça :
EDIT : Voilà le boot-info du PC cible depuis un Live USB
Il semble moins hasardeux que tout ce que j'ai pu faire précédemment... Est-ce qu'on tient le bon bout ? Je ne sais pas... Je ne fais pas de repair pour l'instant, j'attends vos avis sur la question. En tout cas, je trouve étrange que Boot-Info ne soit pas si alarmé que ça tandis que je n'arrive pas à démarrer sur le disque...
Le lien ici
http://paste.ubuntu.com/p/tJXC2YFNwb/
boot-repair-4ppa125 [20200926_1959]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.04
Boot sector info: Syslinux looks at sector 32776 of /dev/sdb1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg
/efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys
================================ 1 OS detected =================================
OS#1: Ubuntu 20.04.1 LTS on sda1
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ng, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0x06323efc
Boot Start End Sectors Size Id Type
sda1 * 2048 468860927 468858880 223.6G 83 Linux
Disk sdb: 7.22 GiB, 7746879488 bytes, 15130624 sectors
Disk identifier: 0x0020afa0
Boot Start End Sectors Size Id Type
sdb1 * 2048 15130623 15128576 7.2G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:240GB:scsi:512:512:msdos:ATA CT240BX500SSD1:;
1:1049kB:240GB:240GB:ext4::boot;
sdb:7747MB:scsi:512:512:msdos:Philips USB Flash Drive:;
1:1049kB:7747MB:7746MB:fat32::boot, lba;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 c1ac9cd9-957d-452d-b93e-9a37394c9470 06323efc-01
sdb
└─sdb1 vfat 74F4-2B84 0020afa0-01 UBUNTU 20_0
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 201.3G 3% /mnt/boot-sav/sda1
sdb1 4.6G 36% /cdrom
Mount options: __________________________________________________________________
sda1 ro,relatime
sdb1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu c1ac9cd9-957d-452d-b93e-9a37394c9470
Ubuntu, avec Linux 5.4.0-42-generic c1ac9cd9-957d-452d-b93e-9a37394c9470
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=c1ac9cd9-957d-452d-b93e-9a37394c9470 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
======================= sda1/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=""
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
152,248981476 = 163,476099072 boot/grub/grub.cfg 2
148,136150360 = 159,059980288 boot/grub/i386-pc/core.img 1
5,547847748 = 5,956956160 boot/vmlinuz 2
5,547847748 = 5,956956160 boot/vmlinuz-5.4.0-42-generic 2
5,826786041 = 6,256463872 boot/initrd.img 4
5,826786041 = 6,256463872 boot/initrd.img-5.4.0-42-generic 4
5,826786041 = 6,256463872 boot/initrd.img.old 4
===================== sda1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 juil. 31 00:34 10_linux
-rwxr-xr-x 1 root root 42128 juil. 31 00:34 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 00:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 00:34 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 00:34 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 00:34 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 00:34 41_custom
====================== sdb1/boot/grub/grub.cfg (filtered) ======================
Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
========================= sdb1/syslinux.cfg (filtered) =========================
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================== sdb1: Location of files loaded by Syslinux ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
?? = ?? ldlinux.sys 1
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[120750]) leaked on lvs invocation. Parent PID 7862: /bin/bash
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to reset grubenv) and reinstall the grub2 of
sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
P.S. Oui, le BIOS du PC cible détecte bien le SSD et je lui dis bien de booter dessus