*Creating FuguIta Media [#dbef1e2f]
 *Creating FuguIta Media (on OpenBSD, for example) [#dbef1e2f]
 **Creating LiveDVD [#qd9ded45]
 -Install DVD writing tool
  # pkg_add dvd+rw-tools
 -Download the ISO image of FuguIta from the site described in [[FuguIta/Download]].
  # ftp http://mirror-of-fuguita/FuguIta-6.X-20YYMMDDN.iso.gz
 Note that the part ''YYMMDDN'' must be replaced with the version string of real ISO image.
 -After decompression completed, burn that image into DVD-R or DVD-RW.
  # gzip -d FuguIta-6.X-20YYMMDDN.iso.gz
  # dvd-format /dev/rcd0c    (format media, if you will be burn it first)
  # growisofs --dvd-compt -Z /dev/rcd0c=FuguIta-6.X-20YYMMDDN.iso
 **Creating LiveUSB [#h1779af1]
 By this procedure, fixed size of partitions (915MB for FuguIta's system, about 1GB for saving user's data) are set up.
 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 http://livecd-mirror.ebug.jp/LiveDVD/FuguIta-6.X-20YYMMDDN.img.gz
 -Decompressing that image, and write it into USB storage device.
  # gzip -dc FuguIta-6.X-20YYMMDDN.img.gz | dd of=/dev/rsd?c bs=1m
 The part "/dev/rsd?c" depends on your environment. ~
 Please make sure the device name certainly means the device which you will initialized.
 The "/dev/rsd0c" 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.
 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 from running FuguIta".
 *Booting FuguIta [#rba5c27f]
 After booting from DVD/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 DVD/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 DVD/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
  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
  ==[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] -> 
  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
  IPv4 addr of this host ->
  netmask                ->
  default route          ->
 In above case;
 -IPv4 was configured manually.
 -IPv6 was set up as end node by automatic stateless configuration.
 ...then you will see a login prompt.
  Generation of SSH and isakmpd keys take some time while booting.
  Automatic boot in progress: starting file system checks.
  setting tty flags
  kbd: keyboard mapping set to us
  pf enabled
  starting network daemons: sshd rtsold sendmail inetd.
  starting local daemons:.
  standard daemons: cron.
  Sat May 29 06:19:13 JST 2010
  OpenBSD/i386 (nimbus5.localnet) (tty00)
 * Generate LiveUSB from running LiveDVD or running LiveUSB [#r74a898f]
 * Remastering LiveUSB from running FuguIta [#q4366f48]
 By this procedure, the data partition will be automatically allocated. ~
 Also, you can specify its size.
 -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''.
  # usbfadm
  Welcome to usbfadm.
  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
 Scanning USB devices after pressing ENTER.
  Please make sure the device inserted.
  Then press ENTER ->
 Enter the device name of USB flash drive. ~
 Contents of system log entries are displayed for your information;
  ==== 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 sd1 will be lost.
  Are you sure to modify disk sd1? [y/N] -> y
  = Clearing MBR, GPT and BSD disklabel
  1+0 records in
  1+0 records out
  1048576 bytes transferred in 0.040 secs (25613268 bytes/sec)
  /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)
  ? : ? ->quit
  Bye bye...
Top Index Search Recent Backups  Help  RSS