Difference between revisions of "Alpine newbie install manual"

From Alpine Linux
Jump to: navigation, search
(Ways to install Alpine into machines or virtuals: expanded to others ways with chroot or external discs)
m (Alpine Install: by booting a medium into a machine: more explicit why all this methods)
Line 14: Line 14:
  
 
# [[Alpine Install: from a disc to a virtualbox machine single only]], install Alpine into VirtualBox virtual machine, use if you have a '''VirtualBox virtual machine and only wants to take a shoot into it'''.
 
# [[Alpine Install: from a disc to a virtualbox machine single only]], install Alpine into VirtualBox virtual machine, use if you have a '''VirtualBox virtual machine and only wants to take a shoot into it'''.
# [[Alpine Install: from a disc to a new computer single only boot]], install Alpine into real modern machine by burning a CD/DVD disc that will boot if you have a '''UEFI or newer hardware and will be only Alpine into it'''.
+
# [[Alpine Install: from a disc to a new computer single only boot]], install Alpine into real modern machine by burn a disc that will boot if you have a '''UEFI or newer hardware and will be only Alpine into it through CD/DVD drive'''.
# [[Alpine Install: from a disc to a old computer single only boot]], install Alpine into real most common machine by burning a CD/DVD disc that will boot if you have '''common older hardware and will be only Alpine into it'''.
+
# [[Alpine Install: from a disc to a old computer single only boot]], install Alpine into real most common machine by burn a disc that will boot if you have '''common older hardware and will be only Alpine into it through CD/DVD drive'''.
# [[Alpine Install: from a usb to a new computer single only boot]], install Alpine into real modern machine by creating USB drive unit that will boot if you have a '''UEFI or newer hardware and will be only Alpine into it'''.
+
# [[Alpine Install: from a usb to a new computer single only boot]], install Alpine into real modern machine by creating USB drive unit that will boot if you have a '''UEFI or newer hardware and will be only Alpine into it through USB drive'''.
# [[Alpine Install: from a usb to a old computer dual boot linux Debian]], install Alpine into most common machine by creating USB drive unit that will boot if you have '''common older hardware and will be other Linux as main OS'''.
+
# [[Alpine Install: from a usb to a old computer dual boot linux Debian]], install Alpine into most common machine by creating USB drive unit that will boot if you have '''common older hardware and will be other Linux as main OS through USB boot'''.
# [[Alpine Install: from a usb to a old computer dual boot linux Alpine]], install Alpine into most common machine by creating USB drive unit that will boot if you have '''common older hardware and will be Alpine as main OS'''.
+
# [[Alpine Install: from a usb to a old computer dual boot linux Alpine]], install Alpine into most common machine by creating USB drive unit that will boot if you have '''common older hardware and will be Alpine as main OS through USB boot'''.
  
 
== Alpine Install: by using inside linux already started ==
 
== Alpine Install: by using inside linux already started ==

Revision as of 21:44, 13 August 2019

A proper setup of your system are need, but if you deploy all of an ecosystems in your own home and job.. in your only machine... you will need a proper guide to setup your main system (or maybe a parallel system?).

Alpine is the Linux that has the most ways to install, the fastest and most flexible ways, that if not the easiest to understand for newbies, but the easiest for a Linux user looking for efficiency and performance.

Alpine can be booted or not, just use it. Alpine Linux installation process are so flexible that indeed can just boot up inside other broken Linux. You believe that every system needs a DVD disc, or a USB to install it?, but Alpine may not even need it, so much so that it can even boot from its phone memory. Obviously the more exquisite the more complicated method.

Ways to install Alpine into machines or virtuals

Note: You can choose one of the following methods, but we recommend finish reading this document, so you can understand a little more of the Alpine Install ecosystem for user.

The following wiki pages list the easiest of the already diverse modes (which are more than those listed here obviously), the numbers are to reflects the most likely way for you and the most common cases to the less common case, but for sure depends on your choice and your needs of course.

Alpine Install: by booting a medium into a machine

  1. Alpine Install: from a disc to a virtualbox machine single only, install Alpine into VirtualBox virtual machine, use if you have a VirtualBox virtual machine and only wants to take a shoot into it.
  2. Alpine Install: from a disc to a new computer single only boot, install Alpine into real modern machine by burn a disc that will boot if you have a UEFI or newer hardware and will be only Alpine into it through CD/DVD drive.
  3. Alpine Install: from a disc to a old computer single only boot, install Alpine into real most common machine by burn a disc that will boot if you have common older hardware and will be only Alpine into it through CD/DVD drive.
  4. Alpine Install: from a usb to a new computer single only boot, install Alpine into real modern machine by creating USB drive unit that will boot if you have a UEFI or newer hardware and will be only Alpine into it through USB drive.
  5. Alpine Install: from a usb to a old computer dual boot linux Debian, install Alpine into most common machine by creating USB drive unit that will boot if you have common older hardware and will be other Linux as main OS through USB boot.
  6. Alpine Install: from a usb to a old computer dual boot linux Alpine, install Alpine into most common machine by creating USB drive unit that will boot if you have common older hardware and will be Alpine as main OS through USB boot.

Alpine Install: by using inside linux already started

  1. Alpine Install: from alpine mirror to a new computer by chroot, install Alpine into real modern machine directly using the Alpine mirror sources if you will use the Alpine inside other Linux instalation by chroot.
  2. Alpine Install: from alpine mirror to an external disc by chroot, install Alpine into real modern machine directly using the Alpine mirror sources if you extracted the disc and use in already booted linux to install.
  3. Alpine Install: from a iso to a virtualbox machine with external disc, install Alpine into VirtualBox external disc machine, use if you have a older computer that don't boot but extract the disc to prepare it for.

Ways to use Alpine Linux without install

Alpine generated ISO's are a hybridISO, ISO 9660 filesystems as described in the ISOLINUX article will boot via BIOS firmware, but only from optical media like CD, DVD, or BD.

The isohybrid feature enhances such filesystems by a Master Boot Record (MBR) for booting via BIOS from any storage Flash Drive like (such as USBFlash disc Drives or MM).

  1. Alpine Install: from a usb disc to a machine single only, dump Alpine into usb/mmc card and later use it at your machine without modify any of your already installed files or operating system.

A general overview of the install

As any Linux installation, Alpine start process by booting from an external device (CD/DVD, USB Drive, etc...).

As Alpine uses Linux kernel, start step of collecting information to initialize a minimum system, the setup-alpine will copy files. This minimun system started before proceed to property install are a diskless mode started from the orig medium.

The post installation step provides the way to choose the root password, and eventually boot up the new installed system.

Alpine can be used in any of three modes respected the install process:

diskless mode

You'll boot from a read-only medium such as the installation CD, a USB drive, or a Compact Flash card.

Tip: To prepare either a USB or Compact Flash card, you can use the setup-bootable script; see the pages linked above for details.

When you use Alpine in this mode, you need to use Alpine Local Backup (lbu) to save your modifications between reboots. That requires some writable medium, usually removable. If your boot medium is, for example, a USB drive, you can save modifications there; you don't need a separate partition or drive. See also Local APK cache.

Note: When the setup-alpine script asks for a disk, say "none". It will then prompt whether you'd like to preserve modifications on any writable medium.

data mode

As in diskless mode, your OS is run from a read-only medium. However, here a writable partition (usually on a hard disk) is used to store the data in /var. That partition is accessed directly, rather than copied into a tmpfs; so this is better-suited to uses where large amounts of data need to be preserved between reboots.

Note: The setup-alpine script handles installing Alpine in this mode, too, when you supply a writable partition instead of "none", and request mode "data".

This mode may be used for mailspools, database and log servers, and so on.

sys mode

This is a traditional hard-disk install (see link for details). Both the boot system and your modifications are written to the hard disk in a standard Linux hierarchy.

Note: The setup-alpine script handles installing Alpine in this mode, too, when you supply a writable partition instead of "none", and request mode "sys". By default, it will create three partions on your disk for /boot, /, and swap; however you can also partition your disk manually.

This mode may be used for desktops, development boxes, and virtual servers.

Documents series

Previous required What's next to read
Alpine newbie Alpine Install: from a disc to a virtualbox machine single only

See Also

  1. Newbie_Alpine_Ecosystem
  2. Alpine newbie apk packages
  3. Alpine newbie desktops
  4. Alpine newbie developer
  5. Alpine newbie lammers