install a full Trisquel on a USB flash drive
- Login o registrati per inviare commenti
hi
can I install a full Trisquel on a USB flash drive?
Yes you can. It might shorten the life of you USB though. You'll want to minimize writes to the USB, e.g. don't swap on it.
I've heard of this but have never tried it. How do you do this?
Are you disabling swap in that case?
I haven't done it. Just install like normally but choose the USB as target instead of HDD.
If there is a swap on the local HDD you could use that unless there currently is a hibernation image on it. The installer might not be flexible enough to do this setup but in that case you can install without swap and define the swap manually later by editing /etc/fstab.
Thanks
Installation has been successfully
But when I type free Tell me.
That there swap
Where it came from?
how can I disabling swap????
I want to use this method to share the system
with my friends
Greetings and respect
ali abdul ghani
The default install (no "custom partitioning") comes with a swap partition. If you want to suspend-to-disk (hibernate), it is necessary. If you do not want any swap partition (RAM should then always suffice), you can boot the live media again, insert your USB key with the installed system and use GParted (present on the live media) to remove the swap partition and extend an adjacent partition, typically the one mounted on /home. The line in /etc/fstab (that of the installed system) with "swap" in the third column should then be removed.
If you want to keep the swap partition but have it disabled by default, you must edit that same line of /etc/fstab (with root permissions) and turn the fourth column, "sw", into "sw,noauto". Whenever you need the swap partition, you fire 'sudo swapon' followed by the swap partition. For instance, if it is /dev/sda5:
$ sudo swapon /dev/sda5
And, to turn the swap off:
$ sudo swapoff /dev/sda5
You can also read about swap files if do not want any swap partition but still want to swap on occasion (the file is allocated with 'fallocate' and can have any size you want).
I dont want make life USB
i want install a full Trisquel on a USB
That is what lembas is talking about.
I'm having an issue with installing. I am using a Mac Book.
I have created my USB and everything is installed successfully but when I reset holding down the Alt key I'm only being given the option to select my Mac HD and not the USB.
Could you give me an easy guide on how to fix this?
Did you get the i386 version or the AMD64? The i386 version (32bit) will not boot as it does not have the EFI boot loader.
I downloaded the Trisquel 700MB CD iso image, 64 bit
An installed copy of Trisquel on a flash drive under any condition (disabling swap, using special filesystems, including read-only) is going to be terribly unreliable and slow. It'll work at first (although be very slow, but not long term, or even short term for that matter).
Anybody who has done significant testing in real world conditions knows it just doesn't work. Once you start applying security updates (by temporarily booting into a read-write mode) and such and the constant removal to and from the USB port will result in the drive being killed off. It's one thing to plug and unplug a USB drive once or twice a week for years, but try doing that a few times every day and you won't have a functioning drive a month from now. I'd give it six months max in real world conditions if your taking all the right precautions and rarely using it.
Here's my suggeston: Get a USB Hard Drive and install there instead.
I've never tried that, though. Is it less risky, Chris?
I'm unsure what the exact objective is, but if you need something to be fairly reliable I'd stick with a 2.5" 5400 or 7200 RPM drive + USB case. If the USB part goes you can replace it and the hard disk part won't wear out like a USB flash drive does. If the hard disk part dies it'll probably be years later (if you get a decent drive anyway). If the USB part goes you can just replace the case.
I wish I had a better solution, but even doing something like a raid setup with flash drives isn't that reliable. What you end up with is having to replace one or the other flash drives frequently and the syncing of the new drive is unbearably slow.
use non Journaling file system like ext2.
Better: F2FS, a filesystem specifically designed for Flash memories.
many people have been using the live-usb method for years, with distributions like Puppy Linux. I have not had a usb wear out or become unusable so far. I was thinking to try Trisquel using this method, but according to Chris, this is not practical, both in terms of speed and in terms of wear and tear on the usb drive. Does Trisquel run entirely in RAM? If so, how much RAM does it use? (Trisquel is not listed in the Wikipedia page on this topic - https://en.wikipedia.org/wiki/List_of_Linux_distributions_that_run_from_RAM)
Note: with Puppy I use a Sandisk Cruzer Fit running in ext2 or 3 (I forget) and just leave it in my eeepc Netbook all the time, so there isn't a question of plugging and unplugging it all the time. But if I want to use it in another computer, I can, and all my settings are saved. For file storage I use Dropbox and Google Drive on the permanent disk, and go over to Windows once in while to sync files. If the distribution supported it better, I could do this without leaving Linux. (I'm aware that I could also use one of the libre cloud systems and may do so in the future.)
- Login o registrati per inviare commenti