Setup-disk: Difference between revisions

From Alpine Linux
Jump to navigation Jump to search
(initial page (basically copied from help entries in script))
(fix double redirect)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Alpine_setup_scripts#setup-disk]]
=Setup-Disk Usage=
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.

Latest revision as of 07:40, 9 March 2012