1dnl $OpenBSD: install,v 1.13 2015/08/30 19:53:58 matthieu Exp $ 2OpenBSDInstallPrelude 3 4OpenBSDInstallPart2 5 6OpenBSDInstallPart3(,"octcf0 for internal CompactFlash storage.") 7dnl sd0 for USB storage, or wd0 for internal hard disk storage attached to the SATA port 8 9OpenBSDInstallPart4 10 11OpenBSDInstallMBRPart1 12 13dnl OpenBSDInstallMBRPart2 14 The fdisk(8) utility will be invoked to let you edit your MBR 15 partitioning. The current MBR partitions defined will be 16 displayed and you will be allowed to modify them, and add new 17 partitions. 18 19 The setup will need two partitions, one 'OpenBSD' for the 20 OpenBSD/MACHINE installation, and one 'MSDOS' for the 21 U-Boot scripts/bootloader. 22 23 If you use the whole disk option, the install script 24 will create a small 'MSDOS' partition and use the rest of 25 the disk for the OpenBSD installation. 26 27 After your OpenBSD MBR partition has been setup, the real 28 partition setup can follow. 29 30OpenBSDInstallPart5({:- 31 U-Boot partitions defined on the disk will usually show up as 32 partition 'i', 'j' and so on.-:}) 33 34dnl OpenBSDInstallPart6({:-CD-ROM, -:}) 35OpenBSDInstallPart6 36 37OpenBSDURLInstall 38 39dnl OpenBSDCDROMInstall 40 41OpenBSDNFSInstall 42 43OpenBSDDISKInstall({:-"octcfN" or -:},,{:-, Linux (ext2) or MS-DOS-:}) 44 45OpenBSDCommonInstall 46 47OpenBSDInstallWrapup 48 49OpenBSD/MACHINE currently lacks a real bootloader. It is possible however to 50boot into OpenBSD upon powering on the machine. 51 52From the U-Boot commandline, make a copy of the current ${bootcmd} so you can 53restore it later if needed: 54 55 # setenv old_bootcmd "${bootcmd}" 56 57${bootcmd} is run by U-Boot when ${autoload} is enabled. Now create a new 58${bootcmd} which will load an ELF file called 'bsd' from the first active FAT 59partition on the first CF card or USB device. The FAT partition has been created 60by the installer. 61 62 # setenv bootcmd 'fatload ide 0:1 ${loadaddr} bsd;bootoctlinux rootdev=/dev/octcf0' 63 # setenv bootdelay 5 64 # saveenv 65 Saving Environment to Flash... 66 Un-Protected 1 sectors 67 Erasing Flash... 68 . done 69 Erased 1 sectors 70 Writing to Flash... .done 71 Protected 1 sectors 72 # 73 74If you've installed onto USB replace the 'fatload' part with: 75 76 fatload usb 0 $loadaddr bsd 77 78OpenBSDCongratulations 79 80OpenBSDUnattendedInstallation 81