Re: Making a Debian Bootable USB Pen Drive



Andrew Sackville-West wrote:
On Tue, Oct 03, 2006 at 07:33:23AM -0700, Ottavio Caruso wrote:

Nuno Miguel dos Santos Baeta wrote:


Hi!

I want to install Debian in a USB pen drive.

Don't! Nothing should be installed on a flash drive. A traditional
install was meant for hard drives, not flash drives. Browser cache,
/tmp, syslog and so on will damage the device.


I have only loosely been following this thread, but am curious about
this sort of thing in general. so what if you mount /tmp on tmpfs
(thus putting it in memory or swap dependingon memory loads) and I
wonder, can you change where syslog puts its logs (like into tmp) and
then build some script to save it off when you shutdown? I assume you
are trying to avoid the damage caused by longterm heavy writing which
"wears out" flash memory, right? Likewise, what about putting together

This is certainly one reason. But if you put any *NIX style file
system on there, one which tracks access times, then that will cause
wearout, as well. How many times a day do you access /bin/ls?

a file on whatever harddrive exists (a la knoppix and dsl use of a
swapfile) as a place to mount /var and /tmp while running the system
and again, copy it off to the usb drive during shutdown so that the
info is archived, but the writes to flash are minimized.

It should not be necessary to save anything in /tmp.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [patch] ext2/3: document conditions when reliable operation is possible
    ... gig flash key I bought retail at Fry's is 2 megabytes, ... their write block size isn't remotely the same as hard drives', ... allocate an empty eraseblock to put the data on ...
    (Linux-Kernel)
  • Re: breaking passwords on discs containing Word docs
    ... from flash media. ... Word MVP web site http://word.mvps.org ... The OP said nothing about flash drives. ... Flash memory can get corrupted in exactly the same manner than HDD ...
    (microsoft.public.word.docmanagement)
  • Re: breaking passwords on discs containing Word docs
    ... OP said nothing about flash drives. ... corruption with flash memory than HDD memory, but in a NG, you will always ... My web site www.gmayor.com ...
    (microsoft.public.word.docmanagement)
  • Re: PROBLEM: KB->KiB, MB -> MiB, ... (IEC 60027-2)
    ... David> The way RAM and flash are measured is correct. ... RAM and flash *drives* are measured differently. ... This "16Mb" drive doesn't really have 16 megabytes of capacity - ...
    (Linux-Kernel)
  • Re: Sync option destroys flash!
    ... > Given sync doesn't appear to be the default, ... >> block or two of the flash drive. ... don't all buy our flash drives at an industrial supply house (forget ... > yes that would destroy the sectors holding the FAT. ...
    (Linux-Kernel)