* [gentoo-user] Gentoo LiveUSB
@ 2008-01-11 19:47 Anthony E. Caudel
2008-01-11 20:00 ` Alan McKinnon
0 siblings, 1 reply; 7+ messages in thread
From: Anthony E. Caudel @ 2008-01-11 19:47 UTC (permalink / raw
To: Gentoo Mailing List
I've been looking at LiveUSB's lately, specifically ones for Gentoo.
Found one on the Gentoo Documentation and another on Pendrive and
several others. Problem is that all of these do not allow you to save
changes.
Has anyone made a persistent Gentoo LiveUSB? Google hasn't helped
here. Most persistents seem to be Ubuntu and involve something called
Casper.
2nd question: I must be dense on this one so someone help me out.
Since a USB stick is seen as a hard drive, why can't I do a standard
install to it? Is it because until lately they haven't been large
enough? I'm thinking of using an 8GB one.
Tony
--
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Gentoo LiveUSB
2008-01-11 19:47 [gentoo-user] Gentoo LiveUSB Anthony E. Caudel
@ 2008-01-11 20:00 ` Alan McKinnon
2008-01-11 20:27 ` Ritesh Kumar
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Alan McKinnon @ 2008-01-11 20:00 UTC (permalink / raw
To: gentoo-user
On Friday 11 January 2008, Anthony E. Caudel wrote:
> 2nd question: I must be dense on this one so someone help me out.
> Since a USB stick is seen as a hard drive, why can't I do a standard
> install to it? Is it because until lately they haven't been large
> enough? I'm thinking of using an 8GB one.
There's a few reasons:
1. The memory used on those devices has a limited life - about 100,000
writes for the good ones and maybe 10,000 for the bad ones. With a
standard install, frequent writes are the norm (think cache and other
similar things). This usually ends up at the same spot on the disk,
meaning your new install will last about a month if you are lucky.
There are ways around this, for instance how a LiveCD does things.
2. Booting off it is a pain. You need drivers for the entire USB stack
at boot time, which usually means a ginormous initrd.
3. Size, which you mentioned
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Gentoo LiveUSB
2008-01-11 20:00 ` Alan McKinnon
@ 2008-01-11 20:27 ` Ritesh Kumar
2008-01-12 11:57 ` Florian Philipp
2008-01-11 20:29 ` bjlockie
2008-01-11 23:35 ` Anthony E. Caudel
2 siblings, 1 reply; 7+ messages in thread
From: Ritesh Kumar @ 2008-01-11 20:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]
On Jan 11, 2008 3:00 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Friday 11 January 2008, Anthony E. Caudel wrote:
> > 2nd question: I must be dense on this one so someone help me out.
> > Since a USB stick is seen as a hard drive, why can't I do a standard
> > install to it? Is it because until lately they haven't been large
> > enough? I'm thinking of using an 8GB one.
>
> There's a few reasons:
>
> 1. The memory used on those devices has a limited life - about 100,000
> writes for the good ones and maybe 10,000 for the bad ones. With a
> standard install, frequent writes are the norm (think cache and other
> similar things). This usually ends up at the same spot on the disk,
> meaning your new install will last about a month if you are lucky.
> There are ways around this, for instance how a LiveCD does things.
>
You are right about the re-write life of flash media. However, there are
filesystems which can help by not writing to the same location in the flash
media again and again. I recall JFFS2 being a such flash filesystem which is
available for linux.
>
> 2. Booting off it is a pain. You need drivers for the entire USB stack
> at boot time, which usually means a ginormous initrd.
>
Why not compile them in the kernel?
> 3. Size, which you mentioned
8GB is pretty large IMHO. You should be able to fit quite some software +
data on it. My *entire* gentoo distribution fits in just over 2GB... though
I must confess that I am a little minimalistic.
_r
[-- Attachment #2: Type: text/html, Size: 2156 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Gentoo LiveUSB
2008-01-11 20:00 ` Alan McKinnon
2008-01-11 20:27 ` Ritesh Kumar
@ 2008-01-11 20:29 ` bjlockie
2008-01-11 21:11 ` Alan McKinnon
2008-01-11 23:35 ` Anthony E. Caudel
2 siblings, 1 reply; 7+ messages in thread
From: bjlockie @ 2008-01-11 20:29 UTC (permalink / raw
To: gentoo-user
> On Friday 11 January 2008, Anthony E. Caudel wrote:
>> 2nd question: I must be dense on this one so someone help me out.
>> Since a USB stick is seen as a hard drive, why can't I do a standard
>> install to it? Is it because until lately they haven't been large
>> enough? I'm thinking of using an 8GB one.
>
> There's a few reasons:
>
> 1. The memory used on those devices has a limited life - about 100,000
> writes for the good ones and maybe 10,000 for the bad ones. With a
> standard install, frequent writes are the norm (think cache and other
> similar things). This usually ends up at the same spot on the disk,
> meaning your new install will last about a month if you are lucky.
> There are ways around this, for instance how a LiveCD does things.
>
> 2. Booting off it is a pain. You need drivers for the entire USB stack
> at boot time, which usually means a ginormous initrd.
>
> 3. Size, which you mentioned
>
> --
> Alan McKinnon
> alan dot mckinnon at gmail dot com
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
Does desktop RAM get constantly refreshed while powered and it doesn't
need to keep any data when not powered?
Is that the difference?
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Gentoo LiveUSB
2008-01-11 20:29 ` bjlockie
@ 2008-01-11 21:11 ` Alan McKinnon
0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2008-01-11 21:11 UTC (permalink / raw
To: gentoo-user
On Friday 11 January 2008, bjlockie@lockie.ca wrote:
> > On Friday 11 January 2008, Anthony E. Caudel wrote:
> >> 2nd question: I must be dense on this one so someone help me out.
> >> Since a USB stick is seen as a hard drive, why can't I do a
> >> standard install to it? Is it because until lately they haven't
> >> been large enough? I'm thinking of using an 8GB one.
> >
> > There's a few reasons:
> >
> > 1. The memory used on those devices has a limited life - about
> > 100,000 writes for the good ones and maybe 10,000 for the bad ones.
> > With a standard install, frequent writes are the norm (think cache
> > and other similar things). This usually ends up at the same spot on
> > the disk, meaning your new install will last about a month if you
> > are lucky. There are ways around this, for instance how a LiveCD
> > does things.
> Does desktop RAM get constantly refreshed while powered and it
> doesn't need to keep any data when not powered?
> Is that the difference?
I'm not sure what you are asking - you're question is poorly framed. So
I'll answer what I think you are asking.
USB sticks use flash RAM and other non-volatile memory technologies.
It's not a magnetic disk, it does use transistors but is otherwise
completely different to desktop RAM. It's also a whole lot slower.
The operating system is almost constantly writing stuff to the disk, and
not just swap space - many apps cache information and it has to be
stored somewhere. This is not a problem for magnetic disks as they
don;t really have a limit on the number of times they can be written
to. Flash memory does, it stops working after a time. So once you write
to a memory cell say 50,000 times, it's probably useless. Trouble is,
you have no way of knowing which cells no longer work, so you have a
disk with random corruptions. This is usually considered to be a
VeryBadThing(tm).
alan
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Gentoo LiveUSB
2008-01-11 20:00 ` Alan McKinnon
2008-01-11 20:27 ` Ritesh Kumar
2008-01-11 20:29 ` bjlockie
@ 2008-01-11 23:35 ` Anthony E. Caudel
2 siblings, 0 replies; 7+ messages in thread
From: Anthony E. Caudel @ 2008-01-11 23:35 UTC (permalink / raw
To: gentoo-user
Alan McKinnon wrote:
> On Friday 11 January 2008, Anthony E. Caudel wrote:
>
>> 2nd question: I must be dense on this one so someone help me out.
>> Since a USB stick is seen as a hard drive, why can't I do a standard
>> install to it? Is it because until lately they haven't been large
>> enough? I'm thinking of using an 8GB one.
>>
>
> There's a few reasons:
>
> 1. The memory used on those devices has a limited life - about 100,000
> writes for the good ones and maybe 10,000 for the bad ones. With a
> standard install, frequent writes are the norm (think cache and other
> similar things). This usually ends up at the same spot on the disk,
> meaning your new install will last about a month if you are lucky.
> There are ways around this, for instance how a LiveCD does things.
>
> 2. Booting off it is a pain. You need drivers for the entire USB stack
> at boot time, which usually means a ginormous initrd.
>
> 3. Size, which you mentioned
>
>
OK. Then maybe a better solution for a compact portable system would be
an external HD. In the laptop size (2.5") the enclosure can just about
fit in a shirt pocket. And some of them run off the USB interface. Not
as small as a thumbdrive but close.
Tony
--
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Gentoo LiveUSB
2008-01-11 20:27 ` Ritesh Kumar
@ 2008-01-12 11:57 ` Florian Philipp
0 siblings, 0 replies; 7+ messages in thread
From: Florian Philipp @ 2008-01-12 11:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]
On Fri, 2008-01-11 at 15:27 -0500, Ritesh Kumar wrote:
> On Jan 11, 2008 3:00 PM, Alan McKinnon <alan.mckinnon@gmail.com>
> wrote:
> On Friday 11 January 2008, Anthony E. Caudel wrote:
> > 2nd question: I must be dense on this one so someone help me
> out.
> > Since a USB stick is seen as a hard drive, why can't I do a
> standard
> > install to it? Is it because until lately they haven't been
> large
> > enough? I'm thinking of using an 8GB one.
>
>
> There's a few reasons:
>
> 1. The memory used on those devices has a limited life - about
> 100,000
> writes for the good ones and maybe 10,000 for the bad ones.
> With a
> standard install, frequent writes are the norm (think cache
> and other
> similar things). This usually ends up at the same spot on the
> disk,
> meaning your new install will last about a month if you are
> lucky.
> There are ways around this, for instance how a LiveCD does
> things.
>
> You are right about the re-write life of flash media. However, there
> are filesystems which can help by not writing to the same location in
> the flash media again and again. I recall JFFS2 being a such flash
> filesystem which is available for linux.
>
>
AFAIK JFFS2 and such alike are of no use on standard USB-sticks because
they have their own system of wear levelling[1] and hide the actual
layout from the OS. They are only useful on embedded systems and stuff
like that where there is no such abstraction layer in firmware.
[1] http://en.wikipedia.org/wiki/Wear_levelling
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-01-12 11:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-11 19:47 [gentoo-user] Gentoo LiveUSB Anthony E. Caudel
2008-01-11 20:00 ` Alan McKinnon
2008-01-11 20:27 ` Ritesh Kumar
2008-01-12 11:57 ` Florian Philipp
2008-01-11 20:29 ` bjlockie
2008-01-11 21:11 ` Alan McKinnon
2008-01-11 23:35 ` Anthony E. Caudel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox