Template:Copying Alpine to Flash: Difference between revisions

From Alpine Linux
No edit summary
mNo edit summary
Line 6: Line 6:
## The remainder of this document will assume that your {{{1|flash medium}}} is called /dev/sda
## The remainder of this document will assume that your {{{1|flash medium}}} is called /dev/sda
# Format the {{{1|flash medium}}} with a VFAT filesystem:
# Format the {{{1|flash medium}}} with a VFAT filesystem:
{{Cmd|mkdosfs -F32 /dev/sda1}}
{{Cmd|mkdosfs -F32 /dev/sda1
{{Cmd|syslinux /dev/sda1}}
syslinux /dev/sda1}}
# Mount the Alpine Linux CD-ROM, and copy the files to the {{{1|flash medium}}}
# Mount the Alpine Linux CD-ROM, and copy the files to the {{{1|flash medium}}}
{{Cmd|mount /media/cdrom
{{Cmd|mount /media/cdrom}}
cd /media/cdrom
{{Cmd|cd /media/cdrom}}
cp -a .alpine-release * /media/sda1/}}
{{Cmd|cp -a .alpine-release * /media/sda1/ }}

Revision as of 14:08, 9 October 2009

  1. Insert the removable flash medium (CF or USB stick) into the computer.
  2. Determine the name your computer uses for your flash medium. The following step is one way to do this.
    1. After inserting the flash medium, run the command:

dmesg

    1. At the end of this command you should see the name of your flash medium, likely starting with "sd". (For example: "sda").
    2. The remainder of this document will assume that your flash medium is called /dev/sda
  1. Format the flash medium with a VFAT filesystem:

mkdosfs -F32 /dev/sda1 syslinux /dev/sda1

  1. Mount the Alpine Linux CD-ROM, and copy the files to the flash medium

mount /media/cdrom

cd /media/cdrom

cp -a .alpine-release * /media/sda1/