Create a Bootable Compact Flash: Difference between revisions

From Alpine Linux
(→‎Requirements: notice the security issue.)
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Installing Alpine on Compact Flash (CF) =
This process applies to Alpine Linux 1.9.0 or later, and results in a '''run-from-ram''' style installation.


This document applies to Alpine Linux 1.9.0 or later.
= Requirements =
 
=== 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.)
* Computer with CF card reader
* Computer with CF card reader
* CF card
* CF card
** '''Note:''' Some CF card readers have problems with the faster CF cards on the market. If you experience problems booting the CF card even after checking BIOS settings, you may need to use an older card.  
{{Note|Some CF card readers have problems with the faster CF cards on the market. If you experience problems booting the CF card even after checking BIOS settings, you may need to use an older card.}}
 
{{Note|This method will keep your private data on CF card, this security issue is a trade-off.}}
If you already have a running Linux system (Alpine Linux 1.8.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.
{{:Include:Copying Alpine to Flash|CF Card}}
 
== 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.
 
 
{{Copying Alpine to Flash|CF Card}}
 
 
== Modify syslinux.cfg for Compact Flash Card ==
 
Most cards are mounted as IDE drives (sda1) and not as usbdisks. Therefore, edit /media/sda1/syslinux.cfg and replace ''usbdisk'' with ''sda1''
 
''Also, many CF card readers don't support DMA correctly, so you may need to add ''nodma'' to the ''append'' line.''


= DMA Support =
Many CF card readers don't support DMA correctly, so you may need to add ''nodma'' to the ''append'' line of the syslinux.cfg file.


== See Also ==
{{:Include:Installing_Alpine_see_also}}


{{Installing_Alpine_see_also}}
[[Category:Installation]]

Revision as of 06:17, 11 April 2016

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.)
  • Computer with CF card reader
  • CF card
Note: Some CF card readers have problems with the faster CF cards on the market. If you experience problems booting the CF card even after checking BIOS settings, you may need to use an older card.
Note: This method will keep your private data on CF card, this security issue is a trade-off.
This material is proposed for deletion ...

This include has become obsolete. It is completely unused on the wiki (Discuss)
Make sure no other pages link here and check the page's history before deleting.

DMA Support

Many CF card readers don't support DMA correctly, so you may need to add nodma to the append line of the syslinux.cfg file.

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)
Note: Just type any of the above commands on your console and hit Enter to execute the script.

Other useful pages