*'' '''Fugu'''Ita'' - '' '''Open'''BSD LiveCD'' [#b073af7c]
#contents
**Screenshots [#h665312a]
(Click a thum nail image to view a normal size one)
#include(FuguIta,notitle)

''FuguIta at booting'' ~
[[&ref(fuguita-boot_s.png);>http://kaw.ath.cx/openbsd/index.php?plugin=attach&pcmd=open&file=fuguita-boot.png&refer=en%2FLiveCD]] ~
-Size for mfs being asked
----
''Conservative Unix Environment'' ~
[[&ref(fuguita-twm_s.png);>http://kaw.ath.cx/openbsd/index.php?plugin=attach&pcmd=open&file=fuguita-twm.png&refer=en%2FLiveCD]] ~
-TWM window manager
-kterm (Kanji Terminal)
-Mew email client on GNU Emacs
-W3M text web browser with inline-images and tab browsing
-Transmission BitTorrent client
----
''Simple Desktop and Clients'' ~
[[&ref(fuguita-icewm_s.png);>http://kaw.ath.cx/openbsd/index.php?plugin=attach&pcmd=open&file=fuguita-icewm.png&refer=en%2FLiveCD]] ~
-IceWM and ROX-Filer
-XV image viewer
-MPlayer media player
-Riece IRC client on Emacs
**What's this? [#z48eecb3]
FuguIta is the Live CD which was built from OpenBSD, featuring;
:Similar to HDD installation|This Live CD was intended to be similar to HDD installation as much as possible.~
After CD booting, you can login to the environment like the one which was just installed on HDD.~
In this environment, many ordinary files have replaced to symbolic links. So you can replace or modify them by yourself.
:Portable workplace|You can save your own environment into Floppy Disk and/or USB flash.  Then you will be able to retrieve it at next boot time.
:Low hardware requirements|Unless you will use X, this LiveCD requires 27MB of memory to run.
:Additional Softwares|Some softwares were added from ports or building from other source packages. See following software list.
:Useful for Japanese users|Kernel and Time Zone are set to JST. And some softwares are configured to be able to use Japanese.

Note: '' '''Fugu'''Ita'' (&ref(fuguita.gif);) stands for "Blowfish Disk" in Japanese. Fugu means blowfish, and Ita means something flat such as a plate, a disk or a board etc... ~
Some Japanese might associate those who cook when hearing Ita.
For them, so '' '''Fugu'''Ita'' also means a "Blowfish Cook".
***Software List [#kbfb91ba]
|>|CENTER:BGCOLOR(pink):Base System|
|OpenBSD 4.0|The Operating System|
|>|CENTER:BGCOLOR(pink):Network|
|fetchmail|POP/IMAP email client|
|procmail|email proccessing filter|
|w3m|text-based web browser&br;(images, tables, frames are OK)|
|rdesktop|remote desktop client&br; for MS Windows RDP|
|rsync|remote file synchronization tool|
|Mew|email user agent (works on Emacs)|
|Riece|IRC client (works on Emacs)|
|Emacs-w3m|web browser which works on Emacs|
|Transmission|BitTorrent client|
|DeleGate|multi-purpose proxy server|
|>|CENTER:BGCOLOR(pink):Media|
|xv|image viewer|
|mplayer|media player|
|cdparanoia|CDDA reading utility|
|lame|lame ain't an MP3 encoder|
|>|CENTER:BGCOLOR(pink):Other tools|
|bash|Bourne again shell|
|bzip2, zip/unzip|file compression/expand tools|
|screen|text screen manager|
|Ruby|object oriented script language|
|Gauche|Scheme language interpreter|
|IceWM|window manager|
|ROX-Filer|Graphical file manager|
|Emacs 22|text editor|
|>|CENTER:BGCOLOR(pink):For Japanese|
|kterm|Kanji terminal emulator|
|jless|Japanized file pager|
|nkf|character code converter|
|freefonts,&br;ja-fonts-funet,&br;ja-fonts-gnu|Japanese fonts|
|Navi2ch, Mona font|''2ch BBS'' browser|
|Migemo|Japanse direct incremental search|
**How to use FuguIta [#af76c44d]
***Download [#ra903966]
FuguIta is provided as compressed ISO images; ~
- http://kaw.ath.cx/dl/pub/OpenBSD/LiveCD/ (master site)
- http://livecd-mirror.ebug.jp/LiveCD/ (mirror, faster than master site, most recommended)
- http://kaw.ath.cx/dl/pub/OpenBSD/LiveCD/FuguIta-4.0-200701201.iso.bz2.torrent ~
(BitTorrent, recommended)

First, get via HTTP then make it uncompressed;
 ftp http://kaw.ath.cx/dl/pub/OpenBSD/LiveCD/FuguIta-4.0-200611131.iso.bz2
 bzip2 -d FuguIta-4.0-200611131.iso.bz2
or
 ftp http://kaw.ath.cx/dl/pub/OpenBSD/LiveCD/FuguIta-4.0-200611131.iso.gz
 gzip -d FuguIta-4.0-200611131.iso.gz
>Note: ''ftp'' is a client for FTP/HTTP on OpenBSD. If you use other OS,
use an appropriate HTTP client instead, such as fetch, wget, cURL or
other web browsers.
***Burn CD-R [#b37ca889]
Burn the ISO image into CD-R or CD-RW.
 cdio -f /dev/rcd0c tao FuguIta-4.0-200611131.iso
***Booting FuguIta [#rba5c27f]
After booting from CD,
some user inputs will be prompted;
 511 MB of memory available for you.
 your mfs size in megabytes? [default: 255] -> 
Only entering "ENTER", half amount of attached memory is specified by default.
 Allocating 255 MB for mfs.
Choose the way of boot
 Select boot method;
    0: CD-ROM only
    1: CD-ROM only (for low mem)
    2: CD-ROM + USB flash
    3: CD-ROM + tar.gz on floppy
    4: CD-ROM + interactive shell
 -->0
:0 CD-ROM only mode|Booting with CD-ROM only. Some parameters are needed to be entered manually.
:1 CD-ROM only mode (for low mem)|Same as above. ~
But, under /usr are all ''read only''.
:2 CD-ROM + USB flash mode|After CD boot, extract files which were stored in USB flash. (to be more described)
:3 CD-ROM + .tar.gz floppy mode|Same as above, but extracting from floppy disk. (to be more described)
:4 CD-ROM + interactive shell mode|After CD boot, single user shell invoked. This is intended for system debug.

At first, you should enter mode 0 (recommended) or mode 1.
 Copying files from CD-ROM to mfs ... done
 Linking files from mfs to CD-ROM ... done
Choose keyboard type
 Set your keyboard type;
 tables available for pc-xt/pc-at keyboard: encoding us de de.nodead fr dk 
 dk.nodead it uk jp sv sv.nodead no no.nodead us.declk us.dvorak 
 us.swapctrlcaps us.iopener jp.swapctrlcaps fr.swapctrlcaps be.swapctrlcaps 
 us.swapctrlcaps.dvorak us.swapctrlcaps.iopener es be ru ua sg sg.nodead sf 
 sf.nodead pt lt la br tr tr.nodead pl hu si
 -> us
Enter root password twice
 Set your root password.....
 Please wait.....
 Changing local password for root.
 New password:
 Retype new password:
Setting network parameters.
 Setting up network configurations? -> y
 your host name (without domain)? -> nimbus5
 Setting up IP network configurations? [n, 4, 6 or 46]-> 46
 ========================================
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
         inet 127.0.0.1 netmask 0xff000000 
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
 dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: 00:00:39:58:cf:05
         media: Ethernet autoselect (100baseTX full-duplex)
         status: active
         inet6 fe80::200:39ff:fe58:cf05%dc0 prefixlen 64 scopeid 0x1
 pflog0: flags=0<> mtu 33224
 pfsync0: flags=0<> mtu 2020
 enc0: flags=0<> mtu 1536
 ========================================
 your network interface? -> dc0
 your FQDN? -> nimbus5.localnet
 your DNS servers?
 (up to three IPv4/6 addresses, separated by spaces)
 -> 192.168.18.254
 your IPv4 addr or "dhcp"? -> 192.168.18.25
 your netmask? -> 255.255.255.0
 your default gateway? -> 192.168.18.254

 Generate cryptographic keys? -> y
... then you will see login prompt
**Tips [#p324be9d]
Details will be written in future.
***What can I do after boot? [#p05ab563]
Almost same as normal installation on HDD. ~
See afterboot manual page by running ''man 8 afterboot''.
***How to change TimeZone [#s7282b52]
Re-link /etc/localtime;
 cd /etc
 ln -sf /usr/share/zoneinfo/YOUR-TIME-ZONE localtime
Then set system clock if nessesary;
 date YOUR-LOCAL-TIME
Caution: date command causes your hardware clock changed.
***Saving and restoring the modified files [#wb58c8f8]
You can save your own environment into Floppy Disk and/or USB flash. ~
Note: Existing data on these media will be lost.
You *MUST* back up your data before this operation.

''To save in USB flash. ''
+Do fdisk 
 # fdisk -e sd0
If your fdisk cannot get disk geometry info from USB-BIOS,
make sure the size of your USB flash from dmesg output. ~
For example, you know your USB flash has 248MB according to dmsg,
you can fdisk with options specifying Cyl/Head/Sec explicitly.
 # fdisk -c 248 -h 64 -s 16 -e sd0
In fdisk editor mode, you will specify OpenBSD FFS as the partition ID ``A6''.
+Make then partition ``a'' by disklabel.
 # disklabel -E sd0
The procedure is normal. Refer disklabel(8).
+Format sd0a
 # newfs -b 4096 -f 512 -i 1024 /dev/rsd0a
+Make the directory which saves the data.
 # mount /dev/sd0a /mnt
 # mkdir /mnt/livecd-config
 # umount /dev/sd0a
+Save data. ~
++To save data, the script ``usbfadm'' are in the system.
 # /boottmp/usbfadm
 Welcome to USB flash maintenance tool.
 
 Boot mode: manual
 
 Type ? for help.
 
 ?:? ->
++Detect USB device by rescan subcommand.
    ?:? -> rescan
    Rescanning USB flash
    Please make sure the device inserted.
    Then press ENTER -->
 
    USB flash memory found as sd0
++Name the set of data which you will save by dsn (data set name) subcommand.
The default value of dsn is the FQDN of this host.
 /dev/sd0a:? -> dsn
 
 Enter data set name [nimbus5.localnet] -> emgproxy
 
 Now data set name is set to ``emgproxy''.
++Save the data by sync subcommand.
 /dev/sd0a:emgproxy -> sync
 
 Sync current mfs as emgproxy, OK? -> y
 
 building file list ... done
 created directory /mnt/livecd-config/emgproxy
 ./
 etc/
 etc/bgpd.conf
 etc/boot.conf
   :
   :
 var/yp/Makefile.yp
 var/yp/Makefile.yp.dist
 var/yp/README
 
 sent 16455591 bytes  received 232568 bytes  180412.53 bytes/sec
 total size is 15492096  speedup is 0.93
++Make sure the data saved by info subcommand.
 /dev/sd0a:emgproxy -> info
 
 Filesystem     Size    Used   Avail Capacity  Mounted on
 /dev/sd0a      218M   18.9M    179M   9.6%    /mnt
 
 scanning...
 
 18.9M   emgproxy
++If OK, exit this utility.
 /dev/sd0a:emgproxy -> bye
 #

''To save a floppy disk''
-Perform low-level formatting on floppy disk.
-Use /boottmp/fdadm to save data.
***Adding other softwares [#c2de4582]
Usual way as in HDD installation. ~
Packages and ports are also OK.
***Changing window manager [#pdcf6d6f]
Edit ~/.xinitrc
 
 xset +fp /usr/local/lib/X11/fonts/japanese/:unscaled
 xset +fp /usr/local/lib/X11/fonts/mona/:unscaled
 
 wm=twm   <---Edit this.
 
 case X"$wm" in
     Xicewm)
 
Edit shell variable ''wm''. ~
Available wm's are twm, fvwm, wm2, icewm or twm.
***Can I rebuild my own CD-ROM image? [#o9aa148f]
Yes. ~
Here's a brief description of how to build a LiveCD image;

-All work should be done on OpenBSD 4.0
-And must be done by root.
 
+Get a build tool.
 ftp http://kaw.ath.cx/dl/pub/OpenBSD/LiveCD/tools/tools-4.0.tar.gz
+Extract it
 tar xvzpf tools-4.0.tar.gz
+Copy kernel
 cd tools-4.0
 rm bsd.orig
 cp bsd bsd.orig
(Or compile your customized kernel using tools-4.0/lib/RDROOT, then copy it to tools-4.0/bsd)~
~
+Copy your OpenBSD file-tree under tools-4.0/cdroot.dist ~
For example;
 cd cdroot.dist
 (cd YOUR-OPENBSD-FILE-TREE && tar cpf - .) | tar xvpf - .
+Make an ISO image
 make livecd.iso
+Burn it.
 cdio -f /dev/rcd0c blank             ( <- Only for CD-RW )
 cdio -f /dev/rcd0c tao livecd.iso

That's all.
***Can I install this LiveCD to HDD? [#e32746d7]
Yes, brief description as follows;
+Install OpenBSD on your hard disk in usual way. ~
--This is for preparing OpenBSD disk partition.
+Preserve kernel and /etc/fstab. ~
--Not to overwrite by CD-ROM's contents
+Mount CDROM, then copy its contents to hard disk ~
--Not to copy CD-ROM oriented files - /cdboot, /cdbr, /bsd, /rr_moved etc... ~
--After copying completed, retrieve kernel and fstab which were initially installed.
+Reinstall boot loader ~
--See installboot(8) manual page
----
[[FrontPage]]


Front page   New Page list Search Recent changes   Help   RSS of recent changes