Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu 8.04 installed and it's been freezing and doing abnormal restarts (link) so I want to test the memory.

Does anyone know how can I do a memory test?


share|improve this question
up vote 1 down vote accepted

Boot off a livecd? There is a method to select it off the grub boot menu as well, but I can't remember off the top of my head. I think it is something like hitting the ESC key while booting.

share|improve this answer
This worked for me. Thanks. – peakit Jan 19 '10 at 18:27

Reboot with the install media in the CD. Select "MemTest" from the boot menu.

You can use any ver. of ubuntu live cd. Or almost any other live distro. Most of them have MemTest as boot option.

I would leave MemTest running overnight - at least 8-12 hours. Just so it can detect problems caused by heat, or not permanent problems.

share|improve this answer
If you have =>4GB of memory I'd be temped to run 'memtestp' by the way. – Chopper3 Jan 19 '10 at 18:02

I like SystemRescueCD for this type of thing. Here's a screenshot of the options page, where you type 'memtest' to fire it up after booting from CD or USB. SystemRescueCD is handy for a lot of other problems as well - I keep it on a bootable USB stick.

As others have said, it will take 8-12 hours to fully test a suspect system.

share|improve this answer

Memtest is on the CloneZilla live CD.

Everyone should have CloneZilla in their toolbelt. When I get a Linux System up and running I always make a clone of the disk so that I can mess with stuff and restore back to where I was if there was a problem. That way I can try different things to troubleshoot.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.