FuguIta - OpenBSD LiveCD/LiveUSB

Screenshots

(Click a thumbnail image to view a normal size one)

FuguIta at booting
fuguita-boot_s.png


Conservative Unix Environment
fuguita-twm_s.png


Simple Desktop and Clients
fuguita-icewm_s.png

What's this?

FuguIta is the LiveCD/LiveUSB which was built from OpenBSD, which has following features;

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 flashdrive. Then you will be able to retrieve it at next boot time.
Low hardware requirements
Unless you will use X, this LiveCD requires 40MB 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.
Following stable version
We're trying to track the OpenBSD-stable version, and to apply all errata patches.

Note: FuguIta (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 FuguIta also means "Blowfish Cook" as double meaning.

Software List

Base System
OpenBSD 4.6The Operating System
Network
fetchmailPOP/IMAP email client
procmailemail proccessing filter
w3mtext-based web browser
(images, tables, frames are OK)
rdesktopremote desktop client
for MS Windows RDP
rsyncremote file synchronization tool
Mewemail user agent (works on Emacs)
RieceIRC client (works on Emacs)
Emacs-w3mweb browser which works on Emacs
TransmissionBitTorrent client
youtube-dlYouTube downloader
DeleGatemulti-purpose proxy server
Media
xvimage viewer
mplayermedia player
cdparanoiaCDDA reading utility
lamelame ain't an MP3 encoder
Other tools
bashBourne again shell
bzip2, zip/unzipfile compression/expand tools
screentext screen manager
ttyrectty console recorder/player
IceWMWindow Manager
ROX-FilerFile Manager
Rubyobject oriented script language
Pythonobject oriented script language
GaucheScheme language interpreter
Tcl/TkTool Command Language / Tool Kit
Emacs 22text editor
For Japanese
ktermKanji terminal emulator
jlessJapanized file pager
nkfcharacter code converter
freefonts,
ja-fonts-funet,
ja-fonts-gnu
Japanese fonts
Navi2ch, Mona font2ch BBS browser
MigemoJapanse direct incremental search

How to use FuguIta

Download

FuguIta supports two boot medium. One is CD-R/CD-RW, the other is USB flash drive. You must take different ways to create Such two medium.

Followings illustrate the each case of create CD or USB flash media.

Creating FuguIta LiveCD

Createing FuguIta LiveUSB

Booting FuguIta

After booting from CD/USB, 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 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
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 all on memory 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.

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

Details will be written in future.

What can I do after boot?

Almost same as normal installation on HDD.
See afterboot manual page by running man 8 afterboot.

How to change TimeZone

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

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.
Following explanation is to newly create the individual USB flashdrive to save user data.
If you wish save user data to FuguIta-installed USB flashdirve, Jump to step 5 Save data.

  1. 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''.
  2. Make then partition ``d'' by disklabel.
    # disklabel -E sd0
    The procedure is normal. Refer disklabel(8).
  3. Format sd0d
    # newfs -b 4096 -f 512 -i 1024 /dev/rsd0d
  4. Make the directory which saves the data.
    # mount /dev/sd0d /mnt
    # mkdir /mnt/livecd-config
    # umount /dev/sd0d
  5. Save data.
    1. To save data, the script ``usbfadm'' are in the system.
      # /boottmp/usbfadm
      Welcome to USB flash maintenance tool.
      
      Boot mode: manual
      
      Type ? for help.
      
      ?:? ->
    2. 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
    3. 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/sd0d:? -> dsn
      
      Enter data set name [nimbus5.localnet] -> emgproxy
      
      Now data set name is set to ``emgproxy''.
    4. Save the data by sync subcommand.
      /dev/sd0d: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
    5. Make sure the data saved by info subcommand.
      /dev/sd0d:emgproxy -> info
      
      Filesystem     Size    Used   Avail Capacity  Mounted on
      /dev/sd0d      218M   18.9M    179M   9.6%    /mnt
      
      scanning...
      
      18.9M   emgproxy
    6. If OK, exit this utility.
      /dev/sd0d:emgproxy -> bye
      #

To save a floppy disk

Adding other softwares

Usual way as in HDD installation.
Packages and ports are also OK.

Changing window manager

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, cwm or icewm.

Can I rebuild my own CD-ROM image?

Yes.
Here's a brief description of how to build a LiveCD image;

  1. Get a build tool.
    ftp http://kaw.ath.cx/dl/pub/OpenBSD/LiveCD/tools/tools-4.X.tar.gz
  2. Extract it
    tar xvzpf tools-4.X.tar.gz
  3. Copy kernel
    cd tools-4.X
    rm bsd.orig
    cp bsd bsd.orig
    (Or compile your customized kernel using tools-4.0/lib/RDROOT, then copy it to tools-4.X/bsd)

  4. Copy your OpenBSD file-tree under tools-4.X/cdroot.dist
    For example;
    cd cdroot.dist
    (cd YOUR-OPENBSD-FILE-TREE && tar cpf - .) | tar xvpf -
  5. Make an ISO image
    make livecd.iso
  6. 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?

Yes.

  1. Install OpenBSD to HDD in unusal way.
    Allocate partition 'a' with the free size larger than 650MB.
  2. Copy three files from FuguIta's media to the target HDD.
    Here's a sample;
    mount -t cd9660 /dev/cd0c /mnt
    cp /mnt/bsd-fi /mnt/bsd-fi.mp /mnt/fuguita.ffsimg /
    umount /mnt
  3. Then reboot.
    Specify fuguita's kernel as running kernel;
    boot> bsd-fi
    or
    boot> bsd-fi.mp

FrontPage


*1 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

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