Add Yaru-dark skin from ConLenov
[kolibrios.git] / data / eng / docs / INSTALL.TXT
blob6b0f7d68907a393e5ed2ab8f5b61e32ff73832db
1 System requirements\r
2 -------------------\r
3 \r
4 Minimal system requirements for KolibriOS:\r
5 * CPU 5x86: Pentium, AMD or Cyrix without MMX with frequency 90 MHz\r
6 * RAM: 8 MB\r
7 * Videocard: supporting VGA (640x480x16 mode) or VESA\r
8 * Keyboard: AT\r
9 * Mouse: COM, PS/2 or USB\r
11 The system can boot from any of following devices:\r
12 * BIOS mode\r
13   - Floppy 3.5\r
14   - HDD LBA\r
15   - CD/DVD\r
16   - USB Flash\r
17 * UEFI mode\r
18   - HDD\r
19   - USB Flash\r
22 Installation: BIOS mode\r
23 -----------------------\r
25 ### Install to floppy\r
27 * Insert clean floppy without bad sectors to drive.\r
28 * Write to it `kolibri.img` image with any available methods:\r
30   * (if you have already loaded KolibriOS by any method) run the program\r
31     `rdsave` and select the variant corresponding to floppy;\r
33   * (for DOS and Windows) run subjoined install.bat;\r
35   * with program WinImage or its analogue (e.g. DiskExplorer);\r
37   * (for Linux) set "executable" attribute to subjoined script install.sh\r
38     and run it.\r
40 Now you can boot from floppy (keep it in drive, reboot, set in BIOS option of\r
41 floppy booting).\r
44 ### Install to hard disk\r
46 There exist several loaders from hard disk. All are oriented on DOS and Windows\r
47 users. Also standard Linux-loader GRUB can be used. All methods work with file\r
48 `kolibri.img`. If you already have old version of KolibriOS installed, simply\r
49 replace `kolibri.img` to the new one. If you have booted from LiveCD, which does\r
50 not contain the file `kolibri.img`, KolibriOS can create it independently. To do\r
51 this, run the program `rdsave`, enter the file name for saving and select the\r
52 corresponding variant. Of course, in this case KolibriOS must be able to write\r
53 to file system of selected partitions. Currently this means that only FAT and\r
54 EXT2 volumes are ok.\r
56 * Most of all features has the loader mtldr (author - Diamond) - works with\r
57   DOS/Win95/98/NT/2k/XP/Vista, supports FAT32 and NTFS, has installer, can be\r
58   installed to any folder on disk.\r
60   To install, simply run file HD_load\mtldr_install.exe and select image file.\r
61   Apropos, by this way you can install several images. There is also variant of\r
62   install by hand - for those who want to know what installer does: directions\r
63   in `HD_load\mtldr`.\r
65 * There is also the loader MeOSLoad (author - Trans, expanded by Mario79) -\r
66   works with DOS/Win95/98, supports FAT32. It is placed with the instruction\r
67   to the folder `HD_load\MeOSLoad`.\r
69 * Moreover, there exists a program which allows to load KolibriOS directly from\r
70   Windows 95/98/Me (of course, unloading it) - `9x2klbr` (author - Diamond),\r
71   supports FAT32 and NTFS.\r
73 * Usage of the loader GRUB. Place the file `memdisk` to the folder `boot`\r
74   or to the partition used for KolibriOS.\r
76   a) For GRUB2, in the folder `/etc/grub.d` add to one of files next lines:\r
78   ```\r
79   menuentry 'KolibriOS' {\r
80           linux16 (hd[Hard disk number],[partition number])[path]/memdisk\r
81           initrd16 (hd[Hard disk number],[partition number])[path]/kolibri.img\r
82   }\r
83   ```\r
84   example:\r
86   ```\r
87   menuentry 'KolibriOS' {\r
88           linux16 (hd0,msdos1)/boot/memdisk\r
89           initrd16 (hd0,msdos1)/boot/kolibri.img\r
90   }\r
91   ```\r
92   then, run in terminal `sudo update-grub`.\r
94   b) For old GRUB, add to the configuration file `menu.lst` next lines:\r
96   ```\r
97   title KolibriOS\r
98   kernel (hd[Hard disk number],[partition number])[path]/memdisk\r
99   initrd (hd[Hard disk number],[partition number])[path]/kolibri.img\r
100   ```\r
101   Remember that numeration in GRUB starts from 0. Example:\r
103   ```\r
104   title KolibriOS\r
105   kernel (hd0,0)/boot/memdisk\r
106   initrd (hd0,3)/kolibri/kolibri.img\r
107   ```\r
110 ### Install to USB flash drive\r
112 The special loader for FAT32-volumes has been written. It and its installer to\r
113 flash drive can be found in the directory `HD_load\USB_Boot`.\r
115 Despite the fact that the installer from the previous step is recommended, you \r
116 may also use Rufus https://rufus.ie to write Kolibri ISO-image on the USB flash.\r
118 For not-FAT32 drives you may use article placed in the directory\r
119 `HD_load\USB_Boot_old`.\r
122 ### Install to CD and DVD\r
124 There exists special LiveCD-version of KolibriOS, which contains in addition to\r
125 standard things some 'heavy' (in KolibriOS standards) programs: the ported\r
126 emulator DosBox, videoplayer Fplay, PDF reader, games like Quake, DOOM, Tyrian\r
127 and Wolfenstain3D, etc.\r
129 You can also create bootable CD or DVD on the base of `kolibri.img`, adding\r
130 anything what you want, in the mode of floppy emulation. The appropriate actions\r
131 are determined by used CD/DVD write program (focus on words such as 'boot floppy\r
132 emulation').\r
135 Installation: UEFI mode\r
136 -----------------------\r
138 UEFI support is still in beta. Be ready to face issues and report them.\r
140 ### Install to hard disk\r
142 * To boot KolibriOS from HDD these four files are needed:\r
144   * `uefi4kos`: UEFI-specific loader for KolibriOS, shipped as `bootx64.efi` and\r
145     `bootia32.efi` binaries. Choose one of these `boot*.efi` images to match the\r
146     architecture of your machine's UEFI firmware. Use `bootx64.efi` if unsure.\r
147   * `kolibri.img`: a RAM disk image.\r
148   * `kolibri.krn`: KolibriOS kernel compiled without BIOS-related legacy stuff.\r
149   * `kolibri.ini`: a configuration file. It is used to e.g. set screen\r
150     resolution.\r
153 * If you have any UEFI-aware OS installed on your HDD, then there already is a\r
154   so called EFI system partition (ESP) on it. If your HDD is not partitioned\r
155   yet, you have to first create a GUID partition table (GPT) on it and then\r
156   create mentioned EFI system partition formatted as FAT32.\r
158 * Make a directory `/efi/kolibrios` on the ESP.\r
160 * Copy all the `kolibri.???` files mentioned above to that directory.\r
162 * If KolibriOS is the only OS to be loaded from that HDD, make a directory\r
163   `/efi/boot` and copy the chosen `boot*.efi` loader there.\r
165 * If there is some other OS already installed on the HDD, put `boot*.efi` file\r
166   to `/efi/kolibrios` directory and then setup the boot loader of the installed\r
167   OS to boot KolibriOS.\r
169   For example, for GRUB2 (nowadays also known as just GRUB, not GRUB1 or\r
170   GRUB-legacy) follow these three steps:\r
172   1. Append file `/etc/grub.d/42_custom` with a new menu entry.\r
174      ```\r
175      menuentry "KolibriOS" {\r
176              insmod part_gpt\r
177              insmod fat\r
178              insmod chain\r
179              chainloader /EFI/kolibrios/bootx64.efi\r
180      }\r
181      ```\r
183   2. Locate GRUB config file in your system, namely `grub.cfg`. It might be in\r
184      `/boot/grub/`.\r
186   3. Update `grub.cfg` with a command like below.\r
187      ```\r
188      sudo grub-mkconfig -o /boot/grub/grub.cfg\r
189      ```\r
192 ### Install to USB flash drive\r
194 * If you prefer to keep all the data on the USB drive, follow the\r
195   steps above for hard disks.\r
197 * If, instead, you are okay to lose all the data on the USB drive, use\r
198   `kolibri.raw` image. It is ready to be directly written to the flash drive.\r
200   Linux users can write the image with standard utilities `cat` or `dd`.\r
202   Windows users can use [Rawwrite32] or [Rufus].\r
204 [Rawwrite32]: https://www.netbsd.org/~martin/rawrite32/\r
205 [Rufus]: https://rufus.ie\r