Both sides previous revisionPrevious revisionNext revision | Previous revision |
dcore:basic_desktop_installation [2016/05/10 17:46] – [Installing dCore on Hard-disk] nitram | dcore:basic_desktop_installation [2019/04/10 10:05] (current) – [Install dCore on Hard-disk] typos TomyTurbos |
---|
======Install 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 ... |
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' (notice the omitted initial slash!). | 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)===== |