|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{Draft}}
| | #REDIRECT [[Alpine_setup_scripts#setup-disk]] |
| =Setup-Disk Usage=
| |
| <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>
| |