Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-18-2012
Registered User
 
Join Date: May 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Tools Want to write a simple shell script that will pull information out of the bios in PXE boot setting

Hello All,

I work at a non-profit where we give poor kids free computers with Edubuntu installed, our setup is a PXE boot server which gives a GRUB with tools, and also the option to select the Edubuntu iso.

I want to create a simple bash shell script which I can include in the GRUB and in which the volunteers can get all the info they need on the PC's details, such as RAM, Cpu speed, System Tag, etc.

I'm fairly new at scripting, can anyone point me into the right direction? thanks in advance
Sponsored Links
    #2  
Old 06-18-2012
Mead Rotor
 
Join Date: Aug 2005
Location: Saskatchewan
Posts: 16,371
Thanks: 490
Thanked 2,534 Times in 2,417 Posts
What do you mean by "system tag"?

Since this is Linux:



Code:
cat /proc/meminfo
cat /proc/cpuinfo
lspci
lsusb
dmidecode # maybe

Sponsored Links
    #3  
Old 06-18-2012
Registered User
 
Join Date: May 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Awesome! from there I can just grep the arguments I need.

By system tag I mean the Computers Serial code, not the MAC. Reason being is whenever we get these old computers, the companies that we get them from want us to write down each serial number or also referred as Asset Tag and then my company want track track each computer.
    #4  
Old 06-18-2012
Mead Rotor
 
Join Date: Aug 2005
Location: Saskatchewan
Posts: 16,371
Thanks: 490
Thanked 2,534 Times in 2,417 Posts
Yes, but is that actually stored inside the computer anywhere? If not, you're going to have a hard time retrieving it...
Sponsored Links
    #5  
Old 06-18-2012
Registered User
 
Join Date: May 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Its inside the bios under Service/Asset Tag

---------- Post updated at 10:39 AM ---------- Previous update was at 10:30 AM ----------

found it its under dmidecode. thanks a lot
Sponsored Links
Closed Thread

Tags
grub, pxe, pxeboot, shell scripting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
2. Write a shell script that produces some summary information of the system at a particular moment jsk319342 Homework & Coursework Questions 2 05-15-2011 04:04 PM
Write a script to extract information from a db ladyAnne UNIX for Dummies Questions & Answers 1 05-25-2010 09:57 AM
What Does Happen During Boot Process? - BIOS and MBR f.ben.isaac UNIX for Dummies Questions & Answers 0 12-11-2009 02:34 AM
cant get perl to pull information right richsark Shell Programming and Scripting 24 04-29-2009 09:08 AM
Cool and quiet BIOS setting on RH5 (OEL) devjxh Linux 1 06-27-2008 09:34 AM



All times are GMT -4. The time now is 02:20 PM.