Install to disk
For 1.8.x and older please see Native Harddisk Install 1.6
Run setup-alpine to configure the keyboard, hostname and networking.
Create partitions with fdisk.
You should have 2 partitions: /dev/sda1 as "Linux" (type 83) and /dev/sda2 as "linux swap" (type 82). The /dev/sda1 should be bootable.
Install needed programs for the setup
Create filesystem and swap
Clone the current running config created by setup-alpine (hostname, networking root password)
Install base packages on harddisk
Generate new initramfs image:
Create the repositories list. In this example we use the cdrom as repository:
Append the / and swap to fstab:
Configure the boot loader, extlinux. We use sthe provided syslinux as base.
It should contain something like:
timeout 20 prompt 1 default grsec label grsec kernel /boot/grsec append initrd=/boot/grsec.gz root=/dev/sda1 modules=ext3 quiet
Install the bootloader:
Fix the MBR so its bootable (note that its sda and not sda1)
Unmount, remove cdrom, and reboot. (If you can't eject, just remove it manually as the machine reboots)
After reboot, you should be able to log in as root with the password you created in setup-alpine.