LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-23-2013, 04:40 PM   #1
SMurf7
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian 3.x etch (testing)
Posts: 24

Rep: Reputation: 0
Question Quick Way to Obtain List of Devices on Any Given Machine?


Hello,

Say I had a machine, which may/may not be running Linux. I want to get the information necessary to be able to create a customized Linux install that contains only the kernel build options/modules that are required for this particular machine. I should also be able to save this information to a text file somewhere. The most convenient means would be some sort of bootable CD/USB image.

Is there anything like this around?
 
Old 03-23-2013, 05:03 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,026

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
CPUID is a good tool if you are running windows, to find out information about the hardware. And it is possible to save the information on a file.
http://www.cpuid.com/

Regards
 
Old 03-23-2013, 05:14 PM   #3
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 53
On a linux box you can get an immense amount of info (probably too much) using lspci -v, lscpu, lsusb -v, lshw, and lshal.
Perhaps you could write a script to trim it down to what you need, and run this using a live CD
 
1 members found this post helpful.
Old 03-23-2013, 05:50 PM   #4
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,026

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Now if you are running a GNU/Linux system then the lspci command will do the job, to save it to a file use it with output to a desired file like:
Code:
lspci > file.txt
If you want to use the option -v as normal user it wont give the results for capabilities, only root will have the full result.

Regards
 
Old 03-23-2013, 07:20 PM   #5
SMurf7
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian 3.x etch (testing)
Posts: 24

Original Poster
Rep: Reputation: 0
I already knew of the existence of lspci and have also heard about hwinfo. But is there a really slim (I'm thinking < 10 MB) live image out there that basically does this (and perhaps mixes in some memtest86 for flavour)?
 
Old 03-24-2013, 06:27 AM   #6
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,026

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Quote:
Originally Posted by SMurf7 View Post
I already knew of the existence of lspci and have also heard about hwinfo. But is there a really slim (I'm thinking < 10 MB) live image out there that basically does this (and perhaps mixes in some memtest86 for flavour)?
http://www.tinycorelinux.com/

This is one of the smallest GNU/Linux distros.

Regards
 
Old 04-05-2013, 05:35 AM   #7
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 53
Rather a late response, but you might like to look at autokernconf

I had completely forgotten its existence.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hot to obtain the Wireless protocol of the devices that i am detecting? lucianmarius Linux - Software 1 08-28-2008 09:57 AM
How to obtain devices IP poonippi Linux - Hardware 11 01-03-2008 10:19 PM
list devices SgtMuffles Linux - Newbie 4 06-22-2005 05:21 PM
devices list Pedroski Linux - Hardware 0 12-07-2003 03:28 AM
How obtain daemons list? kokolisso Linux - Networking 1 10-07-2001 08:03 AM


All times are GMT -5. The time now is 04:58 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