Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:install_hd [2013/07/26 08:34] – [Run the Installer] cakruege | wiki:install_hd [2022/09/21 17:10] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Install Tinycore on a Hard Drive ====== | ||
+ | |||
+ | This method may be used to install Tinycore on a computer hard drive.\\ | ||
+ | See also: [[http:// | ||
+ | |||
+ | For other installation methods, see the [[start|Index]]. | ||
+ | |||
+ | Before installing Tinycore, save a copy of all files you want to keep. All files will be lost. | ||
+ | |||
+ | ==== Use the Latest Version ==== | ||
+ | |||
+ | Use the latest version of Tinycore. New versions have improvements and additional features. | ||
+ | |||
+ | ==== Things You Need ==== | ||
+ | |||
+ | A computer. | ||
+ | |||
+ | The coreplus (or tinycore) CD. | ||
+ | |||
+ | Optional: The Parted Magic CD. | ||
+ | |||
+ | ==== Download Tinycore ==== | ||
+ | |||
+ | |||
+ | |||
+ | Download the latest version of Coreplus or Tinycore ISO from one of the [[mirrors]], | ||
+ | |||
+ | http:// | ||
+ | |||
+ | coreplus ISO contains many extras like tc-install (used for installing tinycore to a drive), wifi tools and firmware extensions, etc. etc.. | ||
+ | |||
+ | tinycore ISO does not contain any required install extensions but will likely boot to a tinycore desktop where you may download tc-install-GUI and hardware specific extensions for a more compact installation. | ||
+ | |||
+ | ==== Recommended but Optional: Partition the Drive ==== | ||
+ | |||
+ | When installing Tinycore on a hard drive, it is ideal to have a swap partition. However, some people may choose not to have a swap partition in a computer with large RAM. Computers with small RAM should have a swap partition. To have a swap partition, you need to set up partitions before beginning installation. If you don't want a swap partition, you can skip this section. | ||
+ | |||
+ | Before partitioning the drive, save a copy of all files you want to keep. All files on the drive will be lost. | ||
+ | |||
+ | An easy way for new users to partition a drive is using GParted. People connected to the internet may install GParted in Tinycore, and use it for partitioning. Others may download the latest version of [[Parted Magic]], and use it for partitioning. | ||
+ | |||
+ | Start the GParted Partition Editor. | ||
+ | |||
+ | If you have more than one drive in the computer, select the correct drive. If you select the wrong drive, everything on that drive will be lost. | ||
+ | |||
+ | Delete existing partitions. | ||
+ | |||
+ | If you plan to install only Tinycore using the entire hard drive, make an Ext4 partition and a swap partition. It is common practice to make the Ext4 partition first, using all of the space on the hard drive except that left for swap. A suggested size for the swap partition is double the RAM. | ||
+ | |||
+ | Experienced users may use fdisk, mkfs.ext4 and mkswap, instead of GParted. | ||
+ | |||
+ | Also see [[partition|Partition a Hard Drive to Install more than one Operating System]] | ||
+ | |||
+ | ==== Run Tinycore ==== | ||
+ | |||
+ | Put the tinycore CD in the drive, and restart the computer, so it runs Tinycore with the installer. | ||
+ | |||
+ | |||
+ | ==== Mount the ISO ==== | ||
+ | |||
+ | Click on the Mount Tool. | ||
+ | |||
+ | Click on the CD drive so it becomes mounted. It will be green when mounted. | ||
+ | |||
+ | The CD drive will be something like sdc, without a number at the end. Hard drive and USB drive partitions are normally something like sda1, with a number at the end. | ||
+ | |||
+ | ==== Run the Installer ==== | ||
+ | |||
+ | If tinycore.iso is used, download the tc-install-GUI extension | ||
+ | |||
+ | < | ||
+ | |||
+ | To run the installer, click TC-Install in the wbar or menu. | ||
+ | |||
+ | Another option is to click the Run icon, and type | ||
+ | |||
+ | < | ||
+ | |||
+ | Select Tiny Core. | ||
+ | |||
+ | Select the location of the tinycore.gz file. It will be in / | ||
+ | |||
+ | Select Frugal. | ||
+ | |||
+ | If you have partitioned the drive, select Existing Partition. Then select the partition. Warning: If you select the wrong partition, everything on that partition will be lost. Then click on the square preceeding "Mark Partition Active (bootable)" | ||
+ | |||
+ | If you have not partitioned the drive, select Whole Disk. Then select the correct drive. Warning: If you select the wrong drive, everything on that drive will be lost. | ||
+ | |||
+ | Click the Forward arrow. | ||
+ | |||
+ | Formatting Options: Select ext4. | ||
+ | |||
+ | Click the Forward arrow. | ||
+ | |||
+ | Boot options. Type: | ||
+ | |||
+ | < | ||
+ | |||
+ | If not installing to sda1, change sda1 to the correct partition. | ||
+ | |||
+ | For foreign system language and keymap | ||
+ | |||
+ | < | ||
+ | |||
+ | Click the Forward arrow. | ||
+ | |||
+ | Click Proceed. | ||
+ | |||
+ | Tinycore will be installed. | ||
+ | |||
+ | ==== Restart the Computer ==== | ||
+ | |||
+ | You can restart the computer and run Tinycore. Remember to remove the CD. | ||
+ | |||
+ | Have fun using Tinycore. | ||
+ | |||
+ | ==== Optional: Remove waitusb=5 from extlinux ==== | ||
+ | |||
+ | The same installer is used to install Tinycore on a hard drive or a USB drive. When booting from a USB drive, the computer may take some time to read the USB drive. To give it time to read the USB drive, waitusb=5 is included in the boot options. This tells the computer to wait 5 seconds. | ||
+ | |||
+ | When installing to a hard drive, waitusb=5 is included, but is not needed. If this is deleted, Tinycore will start 5 seconds quicker. | ||
+ | |||
+ | To remove this, open the terminal and type: | ||
+ | |||
+ | sudo editor | ||
+ | |||
+ | Open the file / | ||
+ | |||
+ | Delete | ||
+ | |||
+ | waitusb=5: | ||
+ | |||
+ | Save the file and close the editor. | ||
+ | |||
+ | You may also add, modify or remove other boot options using the same method. | ||
+ | |||
+ | ==== Save Application Settings ==== | ||
+ | |||
+ | If you included the " | ||
+ | |||
+ | If you install certain applications, | ||
+ | |||
+ | There are various ways to save settings. | ||
+ | |||
+ | 1. The ideal method in most situations, is to make a new extension with settings. For more information, | ||
+ | |||
+ | 2. Settings can also be saved in /opt. For an example of this, see [[passwd|Tinycore Passwords]]. | ||
+ | |||
+ | 3. Another option is to use backup. If you want to use backup, don't include the “norestore” boot option. Then edit / | ||
+ | |||
+ | Also see [[install apps|Install Applications]], | ||
+ | |||
+ | ==== Use Passwords ==== | ||
+ | |||
+ | If you want to use passwords to prevent other people from logging in, you can set up a menu, as explained in [[extlinux|Extlinux Bootloader]], | ||
+ | |||
+ | Another option is to use [[passwd|Tinycore Passwords]]. | ||
+ | |||
+ | ---- | ||
+ | ---- | ||
+ | |||
+ | ===== Other Options ===== | ||
+ | ==== Install with Tinycore CD and install.gz ==== | ||
+ | |||
+ | Tinycore can be installed using the tinycore CD and install.gz, instead of the multicore CD. | ||
+ | |||
+ | To use this method: | ||
+ | |||
+ | Format the partition as ext4 before beginning installation. | ||
+ | |||
+ | Create a tce directory. | ||
+ | |||
+ | Copy install.gz to the tce directory (not / | ||
+ | |||
+ | Restart the computer for it to be loaded. | ||
+ | |||
+ | During installation: | ||
+ | |||
+ | Select Existing Partition. Then select the partition. | ||
+ | |||
+ | Formatting Options: Select No formatting, use existing. | ||
+ | |||
+ | ==== Install from a Hard Drive or USB Drive ==== | ||
+ | |||
+ | To install from a Hard Drive or USB drive, copy install.gz to the tce directory (not / | ||
+ | |||
+ | Restart the computer for it to be loaded. | ||
+ | |||
+ | ==== Load install.gz ==== | ||
+ | |||
+ | install.gz can be loaded from any directory by opening the Control Panel, then clicking Load Starter Pack. | ||
+ | |||
+ | |||