Create a Bootable Compact Flash: Difference between revisions

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


Starting with Alpine Linux 1.9, the ISO image is (mostly) compatible with Compact Flash. These instructions assume you are starting with a running Linux System (Alpine Linux 1.8.x, debian, Gentoo, Redhat, etc.)
= Requirements =
In order to follow this document, you will need:
* Alpine Linux CD-ROM ([[Downloads|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.}}
{{:Include:Copying Alpine to Flash|CF Card}}


* [[Downloads|Download]] a iso-file containing Alpine
= DMA Support =
* Insert the Compact Flash Card, and format as vfat; for example:
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.
  mkdosfs /dev/sda1
  syslinux /dev/sda1
* Mount the iso, and copy the files to the CF Card:
  su
  mkdir loopfs
  mount alpine-1.9*.iso loopfs
  mount /media/sda1
  cp -av loopfs/* /media/sda1
  umount loopfs
* Change the syslinux.cfg on the Compact Flash Card
Most cards are mounted as IDE drives (sda1) and not as usbdrives. Edit /media/sda1/syslinux.cfg and replace ''usbdrive'' with ''sda1''
'''Also, many CF card readers don't support DMA correctly, so you may need to add ''nodma'' to the ''append'' line.'''


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


* Insert the CF Card and reboot.
[[Category:Installation]]
 
When your computer has booted you will get prompted for a username.<BR>
On a clean AlpineLinux you just enter ''root'' and no password and you will get logged on to your Alpine linux.
 
{{Installing_Alpine_see_also}}

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