Create a Bootable Device: Difference between revisions
m (Changed some phrasings in dd instructions) |
(move dd procedure to template) |
||
Line 1: | Line 1: | ||
Generally there's no difference between Alpine Linux USB bootable installation medium and installed system in ''diskless'' or ''run-from-ram'' installation mode. The only difference is that after finished installation modified files have to be saved somewhere, hence [[Alpine_local_backup|Alpine Local Backup]]. | |||
This process applies to Alpine Linux 1.9.0 or later, and results in a '''run-from-ram''' style installation. | This process applies to Alpine Linux 1.9.0 or later, and results in a '''run-from-ram''' style installation. | ||
Line 6: | Line 5: | ||
{{Warning|This process can potentially totally or partly erase the contents of your hard drive. For this reason, it is recommended to do this procedure using VirtualBox rather than your own computer.}} | {{Warning|This process can potentially totally or partly erase the contents of your hard drive. For this reason, it is recommended to do this procedure using VirtualBox rather than your own computer.}} | ||
== Requirements == | |||
In order to follow this document, you will need: | In order to follow this document, you will need: | ||
* Alpine Linux CD-ROM ([[Downloads|Download]] a .iso file containing an Alpine release.) | * Alpine Linux CD-ROM ([[Downloads|Download]] a .iso file containing an Alpine release.) | ||
* A USB drive (flash, external HD, card reader, etc.) | * A USB drive (flash, external HD, card reader, etc.) | ||
== | == Copy Alpine to USB stick == | ||
{{:Include:Copying Alpine to Flash|USB stick}} | {{:Include:Copying Alpine to Flash|USB stick}} |
Revision as of 13:00, 19 October 2020
Generally there's no difference between Alpine Linux USB bootable installation medium and installed system in diskless or run-from-ram installation mode. The only difference is that after finished installation modified files have to be saved somewhere, hence Alpine Local Backup.
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.)
Copy Alpine to USB stick
This material is proposed for deletion ... This include has become obsolete. It is completely unused on the wiki
(Discuss) |
Slow USB Devices
Specifying the 'waitusb=X' option at the end of the syslinux.cfg line might help with certain USB devices that take a bit longer to register. X stands for the amount of seconds kernel will wait before looking for the installation media.
append initrd=/boot/grsec.gz alpine_dev=usbdisk:vfat modules=loop,cramfs,sd-mod,usb-storage quiet waitusb=3
See Also
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)
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)