Difference between revisions of "Alpine Linux"

From Palfrepedia
Jump to navigation Jump to search
(First save Alpine Linux)
 
(Extra alpine details)
 
Line 1: Line 1:
Minimalist traditionalist Linux distribution. Can be installed on a [[Rasperry Pi]] too.
Minimalist traditionalist Linux distribution. Can be installed on a [[Raspberry Pi]] too.


== Installation on Raspbery Pi ==
== Installation on Raspberry Pi ==
Set up the [[SD Card]] like so using fdisk, once you have idenfied the name of the sd-card device using [[dmesg]]:
Set up the [[SD Card]] like so using fdisk, once you have idenfied the name of the sd-card device using [[dmesg]]:


Line 19: Line 19:


Device        Boot  Start      End  Sectors  Size Id Type
Device        Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192  532479  524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p1 *      8192  532479  524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      532480 31116287 30583808 14.6G 83 Linux</nowiki>
/dev/mmcblk0p2      532480 31116287 30583808 14.6G 83 Linux</nowiki>
Make sure to set the bootable flag for the 256MB W95 partition above. Also needs to be LBA if not already.

Latest revision as of 20:11, 14 May 2023

Minimalist traditionalist Linux distribution. Can be installed on a Raspberry Pi too.

Installation on Raspberry Pi

Set up the SD Card like so using fdisk, once you have idenfied the name of the sd-card device using dmesg:

$ sudo fdisk /dev/mmcblk0
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb007d0b8

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1 *      8192   532479   524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      532480 31116287 30583808 14.6G 83 Linux

Make sure to set the bootable flag for the 256MB W95 partition above. Also needs to be LBA if not already.