Create a Bootable Compact Flash: Difference between revisions

From Alpine Linux
(Notes on using 1.9 with Compact Flash)
 
(new updates for accuracy and clarity)
Line 1: Line 1:
= Alpine on Compact Flash =
= Installing Alpine on Compact Flash (CF) =


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.)
This document applies to Alpine Linux 1.9.0 or later.


* [[Downloads|Download]] a iso-file containing Alpine  
=== Requirements ===
* Insert the Compact Flash Card, and format as vfat; for example:
In order to follow this document, you will need:
  mkdosfs /dev/sda1
* Alpine Linux CD-ROM ([[Downloads|Download]] a .iso file containing an Alpine release.)
  syslinux /dev/sda1
* Computer with CF card reader
* Mount the iso, and copy the files to the CF Card:
* 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 ==
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.
 
== 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.''


* Insert the CF Card and reboot.


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}}
{{Installing_Alpine_see_also}}

Revision as of 14:38, 9 October 2009

Installing Alpine on Compact Flash (CF)

This document applies to Alpine Linux 1.9.0 or later.

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

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.

Boot Alpine Linux CD-ROM

  1. Insert the Alpine Linux CD into a computer.
  2. Boot the computer from the Alpine Linux CD-ROM.
    • This step may require changes to the BIOS settings to select booting from CD.
  3. Login with the username root. No password is needed.


This material is proposed for deletion ...

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


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.


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