LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-12-2012, 08:54 AM   #1
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Rep: Reputation: 0
Very Old PC


Hello,

I have an old PC, Pentium III 450MHz, 224MB RAM, and an 8 and 80 GB hard drives. I installed VectorLinux Light Edition. First the installation didn't recognize the 8GB hard drive which should be sda. How do I confirm that the 8GB hard drive is damaged? I installed Linux on sdb1 and use the installation CD to boot into Linux using

Linux root=/dev/sda1 ro

I want to save as much memory as I can to run other programs. It has 78MB free ram when I'm running GUI. When I used the who -r command it states that I'm in runlevel 4, shouldn't that be runlevel 5?

I then used the init 3 command. It switched to runlevel 3 but when I checked the free memory, only 85MB is free. Shouldn't be more ram available since I'm switching from GUI to runlevel 3?

Thank you,
Mike
 
Old 10-12-2012, 09:11 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,601
Blog Entries: 2

Rep: Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060
Quote:
Originally Posted by Whatif View Post
How do I confirm that the 8GB hard drive is damaged?
Use the manufacturer's diagnosis tool.

Quote:
When I used the who -r command it states that I'm in runlevel 4, shouldn't that be runlevel 5?
Vector is a Slackware derived distribution. Slackware is using runlevel 4 for multiuser GUI. Which runlevel to use for what is mostly an arbitrary decision, but not a standard. In Debian, for example, runlevels 2-5 are all the same.

Quote:
I then used the init 3 command. It switched to runlevel 3 but when I checked the free memory, only 85MB is free. Shouldn't be more ram available since I'm switching from GUI to runlevel 3?
Please post the output of
Code:
free -m
 
Old 10-12-2012, 10:23 AM   #3
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Original Poster
Rep: Reputation: 0
The output of free -m in runlevel 4:

total used free shared buffers cached
Mem: 209 132 76 0 8 94
-/+ buffers/cache: 30 178
Swap: 0 0 0


The output of free -m in runlevel 3:

total used free shared buffers cached
Mem: 209 125 83 0 8 94
-/+ buffers/cache: 22 186
Swap: 0 0 0
 
Old 10-12-2012, 10:39 AM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,921

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
free -m is telling you that you have 186mb available:

http://linuxatemyram.com
 
Old 10-12-2012, 01:59 PM   #5
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Original Poster
Rep: Reputation: 0
Does that mean Linux recognizes 209MB RAM? I have 224MB RAM and it shows in the BIOS screen.
 
Old 10-12-2012, 02:02 PM   #6
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
free only accounts for all available userspace memory; that is, all that is available to applications (and for disk caching). It doesn't usually account for memory reserved by the kernel or I/O addressing space.

(This is just my speculation; I may not be totally accurate with this…if anyone knows better, please feel free to correct me if I'm wrong. )

Last edited by MrCode; 10-12-2012 at 02:04 PM. Reason: wording
 
Old 10-12-2012, 02:18 PM   #7
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,921

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by Whatif View Post
Does that mean Linux recognizes 209MB RAM? I have 224MB RAM and it shows in the BIOS screen.
Guessing the computer doesn't have a graphics card and so some of the RAM is being used for video?
 
Old 10-12-2012, 02:55 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,601
Blog Entries: 2

Rep: Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060
Quote:
Originally Posted by snowpine View Post
Guessing the computer doesn't have a graphics card and so some of the RAM is being used for video?
I would think that computer normally has 256MB of RAM, but uses 32 MB vor the videocard. The difference between the 226 and the 209 should be the memory used by the kernel, as MrCode already stated.
 
Old 10-12-2012, 08:32 PM   #9
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,961

Rep: Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507Reputation: 1507
If the issue is determining the health of the hard drive, I would suggest booting to a Live CD or bootable USB stick with a distribution designed for system rescue and running diagnostics from it.

System Rescue (http://www.sysresccd.org/SystemRescueCd_Homepage) and Trinity Rescue Kit (http://trinityhome.org/Home/index.ph...&locale=en)are two good candidates.

Edit: For a computer of that age, a bootable USB stick may not be an option. I'd suggesting trying the CD.

This page offers some good hints about diagnosing hard disks: http://www.howtogeek.com/howto/37659...isk-utilities/

Last edited by frankbell; 10-12-2012 at 08:37 PM.
 
Old 10-12-2012, 09:09 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,601
Blog Entries: 2

Rep: Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060
The easiest way is still to use the manufacturer's tool. No learning of Linux tools involved.
 
  


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



All times are GMT -5. The time now is 01:38 PM.

Main Menu
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