Create a Bootable Device: Difference between revisions
m (remove Installing Alpine on USB Automated since it's not supported anymore) |
(added setup-bootable) |
||
Line 15: | Line 15: | ||
#* This step may require changes to the BIOS settings to select booting from CD. | #* This step may require changes to the BIOS settings to select booting from CD. | ||
# Login with the username ''root''. No password is needed. | # Login with the username ''root''. No password is needed. | ||
== Setup bootable media == | |||
{{Tip|If using Alpine 1.10.4 or newer, you can use this section to complete all setup, then skip to the See Also section to continue with your setup. If not, please proceed to the next section now.}} | |||
# Insert the removable USB stick into the computer. | |||
# Determine the name your computer uses for your USB stick. The following step is one way to do this. | |||
#* After inserting the USB stick, run the command: | |||
#* {{Cmd|dmesg}} | |||
#* At the end of this command you should see the name of your USB stick, likely starting with "sd". (For example: "sda"). | |||
#* The remainder of this document will assume that your USB stick is called /dev/sda | |||
# Mount the Alpine Linux CD-ROM | |||
#* {{Cmd|mount /media/cdrom}} | |||
# Run the setup-bootable script to install Alpine | |||
#* {{Cmd|setup-bootable /media/cdrom /dev/sda}} | |||
{{Tip|You can now skip to the See Also section.}} | |||
{{Copying Alpine to Flash|USB stick}} | {{Copying Alpine to Flash|USB stick}} | ||
{{Installing_Alpine_see_also}} | {{Installing_Alpine_see_also}} |
Revision as of 20:32, 24 May 2011
Installing Alpine on a USB Stick - Manual Process
This process applies to Alpine Linux 1.9.0 or later, and results in a run-from-ram style installation.
Requirements
In order to follow this document, you will need:
- Alpine Linux CD-ROM (Download a .iso file containing an Alpine release.)
- A USB drive (flash, external HD, card reader, etc.)
If you already have a running Linux system (Alpine Linux 2.1.x, Debian, Gentoo, RedHat, etc.), log in as root, insert the Alpine Linux CD-ROM into the running Linux computer, and skip the next section.
Boot Alpine Linux CD-ROM
- Insert the Alpine Linux CD into a computer.
- Boot the computer from the Alpine Linux CD-ROM.
- This step may require changes to the BIOS settings to select booting from CD.
- Login with the username root. No password is needed.
Setup bootable media
Tip: If using Alpine 1.10.4 or newer, you can use this section to complete all setup, then skip to the See Also section to continue with your setup. If not, please proceed to the next section now.
- Insert the removable USB stick into the computer.
- Determine the name your computer uses for your USB stick. The following step is one way to do this.
- After inserting the USB stick, run the command:
dmesg
- At the end of this command you should see the name of your USB stick, likely starting with "sd". (For example: "sda").
- The remainder of this document will assume that your USB stick is called /dev/sda
- Mount the Alpine Linux CD-ROM
mount /media/cdrom
- Run the setup-bootable script to install Alpine
setup-bootable /media/cdrom /dev/sda
Tip: You can now skip to the See Also section.
This material is proposed for deletion ... This redirect is to an include that is obsolete and is completely unused on the wiki
(Discuss) |
Alpine Linux has some special applications that helps you to use it in the way you want.
Some of the first scripts you are suggested to use is:
- setup-alpine (Configures all basic things on your Alpine Linux)
- setup-acf (was named setup-webconf before Alpine 1.9 beta 4) (Configures ACF (webconfiguration) so you can manage your box through https)
Note: Just type any of the above commands on your console and hit Enter to execute the script.
Other useful pages
- Configure Networking
- Setting up a SSH server (Using ssh is a good way to administer your box remotely)
- Package Management (apk) (How to add/remove packages on your Alpine)
- Init System (rc) (Configure a service to automatically boot at next reboot)
- Alpine local backup (lbu) (Permanently store your modifications in case your box needs reboot)