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:basic_desktop_installation [2015/12/14 06:20] – [Persistence] sm8psdcore:basic_desktop_installation [2019/04/10 10:05] (current) – [Install dCore on Hard-disk] typos TomyTurbos
Line 1: Line 1:
-======Installing dCore on Hard-disk======+======Install dCore on Hard-disk======
  
-dCore may well be installed to hard-disk in the same frugal way as on a [[dcore:usb_installation_test-drive|USB-stick]]. Here we consider, though, a full-fledged installation with persistent '/home/' and '/opt/', //Syslog//, multiple TTYs and some more goodies. There are quite some choices made and this exposition will give a basic, functional desktop. All of it can later be adapted to once likings.+dCore may well be installed to hard-disk in the same frugal way as on a [[dcore:usb_installation_test-drive|USB-stick]]. Here we consider, though, a full-fledged installation with persistent '/home/' and '/opt/', //Syslog//, multiple TTYs and some more goodies. There are quite some choices made and this exposition will give a basic, functional desktop. All of it can later be adapted to one's liking.
  
 The persistent directories will reside directly on hard-disk instead of being included into 'mydata.gz'. The advantage over the frugal installation is that there is no need for packing and un-packing those two, possibly quite large directories.  The persistent directories will reside directly on hard-disk instead of being included into 'mydata.gz'. The advantage over the frugal installation is that there is no need for packing and un-packing those two, possibly quite large directories. 
Line 20: Line 20:
 ====Base extensions for wireless connection (optional)==== ====Base extensions for wireless connection (optional)====
  
-Follow the instructions for side-loading the base [[http://wiki.tinycorelinux.net/dcore:wireless_set-up#import_extensions|extensions for wireless connection]] if needed+The instructions for side-loading the base [[dcore:wireless_set-up#import_extensions|extensions for wireless connection]] can be applied in the following way: 
- +  - Make the files available anywhere in the file system
 +  - Upon first launching (cf. [[#First launch|below]]), copy the files into the tce-directory and proceed as [[dCore:Wireless set-up|instructed]].
 =====Boot-loader===== =====Boot-loader=====
  
Line 59: Line 59:
 menuentry "dCore Trusty" { menuentry "dCore Trusty" {
     search --label --set=root "dCore"     search --label --set=root "dCore"
-    linux /boot/vmlinuz-trusty tce=LABEL="dCore" home=LABEL="dCore" opt=LABEL="dCore" user=<USER> host=<HOST> desktop=flwm tz=<TIMEZONE> syslog multivt+    linux /boot/vmlinuz-trusty tce=LABEL="dCore" home=LABEL="dCore" opt=LABEL="dCore" user=<USER> host=<HOST> desktop=flwm_topside tz=<TIMEZONE> syslog multivt
     initrd /boot/dCore-trusty.gz     initrd /boot/dCore-trusty.gz
 } }
Line 85: Line 85:
  
   *''mount'' should show the dCore-partition mounted three times, once as '/mnt/sdX#/', '/home/' and '/opt/' each.    *''mount'' should show the dCore-partition mounted three times, once as '/mnt/sdX#/', '/home/' and '/opt/' each. 
-  *'/home/<USER>' and '/opt/' should contain a few files, some hideen +  *'/home/<USER>' and '/opt/' should contain a few files, some hidden 
-  *'/etc/sysconfig/tce-dir' should be a symbolic link to '/mnt/sdX#/tce/'+  *'/etc/sysconfig/tcedir' should be a symbolic link to '/mnt/sdX#/tce/'
  
 In case any of the above should not hold then ... In case any of the above should not hold then ...
Line 94: Line 94:
   *verify that the essential boot stanza (containing only kernel and intird) works in principle by launching it from the shell of the boot-loader (Grub can use tab-completion which is helpful here).   *verify that the essential boot stanza (containing only kernel and intird) works in principle by launching it from the shell of the boot-loader (Grub can use tab-completion which is helpful here).
  
 +=== Password ===
 +The specified user is given the hard-coded password "tcuser". In general, it does not make much sense to specify an individual password because it is not straight-forward to keep it safe. There are some suitable [[http://wiki.tinycorelinux.net/?do=search&id=password|boot-options]] available, though.
 =====Persistence===== =====Persistence=====
  
 In principle, files under '/home' or '/opt' do not have to be included into 'mydata.gz' anymore. Any persistent file outside these two directories, e.g. configuration files under '/etc/', must be listed in '/opt/.filetool.lst', however, and such files only are backed-up upon request. In principle, files under '/home' or '/opt' do not have to be included into 'mydata.gz' anymore. Any persistent file outside these two directories, e.g. configuration files under '/etc/', must be listed in '/opt/.filetool.lst', however, and such files only are backed-up upon request.
  
-Thus it makes sense to clear out '/opt/.filetool.lst' (but leave the empty file in place!). However, the graphical log-out dialogue does not handle an empty 'mydata.gz' well. So create some empty file like '/var/.DUMMY' and add "var/.DUMMY" into '.filetool.lst'. +Thus it makes sense to clear out '/opt/.filetool.lst' (but leave the empty file in place!). However, the backup mechanism does not handle an empty 'mydata.gz' well. So it will automatically add "opt/.filetool.lst" to the file upon first occasion. Do not worry about that (but notice the omitted initial slash!). Launch ''backup'' for a first time then. ([[dcore:usb_installation_test-drive#backup|Recall]] that ''shutdown'' from the command line would not perform it on its own.)
- +
-Launch ''backup'' for a first time then. ([[dcore:usb_installation_test-drive#backup|Recall]] that ''shutdown'' from the command line would not perform it on its own.) +
  
 =====Wireless (preliminary set-up)===== =====Wireless (preliminary set-up)=====
Line 112: Line 111:
 The extension //xorg-all// is a meta-package that will pull in all available X drivers. It is good for getting the system up and running; however due to its large size, one may later want to [[dcore:xorg-video_driver_packages|reduce to the necessary drivers]] for the specific system. The extension //xorg-all// is a meta-package that will pull in all available X drivers. It is good for getting the system up and running; however due to its large size, one may later want to [[dcore:xorg-video_driver_packages|reduce to the necessary drivers]] for the specific system.
  
-As an aside, take note that the //Xprogs// extension -- which is mentioned in earlier documentation -- has become a [[http://forum.tinycorelinux.net/index.php/topic,18384.msg112091.html#msg112091|dependency]] of any //xorg//-extension.+The standard window manager ist [[https://en.wikipedia.org/wiki/FLWM|Flwm]] in the top-side variant as provided by the package "flwm_topside". Other than the original variant, it features a horizontal window bar. For smaller wide-screens, however, the original may be better suited.
  
-For the moment, import the extensions //graphics-<KERNEL>-tinycore//, //xorg-all// and //flwm// with the option ''-b'' set, marking them for loading at boot-time. After a reboot, dCore starts a graphical desktop.+For the moment, import the extensions //graphics-<KERNEL>-tinycore//, //xorg-all// and //flwm// or //flwm_topside// with the option ''-b'' set, marking them for loading at boot-time. After a reboot, dCore starts a graphical desktop.
  
  
 =====Desktop environment===== =====Desktop environment=====
  
-Strictly speaking, the desktop environment is almost complete now. Getting acquainted with [[http://manpages.ubuntu.com/manpages/trusty/man1/flwm.1.html|Flwm]] may prove helpful. For the standard [[http://www.linuceum.com/Distros/osDesktopTinyCore.php|*Core-desktop]], we shall add Wbar. Though, strictly speaking,  there is not much need for it as everything can be accessed through the Flwm-menu. More important is the addition of a tray as there are some applications that do not run if they cannot detect any such; we use [[http://manpages.ubuntu.com/manpages/trusty/man1/trayer.1.html|Trayer]].+Strictly speaking, the desktop environment is almost complete now. Getting acquainted with [[http://manpages.ubuntu.com/manpages/trusty/man1/flwm.1.html|Flwm]] may prove helpful. For instance, it provides a (compiled-in) set of [[wiki:flwm|keyboard short-cuts]]. 
 + 
 +For the standard [[http://www.linuceum.com/Distros/osDesktopTinyCore.php|*Core-desktop]], we shall add Wbar. Though, strictly speaking, there is no real need for it as everything can be accessed through the Flwm-menu. More important is the addition of a tray as there are some applications that do not run if they cannot detect any such; we use [[http://manpages.ubuntu.com/manpages/trusty/man1/trayer.1.html|Trayer]].
  
 Simply importing //wbar// and //trayer// with the ''-b'' option will suffice for Wbar; for Trayer, create the following file '~/.X.d/trayer'. Simply importing //wbar// and //trayer// with the ''-b'' option will suffice for Wbar; for Trayer, create the following file '~/.X.d/trayer'.
Line 142: Line 143:
   * Importing and loading desktop applications, e.g. a web-browser, an office suite etc., are discussed in the page about [[dcore:extensions|extensions]].   * Importing and loading desktop applications, e.g. a web-browser, an office suite etc., are discussed in the page about [[dcore:extensions|extensions]].
   * Finally, [[dcore:installations#Localisation|localisation]] is a topic of its own that deserves special mention.   * Finally, [[dcore:installations#Localisation|localisation]] is a topic of its own that deserves special mention.
 +  * One most certainly wants to get rid of the [[dcore:usb_installation_test-drive#Note about black-listing kernel modules|bleepin' beeping]] on the console.
Print/export
QR Code
QR Code dcore:basic_desktop_installation (generated for current page)