Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to get memtest onto a USB drive
Date: Sun, 14 May 2017 02:19:54
Message-Id: 87vap4b2s4.fsf@heimdali.yagibdah.de
In Reply to: [gentoo-user] How to get memtest onto a USB drive by Peter Humphrey
1 Peter Humphrey <peter@××××××××××××.uk> writes:
2
3 > Hello list,
4 >
5 > I have a nearly new machine which is already showing signs of hardware
6 > failure. I'd like to check its memory, for which memtest86+ seems suitable.
7 > But I can't install it via portage because this is a UEFI machine and so its
8 > boot partition is vfat; the install phase fails because symbolic links can't
9 > be done.
10 >
11 > I downloaded an ISO image from http://www.memtest.org/#downiso and used
12 > unetbootin to write it to the USB. It won't boot. I then tried dd but got
13 > the same result.
14 >
15 > What's the recommended way to put a bootable memtest86+ image, or
16 > equivalent, on a USB stick?
17
18 dd if=image.iso of=/dev/sdX
19
20 ... where /dev/sdX is the USB stick. Make sure the stick isn't mounted,
21 and write to the stick itself, not to any partition that may be on it.
22
23 In some cases, the stick won't boot: Use another stick, or try writing
24 the ISO again.
25
26
27 --
28 "Didn't work" is an error.