Difference between revisions of "Setup-disk"

From Alpine Linux
Jump to: navigation, search
(initial page (basically copied from help entries in script))
 
(Setup-Disk Usage: make redirect)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
=Setup-Disk Usage=
+
#REDIRECT [[Alpine_Setup_Scripts#setup-disk]]
<pre>
 
usage: setup-disk [-hqr] [-k kernelflavor] [-m MODE] [-o apkovl] [-s SWAPSIZE]
 
  [MOUNTPOINT | DISKDEV...]
 
 
 
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.
 
 
 
options:
 
-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
 
</pre>
 
 
 
==Disk Install Styles==
 
<pre>
 
You can select between 'sys' or 'data'.
 
 
 
sys:
 
  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.
 
 
 
data:
 
  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.
 
 
 
none:
 
  Run without installing to disk.
 
 
 
</pre>
 

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