[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian on a 32G USB flashdrive



On Mon 16 Jul 2012 at 09:35:20 +0300, Andrei POPESCU wrote:

> On Du, 15 iul 12, 21:55:51, Loic J. Duros wrote:
> > 
> > Great! I tried again! This time I specified /dev/sdb1/ to set grub,
> > and now I can boot from the USB flashdrive.
> 
> /dev/sdb (a.k.a the MBR not the partition would have been better, but at 
> least it works.

Might the OP be referring to 'set root=/dev/sdb1' in grub.cfg?

> > One question though: I have 8G of RAM at work so I don't think not
> > having a swap an issue. Nevertheless, it seems like things freeze a
> > little bit when there's a lot of read/write on the flashdrive. So I
> > thought maybe you'd have some advice on how to optimize the actual
> > use of the OS on the flashdrive. I should have access to the Windows
> > partition of the harddrive there, so maybe it would be wise to move
> > some files there? I wonder if the use of the /tmp directory in the
> > flashdrive slows down the UI when using certain programs. Maybe I
> > could move it and some other key directories to the windows
> > harddrive?
> > 
> > Anything you'd like to recommend? :-) If you know of good
> > documentation or resource on this, it would be great as well!
> > Thanks!
> 
> I'd recommend using tmpfs for /tmp (especially with that huge RAM of 
> yours). Depending on the version of Debian there are different ways to 
> set it up.

Isn't /tmp on tmpfs done automatically on installation?

As for the slight slowdown with a lot of read/writes, this might simply
be the nature of the medium compared with a hard disk.


Reply to: