BSD
OpenBSD 6.4 - instalace pkg
14.02.2019 20:11 Filed in/Kategorie: Computers
OpenBSD 6.4 headless - instalace
30.12.2018 19:09 Filed in/Kategorie: Computers
Instalace OpenBSD 6.4 bez okenního prostředí na intel 64bit počítači pomocí USB flash disku na MacOS X 10.6.8
MSI H81I, procesor: Intel core i3-4170@3,7GHz RAM: 4GB
1. stažení instalačního souboru
install64.fs pro amd64 (378MB)
2. vytvoření startovací flash USB
2.1 Zjistit název USB disku
---------------------------
$ diskutil list /dev/disk0
$
2.2. Odpojit disk
-----------------
$ sudo diskutil unmount /dev/disk1s1 Password: Volume NO NAME on disk1s1 unmounted $
2.3 naklonovat USB disk
-----------------------
DD (na linuxu bs=1M)
$ sudo dd if=/Users/user/install/openbsd-amd64-6.4/install64.fs of=/dev/rdisk1 bs=1m
-- čekání pár minut
360+1 records in
360+1 records out
377978880 bytes transferred in 147.886558 secs (2555870 bytes/sec)
$
2.4 vysunout disk
-----------------
3. Instalace na PC
------------------
BIOS -- Settings -- Boot -- Boot mode select: UEFI
vložit USB flash -- restart (F11) -- spusti se instalace
....
Welcome to the OpenBSD/amd64 6.4 installation program.
3.1 (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i ENTER
3.2 Choose your keyboard layout [default] ENTER
3.3 System hostname? = foo
3.4 Which network interface do you wish to configure? [re0]
3.5 IPv4 address for re0? (or ‘dhcp’ or ‘none’) [dhcp] 1.x.x.4
3.6 Netmask for re0? [255.255.255.0]
3.7 IPv6 ... [none]
3.8 Available network ... [done]
3.9 Default IPv4 route? 1.x.x.1
3.10 DNS domain name? [my.domain]
3.11 DNS name servers? [none] 1.x.x.1
3.12 Password for root account? = **************************
3.13 Start sshd(8) by default [yes]
3.14 Do you want the X Window System to be started by xenodm(1)? = [no]
3.15 Change default console to com0 [no]
3.16 Setup a user? = user1
3.17 Full name for user user1? = Karel Hynek Macha
3.18 Password for user user1? = *******************
3.19 Allow root ssh login? (yes, no, prohibit-password) [no] yes
3.20 What timezone are you in? = UTC [Europe/Prague]
3.21 Which disk is the root disk? [sd0] ()
3.22 Use (W)hole disk MBR, whole disk (G)PT or (E)dit? = whole
3.23 Use (A)uto layout ... [a]
3.24 Location of sets? (disk http or ‘done’) [http]
-- chybí nabídka instalačního disku
HTTP proxy URL? () [none]
HTTP Server? (hostname, list#, ‘done’ or ‘?’) ?
-- listing
HTTP Server? (hostname, list#, ‘done’ or ‘?’) 24
HTTP Server? (hostname, list#, ‘done’ or ‘?’) [ftp.hostserver.de]
Server directory? [pub/OpenBSD/6.4/amd64]
3.25 Select sets by
[X] bsd
[X] base64.tgz
[X] bsd.mp
[X] comp64.tgz
[X] bsd.rd
[X] man64.tgz
-- stažení a instalace
Exit to (S]hell, (H)alt or (R)eboot? [reboot]
-- znovuspusteni systému - instalace firmware
OpenBSD/amd64 (foo.mojedomena.local)
login: root
password
****************************************************
MSI H81I, procesor: Intel core i3-4170@3,7GHz RAM: 4GB
1. stažení instalačního souboru
install64.fs pro amd64 (378MB)
2. vytvoření startovací flash USB
2.1 Zjistit název USB disku
---------------------------
$ diskutil list /dev/disk0
$
#: | TYPE NAME | SIZE | IDENTIFIER | |
0: | GUID_partition_scheme | *500.1 GB | disk0 | |
1: | EFI | 209.7 MB | disk0s1 | |
2: | Apple_HFS Macintosh HD | 499.2 GB | disk0s2 | |
3: | Apple_Boot Recovery HD | 650.0 MB | disk0s3 | |
/dev/disk1 | #: | TYPE NAME | SIZE | IDENTIFIER |
0: | FDisk_partition_scheme | *15.9 GB | disk1 | |
1: | WINDOWS_FAT_32 NO NAME | *15.9 GB | disk1s |
2.2. Odpojit disk
-----------------
$ sudo diskutil unmount /dev/disk1s1 Password: Volume NO NAME on disk1s1 unmounted $
2.3 naklonovat USB disk
-----------------------
DD (na linuxu bs=1M)
$ sudo dd if=/Users/user/install/openbsd-amd64-6.4/install64.fs of=/dev/rdisk1 bs=1m
-- čekání pár minut
360+1 records in
360+1 records out
377978880 bytes transferred in 147.886558 secs (2555870 bytes/sec)
$
2.4 vysunout disk
-----------------
3. Instalace na PC
------------------
BIOS -- Settings -- Boot -- Boot mode select: UEFI
vložit USB flash -- restart (F11) -- spusti se instalace
....
Welcome to the OpenBSD/amd64 6.4 installation program.
3.1 (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i ENTER
3.2 Choose your keyboard layout [default] ENTER
3.3 System hostname? = foo
3.4 Which network interface do you wish to configure? [re0]
3.5 IPv4 address for re0? (or ‘dhcp’ or ‘none’) [dhcp] 1.x.x.4
3.6 Netmask for re0? [255.255.255.0]
3.7 IPv6 ... [none]
3.8 Available network ... [done]
3.9 Default IPv4 route? 1.x.x.1
3.10 DNS domain name? [my.domain]
3.11 DNS name servers? [none] 1.x.x.1
3.12 Password for root account? = **************************
3.13 Start sshd(8) by default [yes]
3.14 Do you want the X Window System to be started by xenodm(1)? = [no]
3.15 Change default console to com0 [no]
3.16 Setup a user? = user1
3.17 Full name for user user1? = Karel Hynek Macha
3.18 Password for user user1? = *******************
3.19 Allow root ssh login? (yes, no, prohibit-password) [no] yes
3.20 What timezone are you in? = UTC [Europe/Prague]
3.21 Which disk is the root disk? [sd0] ()
3.22 Use (W)hole disk MBR, whole disk (G)PT or (E)dit? = whole
3.23 Use (A)uto layout ... [a]
3.24 Location of sets? (disk http or ‘done’) [http]
-- chybí nabídka instalačního disku
HTTP proxy URL? () [none]
HTTP Server? (hostname, list#, ‘done’ or ‘?’) ?
-- listing
HTTP Server? (hostname, list#, ‘done’ or ‘?’) 24
HTTP Server? (hostname, list#, ‘done’ or ‘?’) [ftp.hostserver.de]
Server directory? [pub/OpenBSD/6.4/amd64]
3.25 Select sets by
[X] bsd
[X] base64.tgz
[X] bsd.mp
[X] comp64.tgz
[X] bsd.rd
[X] man64.tgz
-- stažení a instalace
Exit to (S]hell, (H)alt or (R)eboot? [reboot]
-- znovuspusteni systému - instalace firmware
OpenBSD/amd64 (foo.mojedomena.local)
login: root
password
****************************************************