Difference between revisions of "Alpine newbie install manual"

From Alpine Linux
Jump to: navigation, search
(Ways to install Alpine into machines or virtuals: adde wiki page for very older hardware that doe not boot with usb and does not are 64bit capable)
(removing some of the redundance and confusion (info got condensed into basic Install page))
Line 47: Line 47:
 
|}
 
|}
  
 
= Overview of run modes for Alpine systems =
 
 
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'''.
 
 
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?).
 
 
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 <code>[[setup-alpine]]</code> will copy files. This minimun system started before proceed to property install are a [[Alpine_newbie_install_manual#diskless_mode|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 [[Create a Bootable USB|USB drive]], or a [[Create a Bootable Compact Flash|Compact Flash card]]. {{Tip| To prepare either a USB or Compact Flash card, you can use the <code>[[setup-bootable]]</code> script; see the pages linked above for details.}} When you use Alpine in this mode, you need to use [[Alpine local backup|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 <code>[[setup-alpine]]</code> 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 {{Path|/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 <code>[[setup-alpine]]</code> 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. Both the boot system and your modifications are written to the hard disk in a standard Linux hierarchy. {{Note| The <code>[[setup-alpine]]</code> 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 {{Path|/boot}}, {{Path|/}}, and {{Path|swap}}; however you can also [[Setting up disks manually|partition your disk manually]].
 
}} This mode may be used for [[Desktops|desktops]], development boxes, and virtual servers.
 
    <!-- [[Native Harddisk Install 1.6]] Obsolete -->
 
  
 
= See Also =
 
= See Also =

Revision as of 23:37, 5 May 2020

Alpine is the Linux that has the most ways to install, here are listed only those most common, for more information see last section of this document.

  • Computer device like PC, laptop, or Raspberry, are forms or a name for machines that uses the software named "Operating System" like Alpine Linux, the target of a "install process" to property put the Alpine system.
  • Image file means it is a type of file that is downloaded and burned to a CD/DVD or dumped to a USB with popular programs (such as Nero, CloneCD, Brasero), although in the modern era it's not the only way (Raspberri's).
  • Boot or Booting means "Boot" (started from a media source) a disc recorded on DVD/CD or USB from the disc drive or from a USB port respectively, the computer boots this device and loads the Alpine operating system. Today that means involved with BIOS and UEFI systems.

Alpine are the main program named OS (means Operating System), that's runs on top of the machine/PC/laptop, and subsequently over this OS run the programs such like the internet web browser, and the web pages like "facebook" runs over that internet web browser.

Ways to install Alpine into machines or virtuals

We have here many ways listed how you can put Alpine Linux in your computer device, PLEASE CHOOSE A USE CASE MOST CLOSE TO YOUR SETUP:

Those methods are by booting a source downloaded file:

  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 any computer single only boot, install Alpine into a real modern machine by burning a disc that will boot if you have a UEFI or BIOS hardware and will be only Alpine into it through CD/DVD drive.

  3. Alpine Install: from a usb to a any computer single only boot, install Alpine into real modern machine by creating a USB drive unit that will boot if you have a UEFI or BIOS hardware and will be only Alpine into it through USB drive.

  4. Alpine Install: from a usb to any computer dual boot linux Debian, install Alpine into most common machine by creating a USB drive unit that will boot if you have common hardware and want another Linux as main OS through USB boot.

  5. Alpine Install: from a usb to any computer dual boot linux Alpine, install Alpine into most common machine by creating a USB drive unit that will boot if you have common hardware and want Alpine Linux as main OS through USB boot.

  6. Alpine Install: from a disc to a old computer single only boot, especial case for very very older hardware computers PC or laptops by burning a disc that will boot if you have a BIOS only older hardware and will be only Alpine into it through CD/DVD drive.

Those methods are 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.

Those methods are by booting through network install media:

  1. Alpine Install: from a tarball to a boot device arm, install Alpine into arm based device machine, use if you have a network install device capable arm based.

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.

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