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 05-10-2011, 06:44 AM   #1
tank junior
Member
 
Registered: Apr 2010
Posts: 42

Rep: Reputation: 0
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.
 
Old 05-10-2011, 06:48 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,564
Blog Entries: 1

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
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.
 
Old 05-10-2011, 06:51 AM   #3
tank junior
Member
 
Registered: Apr 2010
Posts: 42

Original Poster
Rep: Reputation: 0
How do yo find out if distro(ubuntu, fedora, opensuse, debian etc.) is running in live mode?
 
Old 05-10-2011, 07:00 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,564
Blog Entries: 1

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
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.
Old 05-10-2011, 07:34 AM   #5
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
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.
 
Old 05-10-2011, 07:48 AM   #6
Mr. Bill
Member
 
Registered: Mar 2011
Location: Maryland, USA
Distribution: Xubuntu 14.04 - 64
Posts: 182

Rep: Reputation: 14
Quote:
Originally Posted by tank junior View Post
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.
 
Old 05-10-2011, 07:59 AM   #7
tank junior
Member
 
Registered: Apr 2010
Posts: 42

Original Poster
Rep: Reputation: 0
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.
 
Old 05-10-2011, 08:11 AM   #8
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,564
Blog Entries: 1

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Quote:
Originally Posted by tank junior View Post
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.
  


Reply

Tags
live


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
Identify Ubuntu running in Live mode sfxpt Ubuntu 3 08-30-2010 11:14 AM
How to identify processes running in user mode and kernel mode subha109 Linux - Kernel 1 10-21-2009 11:37 AM
unable to connect to wireless access when running opensuse11 in live mode postmanpat16940 Linux - Wireless Networking 1 10-11-2009 02:06 PM
Running ‘top’ with ‘Irix mode’ off in batch mode alexz1011 Linux - Software 1 10-02-2009 03:29 PM


All times are GMT -5. The time now is 03:06 AM.

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