Alpine Install: from a disc to a any computer single only boot
Overall description: Alpine Installation from a official disc/iso burned into DVD/CD to a new computer with or without UEFI and will be single only boot, it's means that any thing in the computer and their disc will be erased to put Alpine Linux as main system
This document will guide you to install Alpine into a new empty or just fresh PC or Laptop hardware computer, use if you have a BIOS or UEFI based hardware and only wants Alpine Linux into it. Please take a shoot at the Alpine_newbie_install_manual for others options like the USB media way if you don't have optical drive input media.
Contents
- 1 Terminology
- 2 Requirements
- 3 Preparing the source medium to install
- 4 Burning the source medium to install
- 5 Booting the Alpine ISO disc
- 6 The setup install for normal process
- 6.1 Login prompt as root
- 6.2 Running setup alpine script
- 6.2.1 Select keyboard layout
- 6.2.2 Select keyboard variant
- 6.2.3 Enter system hostname
- 6.2.4 Initialize network cards
- 6.2.5 Initialize network DNS
- 6.2.6 Changing password for root
- 6.2.7 Witch timezone to choose?
- 6.2.8 Proxy chooser
- 6.2.9 Enter mirror number
- 6.2.10 Witch ssh server?
- 6.2.11 Witch NTP client to run?
- 6.2.12 Setup Disk
- 7 Finishing the installation
- 8 Documents series
- 9 See Also
Terminology
- UEFI: it's a new system included in every new hardware machine laptop or desktops, that will manage the early boot process as a little operating system, see more in the Alpine and UEFI page.
- New machine: will be your real machine fresh and ready to install your new Alpine operating system, with a installed CD/DVD Rom optical drive where to put the burned downloaded disc media installation.
- Optical drive: will be your hardware drive input to put the burned downloaded iso media with the operating system Alpine to install as source media; this drive are commonly named DVD/CD Rom unit.
- Source media: will be the just burned/ disc from the downloaded iso file of Alpine operating system. Will be put into the optical drive or named DVD/CD Rom to property boot the source disc as media installation.
- Target media: will be the storage medium device into the new computer target where the Alpine files for operating system will be installed, its one partition from the HardDisk of the new computer.
Requirements
- A blank disc (CD blank or DVD blank or BR blank) to just burn/record the source media file downloaded
- In the new machine we need optical drive as input source media
- In the new machine we need at least 512Mb of RAM, but required 2Gb of RAM for desktop/graphical applications
- In the new machine we need target media with at least 2G of hard disk, but required 10G for desktops
- Will need to previously downloaded and burned the Source media ISO file from https://alpinelinux.org/downloads/
Preparing the source medium to install
Download the source medium to install and put into your home documents in a modern computer. There are more hardware medium sources to download, like the arm and i386, but ISO CD/DVD images are only to PC/Laptops that are i386 and amd64, so by downloading the x86 (32bit) flavor will be same for both cases, but UEFI need 64bit, so change to the x86_64 (amd64) if your computer is the most modern and lasted hardware.
The source medium to install for UEFI or modern hardware are just 64-bit only, the download URL will be as following format: http://dl-cdn.alpinelinux.org/alpine/v<VERSION>/releases/<ARCH>/alpine-standard-<VERSION>.0-<ARCH>.iso
where ARCH
and VERSION
could be:
<ARCH>
will be- x86: the most used i386 32-bit x86 based machines, if your computer are too older use this only.
- x86_64: The popular AMD64 compatible 64-bit x86 based machines, i386 are not recommended for newer/lasted hardware.
- s390x: For the Super powered IBM mainframes, especially IBM Z and IBM LinuxONE servers.
- ppc64le: For the PowerPC devices with pure little-endian mode, mostly for POWER8 and POWER9
<VERSION>
will be- latest-stable for a more up to date without taking care of numbered
- 3.10 the most recommended for machines between 2016 to 2018
So using 3.10 version the available links to download will be:
- x86_64:
http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86_64/alpine-standard-3.10.0-x86_64.iso
- s390x:
http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/alpine-standard-3.10.1-ppc64le.iso
- ppc64le:
http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/alpine-standard-3.10.1-ppc64le.iso
Graphical download: Just point the web browser to that url and the download of the iso file will start. A file with .iso extension type, with name like "alpine-standard-3.10.0-x86_64.iso"
(if amd64) or like alpine-standard-3.10.1-s390x.iso
(if s390x); will be downloaded commonly into the Download directory of your home documents filesystem.
Command line method: in unix-like terminal execute: wget -c -t8 --no-check-certificate http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86_64/alpine-standard-3.10.0-x86_64.iso
, and where you run the command, in that place/dir will be downloaded the file.
Burning the source medium to install
After downloading the source media file from Alpine download page put the blank disc into the input optical drive named DVD/CD Rom and open your CD/DVD recording program, choose to "burn from iso file" and wait the process will end.
In detail if you downloaded with Graphical download (using a web browser), the source media file will be into the Download directory. If you downloaded with Command line method your source file probably will be in your root document home (or just $HOME
of your Linux install or MAC install filesystem).
In Linux, assuming the blank disc is in the optical drive, the command to record/burn the downloaded source media file is :
$ umount /dev/sr0;cdrecord -v -sao dev=/dev/sr0 alpine-standard-3.10.0-x86_64.iso
If your blank media is a DVD or BD disc the command will be then :
$ umount /dev/sr0;growisofs -dvd-compat -Z /dev/sr0=alpine-standard-3.10.0-x86_64.iso
Booting the Alpine ISO disc
When the machine start, you must be sure to choose the optical drive (commonly named CD/DVD Rom drive), so the disc/iso will boot and after a while a command line shell will show you:
The setup install for normal process
After boot up.. a command line shell of a complete ready to use Alpine will show you.

Login prompt as root
At the login: to appear, type root and press enter, no password will be asked if run from image boot.
Running setup alpine script
Run the setup-alpine script as show in the image:
Select keyboard layout
Choose your keyboard layout. If you don't know your keyboard layout choose us. By example for most Latin American a es are enough, for Russian (an maybe Cirilyc ones) ru are enough.
Select keyboard variant
Choose your keyboard variant. If you don't know your keyboard variant choose default from list. By example for most Latin American must use es-winkeys are enough.
Enter system hostname
Host name, which will be the name of your computer; using localhost are enough and recommended for testing purposes cos permits apply mostly how to's and tutorials of the wiki pages.
Initialize network cards
Choose your network card, most people can just go with the default (just press enter), a second question will raised about any other configuration, just type "no" and then press enter to bypass the step to property setup after installation finished property.
IMPORTANT NOTE: mostly in x86 and x64 ISO images we can let configurations for later, cos at the most modern the network card, the lest supported or still not well tested. Just type done
and press enter.. if you made some wired configuration later another question will raised, will use dhcp? Most people will use DHCP, so press enter again, if you have Internet connection from ISP most settings are just DHCP so all will be configured automatically.
Initialize network DNS
The DNS will be automatically detected, if not will ask for, just type for domain "" (empty) then press enter, later and 8.8.8.8
as picture show and then press enter to next question:
Changing password for root
Next a root password must be defined, twice for confirmation as picture shows, if are too short will said as a warning "bad" but nothing wrong.. just retype and go. Take note that when typed no chars will be show, all will be invisible when type the password.
Witch timezone to choose?
Select a timezone, just press enter to use UTC
when perform a single installation.
Proxy chooser
Then setup script will ask for proxy chooser.. just type none
and then press enter
Enter mirror number
Then setup script will ask for repository mirror chooser.. just type done
and then press enter, this will be configure many times later during usage of the system. Almost any tutorial of newbie pages will explain detailed so lest bypass using "done".
Witch ssh server?
Choose an SSH server allows you to remotely manage your machine. OpenSSH is what the big distro's use, Dropbear is a tiny SSH replacement. Recommended to type openssh and then press enter, cos you able to connect using command line from Unix-like systems also is the offline available in all alpine installer images.
Witch NTP client to run?
This is for time sync, just press enter to use the image offline available can be changed at post install.
Setup Disk
This will setup the destination usage of the files
Witch disk choose to use?
To choose the disk destination .. commonly sda are the hard disk cos sdb the USB boot or CD/DVD image
How would be used?
Then choose type of installation .. those are described at Setup modes section at Alpine setup scripts wiki page. "sys" mode is the familiar install to disk well knowed for usage as main OS to computers.
After all a confirmation question will raised, type "y" if everything are ok and the setup will proceed to erase, format and copy the files to the destination disk choose!
Finishing the installation
After all of the scripts in the setup end, a "reboot" will be offered, just type "reboot" and press enter, remove the boot media and newly installed system will be booted.
You cannot see a graphical window system? take it easy and get calmed down.. in Alpine all are made by the right way.. so if user need a desktop.. user can install a desktop follow the next: Alpine newbie apk packages or bypass and go directly to Alpine newbie desktops
For others ways to install see the Alpine_newbie_install_manual
Documents series
Previous required | What's next to read |
---|---|
Alpine newbie install manual | Alpine newbie apk packages |
See Also
- Newbie_Alpine_Ecosystem
- Alpine and UEFI
- Alpine newbie apk packages
- Alpine newbie desktops
- Alpine newbie developer
- Alpine newbie lammers
es:Alpine Instalar: de un disco a una nueva computadora arrancar un solo sistema