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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-10-2011, 06:44 AM
|
#1
|
|
Member
Registered: Apr 2010
Posts: 42
Rep:
|
find out If distro is running in live mode using terminal based tools
Hi,
I searched and found several solution but those are distro specific. I need to find out if distro is running in live mode (from CD, USB) instead it's installed on hdisk. The solution should be independent of distribution.
Cheers
Prashant
Last edited by tank junior; 05-10-2011 at 08:01 AM.
|
|
|
|
05-10-2011, 06:48 AM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
I might have misunderstood you but what you are saying is a bit of a contradiction. You say you want a distro, but it should be independent of any distro?!
Perhaps, you'd like to clarify it.
|
|
|
|
05-10-2011, 06:51 AM
|
#3
|
|
Member
Registered: Apr 2010
Posts: 42
Original Poster
Rep:
|
How do yo find out if distro(ubuntu, fedora, opensuse, debian etc.) is running in live mode?
|
|
|
|
05-10-2011, 07:00 AM
|
#4
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
Before you download a distro, you can check on their website whether such a capability exists. Sometimes the installer disk has such an option. Sometimes you need to download a separate 'live' cd.
If you are asking about a current session - whether it's running from a live cd or from an installed system, I guess you should know whether you've installed it or not. Have a look at this: http://ubuntuforums.org/showthread.php?t=1597963
Alternativelly, I might be wrong but you could try df -h and see where the system directories are mounted. I haven't used a live cd for a long time, but it seems to be that most of the stuff there is mounted on some tmp filesystems. As I said, I might be wrong here.
|
|
|
1 members found this post helpful.
|
05-10-2011, 07:34 AM
|
#5
|
|
Member
Registered: Jun 2007
Distribution: Knoppix
Posts: 140
Rep:
|
I understand that you want a distro not just to see how it looks, but a live cd/dvd containing appications and tools to work with.
If so, I have to remark that older versions offered more applications that late ones. I remember Knoppix versions 4.x or Ubuntu around 7.x. They had a lot of software included, not just basic system tools.
As for Ubuntu dvd, it just contains the language packages, but no more applications than the cd.
|
|
|
|
05-10-2011, 07:48 AM
|
#6
|
|
Member
Registered: Mar 2011
Location: Maryland, USA
Distribution: Ubuntu 12.04, PuppyLinux 5.2.5
Posts: 162
Rep: 
|
Quote:
Originally Posted by tank junior
How do yo find out if distro(ubuntu, fedora, opensuse, debian etc.) is running in live mode?
|
Simple-- If you need the CD/DVD/USB stick to boot it, then it's not installed on the hard drive. It's also running "live" if you can unmount all the HDD partitions.
|
|
|
|
05-10-2011, 07:59 AM
|
#7
|
|
Member
Registered: Apr 2010
Posts: 42
Original Poster
Rep:
|
find out If distro is running in live mode using terminal based tools
Well guys I think you have completely misunderstood the title, partly my mistake. The title says "Is distro is running in live mode".
What I need to know is when distro is running in live mode, how do you find it using terminal based tools or similar.
Prashant
Last edited by tank junior; 05-10-2011 at 08:01 AM.
|
|
|
|
05-10-2011, 08:11 AM
|
#8
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
Quote:
Originally Posted by tank junior
Well guys I think you have completely misunderstood the title, partly my mistake. The title says "Is distro is running in live mode".
What I need to know is when distro is running in live mode, how do you find it using terminal based tools or similar.
Prashant
|
Sorry, I can't think of any other way I could understand: "Is a distro running in a live mode?"
Some suggestions were given in posts #4 and #6.
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|