LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Incognito
User Name
Password
Incognito This forum is for the discussion of Incognito Linux.

Notices


Reply
  Search this Thread
Old 09-13-2015, 10:58 AM   #1
Oisin
LQ Newbie
 
Registered: Apr 2005
Location: Dublin Ireland
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
Is Tails a Live install or a full install ?


Hi,

I have been trying for a while now to create a Linux distro on a USB stick. The idea is that I could just plug it into any machine and have my familiar setup and data. I've been using Ubuntu and I initially started with a USB live setup. This works fine but I was concerned from a security perspective:
- It doesn't allow you to set a root password
- All software updates are lost when you power down
A live install with persistence might solve some of these problems but Googling suggested that I would be better off doing a full install on a suitably large USB stick.
So this is what I did. From the Ubuntu Live USB instead of choosing 'Try Now' I choose 'Install' and install it to a second USB stick plugged into another USB port.
Relative to the Live USB this has solved the above two problems however it has created a new intermittent problem. At random intervals various programs will stop responding for a few seconds at a time (Ubuntu signals this by the associated window going dim). When this happens the 'top' command at the command line show a spike in the %wa field for the CPU which I believe indicates that it is waiting for disk I/O and the CPU% column in Ksysguard (KDE system monitor) will show 'disk sleep' rather than a percentage. I can't seem to find any resolution to this problem and I'm pretty sure it is not hardware specific, I have tried with two different 16Gb USB sticks and a number of different machines from a 10 year old laptop to a modern machine. The behaviour is the same:
- with the USB live key there are no problems, no program freezes
- With the USB full install there will be random freezes on all hardware tested.

So, finally, my questions:
- What exactly is Tails, a USB-live distribution of a full install on a USB stick? Most descriptions I have seen describe it as live but I find it hard to believe that it is a setup that doesn't facilitate setting a password and keeping your system patched given that its primary focus is anonymity/privacy/security
- If it is more like a full install on a USB stick were there any particular changes that needed to be made to make this work ?
- Were any problems like the freezing problem I have observed ?

Thanks,

Oisin.
 
Old 09-13-2015, 12:46 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
The freezing is hardware related but is due to USB vs the flash drive itself. Is the drive plugged into a 1.1 or 2.0 port? A live Distro basically runs from RAM and depending on how it is built only accesses the USB drive if required. A full install will always need access the drive and if doing lots of I/O the system will seem to freeze at times. USB 1.1 is only 12Mbits/second. Modern PCs should be 2.0 or maybe 3.0 but 2.0 is still much slower than SATA. USB is a shared bus so any other device on the same port will effect speed.

Tails runs only from memory and has no access to any drives by default. You can't save or change anything and stated when you shut down all is lost. Tails does have a persistence option if so configured using encryption to keep data secure.
 
Old 09-13-2015, 05:50 PM   #3
Oisin
LQ Newbie
 
Registered: Apr 2005
Location: Dublin Ireland
Distribution: Ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
Hi michaelk,

Yes I had thought the USB speed might be an issue so when I created the 2nd 16Gb full USB install I got a USB3.0 stick and I have checked that my ports are also 3.0 cabable so they are in theory even faster than SATA 2.0 (5Gbps vs 3Gbps). Some have suggested that the overall speed is not the problem but rather the latency associated with each USB transaction which may be plausible.

Anyway, from what you say it looks like Tails is a live distro (with or without persistence). So my questions are:
- How does it handle security; can you set a root password ? How is the system patched, do you have to create an entire new image every time a bug is found ?
- When I see freezes I am not in general explicitly trying to save or read data. ie. I dont see the problem when launching programs. I'm just in the middle surfing the web etc., so the best explanation I had so far was that the browser was caching many small files all the time, each incurring a USB transaction latency, and this was what was causing the freezes. Presumably on a live distro firefox (and any other program) should be trying to do the same sort of thing but if there is no persistence then how is this handled ? Are all the programs in Tails configured not to write to disk ? Do they write to a RAM-disk or something else instead ?

Thanks,

Oisin
 
Old 09-13-2015, 06:45 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
tails does have a way to upgrade to a new version which does include security fixes. I suggest reading the documentation.

https://tails.boum.org/doc/index.en.html
 
  


Reply



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
LXer: I'm using Debian Live-based Tails from a live USB stick to preserve privacy and anonymity LXer Syndicated Linux News 0 01-09-2012 11:50 AM
LXer: The Tails Project's The Amnesic Incognito Live System (Tails) LXer Syndicated Linux News 0 09-17-2011 01:51 AM
[SOLVED] ubuntu 10.10 64 bit - wired connection ok in live CD, not after full install HomeMadeSin Linux - Newbie 6 01-29-2011 05:47 PM
which one will takes more time Live install or full install-F10? hulk321 Linux - Software 3 11-26-2008 05:43 PM
Mandriva live CD a-ok, means it's fine for a full install? space_hamster Mandriva 2 11-04-2006 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Incognito

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration