*FuguIta Start Guide [#te0da106]
 In this page, we will explain the simple usage of FuguIta.
 OpenBSD has a tool for burning CD-R/CD-RW, ''cdio'' utility.
 And FuguIta has a tool which whole FuguIta system into another USB frashdrive.
 *Creating FuguIta Media (on OpenBSD) [#dbef1e2f]
 FuguIta provides ISO images for LiveDVD and raw disk image files for LiveUSB etc. for i386 and amd64 platforms respectively.
 So, if you wish to have a USB frashdrive version of FuguIta,
 -First, create a FuguIta LiveCD.
 -Next, boot that LiveCD, then create another USB version of Fuguita, using usbfadm utility on the LiveCD version FuguIta.
 Download the apropriate file of FuguIta from the site described in [[FuguIta/Download]].
 *Creating FuguIta LiveCD [#h0d93246]
 -Download the ISO image of FuguIta from the site descripted above.
 Note that the name of current version must be interpolated to the part ''YYMMDDN'' in this example.
 -After decompression completed, burn that image into CD-R or CD-RW.
  gzip -d FuguIta-4.X-20YYMMDDN.iso.gz
  cdio -f /dev/cd0c blank   (blanking media, needed only for CD-RW)
  cdio -f /dev/cd0c tao FuguIta-4.X-20YYMMDDN.iso
 **Creating LiveDVD [#qd9ded45]
 The ISO image file of FuguIta is about 950MB in size. Therefore, use DVD media instead of CD media to burn this file.
 *Creating FuguIta LiveUSB [#h1779af1]
 //There are two ways to do it.
 //''a: Using the provided image for USB flash drive'' ~
 //By this procedure, fixed size of partitions (650MB for FuguIta's system, about //300MB for saving user's data) are set up.
 //-Download the image for USB flash drive
 // ftp
 //-Decompressing that image, and write it into USB storage device.
 // gzip -dc FuguIta-4.X-20YYMMDDN.usbimg.gz | dd of=/dev/rsd?c bs=16384k
 //''b: Generate LiveUSB from LiveCD'' (after version FuguIta-4.6-201001232) ~
 //By this procedure, the data partition will be automatically allocated. ~
 //Also, you can specify its size.
 -First, create FuguIta LiveCD according above description, then run it.
 OpenBSD itself does not include software for burning DVDs. So install dvd+rw-tools to burn DVD from packages.
 -Install DVD writing tool
  # pkg_add dvd+rw-tools
 -Download the ISO image of FuguIta from the site described in [[FuguIta/Download]]. In following example, ''MIRROR'' means the name of appropriate download site which you will download.
  # ftp
 Note that the part ''YYYYMMDDN'' must be replaced with the version string of real ISO image.~
 and ARCH is one of i386 and amd64.
 -After decompression completed, burn that image into DVD-R or DVD-RW.
  # gzip -d FuguIta-X.X-ARCH-YYYYMMDDN.iso.gz
  # dvd-format /dev/rcd0c    (format media, if you will be burn it first)
  # growisofs --dvd-compat -Z /dev/rcd0c=FuguIta-X.X-ARCH-YYYYMMDDN.iso
 **Creating LiveUSB [#h1779af1]
 To make a LiveUSB version of FuguIta, prepare a USB memory with a size of 2 gigabytes or more, and write the downloaded and expanded IMG format file.
 The following is an example of writing using OpenBSD.
 -Download the image for USB flash drive
  # ftp
 -Decompressing that image, and write it into USB storage device.
  # gzip -dc FuguIta-X.X-ARCH-YYYYMMDDN.img.gz | dd of=/dev/rsd?c bs=1m
 The ''/dev/rsd?c'' part in the above example is the designation of the write destination device. This depends on the connection status of the peripherals of your PC. If you execute this command, all the data recorded in the specified device will be erased, so be sure to check in advance if the write destination is correct.~
 If you are not sure what device to write, run the following command to check the name of the device before writing.
  # tail -f /var/log/messages    # Insert USB flashdrive after this command
  Jun 12 09:59:30 fugu-demo /bsd: inteldrm0: 1280x800, 32bpp
  Jun 12 09:59:30 fugu-demo /bsd: wsdisplay0 at inteldrm0 mux 1: console (std, vt1
  00 emulation), using wskbd0
  Jun 12 09:59:30 fugu-demo /bsd: wskbd1: connecting to wsdisplay0
  Jun 12 09:59:30 fugu-demo /bsd: wsdisplay0: screen 1-5 added (std, vt100 emulati
  Jun 12 09:59:30 fugu-demo slaacd[37947]: sendmsg: Can't assign requested address
  Jun 12 09:59:30 fugu-demo ntpd[67052]: creating new /var/db/ntpd.drift
  Jun 12 09:59:31 fugu-demo savecore: can't find device 17/1
  Jun 12 10:00:02 fugu-demo syslogd[50034]: restart
  Jun 12 10:00:50 fugu-demo /bsd: umass1 at uhub4 port 3 configuration 1 interface    # Following lines will
  0 "UFD 3.0 Silicon-Power32G" rev 2.10/0.0c addr 9                                   # appear after tail
  Jun 12 10:00:50 fugu-demo /bsd: umass1: using SCSI over Bulk-Only                   # command was executed.
  Jun 12 10:00:51 fugu-demo /bsd: scsibus5 at umass1: 2 targets, initiator 0
  Jun 12 10:00:51 fugu-demo /bsd: sd2 at scsibus5 targ 1 lun 0: <UFD 3.0, Silicon-
  Power32G, 1.00> removable serial.1f750916IP0001003248
  Jun 12 10:00:51 fugu-demo /bsd: sd2: 29624MB, 512 bytes/sector, 60669952 sectors
  ^C    # type Control+C to quit tail command
 In the above example, the detected device is sd2, so you should specify /dev/rsd2c as the device name to be written.
 The "r" in the device name means "raw device" and the "c" represents the entire device.
 Even if you use a USB memory of 2 GB or more, the portion exceeding 2 GB will not be used.
 If you want to create a LiveUSB version FuguIta that matches the size of the USB memory, refer to [[Remastering LiveUSB on running FuguIta>#q4366f48]].
 **Creating media for Raspberry Pi 3 [#qb7b4a0d]
 Files for Raspberry Pi 3 are provided in tar archive format.
 For how to create the media, please unpack the archive and refer to the README file included in it.
 *Booting FuguIta [#rba5c27f]
 After displaying FuguIta's logo, selection of FuguIta's operational device will appear.
 Unless you attached multiple FuguIta devices, simply press ENTER key (accepting default value) is OK.
  =     ______               __   _
  =    / ____/              |  |_| |__
  =   / /____  ______  __  _|  /_   _/_____
  =  / ___/ / / / __ \/ / / |  | | | /  _  |
  = / /  / /_/ / /_/ / /_/ /|  | | |_| (_) |__
  =/_/   \____/\__  /\____/ |__| \___/____/__/
  =            __/ /
  =           /___/
  =  Welcome to FuguIta  -  OpenBSD Live System
  scanning partitions: wd0i wd0j cd0a
  FuguIta's operating device(s): cd0a.
  Which is FuguIta's operating device? [default: cd0a] ->
 Next, enter capacity of TMPFS. ~
 Unless you have the reason that you wish to fix the size of TMPFS, simply press ENTER key (accepting default value) is OK.
    user memory: 495 MB
  Enter tmpfs size in MB. (0 is auto)
  [default: 0] ->
 Select boot mode. ~
 At first boot, we recommend mode 0.
  Boot modes:
    0: fresh boot - standard mode as a live system
    1: fresh boot - less memory, faster boot (/usr is non-writable, can't pkg_add)
    2: fresh boot - works using only RAM (about 1GB or more of RAM required)
    3: boot with retrieving saved files from storage device
       or enter passphrase for an encrypted volume
    4: boot with retrieving saved files from floppy disk
    5: interactive shell for debugging
 Set keyboard layout, then set root password
  Enter keyboard type.
  pc-xt/pc-at keyboard:
  us de de.nodead fr fr.dvorak dk dk.nodead it uk jp sv sv.nodead no no.nodead us.declk
  us.dvorak us.colemak us.swapctrlcaps us.iopener uk.swapctrlcaps jp.swapctrlcaps
  fr.swapctrlcaps fr.swapctrlcaps.dvorak be.swapctrlcaps us.swapctrlcaps.dvorak
  us.swapctrlcaps.colemak us.swapctrlcaps.iopener es be ru ua sg sg.nodead sf sf.nodead
  pt lt la br tr tr.nodead pl hu si cf cf.nodead lv nl nl.nodead is is.nodead ee ee.nodead
  keyboard type -> us
  kbd: keyboard mapping set to us
  Changing password for root.
  New password:
  Retype new password:
 Network Settings:~
 Enter host name (short name, i.e. no domain part). ~
 Next, settings for IP protocols and their name resolution order
  host name (without domain) -> fugu-demo
  IP version(s) to use: 4, 6, 46, 64 or n
    46: IPv4 preferred over IPv6 in address resolution
    64: reversed to 46
     n: stand alone operation
  '46' selected as default
 Selecting network interface for setting
  ==[ifconfig -a]=========================
  lo0: flags=8008<LOOPBACK,MULTICAST> mtu 32768
          index 3 priority 0 llprio 3
          groups: lo
  em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
          lladdr 52:54:00:12:34:56
          index 1 priority 0 llprio 3
          media: Ethernet autoselect (1000baseT full-duplex)
          status: active
  enc0: flags=0<>
          index 2 priority 0 llprio 3
          groups: enc
          status: active
  Available network interface(s): em0
  network interface to setup [em0] ->
 Enter domain names after the host name
  FQDN of this host -> fugu-demo.localnet
 After this, the following settings will appear only if you have selected a WiFi device as the network interface.
 If you enter the WPA key only in ENTER and do not set it, you will be asked for the WEP key. ~
 We strongly recommend that you use WPA instead of WEP because WEP is now easily decrypted.
 If you press only ENTER for WEP Key prompt, it attempts to connect without any encryption key.
     WPA Key ->
 Name resolution method ~
 When you select "Manual", IP address/Subnetmask/Default gateway will be prompted.
  DNS setup;
    Manual : Enter up to three IPv4/IPv6 addresses, separated by spaces
    DHCP   : Just press ENTER .
    no DNS : Enter "none".
 If you wish to use X Window System, type X.
  Do you login with C)onsole or X) Window System?
  [default: C] ->
             /      Setup for FuguIta ends.         /
            / OpenBSD's boot sequence will follow. /
  Automatic boot in progress: starting file system checks.
  kbd: keyboard mapping set to us
  ... snip ...
  starting local daemons: cron.
  fuguita: disabled KARL because of read-only media
  Wed Aug 19 05:28:08 UTC 2020
  OpenBSD/amd64 (fugu-demo.localnet) (tty00)
 * Initial settings after first root login [#v9bb789c]
 FuguIta will make the minimum settings necessary for the operation of the OS at boot time.
 In addition, you should configure the environment for running applications after root login as shown in the example below:
 ** desktop environment setup [#r3782537]
 FuguIta provides an utility command dtjsetup that allows you to easily install a X11 desktop environment.
  # dtjsetup
  # Welcome to dtjsetup
  #     Desktop (and Japanese) setup utility
  # for FuguIta-6.7-amd64-202008261
  Which desktop software will you install?
    1:  no desktop (wm only)
    2: [rox-filer]
    3:  xfce
    4:  mate
    5:  lumina
    6:  lxqt
  ->           Pressing just ENTER means selecting an item
                 enclosed in braces ("rox-filer" in this case).
  Which window manager will you install?
    1:  cwm
    2:  fvwm
    3:  twm
    4: [icewm]
    5:  fluxbox
    6:  jwm
  Will you setup Japanese language environment? [y/N] ->
  *** You selected icewm as desktop software.
  *** Installing Japanese environment is NO.
  *** No Japanese input method choosen.
  *** Checking your root authorization...
  *** OK.
  *** Checking network accessibility...
  *** OK.
  *** Installing packages: rox-filer icewm
  Will you continue? [y/N] -> y
  quirks-3.325 signed on 2020-08-11T12:56:29Z
     ... snip ...
  *** Rewrite .xsession configuration file.
  Will you continue? [y/N] -> y
  Copy this .xsession file to /etc/skel ? [y/N] -> y
  *** all installation and configuration completed.
  *** Check your /root/.xsession and login to X if OK.
  *** Note: You can save this configuration and addtionally installed softwares
  ***	  by using usbfadm utility.
  ***	  And can reload them at next boot time by selecting boot mode 3.
 If you want to install a WM not listed, set the environment variable DTJ_WMS to the WM you want to add to the list and run dtjsetup.
  DTJ_WMS='dwm enlightenment' dtjsetup
 On the other hand, you can add a WM which has been already installed by edit manually the .xsesson file generated by dtjsetup.
 '''~/.xsession''' file:
  . $HOME/.profile
  if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
          eval `dbus-launch --sh-syntax --exit-with-x11`
  wm="fvwm"         replace this with your WM
  case "$dt" in
          xsetroot -solid gray12
          xclock -geometry 115x115-0+0 -analog -update 1 -fg white -bg '#000020' -hd gray25 -hl white &
          xterm -geometry +0+0 -rv &
 ** set clock to time zone [#j2da861e]
 To set the OS clock to your timezone, link from /etc/localtime to a zone file under the /usr/share/zoneinfo directory.
  # cd /etc
  # ln -sf /usr/share/zoneinfo/Asia/Tokyo localtime
 If you said YES at setup of Japanese Environment of dtjsetup, you should not do this.
 ** doas utility configuration [#u1308a25]
 In OpenBSD, the command doas is used to temporarily perform work as a system administrator.
 By setting the contents of the doas configuration file /etc/doas.conf as follows, users belonging to the wheel group can perform system management tasks.
  # echo permit persist :wheel > /etc/doas.conf
 ** adding software packages [#j49fb92f]
 If you wish add application softwares more, ports/packages system can be used as usual. ~
 Please refer [[OpenBSD's FAQ>]] for detailed info.
 ** adding an normal user [#l2341e46]
 To create an normal user, use adduser utility as follows:
  # adduser
  Couldn't find /etc/adduser.conf: creating a new adduser configuration file
  Reading /etc/shells
  Enter your default shell: csh ksh nologin sh [ksh]:
  Your default shell is: ksh -> /bin/ksh
  Default login class: authpf bgpd daemon default pbuild staff unbound
  Enter your default HOME partition: [/home]:
  Copy dotfiles from: /etc/skel no [/etc/skel]:
  Send welcome message?: /path/file default no [no]:
  Do not send message(s)
  Prompt for passwords by default (y/n) [y]:
  Default encryption method for passwords: auto blowfish [auto]:
  Use option ``-silent'' if you don't want to see all warnings and questions.
  Reading /etc/shells
  Check /etc/master.passwd
  Check /etc/group
  Ok, let's go.
  Don't worry about mistakes. There will be a chance later to correct any input.
  Enter username []: yoshi
  Enter full name []: Yoshihiro Kawamata
  Enter shell csh ksh nologin sh [ksh]:
  Uid [1000]:
  Login group yoshi [yoshi]:
  Login group is ``yoshi''. Invite yoshi into other groups: guest no
  [no]: wheel                add wheel group to enable system administration from yoshi user
  Login class authpf bgpd daemon default pbuild staff unbound
  Enter password []:
  Enter password again []:
  Name:	     yoshi
  Password:    ****
  Fullname:    Yoshihiro Kawamata
  Uid:	     1000
  Gid:	     1000 (yoshi)
  Groups:	     yoshi wheel
  Login Class: default
  HOME:	     /home/yoshi
  Shell:	     /bin/ksh
  OK? (y/n) [y]: y
  Added user ``yoshi''
  Copy files from /etc/skel to /home/yoshi
  Add another user? (y/n) [y]: n
 Next, login as an ordnary user "yoshi" to check such account enabled
  # exit
  OpenBSD/amd64 (fugu-demo.local) (tty00)
  login: yoshi
  OpenBSD 6.7-stable (RDROOT.MP) #5: Wed Jul 22 12:57:54 JST 2020
  Welcome to OpenBSD: The proactively secure Unix-like operating system.
  Please use the sendbug(1) utility to report bugs in the system.
  Before reporting a bug, please try to reproduce it with the latest
  version of the code.  With bug reports, please try to ensure that
  enough information to reproduce the problem is enclosed, and if a
  known fix for it exists, include that as well.
  fugu-demo$ pwd
  fugu-demo$ exit
 * FuguIta LiveUSB - save and load your data [#uea040b9]
 All the settings you have made up to this point exist on the file system in memory, so if you shut down this way all of them will be lost.
 FuguIta can save the settings you have made and the data files you have created in the LiveUSB partition and load them back on next boot.
 ** saving files and directories when FuguIta is running [#sb136241]
 A utility called usbfadm is used to save settings and data.
  # usbfadm
  Welcome to usbfadm.
  USB flash drive administration tool for FuguIta
    Version/Arch: 6.7/amd64  (FuguIta-6.7-amd64-202008261)
       Boot mode: manual
  Data stored in: not set
   Data Saved as: not set
  Type ? for help.
  ? : ? ->target             Use "target" to specify the partition to save to
  Searching storage device
  Please make sure the device inserted.
  Then press ENTER ->
  sd0a +sd0d                 the partition for saving data is marked as '+'
  target device->sd0d
  sd0d : ? ->saveas          Use "saveas" to name the set of saved data
  Name of saved data->fugu-demo
  Your data will be saved as ``fugu-demo''.
  sd0d : fugu-demo ->sync    "sync" saves data actually
  Sync current tmpfs as ``fugu-demo'' , OK? [y/N] -> y
  copying /ram to /mnt/livecd-config/6.7/amd64/fugu-demo (30720KB approx.):
  pax: ./tmp/sndio/sock0 skipped. Sockets cannot be copied or extracted
  pax: ./var/run/ntpd.sock skipped. Sockets cannot be copied or extracted
  pax: ./var/run/smtpd.sock skipped. Sockets cannot be copied or extracted
  pax: ./var/run/cron.sock skipped. Sockets cannot be copied or extracted
  25.0MiB 0:00:02 [10.6MiB/s] [===========================>      ] 83% ETA 0:00:00
  waiting for pax to finish ... syncing ... done.
  sd0d : fugu-demo ->info    confirm the status of the target disk partition
  Filesystem     Size    Used   Avail Capacity iused   ifree  %iused  Mounted on
  /dev/sd0d      961M   22.8M    939M	2%   20423 1116663     2%   /mnt
  22.8M	6.7/amd64/fugu-demo
  sd0d : fugu-demo ->quit
  Bye bye...
 Since the second and subsequent syncs perform differential transfer using rsync, it will finish in a shorter time than the first sync.
 >''Note:'' You can do usbfadm's sync on a command line of shell as follows:
  # usbfadm -r
 The option '-r' will redo usbfadm's sync on a command line.~
 And also you can do it background by cron:
  # crontab file
  #minute hour    mday    month   wday    command
  # save session periodically
  0       */4     *       *       *       PATH=$PATH:/usr/local/bin /usr/fuguita/sbin/usbfadm -rq
 This will do usbfadm's sync every 4 hours. ''-q'' is the option for quiet.
 ** loading files and directories at subsequent boot [#l55eea8b]
 To restore the data saved by usbfadm at startup, specify startup mode 3.
  Boot modes:
    0: fresh boot - standard mode as a live system
    1: fresh boot - less memory, faster boot (/usr is non-writable, can't pkg_add)
    2: fresh boot - works using only RAM (about 1GB or more of RAM required)
    3: boot with retrieving saved files from storage device
       or enter passphrase for an encrypted volume
    4: boot with retrieving saved files from floppy disk
    5: interactive shell for debugging
  scanning partitions: sd0a sd0d sd0i cd0a
  Device(s) found:
    loadable from: sd0d
  Which is FuguIta's storage device? [default: sd0d] ->
  /dev/sd0d : available data;
  config name -> fugu-demo
  Copying files from flash to ram ...
     ... snip ...
  starting local daemons: cron.
  fuguita: disabled KARL because of read-only media
  Thu Sep	 3 15:13:36 JST 2020
  OpenBSD/amd64 (fugu-demo.localnet) (tty00)
 >''Note:'' Even if you are using FuguIta Live DVD, it is possible to save the data and load them at the next boot if LiveUSB is also attached.
 ** automate load/save operation [#ib622aa0]
 *** automated load [#pc0c7d7c]
 FuguIta prompts the user to enter the following 5 items at boot time:
 -Name of FuguIta's system partition
 -Maximum capacity of TMPFS (RAM file system)
 -Boot mode
 -Name of data storage device
 -Name of data you saved as
 You can automate those inputs by editing the noasks files in the d partition of your LiveUSB system.
  # mount /dev/sd0d /mnt                                          
  # vi /mnt/noasks
 Edit noasks file to fill item values and to uncomment them
  # noasks - parameter settings for non-interactive boot
  # Make statements uncommented
  # to activate settings
  # FuguIta system device
  # tmpfs size in MB
  # boot mode
  # storage device
  # data set name in USB flash drive
  # umount /mnt
 Since noasks edited, following line will appear at boot time:
  # reboot
  =     ______               __   _
  =    / ____/              |  |_| |__
  =   / /____  ______  __  _|  /_   _/_____
  =  / ___/ / / / __ \/ / / |  | | | /  _  |
  = / /  / /_/ / /_/ / /_/ /|  | | |_| (_) |__
  =/_/   \____/\__  /\____/ |__| \___/____/__/
  =            __/ /
  =           /___/
  = Welcome to FuguIta!  -  OpenBSD Live System
  scanning partitions: wd0i wd0j sd0a sd0d sd0i
  FuguIta's operating device(s): sd0a.
  Press ^C to cancel non-interactive boot
 Wait 5 seconds after this message is displayed, and the boot will be continued without any user interaction.
 If you enter <Control>-C within 5 seconds, the automatic boot by the noasks file will be stopped and the normal manual operation will be restored. 
 *** automated save [#x23a5cf9]
 In the previous section, we explained the automation at the start of FuguIta, and you can also automate the process of saving data at the shutdown.
 In OpenBSD, the script /etc/rc.shutdown is executed when the system shuts down, so append following lines to this file.
  export PATH=$PATH:/usr/local/bin
  /usr/fuguita/sbin/usbfadm -r
 >''Note:'' This process does not perform error recovery during the save process, so the system will continue to shutdown even if the save fails.~
 If you perform important processing during operation, we recommend that you manually save the data separately.
 * Create another FuguIta LiveUSB that fits the size of your USB stick. [#q4366f48]
 As mentioned earlier, the FuguIta raw disk image we distribute only uses 2GB of space regardless the size of target media.
 To create a FuguIta with a partition that fits your USB memory, use a utility called usbfadm on the running FuguIta.
 -First, create FuguIta LiveDVD or LiveUSB from download file, then run it.
 -Login as root, then execute ''newdrive'' subcommand on the USB management tool ''usbfadm''.
  # /boottmp/usbfadm
  # usbfadm
  Welcome to usbfadm.
  USB flash drive maintenance tool for FuguIta
  USB flash drive administration tool for FuguIta
    Version/Arch: 6.7/amd64  (FuguIta-6.7-amd64-202008111)
       Boot mode: manual
  Data stored in: not set
   Data Saved as: not set
  Type ? for help.
  ? : ? --> newdrive
  ? : ? ->newdrive
 Scanning USB devices after pressing ENTER.
  Please make sure the device inserted.
  Then press ENTER --> 
  Then press ENTER ->
 Enter the device name of USB flash drive. ~
 Contents of system log entries are displayed for your information;
  ==== FYI: sd[0-9] on syslog ================================
       1  sd0 at scsibus1 targ 1 lun 0: <TOSHIBA, TransMemory, PMAP>
       2  sd0: 961MB, 512 bytes/sec, 1968128 sec total
       3  sd1 at scsibus2 targ 1 lun 0: <Generic, USB CF Reader, 0.00>
       4  sd1: drive offline
       5  sd2 at scsibus2 targ 1 lun 1: <Generic, USB SD Reader, 0.00>
       6  sd2: drive offline
       7  sd3 at scsibus2 targ 1 lun 2: <Generic, Mini SD Reader, 0.00>
       8  sd3: drive offline
       9  sd4 at scsibus2 targ 1 lun 3: <Generic, USB MS Reader, 0.00>
      10  sd4: drive offline
      11  sd5 at scsibus2 targ 1 lun 4: <Generic, USB SM Reader, 0.00>
      12  sd5: 62MB, 512 bytes/sec, 128000 sec total
  Enter name of device which FuguIta will be installed --> sd0
 Enter ''y'' to set up FuguIta-bootable USB flash drive ((In case of enter ''n'', System of FuguIta will not be transferred to the drive, and only partition for saving user data will be set up)).
  Do you make this USB flash drive bootable? [y/n] -> y
 After transferring the system, by specifying '*', the rest will be allocated as the partition which user will save his data.
  Enter size for saving User Data in MB (311MB free).
  '*' implies all --> *
 Otherwise the numeric value should be entered as the size of saving data (MB) ~
 Room not used as OpenBSD's area will be formatted as FAT. ~
 For example;
  Enter size for saving User Data in MB (311MB free).
  '*' implies all --> 250
 in case of this, 250MB is for saving data of FuguIta user.
 and 61MB becomes FAT.
 Finally, you'll be asked whether the device is that you really intend.
  ==== disk(s) and vnode devices ============================
  sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
  sd0: 1024MB, 512 bytes/sector, 2097152 sectors
  sd1 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, >
  sd1: 4096MB, 512 bytes/sector, 8388608 sectors
  vnd0: not in use
  vnd1: not in use
  vnd2: not in use
  vnd3: not in use
  vnd4: not in use
  vnd5: covering /sysmedia/fuguita-6.7-amd64.ffsimg on cd0a, inode 48172
 Select the disk you will install FuguIta to
  Enter the name of device which FuguIta will be installed->sd1
 There are several ways of boot. Choose one. ~
 "Hybrid" enables boot with either Legacy BIOS or UEFI, but it's very difficult to change fdisk/GPT partition later.
  Select boot method:
    1: [Legacy BIOS]
    2:  UEFI
    3:  none (only for save data)
    4:  Hybrid
 Entering partition sizes. ~
 If you answer "Y" for data encryption, input for passphrase will be prompted.
  Enter sizes for swap, user data and extra FAT.
    You can add suffix K, M, G or T (otherwise considered 'bytes').
    '*' implies 'all'
    '0' doesn't make this partition.
 If you input any size of swap greater than 0, the maximum size of tmpfs can be expanded.
  3GB (3149MB) (6451136sectors) free
  3GB (3149MB) (6451136sectors) free
  user data->2560m
  user data encryption? [y/N] ->
  Create an extra FAT partition? [y/n] -> y
  target disk: sd1
    partition type=MBR
         boot type=Legacy
  -------------------- : ------
             partition :   size
  -------------------- : ------
            whole disk :    4GB
      partition tables :   32KB
           UEFI system :     0B
        FuguIta system : 9 46MB
          FuguIta swap :     0B
     FuguIta user data :    2GB
             MSDOS FAT :  589MB
  -------------------- : ------
  If you type 'Y' now, all the data on sd0 will be lost.
  Are you sure to initialize sd0? [y/N] -> y
  If you type 'Y' now, all the data on sd1 will be lost.
  Are you sure to modify disk sd1? [y/N] -> y
  = Clearing MBR BSD disklabel
  = Clearing MBR, GPT and BSD disklabel
  1+0 records in
  1+0 records out
  1048576 bytes transferred in 0.099 secs (10562763 bytes/sec)
  1048576 bytes transferred in 0.040 secs (25613268 bytes/sec)
  = Setting up MBR
  Writing MBR at offset 0.
  ...... continues ......
 After this, formatting filesystems and copying system files are done.
 Then FuguIta LiveUSB is completed.
 *Booting FuguIta [#rba5c27f]
 After booting from CD/USB,
 some user inputs will be prompted;
  disks: *cd0a fd0 fd1 rd0 sd0
  Disk to boot FuguIta? [cd0a] ->
 '*' means the device which stores FuguIta system
    user memory: 267927552 bytes
  mfs available: 10MB to 255MB
  [default: 127MB] -> 
 Only entering "ENTER", half amount of attached memory is specified by default.
  set mfs size to default: 127MB
 Choose the way of boot
  Select boot mode;
    0: fresh boot (normal)
    1: fresh boot (lower memory, faster boot than mode 0)
    2: fresh boot (everything on mfs)
    3: retrieve user data from USB flash memory
    4: retrieve user data from floppy disk
    5: interactive shell for debugging
 :0 normal fresh boot mode|Like booting just after fresh install. Some parameters are needed to be entered manually. This is the standard fresh boot method.
 :1 fresh boot with faster and less memory|Same as above. ~
 But under /usr, all files and directories are ''read only''.
 :2 ''everything on mfs'' mode (i.e. diskless mode)|Same as mode 0. ~
 All files and directories will have copied on mfs. This mode requires about more than 650--700MB RAM.
 :3 Restoring user data from USB flashdrive|After CD/USB boot, extract files which were stored in USB flash. (to be more described)
 :4 Restoring user data from floppy disk|Same as above, but extracting from floppy disk. (to be more described)
 :5 Interactive shell mode|After CD/USB boot, single user shell invoked. This is intended for system debug.
 At first, you should enter mode 0 (recommended) or mode 1.
  Running manual setup.
  Copying system files to /mfs ... done
  Extracting symlinks from /mfs to /fuguita ... done
 Choose keyboard type
  Keyboard type;
  be      be.swapctrlcaps br      cf
  cf.nodead       de      de.nodead       dk
  dk.nodead       es      fr      fr.dvorak
  fr.swapctrlcaps fr.swapctrlcaps.dvorak  hu      it
  jp      jp.swapctrlcaps la      lt
  lv      nl      nl.nodead       no
  no.nodead       pl      pt      ru
  sf      sf.nodead       sg      sg.nodead
  si      sv      sv.nodead       tr
  tr.nodead       ua      uk      us
  us.declk        us.dvorak       us.iopener      us.swapctrlcaps
  us.swapctrlcaps.dvorak  us.swapctrlcaps.iopener
  -> us
 Enter root password twice
  Set your root password.....
  Please wait.....
  Changing local password for root.
  New password:
  Retype new password:
 Setting network parameters.
  host name (without domain) -> nimbus5
  IP version(s) to use [n, 4, 6 or 46]-> 46
  /dev/rsd1d: 2560.0MB in 5242880 sectors of 512 bytes
  13 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
  super-block backups (for fsck -b #) at:
   32, 414688, 829344, 1244000, 1658656, 2073312, 2487968, 2902624, 3317280,
   3731936, 4146592, 4561248, 4975904,
  ** /dev/rsd1d
  ** File system is already clean
  ** Last Mounted on /mnt
  ** Phase 1 - Check Blocks and Sizes
  ** Phase 2 - Check Pathnames
  ** Phase 3 - Check Connectivity
  ** Phase 4 - Check Reference Counts
  ** Phase 5 - Check Cyl groups
  3 files, 3 used, 1289388 free (20 frags, 161171 blocks, 0.0% fragmentation)
  ==[ifconfig -a]=========================
  lo0: flags=8008<LOOPBACK,MULTICAST> mtu 33200
           priority: 0
           groups: lo
           lladdr 52:54:00:12:34:56
           priority: 0
           media: Ethernet 10baseT full-duplex
  enc0: flags=0<> mtu 1536
           priority: 0
  Available network interface(s): ne3
  network interface to setup [ne3] ->
  ? : ? ->quit
  FQDN of this host -> nimbus5.localnet
  for DNS servers;
   * up to three IPv4/IPv6 addresses, separated by spaces
   * just press ENTER for DHCP
   * "none" for not using DNS
  Bye bye...
 If you specify an unused vnd device when executing newdrive, a FuguIta LiveUSB image file will be created in the current directory.
  your IPv4 addr or "dhcp"? ->
  your netmask? ->
  your default gateway? ->
 *More further infomations [#kd805aed]
 FuguIta can be used in various ways by combining boot modes and media. 
 See the [[蚕期饶ガイド(FuguIta Guide)>蚕期饶ガイド]] for such applications. The FuguIta Guide is the comprehensive document written in Japanese. If you can't read Japanese, please consider using auto-translation service such as [[Google Translation>]].
 ...then you will see a login prompt.
 Here's the translated table of contents for FuguIta Guide:
 - [[What is FuguIta>蚕期饶ガイド#v1de7f5b]]
 - [[Make FuguIta>蚕期饶ガイド#ha898539]]
 -- [[Download FuguIta>蚕期饶ガイド#r740bc2a]]
 -- [[Making FuguIta LiveDVD>蚕期饶ガイド#ibfed0ca]]
 -- [[Make FuguIta LiveUSB>蚕期饶ガイド#sa216e5d]]
 - [[Launch FuguIta>蚕期饶ガイド#i322b9ad]]
 -- [[Select boot device>蚕期饶ガイド#e21929c7]]
 -- [[Memory usage setting>蚕期饶ガイド#ceed87b2]]
 -- [[Select boot mode>蚕期饶ガイド#f8b048c7]]
 -- [[Keyboard layout settings>蚕期饶ガイド#te842ff2]]
 -- [[Set administrator password>蚕期饶ガイド#ad3588bf]]
 -- [[Network related settings>蚕期饶ガイド#sffc6969]]
 --- [[Host name setting>蚕期饶ガイド#ie5a333c]]
 --- [[Select IP protocol version>蚕期饶ガイド#m437800b]]
 --- [[Network interface settings>蚕期饶ガイド#b17e97e6]]
 --- [[Domain name setting>蚕期饶ガイド#xd790bd7]]
 --- [[WiFi settings>蚕期饶ガイド#gcd7e74b]]
 --- [[IP address and DNS settings>蚕期饶ガイド#n0705aa2]]
 -- [[Select login method>蚕期饶ガイド#a5fdbf53]]
 - [[Using FuguIta [Fundamental]>蚕期饶ガイド#v7ad37bc]]
 -- [[Login/logout as system administrator>蚕期饶ガイド#w2c53668]]
 -- [[Register general users>蚕期饶ガイド#h1216f6c]]
 -- [[Start X Window System.>蚕期饶ガイド#a1cfa1e7]]
 -- [[Shutdown FuguIta>蚕期饶ガイド#r5ff7390]]
 -- [[Save settings and files>蚕期饶ガイド#k57e4ba1]]
 -- [[Load saved settings and files at startup>蚕期饶ガイド#w4595c42]]
 -- [[Find out how to use Unix>蚕期饶ガイド#qd261f24]]
 --- [[Prepare your books>蚕期饶ガイド#eb296ff3]]
 --- [[Just do it yourself &br; Make use of the online manual>蚕期饶ガイド#ra99ba26]]
 --- [[Let's use the net as "reference information">蚕期饶ガイド#yd1087f1]]
 --- [[Summary of this section>蚕期饶ガイド#w8477b64]]
 -- [[Find out how to use OpenBSD>蚕期饶ガイド#z306ec3b]]
 --- [[Introduction>蚕期饶ガイド#y69d2587]]
 --- [[Online documentation>蚕期饶ガイド#p2cb140a]]
 --- [[File on system>蚕期饶ガイド#p9f62bb7]]
 --- [[Information on the Internet>蚕期饶ガイド#z8ce8604]]
 --- [[Books>蚕期饶ガイド#cf43eff9]]
 - [[Using FuguIta [Advanced]>蚕期饶ガイド#kf683b7c]]
 -- [[Add an application software>蚕期饶ガイド#af9dcfcb]]
 -- [[Allow general users to temporarily become system administrators>蚕期饶ガイド#f2649d0e]]
 -- [[Change the time zone>蚕期饶ガイド#i0182778]]
 -- [[Example of Server Configuration - Change NTP server which refers to time>蚕期饶ガイド#j453b186]]
 -- [[Change OS settings>蚕期饶ガイド#g61850e9]]
 --- [[Kernel parameter>蚕期饶ガイド#k3a552ed]]
 --- [[Basic network settings>蚕期饶ガイド#pd55b21e]]
 --- [[Starting/stopping daemon and setting>蚕期饶ガイド#j2c6731d]]
 --- [[Other settings>蚕期饶ガイド#k8fb92e4]]
 -- [[Boot Mode 1 - Reduce startup time. Use less memory>蚕期饶ガイド#h4bd3eba]]
 -- [[Boot Mode 2 - Run FuguIta without recording media>蚕期饶ガイド#zaeb073d]]
 -- [[usbfadm - Install FuguIta according to the capacity of USB memory>蚕期饶ガイド#ld36d7ec]]
 -- [[noasks file - Allow to omit setting input at startup>蚕期饶ガイド#b493ab9a]]
 -- [[Allow data to be saved automatically on exit>蚕期饶ガイド#m8ee7943]]
 -- [[Encrypt data storage area>蚕期饶ガイド#f90fbf26]]
 -- [[Use multiple FuguIta together>蚕期饶ガイド#o7bfa547]]
 -- [[Coexisting OpenBSD and FuguIta>蚕期饶ガイド#d99117a6]]
 -- [[Coexisting FuguIta with Windows or Linux>蚕期饶ガイド#b882fb9c]]
 -- [[Enable swap partition>蚕期饶ガイド#y45d0ddf]]
 -- [[Add a partition to mount>蚕期饶ガイド#d052ec6d]]
 -- [[dtsetup - Install desktop environment to X Window System>蚕期饶ガイド#r41dd079]]
 --- [[Enable X login screen>蚕期饶ガイド#ceb55706]]
 -- [[Update FuguIta>蚕期饶ガイド#h2ce3537]]
 --- [[The major release of OpenBSD is upgraded>蚕期饶ガイド#tb60f1b9]]
 --- [[The major release of OpenBSD haven't chaned>蚕期饶ガイド#re866f1d]]
 -- [[Using FuguIta in mobile environment>蚕期饶ガイド#x0c50917]]
 --- [[Power supply related settings>蚕期饶ガイド#v970bab0]]
 -- [[Change network settings>蚕期饶ガイド#g07d1048]]
 --- [[gennetconfs - Network reconfiguration tool>蚕期饶ガイド#wba8cadd]]
 --- [[Use a WiFi device that requires a firmware download>蚕期饶ガイド#e61af36c]]
 - [[Developing FuguIta>蚕期饶ガイド#oc4ca9a6]]
 -- [[Check FuguIta's technical information>蚕期饶ガイド#h45738ed]]
 -- [[Dedicate FuguIta to the application's dedicated machine>蚕期饶ガイド#a09cd894]]
 -- [[Make FuguIta ISO image from running FuguIta>蚕期饶ガイド#ad9d1db1]]
 -- [[LiveDVD - Using FuguIta development tools>蚕期饶ガイド#m0eda68f]]
 --- [[Before work>蚕期饶ガイド#e85a44f6]]
 --- [[Setting up the kernel source tree>蚕期饶ガイド#z983a95c]]
 --- [[Setting up FuguIta build tool>蚕期饶ガイド#ma7c8a0b]]
 --- [[Generating kernels for a FuguIta>蚕期饶ガイド#zbf4c5c3]]
 --- [[Updating RAM disk root file system (rdroot)>蚕期饶ガイド#ca5a61ab]]
 --- [[Write the file tree of FuguIta to ISO contents>蚕期饶ガイド#zb14f179]]
 --- [[Carrying out customization work>蚕期饶ガイド#w5fe26a3]]
 --- [[Setting up kernel and boot loader>蚕期饶ガイド#af76f3a2]]
 --- [[Creating an ISO image file for distribution>蚕期饶ガイド#e42504c4]]
 --- [[List of Makefile targets>蚕期饶ガイド#c647d459]]
 -- [[LiveUSB - Make a disk image of FuguIta>蚕期饶ガイド#z05e6da1]]
 - [[At the end>蚕期饶ガイド#i3c5a3cb]]
Top Index Search Recent Backups  Help  RSS