LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-30-2008, 05:17 PM   #1
nodopro
Member
 
Registered: Oct 2008
Posts: 48

Rep: Reputation: 16
Memtest on Linux


Is possible to run memtest on Linux, not bootable CD? There is only bootable CD image from memtest.org but doesn't say install memtest under linux and run from there. Anyone know how to, please give me a hint. I am sorry if this question is not appropriate for this room since I am just a linux newbie.

Thanks,
nodopro
 
Old 10-30-2008, 05:47 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,497

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
memtest runs "stand-alone" - it doesn't need (or want) Linux. Would only get in the way.
 
Old 10-30-2008, 05:49 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by nodopro View Post

Is possible to run memtest on Linux, not bootable CD?
No. memtest is a stand alone program. It does not run under any operating system.

--------------------
Steve Stites
 
Old 10-30-2008, 05:55 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,049

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
memtest86 and memtest86+ are standalone programs, not meant to be run under any kernel.

However, if you want an equivalent program that can run in user space, you can use this one:
http://pyropus.ca/software/memtester/
 
Old 10-30-2008, 05:55 PM   #5
drchuck
Member
 
Registered: May 2007
Posts: 61

Rep: Reputation: 17
Most people run memtest as a boot option from a live cd. You can install the memtest86 package for your distro on you linux system, then run memtest-setup to add it to your grub.conf. Then you can choose to run memtest at boot time, without any need for a live cd.
 
Old 10-31-2008, 01:16 AM   #6
nodopro
Member
 
Registered: Oct 2008
Posts: 48

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by syg00 View Post
memtest runs "stand-alone" - it doesn't need (or want) Linux. Would only get in the way.
So it's not possible. What I try to do is to call memtest by using system command in my perl script.
 
Old 10-31-2008, 01:20 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,049

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
Originally Posted by nodopro View Post
So it's not possible. What I try to do is to call memtest by using system command in my perl script.
As I said above, memtest86 is not designed to run under a kernel. It is not a linux program, nor a windows one. It's a little OS in itself -if you wish- that does a very concrete task, and then reboots. That's why it runs outside the OS. The bootloader runs memtest86 instead of the linux kernel, and then you need to reboot.

It's that way by design, and nothing that you do on perl or any other language can change that (unless you run memtest86 on a virtual machine, in which case it will just test the virtual ram of the virtual machine ).

You are going to need any other program to do the test.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memtest-86 and OpenGL problems in SuSe Linux 10.1 pandre45 Linux - Hardware 2 09-01-2006 11:51 AM
memtest and linux 2.6 marioV Linux - Software 3 01-27-2006 03:22 AM
Memtest-86 v3.1 LadyVadalon Linux - General 1 08-16-2005 09:59 AM
memtest issues, again cellist Linux - Hardware 9 04-11-2005 10:58 PM
memtest in grub Incanus Linux - General 1 02-07-2004 09:50 PM


All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration