Setup-disk: Difference between revisions

From Alpine Linux
Jump to navigation Jump to search
(initial page (basically copied from help entries in script))
(→‎Setup-Disk Usage: make redirect)
Line 1: Line 1:
=Setup-Disk Usage=
#REDIRECT [[Alpine_Setup_Scripts#setup-disk]]
usage: setup-disk [-hqr] [-k kernelflavor] [-m MODE] [-o apkovl] [-s SWAPSIZE]
Install alpine on harddisk.
If MOUNTPOINT is specified, then do a traditional disk install with MOUNTPOINT
as root.
If DISKDEV is specified, then use the specified disk(s) without asking. If
multiple disks are specified then set them up in a RAID array. If there are
mode than 2 disks, then use raid level 5 instead of raid level 1.
-h  Show this help
-m  Use disk for MODE without asking, where MODE is either 'data' or 'root'
-o  Restore system from given apkovl file
-k  Use kernelflavor instead of $KERNEL_FLAVOR
-L  Use LVM to manage partitions
-q  Exit quietly if no disks are found
-r  Enable software raid1 with single disk
-s  Use SWAPSIZE MB instead of $SWAP_SIZE MB for swap (Use 0 to disable swap)
-v  Be more verbose about what is happening
==Disk Install Styles==
You can select between 'sys' or 'data'.
  This mode is a traditional disk install. The following partitions will be
  created on the disk: /boot, / (filesystem root) and swap.
  This mode may be used for development boxes, desktops, virtual servers, etc.
  This mode uses your disk(s) for data storage, not for the operating system.
  The system itself will run from tmpfs (RAM).
  Use this mode if you only want to use the disk(s) for a mailspool, databases,
  logs, etc.
  Run without installing to disk.

Revision as of 01:57, 5 March 2012

Underconstruction clock icon gray.svg
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Dubiousjim on 5 Mar 2012.)

  1. REDIRECT Alpine_Setup_Scripts#setup-disk