Both sides previous revisionPrevious revisionNext revision | Previous revision |
dcore:basic_desktop_installation [2015/12/14 08:07] – [X Server] mention top_side sm8ps | dcore:basic_desktop_installation [2019/04/10 10:05] (current) – [Install dCore on Hard-disk] typos TomyTurbos |
---|
======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. |
====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===== |
| |
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 |
} | } |
*''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 hidden | *'/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 ... |
*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)===== |
=====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'. |
* 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. |