Vmm /

Plan9

  
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  1680  100  1680    0     0   7850      0 --:--:-- --:--:-- --:--:--  7887
host# vmctl start -c jrmu
Connected to /dev/ttypr (speed 115200)
Boot failed: not a bootable disk

*e820=1 0x0000000000000000 0x000000000009f800 2 0x000000000009f800 0x00000000000a0000 2 0x00000000000f0000 0x0000000000100000 1 0x0000000000100000 0x000000003fffc000 2 0x000000003fffc000 0x0000000040000000 2 0x00000000fffc0000 0x0000000100000000
cdboot=yes
mouseport=ask
monitor=ask
vgasize=ask
bootfile=/386/9pc
>console=0
ccoonnssoollee==00

>>bboooott

bboooott


Plan 9
126 holes free
0x0001a000 0x0009f000 544768
0x0060a000 0x0ffff000 262098944
262643712 bytes free
cpu0: 4612MHz GenuineIntel Xeon5000-series (AX 000206D7 CX 96982203 DX 079BA97F)
ELCR: 02E8
#l0: virtio: 1000Mbps port 0x2000 irq 5 ea de4baa668f07
i8042: kbd init failed
1024M memory: 256M kernel data, 767M user, 1392M swap
nusb/usbd: no hubs

/dev/sd00: OpenBSD VMM CD-ROM 001
/dev/sd00/data   9660
/dev/sdF0:
/dev/sdF0/data
bootargs is (tcp, tls, il, local!device)[local!/dev/sd00/data]
user[glenda]:

init: starting /bin/rc
cirno Sep 18 09:50:19 starting dns resolver on /net
vgasize is (text, 640x480x8, 1024x768x16, ...) [1024x768x16] text
bind: #i: no frame buffer
rio: can't open display: initdisplay: /dev/draw/new: '/dev/draw' file does not exist
init: rc exit status: rc 217: rio 345: display open

init: starting /bin/rc
term% inst/starteady to install
Sat Sep 18 07:50:41 CET 2021 Installation process started

--------------------------------------

Preparing menu...
The following unfinished tasks are ready to be done:
        configfs        - choose the type of file system to install
        confignet       - configure the network
        tzsetup - choose time zone

Task to do [configfs]:






























  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100 16332  100 16332    0     0  74236      0 --:--:-- --:--:-- --:--:-- 74917
Connected to /dev/ttypf (speed 115200)
Boot failed: not a bootable disk

*e820=1 0x0000000000000000 0x000000000009f800 2 0x000000000009f800 0x00000000000a0000 2 0x00000000000f0000 0x0000000
000100000 1 0x0000000000100000 0x000000003fefc000 2 0x000000003fefc000 0x000000003ff00000 2 0x00000000fffc0000 0x000
0000100000000 
cdboot=yes
mouseport=ask
monitor=ask
vgasize=ask
bootfile=/386/9pc
>
>console=0
ccoonnssoollee==00

>>bboooott

bboooott


Plan 9
126 holes free
0x0001a000 0x0009f000 544768
0x00530000 0x0ffff000 262991872
263536640 bytes free
cpu0: 4604MHz GenuineIntel Xeon5000-series (AX 000206D7 CX 96982203 DX 079BA97F)
ELCR: 02E8
#l0: virtio: 1000Mbps port 0x2000 irq 5 ea de4baa668fb2
i8042: kbd init failed
1023M memory: 256M kernel data, 766M user, 1391M swap
nusb/usbd: /dev/usb: no hubs

/dev/sd00: OpenBSD VMM CD-ROM 001
/dev/sd00/data 9660
/dev/sdF0:
/dev/sdF0/data
bootargs is (tcp, tls, il, local!device)[local!/dev/sd00/data]
user[glenda]: 

init: starting /bin/rc
cirno Sep 18 03:36:24 starting dns resolver on /net
vgasize is (text, 640x480x8, 1024x768x16, ...) [1024x768x16] text
bind: #i: no frame buffer
rio: can't open display: initdisplay: /dev/draw/new: '/dev/draw' file does not exist
init: rc exit status: rc 223: rio 354: display open

init: starting /bin/rc
term% inst/start
Sat Sep 18 01:37:49 CET 2021 Installation process started

--------------------------------------

Preparing menu...
The following unfinished tasks are ready to be done:
        configfs- choose the type of file system to install
        confignet- configure the network
        tzsetup- choose time zone

Task to do [configfs]: 

--------------------------------------
You can install the following types of file systems:

        cwfs64xthe cached-worm file server
        hjfsthe new 9front file server (experimental!)

File system (cwfs64x, hjfs)[cwfs64x]: hjfs

--------------------------------------                                                                              

Preparing menu...
The following tasks are done:                       
 configfs- choose the type of file system to install

The following unfinished tasks are ready to be done:
 partdisk        - edit partition tables (e.g., to create a plan 9 partition)
 mountfs- choose and mount file system partition
        confignet       - configure the network
        mountfs- choose and mount file system partition
        confignet- configure the network
        tzsetup- choose time zone

Task to do [partdisk]: 

--------------------------------------
The following disk devices were found.

sd00 - OpenBSD VMM CD-ROM 001
   empty                0 468       (468 cylinders, 1.82 GB) 
 * p1                 468 469       (1 cylinders, 4.00 MB) ESP

sdF0 -

Disk to partition (sd00, sdF0)[no default]: sdF0
The disk you selected HAS NO master boot record on its first sector.
(Perhaps it is a completely blank disk.)
Shall we create a blank EFI partition table (GPT)
or install traditional DOS partition table (MBR)?

Install mbr or gpt (mbr, gpt)[no default]: mbr

This is disk/fdisk; use it to create a Plan 9 partition.
If there is enough room, a Plan 9 partition will be
suggested; you can probably just type 'w' and then 'q'.

cylinder = 8225280 bytes
'* p1                     0 2610        (2610 cylinders, 19.99 GB) PLAN9
>>> w
>>> q

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partition)

The following unfinished tasks are ready to be done:
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition
        confignet- configure the network
        tzsetup- choose time zone

Task to do [prepdisk]: 

--------------------------------------
The following Plan 9 disk partitions were found.

/dev/sdF0/plan9
  empty                  0 41929587    (41929587 sectors, 19.99 GB)

Plan 9 partition to subdivide (/dev/sdF0/plan9)[/dev/sdF0/plan9]: 
This is disk/prep; use it to subdivide the Plan 9 partition.
If it is not yet subdivided, a sensible layout will be suggested;
you can probably just type 'w' and then 'q'.

no plan9 partition table found
9fat 204800
nvram 1
fs 41724786
' 9fat                   0 204800      (204800 sectors, 100.00 MB)
' nvram             204800 204801      (1 sectors, 512 B )
' fs                204801 41929587    (41724786 sectors, 19.89 GB)
>>> w
>>> q

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partition)
        prepdisk- subdivide plan 9 disk partition

The following unfinished tasks are ready to be done:
        mountfs- choose and mount file system partition
        confignet- configure the network
        tzsetup- choose time zone

Task to do [mountfs]: 

--------------------------------------

Please choose your hjfs partition

--rw-r----- S 0 glenda glenda 21363090432 Oct  5  2019 /dev/sdF0/fs

Hjfs partition (/dev/sdF0/fs)[/dev/sdF0/fs]: 

--------------------------------------

Please choose your hjfs partition

--rw-r----- S 0 glenda glenda 21363090432 Oct  5  2019 /dev/sdF0/fs

Hjfs partition (/dev/sdF0/fs)[/dev/sdF0/fs]: 
Size of RAM filesystem cache (MB)? [192]:
Ream the filesystem? (yes, no)[yes]: yes
Starting hjfs file server for /dev/sdF0/fs
hjfs: reaming /dev/sdF0/fs
hjfs: ream successful
hjfs: fs is /dev/sdF0/fs
Configuring hjfs file server for /dev/sdF0/fs
hjfs: >create /dist sys sys 775 d
hjfs: >create /usr sys sys 775 d
hjfs: >newuser glenda
hjfs: >newuser adm +glenda
hjfs: >newuser sys +glenda
hjfs: >newuser upas +glenda
hjfs: >echo off
Mounting hjfs file server for /dev/sdF0/fs
% mount -c /srv/hjfs.newfs /n/newfs

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partition)
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition

The following unfinished tasks are ready to be done:
        configdist- choose the source of the distribution archive
        confignet- configure the network
        tzsetup- choose time zone

Task to do [configdist]: 

--------------------------------------
Are you going to download the distribution
from the internet or do you have it on local media?

Distribution is from (local, net)[local]: 

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partition)
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition
        configdist- choose the source of the distribution archive

The following unfinished tasks are ready to be done:
        confignet- configure the network
        mountdist- locate and mount the distribution
        tzsetup- choose time zone

Task to do [confignet]: 
--------------------------------------

We will configure the ethernet.


Please choose a method for configuring your ethernet connection.

        manual - specify IP address, network mask, gateway IP address
        automatic - use DHCP and SLAAC to automatically configure

Configuration method (manual, automatic)[automatic]: 
starting ethernet automatic config
ipconfig: write(try fe80::dc4b:aaff:fe66:8fb2 /64): interface does not support multicast
ipconfig: can't start IPv6 on /net/ether0, address fe80::dc4b:aaff:fe66:8fb2
ipconfig: dialicmp6: cs: can't translate address

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partition)
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition
        configdist- choose the source of the distribution archive
        confignet- configure the network

The following unfinished tasks are ready to be done:
        mountdist- locate and mount the distribution
        download- download or continue to download the distribution archives
        tzsetup- choose time zone

Task to do [mountdist]: 

--------------------------------------
Please wait... Scanning storage devices...
        /dev/sd00/data
        /dev/sdF0/9fat
        /dev/sdF0/data
        /dev/sdF0/fs

The following storage media were detected.
Choose the one containing the distribution.

        /dev/sd00/data (iso9660 cdrom)

Distribution disk (/dev/sd00/data, /dev/sdF0/fs, /)[/]: 
% mount /srv/boot /n/distmedia

Which directory contains the distribution?
Any of the following will suffice (in order of preference):
        - the root directory of the cd image
        - the directory containing 9front.iso
        - the directory containing 9front.iso.bz2

Location of archives [/]: 

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partition)
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition
        configdist- choose the source of the distribution archive
        confignet- configure the network
        mountdist- locate and mount the distribution

The following unfinished tasks are ready to be done:
        copydist- copy the distribution into the file system
        tzsetup- choose time zone

Task to do [copydist]: 

--------------------------------------
processing /sys/lib/sysconfig/proto/allproto
file system made

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partit
ion)
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition
        configdist- choose the source of the distribution archive
        confignet- configure the network
        mountdist- locate and mount the distribution
        copydist- copy the distribution into the file system

The following unfinished tasks are ready to be done:
        ndbsetup- setup network configuration
        tzsetup- choose time zone
        bootsetup- configure hard disk to boot plan 9

Task to do [ndbsetup]: 
--------------------------------------

Setup network configuration   

sysname [cirno]: mkf.host.bsdforall.org                                                             
--------------------------------------                                          

Preparing menu...                                                             
The following tasks are done:                                                   
 configfs  - choose the type of file system to install
 partdisk - edit partition tables (e.g., to create a plan 9 partit
ion)                                                                    
 prepdisk        - subdivide plan9 disk partition
 mountfs- choose and mount file system partition
        configdist      - choose the source of the distribution archive
 confignet - configure the network             
 mountdist - locate and mount the distribution
        copydist        - copy the distribution into the file system
        ndbsetup- setup network configuration

The following unfinished tasks are ready to be done:
        tzsetup- choose time zone
        bootsetup- configure hard disk to boot plan 9

Task to do [tzsetup]: 

--------------------------------------

Setup Time Zone

Time Zone (Argentina, Asia_Bahrain, Asia_India, Australia_ACT, Australia_Broken-Hill, Australia_LHI, Australia_NSW, Australia_North, Australia_Queensland, Australia_South, Australia_Sturt, Australia_Tasmania, Australia_Victoria, Australia_West, Australia_Yancowinna, Brazil_Acre, Brazil_DeNoronha, Brazil_East, Brazil_West, CET, Canada_Atlantic, Canada_Central, Canada_East-Saskatchewan, Canada_Eastern, Canada_Mountain, Canada_Newfoundland, Canada_Pacific, Canada_Yukon, Chile_Continental, Chile_EasterIsland, Cuba, EET, Egypt, GB-Eire, GMT, HST, Hongkong, Iceland, Iran, Israel, Jamaica, Japan, Libya, Mexico_BajaNorte, Mexico_BajaSur, Mexico_General, NZ, NZ_CHAT, Navajo, PRC, Poland, ROC, ROK, Singapore, Turkey, US_Alaska, US_Arizona, US_Central, US_East-Indiana, US_Eastern, US_Hawaii, US_Michigan, US_Mountain, US_Pacific, US_Yukon, Uruguay, W-SU, WET)[US_Eastern]: 

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partition)
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition
        configdist- choose the source of the distribution archive
        confignet- configure the network
        mountdist- locate and mount the distribution
        copydist- copy the distribution into the file system
        ndbsetup- setup network configuration
        tzsetup- choose time zone

The following unfinished tasks are ready to be done:
        bootsetup- configure hard disk to boot plan 9

Task to do [bootsetup]: 


--------------------------------------

Setup Plan 9 FAT boot partition (9fat)

Plan 9 FAT partition (/dev/sdF0/9fat)[/dev/sdF0/9fat]: 
dossrv: serving #s/dos
% dd -bs 512 -count 1 -if /dev/sdF0/9fat -of /tmp/pbs.bak
1+0 records in
1+0 records out
Initializing Plan 9 FAT partition.
% disk/format -r 2 -d -b /n/newfs/386/pbs -l PLAN9 /dev/sdF0/9fat
Initializing FAT file system
type hard, 12 tracks, 255 heads, 63 sectors/track, 512 bytes/sec
used 4096 bytes
% mount -c /srv/dos /n/9fat /dev/sdF0/9fat
% rm -f /n/9fat/9bootfat /n/9fat/plan9.ini /n/9fat/9pc
% cp /n/newfs/386/9bootfat /n/9fat/9bootfat
% chmod +al /n/9fat/9bootfat
% cp /tmp/plan9.ini /n/9fat/plan9.ini
% cp /n/newfs/386/9pc /n/9fat/
% mkdir -p /n/9fat/efi/boot
% cp /386/bootia32.efi /386/bootx64.efi /n/9fat/efi/boot
% cp /tmp/pbs.bak /n/9fat
% unmount /n/9fat

If you use the Windows NT/2000/XP master boot record
or a master boot record from a Unix clone (e.g., LILO or
FreeBSD bootmgr), it is probably safe to continue using
that boot record rather than install the Plan 9 boot record.

Install the Plan 9 master boot record (yes, no)[no default]: yes
Mark the Plan 9 partition active (yes, no)[no default]: yes

The Plan 9 partition is now marked as active.

--------------------------------------

Preparing menu...
The following tasks are done: 
        configfs- choose the type of file system to install
        partdisk- edit partition tables (e.g., to create a plan 9 partit
ion)
        prepdisk- subdivide plan 9 disk partition
        mountfs- choose and mount file system partition
        configdist- choose the source of the distribution archive
        confignet- configure the network
        mountdist- locate and mount the distribution
        copydist- copy the distribution into the file system
        ndbsetup- setup network configuration
        tzsetup- choose time zone
        bootsetup- configure hard disk to boot plan 9

The following unfinished tasks are ready to be done:
        finish- finish the installation and reboot

Task to do [finish]: 

--------------------------------------
Congratulations; you've completed the install.


halting.../srv/hjfs.newfs.cmd...hjfs: ending

done halting
rebooting...
cpu0: exiting
Takes a licking and keeps on ticking...
can't reset

host$ doas vmctl stop mkf
stopping vm mkf: requested to shutdown vm 1
host$ doas vmctl start -c mkf