GNU/Linux >> Linux Esercitazione >  >> Linux

Come creare un Memtest86+ avviabile su un'unità flash USB?

Salta Memtest86+! Vai su Memtest86! Correre! Fatto!

Ho fatto quello che mi è stato chiesto, e secondo il sito web degli autori. Ma non ha funzionato comunque. Quindi quello che ho fatto è usare un altro programma Memtest 86. La linea Memtest86 originale, ora disponibile nella versione 5 (nuova licenza software gratuita) e di proprietà di PassMark. È stato un gioco da ragazzi usarlo e rendere avviabile l'UFD. È semplice come l'ABC.

  1. Vai su Memtest86.com.
  2. Fai clic sul collegamento "Immagine per la creazione di un'unità USB avviabile". Questo scaricherà il filehttp://www.memtest86.com/downloads/memtest86-usb.zip per Windows.
  3. Decomprimi il file ZIP.
  4. Esegui il imageUSB.exe file e seguire le istruzioni sullo schermo.

Questo dovrebbe funzionare su entrambi i sistemi BIOS e UEFI BIOS. Sui sistemi UEFI puoi persino usare il puntatore del mouse per navigare.

Schermate

Registra

12:38:47:845 - PassMark Software - imageUSB v1.1.1013
12:38:47:845 - Getting list of available removable USB drives...
12:38:47:845 - Inspecting Drive C:\...
12:38:47:845 - Inspecting Drive D:\...
12:38:47:845 - Inspecting Drive E:\...
12:38:47:861 - Inspecting Drive F:\...
12:38:47:861 - Inspecting Drive G:\...
12:38:47:861 - Ready...
12:39:56:377 - Drive G:\ added to queue.
12:39:56:392 - Note: Disk image was not created with imageUSB previously.
     Image file does not contain a valid checksum. Verification will be calculated from source image.
12:39:56:423 - Writing image C:\Users\support24\Downloads\memtest86-usb\memtest86-usb.img to G:\ (drive 1)
12:40:57:155 - Drive G:\ write completed.
12:40:57:623 - Verifying written image on Drive G:\
12:41:08:373 - Drive G:\ checksum completed.
12:41:08:373 - MD5 matched. (G:\).
     MD5 (Drive) : C7C53FCA0E9C1A6751FBB36E205D4F4A
     MD5 (Image) : C7C53FCA0E9C1A6751FBB36E205D4F4A
12:41:08:389 - SHA1 matched. (G:\).
     SHA1 (Drive) : 220A1073EE96D489AB4E9A44E90E7670AFE7EE03
     SHA1 (Image) : 220A1073EE96D489AB4E9A44E90E7670AFE7EE03

Puoi vedere che c'erano alcuni problemi con i checksum ma era un falso allarme, verifica superata.


Per macchine non EFI e implementazioni EFI che non supportano memtest86.

Strumenti richiesti

parted, dosfstools, gzip, tar, wget

Definisci dispositivo USB, versione memtest86+ e versione SYSLINUX

USB=/dev/sdX # where X corresponds to USB device
MEM=5.31b
SYS=6.03

Scarica gli URL

MEMTESTB=http://www.memtest.org/download/${MEM}/memtest86+-${MEM}.bin.gz
SYSLINUX=https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-${SYS}.tar.xz

Partiziona l'USB e crea un filesystem FAT16 da 4 MB

parted -s ${USB} mklabel msdos mkpart primary fat16 2048s 5mib set 1 boot on
sync; sync; sync
mkfs.vfat -nMT86PLUS ${USB}1
mount ${USB}1 /mnt

Scarica e installa il file binario memtest86+

wget -qO- ${MEMTESTB} | gzip -d > /mnt/mt86plus

Crea il file di configurazione SYSLINUX per avviare memtest86+ binary

cat >/mnt/syslinux.cfg <<'!'
PROMPT 0
TIMEOUT 0
DEFAULT mt86plus
LABEL mt86plus
  kernel mt86plus
!

Scarica SYSLINUX, installa il codice MBR e installa SYSLINUX su USB

wget -qO- ${SYSLINUX} | tar -xJpf -
dd bs=440 if=syslinux-${SYS}/bios/mbr/mbr.bin of=${USB}
syslinux-${SYS}/bios/linux/syslinux -i -s ${USB}1
umount /mnt

Pulizia

rm -rf syslinux-${SYS}

Linux
  1. Come creare un'unità USB avviabile per Linux

  2. Come creare un'unità USB avviabile utilizzando il comando dd

  3. Come creare un'unità USB Ubuntu avviabile per Mac in OS X

  4. Come creare USB avviabile Linux dalla riga di comando di Linux

  5. Come montare un'unità flash USB in Linux

Come creare un'unità USB avviabile Rocky Linux 8

Come creare un'unità USB avviabile AlmaLinux 8

Come creare una USB Ubuntu avviabile

Come creare una chiavetta USB avviabile Kali Linux?

Come creare un'unità flash USB avviabile da Linux [Tutorial]

Come creare un USB avviabile da Windows su Linux