Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:usb_installation_test-drive [2016/05/17 06:57] – [Automatically Boot Into The Graphcial Environment] nitram | dcore: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:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | In Windows, there are utilities like Rufus and Unetbootin, the latter also available for linux. | ||
+ | |||
+ | 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. | ||
+ | |||
+ | < | ||
+ | for I in `ls / | ||
+ | </ | ||
+ | |||
+ | If your USB device is /dev/sdb, then the following command will write the dCorePlus ISO to the USB: | ||
+ | |||
+ | < | ||
+ | dd if=dCorePlus-stretch64.iso of=/ | ||
+ | </ | ||
+ | |||
+ | Now you are ready for the initial boot of the USB to set up the final install. | ||
+ | |||
+ | < | ||
+ | sce-import dCore-usbinstall | ||
+ | sce-load dCore-usbinstall | ||
+ | sudo dCore-usbinstall | ||
+ | </ | ||
+ | |||
+ | 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. | ||
+ | |||
+ | 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 ' | - Linux kernel and initial RAM disk, typically named ' | ||
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 '/ | The user data in '/ | ||
===== Building blocks for a basic desktop installation ===== | ===== Building blocks for a basic desktop installation ===== | ||
Line 270: | Line 321: | ||
- ' | - ' | ||
- ' | - ' | ||
- | ==== ' | + | === ' |
These files, residing in '/ | These files, residing in '/ | ||
* ' | * ' | ||
Line 280: | Line 331: | ||
These files run with root privileges and, accordingly, | These files run with root privileges and, accordingly, | ||
- | === Simple | + | =-= Simple |
Let's, for example, generate a symbolic link '/ | Let's, for example, generate a symbolic link '/ | ||
The following commands will add appropriate lines to '/ | The following commands will add appropriate lines to '/ | ||
Line 289: | Line 340: | ||
Don't forget to trigger a backup before rebooting! | Don't forget to trigger a backup before rebooting! | ||
- | == Note about black-listing kernel modules | + | === Note About Blacklisting Kernel Modules === |
The black-listing of kernel modules can also be achieved via [[http:// | The black-listing of kernel modules can also be achieved via [[http:// | ||
- | ===== Looks ===== | + | ===== Summary |
- | ==== Synopsis | + | === Synopsis === |
This sample set-up addressed the following issues: | This sample set-up addressed the following issues: | ||
* Running a basic dCore installation from a FAT32 file system | * Running a basic dCore installation from a FAT32 file system | ||
Line 302: | Line 353: | ||
* Persistently storing user data in ' | * Persistently storing user data in ' | ||
* 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: | [[dcore: | ||
Line 316: | Line 367: | ||
* [[dcore: | * [[dcore: | ||
- | === Further | + | === Further |
There are several explanations in the [[dcore: | There are several explanations in the [[dcore: | ||
+ | **[[http:// |