User Tools

Site Tools


blog:linux_on_usb_stick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:linux_on_usb_stick [2017-07-05 10:48] brbblog:linux_on_usb_stick [2017-10-21 14:36] (current) brb
Line 9: Line 9:
   * Fast and large USB 3.0 Drive (Sandisk Extreme 128GB) (INSTALLSTICK)   * Fast and large USB 3.0 Drive (Sandisk Extreme 128GB) (INSTALLSTICK)
   * Any USB Drive with 4GB (STARTSTICK)    * Any USB Drive with 4GB (STARTSTICK) 
-  * Debian Linux 9.0 Live iso copied to a second USB Stick, any brand will do 
   * A current full backup of the computer you are using   * A current full backup of the computer you are using
  
 Installing Debian on a USB Stick with encryption Installing Debian on a USB Stick with encryption
  
-  * Download ISO https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/ +  * Download ISO for the Distribution of your choice: 
-  * Copy ISO to the STARTSTICK using ''dd''+    * MINT is easy to get started and looks great: https://linuxmint.com/edition.php?id=237 
 +    * Debian is rock solid and easy to install but needs a bit more work to get started: 
 +      * https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/9.0.1-live+nonfree/amd64 
 +      * https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/  
 +    * Ubuntu provides an easy start, but has lots of software preinstalled which you may not want: https://www.ubuntu.com
 +  * Copy ISO to the STARTSTICK using ''dd'' or on windows use [[https://www.iseepassword.com/how-to-burn-iso-to-usb-drive.html|''Rufus'']]
   * Boot your computer with STARTSTICK. You may need to enter the BIOS and choose a temporary startup device and/or add the usb stick to the boot options. If the usb stick is not recognized, it may help to try different usb ports.   * Boot your computer with STARTSTICK. You may need to enter the BIOS and choose a temporary startup device and/or add the usb stick to the boot options. If the usb stick is not recognized, it may help to try different usb ports.
   * When STARTSTICK boots, choose graphical install   * When STARTSTICK boots, choose graphical install
Line 26: Line 30:
  
 Post install work: Post install work:
-  * To connect the computer to a wireless network, you will probably need to install non-free drivers. +  * To connect the computer to a wireless network, you will probably need to install non-free drivers. Open ''/etc/apt/sources.list'' and add ''non-free contrib'' to all lines after ''main'', like so: 
 +<code> 
 +... 
 +deb http://mirror.switch.ch/ftp/mirror/debian/ jessie main non-free contrib 
 +deb-src http://mirror.switch.ch/ftp/mirror/debian/ jessie main non-free contrib 
 +... 
 +</code> 
 +  * Then do ''sudo apt-get update; sudo apt-get upgrade; sudo apt-get install firmware-linux-nonfree'' 
  
 ===== Optimizing performance ===== ===== Optimizing performance =====
Line 109: Line 120:
  
   cat /sys/block/<device>/queue/scheduler   cat /sys/block/<device>/queue/scheduler
 +  
 +===== SATA ALPM =====
  
 +To save more power when using sata drives, consider https://wiki.ubuntu.com/Kernel/PowerManagementALPM
 +
 +
 +Ref: http://ghanima.net/doku.php?id=wiki:linuxtips:runningfromusb
  
 {{tag>}} {{tag>}}
blog/linux_on_usb_stick.1499244509.txt.gz · Last modified: 2017-07-05 10:48 by brb