#1 Le 11/06/2020, à 20:56
- Drattak
Formattage accidentel de partitions en FAT32
Bonsoir ou bonjour à tous
Je précise d'emblée que je suis un novice merci pour votre compréhension
Alors voila: je voulais formater plusieurs partitions de ma clé usb en fat32, mais voila, sans faire exprès je me suis en fait placé sur sda!
Et la j'ai formaté sans trop regarder les deux premières partitions de mon disque dur... je m'en rends compte mais trop tard, alors je redemarre mon ordi dans la panique - on peut bien le dire j'ai perdu toutes mes couleurs quand je me suis rendu compte de ce que j'avais fait - mais le mal est fait, je tombe sur cette page :
https://h30434.www3.hp.com/t5/image/ser … 1.0&px=999
Alors voila, je lance mon live-ubuntu 20.04 depuis une clé usb, ca marche deja, je suis content je n'ai pas tout fait planter
Je lance Disques pour voir ce que j'ai formaté; ouf ce sont deux partitions assez petites qui sont au début (les deux premières sur la photo): lol et lol1 sur la photo:
Du coup je ne sais meme pas à quoi correspondent ces partitions, et encore moins comment recuperer mes anciennes données...
Je précise que je les ai juste formatées depuis l'utilitaire Disques de mon systeme, pas de gparted.
Grand appel à l'aide, deux jours que mon ordi est inutilisable je ne veux rien toucher de peur d'ecraser mes données.
Est ce que quelqu'un pourrait me donner une solution détaillée pour ne pas faire (plus) de betises et retrouver tout comme c'était avant ?
Merci à vous par avance à tous ceux qui me répondront
et n'hesitez pas à me demander des precisions.
Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images (Des hébergeurs comme Toile Libre ou TDCT'Pix le permettent).
Dernière modification par cqfd93 (Le 11/06/2020, à 21:20)
Hors ligne
#2 Le 11/06/2020, à 21:14
- geole
Re : Formattage accidentel de partitions en FAT32
Bonsoir.
A priori rien de grave, peux-tu faire un boot-info https://doc.ubuntu-fr.org/tutoriel/boot-info On aura alors un conseil.
l'une était certainement la partition de boot EFI et l'autre la partition de boot GRUB
Boot-repair saura remettre en état.
Dernière modification par geole (Le 11/06/2020, à 21:20)
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
En ligne
#3 Le 11/06/2020, à 21:51
- Drattak
Re : Formattage accidentel de partitions en FAT32
Bonsoir et merci pour ta réponse rapide!
Pfiou merci ca me rassure !
voici le résultat du boot infof fait avec boot-repair :
boot-repair-4ppa125 [20200611_2044]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sda2 has 0
sectors.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 19.10
Boot files: /etc/fstab
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.04
Boot sector info: Syslinux looks at sector 32784 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 19.10 on sda6
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,2002,2003
Boot0000* USB Hard Drive (UEFI) - TOSHIBA PciRoot(0x0)/Pci(0x10,0x0)/USB(0,0)/HD(1,MBR,0x27e72a46,0x800,0x1ce7800)RC
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Boot3001* Internal Hard Disk or Solid State Disk RC
Boot3002* Internal Hard Disk or Solid State Disk RC
Boot3003* Internal Hard Disk or Solid State Disk RC
Boot3004* Internal Hard Disk or Solid State Disk RC
c5b36b7340a518552e9c10d18e2b8dd2 sda5/Boot/bootx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda6 : is-os, 64, apt-get, grub-pc , grub1, grub-install, no-grubenv, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda6 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: F207F145-B6D3-4F61-80F4-3275723A3D82
Start End Sectors Size Type
sda1 2048 534527 532480 260M Microsoft basic data
sda2 534528 567295 32768 16M Microsoft basic data
sda4 1921366016 1923373055 2007040 980M Windows recovery environment
sda5 1923373056 1953513471 30140416 14.4G Microsoft basic data
sda6 567296 1921366015 1920798720 915.9G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 14.46 GiB, 15518924800 bytes, 30310400 sectors
Disk identifier: 0x27e72a46
Boot Start End Sectors Size Id Type
sdb1 * 2048 30310399 30308352 14.5G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-60J:;
1:1049kB:274MB:273MB:fat16:EFI system partition:msftdata;
2:274MB:290MB:16.8MB:fat16:Microsoft reserved partition:msftdata;
6:290MB:984GB:983GB:ext4::;
4:984GB:985GB:1028MB:ntfs:Basic data partition:hidden, diag;
5:985GB:1000GB:15.4GB:ntfs:Basic data partition:hidden, msftdata;
sdb:15.5GB:scsi:512:512:msdos:TOSHIBA TransMemory:;
1:1049kB:15.5GB:15.5GB:fat32::boot, lba;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 8F50-C4A6 9a2374ef-f109-415c-b936-dc55b9449246 lol EFI system partition
├─sda2 vfat 90A7-96BA 602ef594-02f6-4538-a935-21878b512910 lol1 Microsoft reserved partition
├─sda4 ntfs C4ECC118ECC10620 385d0fc1-d688-431a-81c3-f5a71d1d23bc Basic data partition
├─sda5 ntfs E42435E92435BEFC ee3248bf-6ff0-4911-bd1f-5d5287c082e1 RECOVERY Basic data partition
└─sda6 ext4 20a11cbf-adce-4b91-9ed9-fa2add7d8510 c2de51f8-564a-4bce-a8e4-cdfd9cad8c92
sdb
└─sdb1 vfat E477-F1F7 27e72a46-01 UBUNTU 20_0
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 259.9M 0% /mnt/boot-sav/sda6/boot/efi
sda4 439.1M 55% /mnt/boot-sav/sda4
sda5 1.7G 88% /mnt/boot-sav/sda5
sda6 635.9G 24% /mnt/boot-sav/sda6
sdb1 11.9G 18% /cdrom
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6 rw,relatime
sdb1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=20a11cbf-adce-4b91-9ed9-fa2add7d8510 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=8F50-C4A6 /boot/efi vfat defaults 0 1
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
444.679573059 = 477.471055872 boot/vmlinuz 1
332.981826782 = 357.536514048 boot/vmlinuz-5.0.0-38-generic 3
441.421760559 = 473.973006336 boot/vmlinuz-5.3.0-53-generic 1
444.679573059 = 477.471055872 boot/vmlinuz-5.3.0-55-generic 1
441.421760559 = 473.973006336 boot/vmlinuz.old 1
332.981826782 = 357.536514048 vmlinuz 3
437.416362762 = 469.672243200 boot/initrd.img 5
437.057815552 = 469.287256064 boot/initrd.img-5.0.0-38-generic 7
444.231441498 = 476.989878272 boot/initrd.img-5.3.0-53-generic 6
437.416362762 = 469.672243200 boot/initrd.img-5.3.0-55-generic 5
444.231441498 = 476.989878272 boot/initrd.img.old 6
437.057815552 = 469.287256064 initrd.img 7
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 Mar 12 16:40 10_linux
-rwxr-xr-x 1 root root 37613 Mar 12 16:40 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Mar 12 16:40 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 17 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 Jul 17 2018 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jul 17 2018 40_custom
-rwxr-xr-x 1 root root 216 Jul 17 2018 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
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda6,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Confirmation request before suggested repair: __________________________________
Warning: continuing without internet would leave your system unbootable. Please connect internet.
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 19.10 entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
Du coup j'ai tout mis! Merci encore
Hors ligne
#4 Le 11/06/2020, à 22:02
- geole
Re : Formattage accidentel de partitions en FAT32
La réparation standard est bonne. Elle va ré-initialiser SDA1.
Mais présence d'une alerte disant que internet ne fonctionne pas bien.
Je ne sais pas dire si c'est vrai.
pendant la réparation tu seras certaînement amené à faire des copier/coller de quelques commandes. https://doc.ubuntu-fr.org/boot-repair
Dernière modification par geole (Le 11/06/2020, à 22:20)
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
En ligne
#5 Le 11/06/2020, à 22:18
- geole
Re : Formattage accidentel de partitions en FAT32
Autre question.
Il me semble que tu n'utilises plus windows... donc SDA2, SDA4 et SDA5 sont à virer.
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
En ligne
#6 Le 12/06/2020, à 19:30
- Drattak
Re : Formattage accidentel de partitions en FAT32
Bonsoir désolé hier soir je suis allé me couché sans avoir vu tes messages.
Du coup j'ai fait la réparation standard de boot-repair mais lorsque je redémarre quand il boot il m'affiche un "Minimal BASH-like line editing is supported...". avec le bash basique de grub2.
Une idée ? Est ce que j'ai loupé quelque chose ?
Oui effectivement plus de Windows je penserais à le supprimer!
Merci encore pour tes réponses!
Hors ligne
#7 Le 12/06/2020, à 20:18
- moko138
Re : Formattage accidentel de partitions en FAT32
Attention à sda4,
SI c'est comme sur les Dell, la partition "diag" n'a rien à voir avec windows, c'est un S.E. minimal qui sert au diagnostic matériel de la machine.
parted -lm
sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-60J:;
(...)
4:984GB:985GB:1028MB:ntfs:Basic data partition:hidden, diag;
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#8 Le 12/06/2020, à 20:30
- geole
Re : Formattage accidentel de partitions en FAT32
Bonsoir.
refais un boot-info.
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
En ligne
#9 Le 12/06/2020, à 21:38
- Drattak
Re : Formattage accidentel de partitions en FAT32
@moko138
Ok mais du coup aucun risque pour sda5 et sda2?
@geole
Voici:
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
/efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sda2 has 0
sectors.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 19.10
Boot files: /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.04
Boot sector info: Syslinux looks at sector 32784 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 19.10 on sda6
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 2001,0001,3001,0000,2002,2003
Boot0000* Linpus lite HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(\EFI\Boot\grubx64.efi)RC
Boot0001* ubuntu HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* USB Hard Drive (UEFI) - TOSHIBA PciRoot(0x0)/Pci(0x10,0x0)/USB(0,0)/HD(1,MBR,0x27e72a46,0x800,0x1ce7800)RC
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Boot3001* Internal Hard Disk or Solid State Disk RC
Boot3002* Internal Hard Disk or Solid State Disk RC
Boot3003* Internal Hard Disk or Solid State Disk RC
Boot3004* Internal Hard Disk or Solid State Disk RC
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/BOOT/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/BOOT/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 sda1/BOOT/fbx64.efi
ea33936950d333c44a7952dd053672d9 sda1/BOOT/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sda1/BOOT/mmx64.efi
ea33936950d333c44a7952dd053672d9 sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/ubuntu/shimx64.efi
c5b36b7340a518552e9c10d18e2b8dd2 sda5/Boot/bootx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda6 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda6 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: F207F145-B6D3-4F61-80F4-3275723A3D82
Start End Sectors Size Type
sda1 2048 534527 532480 260M Microsoft basic data
sda2 534528 567295 32768 16M Microsoft basic data
sda4 1921366016 1923373055 2007040 980M Windows recovery environment
sda5 1923373056 1953513471 30140416 14.4G Microsoft basic data
sda6 567296 1921366015 1920798720 915.9G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 14.46 GiB, 15518924800 bytes, 30310400 sectors
Disk identifier: 0x27e72a46
Boot Start End Sectors Size Id Type
sdb1 * 2048 30310399 30308352 14.5G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-60J:;
1:1049kB:274MB:273MB:fat16:EFI system partition:msftdata;
2:274MB:290MB:16.8MB:fat16:Microsoft reserved partition:msftdata;
6:290MB:984GB:983GB:ext4::;
4:984GB:985GB:1028MB:ntfs:Basic data partition:hidden, diag;
5:985GB:1000GB:15.4GB:ntfs:Basic data partition:hidden, msftdata;
sdb:15.5GB:scsi:512:512:msdos:TOSHIBA TransMemory:;
1:1049kB:15.5GB:15.5GB:fat32::boot, lba;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 8F50-C4A6 9a2374ef-f109-415c-b936-dc55b9449246 lol EFI system partition
├─sda2 vfat 90A7-96BA 602ef594-02f6-4538-a935-21878b512910 lol1 Microsoft reserved partition
├─sda4 ntfs C4ECC118ECC10620 385d0fc1-d688-431a-81c3-f5a71d1d23bc Basic data partition
├─sda5 ntfs E42435E92435BEFC ee3248bf-6ff0-4911-bd1f-5d5287c082e1 RECOVERY Basic data partition
└─sda6 ext4 20a11cbf-adce-4b91-9ed9-fa2add7d8510 c2de51f8-564a-4bce-a8e4-cdfd9cad8c92
sdb
└─sdb1 vfat E477-F1F7 27e72a46-01 UBUNTU 20_0
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 249.2M 4% /mnt/boot-sav/sda1
sda4 439.1M 55% /mnt/boot-sav/sda4
sda5 1.7G 88% /mnt/boot-sav/sda5
sda6 635.3G 24% /mnt/boot-sav/sda6
sdb1 11.9G 18% /cdrom
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6 rw,relatime
sdb1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 20a11cbf-adce-4b91-9ed9-fa2add7d8510 root hd0,gpt6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=20a11cbf-adce-4b91-9ed9-fa2add7d8510 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=8F50-C4A6 /boot/efi vfat defaults 0 1
======================= sda6/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=""
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
4.406135559 = 4.731052032 boot/vmlinuz 2
332.981826782 = 357.536514048 boot/vmlinuz-5.0.0-38-generic 3
441.421760559 = 473.973006336 boot/vmlinuz-5.3.0-53-generic 1
444.679573059 = 477.471055872 boot/vmlinuz-5.3.0-55-generic 1
4.406135559 = 4.731052032 boot/vmlinuz-5.3.0-59-generic 2
444.679573059 = 477.471055872 boot/vmlinuz.old 1
332.981826782 = 357.536514048 vmlinuz 3
4.646839142 = 4.989505536 boot/initrd.img 2
437.057815552 = 469.287256064 boot/initrd.img-5.0.0-38-generic 7
444.231441498 = 476.989878272 boot/initrd.img-5.3.0-53-generic 6
437.416362762 = 469.672243200 boot/initrd.img-5.3.0-55-generic 5
4.646839142 = 4.989505536 boot/initrd.img-5.3.0-59-generic 2
437.416362762 = 469.672243200 boot/initrd.img.old 5
437.057815552 = 469.287256064 initrd.img 7
====================== sdb1/boot/grub/grub.cfg (filtered) ======================
Ubuntu
Ubuntu (
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
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda6,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
S'il vous plaît ne pas oublier de faire le démarrage de votre firmware UEFI sur Ubuntu 19 .10 entrée ( sda1 / efi / **** / **** shim. Efi ( **** seront mis à jour dans le message final ) fichier ) !
Hors ligne
#10 Le 12/06/2020, à 22:05
- geole
Re : Formattage accidentel de partitions en FAT32
On ne voit pas trace du grub de sda6.
Peux-tu refaire la réparation standard et tu posteras son exécution.
Puis tu tentes de rebooter.
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
En ligne
#11 Le 13/06/2020, à 15:12
- Drattak
Re : Formattage accidentel de partitions en FAT32
Voila le pastebin, quand je reboot il se passe la meme chose
merci encore de prendre le temps
boot-repair-4ppa125 [20200613_1359]
============================= Boot Repair Summary ==============================
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
sda6,
using the following options: sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
/boot/efi added in sda6/fstab
rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sda1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
Mount sda1 on /mnt/boot-sav/sda6/boot/efi
No /mnt/boot-sav/sda6/etc/grub.d/ folder. Veuillez indiquer ce message à boot.repair@gmail.com
================= Reinstall the grub-efi-amd64-signed of sda6 ==================
grub-install --version
grub-install (GRUB) 2.04-1ubuntu12.2
efibootmgr -v from chroot before grub install
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 2001,0001,3001,0000,2002,2003
Boot0000* Linpus lite HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(EFIBootgrubx64.efi)RC
Boot0001* ubuntu HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0002* USB Hard Drive (UEFI) - TOSHIBA PciRoot(0x0)/Pci(0x10,0x0)/USB(0,0)/HD(1,MBR,0x27e72a46,0x800,0x1ce7800)RC
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Boot3001* Internal Hard Disk or Solid State Disk RC
Boot3002* Internal Hard Disk or Solid State Disk RC
Boot3003* Internal Hard Disk or Solid State Disk RC
Boot3004* Internal Hard Disk or Solid State Disk RC
uname -r
5.4.0-26-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda6/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v from chroot after grub install
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0001,2001,3001,0000,2002,2003
Boot0000* Linpus lite HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(EFIBootgrubx64.efi)RC
Boot0001* ubuntu HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0002* USB Hard Drive (UEFI) - TOSHIBA PciRoot(0x0)/Pci(0x10,0x0)/USB(0,0)/HD(1,MBR,0x27e72a46,0x800,0x1ce7800)RC
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Boot3001* Internal Hard Disk or Solid State Disk RC
Boot3002* Internal Hard Disk or Solid State Disk RC
Boot3003* Internal Hard Disk or Solid State Disk RC
Boot3004* Internal Hard Disk or Solid State Disk RC
chroot /mnt/boot-sav/sda6 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée Ubuntu 19.10 (fichier sda1/EFI/ubuntu/shimx64.efi) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
/efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sda2 has 0
sectors.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 19.10
Boot files: /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.04
Boot sector info: Syslinux looks at sector 32784 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 19.10 on sda6
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 2001,0001,3001,0000,2002,2003
Boot0000* Linpus lite HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(\EFI\Boot\grubx64.efi)RC
Boot0001* ubuntu HD(1,GPT,9a2374ef-f109-415c-b936-dc55b9449246,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* USB Hard Drive (UEFI) - TOSHIBA PciRoot(0x0)/Pci(0x10,0x0)/USB(0,0)/HD(1,MBR,0x27e72a46,0x800,0x1ce7800)RC
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Boot3001* Internal Hard Disk or Solid State Disk RC
Boot3002* Internal Hard Disk or Solid State Disk RC
Boot3003* Internal Hard Disk or Solid State Disk RC
Boot3004* Internal Hard Disk or Solid State Disk RC
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/BOOT/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/BOOT/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 sda1/BOOT/fbx64.efi
ea33936950d333c44a7952dd053672d9 sda1/BOOT/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sda1/BOOT/mmx64.efi
ea33936950d333c44a7952dd053672d9 sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/ubuntu/shimx64.efi
c5b36b7340a518552e9c10d18e2b8dd2 sda5/Boot/bootx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda6 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda6 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: F207F145-B6D3-4F61-80F4-3275723A3D82
Start End Sectors Size Type
sda1 2048 534527 532480 260M Microsoft basic data
sda2 534528 567295 32768 16M Microsoft basic data
sda4 1921366016 1923373055 2007040 980M Windows recovery environment
sda5 1923373056 1953513471 30140416 14.4G Microsoft basic data
sda6 567296 1921366015 1920798720 915.9G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 14.46 GiB, 15518924800 bytes, 30310400 sectors
Disk identifier: 0x27e72a46
Boot Start End Sectors Size Id Type
sdb1 * 2048 30310399 30308352 14.5G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-60J:;
1:1049kB:274MB:273MB:fat16:EFI system partition:msftdata;
2:274MB:290MB:16.8MB:fat16:Microsoft reserved partition:msftdata;
6:290MB:984GB:983GB:ext4::;
4:984GB:985GB:1028MB:ntfs:Basic data partition:hidden, diag;
5:985GB:1000GB:15.4GB:ntfs:Basic data partition:hidden, msftdata;
sdb:15.5GB:scsi:512:512:msdos:TOSHIBA TransMemory:;
1:1049kB:15.5GB:15.5GB:fat32::boot, lba;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 8F50-C4A6 9a2374ef-f109-415c-b936-dc55b9449246 lol EFI system partition
├─sda2 vfat 90A7-96BA 602ef594-02f6-4538-a935-21878b512910 lol1 Microsoft reserved partition
├─sda4 ntfs C4ECC118ECC10620 385d0fc1-d688-431a-81c3-f5a71d1d23bc Basic data partition
├─sda5 ntfs E42435E92435BEFC ee3248bf-6ff0-4911-bd1f-5d5287c082e1 RECOVERY Basic data partition
└─sda6 ext4 20a11cbf-adce-4b91-9ed9-fa2add7d8510 c2de51f8-564a-4bce-a8e4-cdfd9cad8c92
sdb
└─sdb1 vfat E477-F1F7 27e72a46-01 UBUNTU 20_0
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 249.2M 4% /mnt/boot-sav/sda1
sda4 439.1M 55% /mnt/boot-sav/sda4
sda5 1.7G 88% /mnt/boot-sav/sda5
sda6 635.3G 24% /mnt/boot-sav/sda6
sdb1 11.9G 18% /cdrom
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6 rw,relatime
sdb1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 20a11cbf-adce-4b91-9ed9-fa2add7d8510 root hd0,gpt6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=20a11cbf-adce-4b91-9ed9-fa2add7d8510 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=8F50-C4A6 /boot/efi vfat defaults 0 1
======================= sda6/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=""
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
4,406135559 = 4,731052032 boot/vmlinuz 2
332,981826782 = 357,536514048 boot/vmlinuz-5.0.0-38-generic 3
441,421760559 = 473,973006336 boot/vmlinuz-5.3.0-53-generic 1
444,679573059 = 477,471055872 boot/vmlinuz-5.3.0-55-generic 1
4,406135559 = 4,731052032 boot/vmlinuz-5.3.0-59-generic 2
444,679573059 = 477,471055872 boot/vmlinuz.old 1
332,981826782 = 357,536514048 vmlinuz 3
4,646839142 = 4,989505536 boot/initrd.img 2
437,057815552 = 469,287256064 boot/initrd.img-5.0.0-38-generic 7
444,231441498 = 476,989878272 boot/initrd.img-5.3.0-53-generic 6
437,416362762 = 469,672243200 boot/initrd.img-5.3.0-55-generic 5
4,646839142 = 4,989505536 boot/initrd.img-5.3.0-59-generic 2
437,416362762 = 469,672243200 boot/initrd.img.old 5
437,057815552 = 469,287256064 initrd.img 7
====================== 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
Hors ligne
#12 Le 13/06/2020, à 18:37
- geole
Re : Formattage accidentel de partitions en FAT32
J'ai une idée du problème. La réparation a dit
Generating grub configuration file ...
Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
Syntax errors are detected in generated GRUB config file.
Mais il semble y avoir une contradiction avec la suite
======================= sda6/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=""
Je ne sais pas si cela provient de ce fichier ou si c'est ailleurs. Dans un premier temps, tu vas lister ce fichier de la façon suivante:
1) Lancer la live-usb, choisir essayer avant d'installer. Mettre le clavier en français avec la commande setxkb,qp fr qui s'affichera setxkbmap fr
2) monter la partition
sudo mount /dev/sda6 /mnt
3) lister tout le contenu du fichier
cat -v /mnt/etc/default/grub
S'il y a des caractères parasites tu pourras les enlever et refaire un essai
Si tout est correct, la cause est ailleurs. Mais je ne sais pas où.
Dernière modification par geole (Le 13/06/2020, à 18:55)
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
En ligne
#13 Le 16/06/2020, à 20:52
- Drattak
Re : Formattage accidentel de partitions en FAT32
Bon du coup y a rien, pas de coquille dans default/grub et rien trouvé de concluant après de mon coté...
Enfin de toute facon mon ordi était un peu en fin de vie la j'allais en reprendre un nouveau, je vais juste recup mes données importantes sur un dd externe et les rebalancer dans le nouveau - je serais surement amené à demander des conseils sur le transfert des fichiers d'ici la. Merci quand meme geole !
Hors ligne