I am running Ubuntu from flash drive and I would like to run memtest in terminal mode as multiple processes, I see file resides in boot directory but not able to execute as I get message "permission denied" not able to make the file executable either.
Asked
Active
Viewed 1.1e+01k times
17
ankit7540
- 4,195
Baljinder Badyal
- 171
1 Answers
27
memtest is usually run separately to a Linux kernel (selected as a boot option instead of Ubuntu), although you could download a memtest package and run it from within Ubuntu with the following commands.
sudo apt-get install memtester
sudo memtester 1024 5
Running it separately to Ubuntu gives it greater access to the machine's memory, so is the preferred method.
See How to check for errors in RAM via linux? for more details.
Jeffrey Ross
- 706
-
-
This is preferable to say MemTest86 when you know for certain there is a memory instability that is easy to deterministically reproduce while Ubuntu is already up and running. For example, running JavaScript unit tests (via Jest + Node) causes a system to freeze and reboot if there is a RAM problem. It is preferable for a tool like
memtesterto find that fault instead. – Coder Guy Jun 06 '24 at 20:02
/bootdirectory has nomemtest. There is amemtest86+.binthough. Could you type exactly the directory name and command name? FTR you need to addsudoin front of most commands where extra permission is required. Also memory tests are usually run from Grub menu and not in multi-threaded environments like Linux. – WinEunuuchs2Unix Nov 12 '16 at 01:28