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
dcore:usb_installation_test-drive [2016/05/17 07:02] – [Synopsis] nitramdcore:usb_installation_test-drive [2018/12/10 19:09] (current) – [dCore Test Drive on a USB Stick (Beginners 101)] jason w
Line 1: Line 1:
 ====== dCore Test Drive on a USB Stick (Beginners 101) ====== ====== dCore Test Drive on a USB Stick (Beginners 101) ======
 Take dCore for a spin to understand how it works! Each step is performed manually first before it is eventually automated. Altogether it will lead to a more or less complete installation and deeper understanding of dCore. Take dCore for a spin to understand how it works! Each step is performed manually first before it is eventually automated. Altogether it will lead to a more or less complete installation and deeper understanding of dCore.
-===== Overview =====+ 
 +=== Burn ISO image to USB and use dCore-usbinstall === 
 +The easiest way to install dCore to USB is to download a dCorePlus ISO.  Below are some links to release candidate dCorePlus images: 
 + 
 +[[http://tinycorelinux.net/dCore/x86/release_candidates/dCore-bionic/dCorePlus-bionic.iso|dCorePlus-bionic.iso]] 
 + 
 +[[http://tinycorelinux.net/dCore/x86/release_candidates/dCore-bionic/dCorePlus-bionic.iso.md5.txt|dCorePlus-bionic.iso.md5.txt]] 
 + 
 + 
 +[[http://tinycorelinux.net/dCore/x86_64/release_candidates/dCore-bionic64/dCorePlus-bionic64.iso|dCorePlus-bionic64.iso]] 
 + 
 +[[http://tinycorelinux.net/dCore/x86_64/release_candidates/dCore-bionic64/dCorePlus-bionic64.iso.md5.txt|dCorePlus-bionic64.iso.md5.txt]] 
 + 
 + 
 +[[http://tinycorelinux.net/dCore/x86/release_candidates/dCore-stretch/dCorePlus-stretch.iso|dCorePlus-stretch.iso]] 
 + 
 +[[http://tinycorelinux.net/dCore/x86/release_candidates/dCore-stretch/dCorePlus-stretch.iso.md5.txt|dCorePlus-stretch.iso.md5.txt]] 
 + 
 + 
 +[[http://tinycorelinux.net/dCore/x86_64/release_candidates/dCore-stretch64/dCorePlus-stretch64.iso|dCorePlus-stretch64.iso]] 
 + 
 +[[http://tinycorelinux.net/dCore/x86_64/release_candidates/dCore-stretch64/dCorePlus-stretch64.iso.md5.txt|dCorePlus-stretch64.iso.md5.txt]] 
 + 
 +In Windows, there are utilities like Rufus and Unetbootin, the latter also available for linux.  To install Unetbootin, add the following PPA if using Ubuntu: 
 + 
 +ppa:gezakovacs/ppa 
 + 
 +The simplest but least safe way to write an ISO to USB is using the dd command, but one must be absolute certain of their device name or data loss can occur.  To find which drives on the system are USB, the below command will list them: 
 + 
 +<code> 
 +for I in `ls /dev/disk/by-id/ | grep usb`; do E=`readlink /dev/disk/by-id/"$I" | sed 's/[0-9]*//g' | sed "s/[./]//g"`;  echo ""$E"_"$I"" ; done 
 +</code> 
 + 
 +If your USB device is /dev/sdb, then the following command will write the dCorePlus ISO to the USB: 
 + 
 +<code> 
 +dd if=dCorePlus-stretch64.iso of=/dev/sdb 
 +</code> 
 + 
 +Now you are ready for the initial boot of the USB to set up the final install.  Reboot and set up internet connection.  Then issue the following commands from a terminal window: 
 + 
 +<code> 
 +sce-import dCore-usbinstall 
 +sce-load dCore-usbinstall 
 +sudo dCore-usbinstall 
 +</code> 
 + 
 +The USB will not be mounted after booting with the ISO written to it, so the same USB can be used to install to.  dCore-usbinstall will guide you through choices between x86 and x86_64, BIOS and UEFI, release and release candidates, and which dCore port you wish to install.  It will create a bootable USB formatted with ext2 and the TCE directory will be located on the USB and used during future boots.  
 + 
 +The following below is a more hands-on method of installing dCore to USB. 
 + 
 +=== Manual install to USB ===
 dCore will be installed on a USB-stick. The system basically consists of the following files: dCore will be installed on a USB-stick. The system basically consists of the following files:
   - Linux kernel and initial RAM disk, typically named 'vmlinuz' and 'core.gz'   - Linux kernel and initial RAM disk, typically named 'vmlinuz' and 'core.gz'
Line 10: Line 61:
 All these files or folders may well reside on any type of file system, even ones not respecting Linux permissions.  All these files or folders may well reside on any type of file system, even ones not respecting Linux permissions. 
  
-=== Optional Steps ===+===== Optional Steps =====
 The user data in '/opt/' or '/home/' could well be stored on a partition of its own with a Linux file system. We shall not endeavour to doing so here, however. The user data in '/opt/' or '/home/' could well be stored on a partition of its own with a Linux file system. We shall not endeavour to doing so here, however.
 ===== Building blocks for a basic desktop installation ===== ===== Building blocks for a basic desktop installation =====
Line 302: Line 353:
   * Persistently storing user data in 'mydata.tgz' for selected files listed in '.filetool.lst'   * Persistently storing user data in 'mydata.tgz' for selected files listed in '.filetool.lst'
   * Automatically running system command during startup or shutdown   * Automatically running system command during startup or shutdown
-==== Outlook ====+=== Outlook ===
 Where to head from here? Check out the page about Where to head from here? Check out the page about
 [[dcore:installations|installations]] [[dcore:installations|installations]]
Line 316: Line 367:
   * [[dcore:installations#maintenance|upgrading the system]]   * [[dcore:installations#maintenance|upgrading the system]]
  
-=== Further reading ===+=== Further Reading ===
 There are several explanations in the [[dcore:welcome|wiki]] that provide very informative reading after having followed all along. A recommended track consists of a [[dcore:basic_desktop_installation|basic desktop installation]] followed by a [[dcore:migrating_from_flwm_to_lxde|switch to LXDE]]. A study of the techniques for [[dcore:handling_extensions|handling extensions]] is pretty mandatory. There are several explanations in the [[dcore:welcome|wiki]] that provide very informative reading after having followed all along. A recommended track consists of a [[dcore:basic_desktop_installation|basic desktop installation]] followed by a [[dcore:migrating_from_flwm_to_lxde|switch to LXDE]]. A study of the techniques for [[dcore:handling_extensions|handling extensions]] is pretty mandatory.
  
 **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]** **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
Print/export
QR Code
QR Code dcore:usb_installation_test-drive (generated for current page)