This page is archived. ~
Current active BBS is [[FuguIta/BBS]].

----
#contents
**自分用メモ [#d6f2a878]
>[[kaw]] (2017-02-02 (Thu) 07:13:29)~
~
- fixing /etc/mtree/special~
- $PATH addition~
- sysctl.conf addition~
- installed stale files~
//

**Where are the scripts and different gui ? [#ie5c45a1]
>[[FuguIta-src code and graphical changes]] (2017-01-01 (Sun) 02:38:05)~
~
Hello,~
I desperately want to make FuguIta with other GUI (Window Manager and Desktop flavors),long time favorite are Openbox.~
So either the installation make scripts or want an iso for amd64 with OpenBox .~
Thanks~

//
- The easiest way to customize FuguIta is to use usbfadm utility and boot-mode-3. Do you know this how-to? The overiew is as follows;~
1. boot FuguIta CD or flashdrive  with mode 0. ~
2. Add your favorite desktop softwares from packages, and configure them. ~
3. Save those environment into flashdrive by usbfadm command. ~
4. Boot FuguIta with mode 3 to retrieve the softwares and data you saved. ~
regards, -- [[kaw]] &new{2017-01-01 (Sun) 14:01:37};

- Or if you wish create your original ISO image, please refer [[FuguIta/FAQ/SelfBuild]], and the build tool is at http://mirror.ginzado.ne.jp/pub/FuguIta/tools/ . ~
Although this method is fundamental solution, but it's much more difficult. Possibly, you must take various operations to fit your desktop environment to size of 700MB. --[[kaw]] &new{2017-01-01 (Sun) 14:16:38};

**mode 2+3 [#eed122bf]
>[[aleksa]] (2016-12-15 (Thu) 10:36:51)~
~
Hi kaw!~
Is possible to boot into a hybrid 2+3 mode so that I could remove (unplug) the bootable flash drive after boot ?~

//
- aleksa, you said "hybrid 2+3 mode". it is booting with mode 2 first, next save that data by usbfadm, and then rebooting with mode 3. Is that right? -- [[kaw]] &new{2016-12-18 (Sun) 00:27:38};
- yes, mode 3 but everything on mfs like in mode 2. -- [[aleksa]] &new{2016-12-18 (Sun) 04:18:37};
- non-interactive boot of a fully setup headless system -- [[aleksa]] &new{2016-12-18 (Sun) 04:26:54};
- I see. Even in that case, bootable flash drive is still mounted.  Please put following 5 lines in /etc/rc.local . 
 echo -n 'Unmounting bootable device ... '
 umount /fuguita
 vnconfig -u vnd5
 umount /sysmedia
 echo done.
-- [[kaw]] &new{2016-12-18 (Sun) 10:09:33};
- Doesn't work - Device busy. I am running amd64 with 16Gb ram. /sysmedia occupies ca 700mb on sd0a and is mounted as read-only. If it were possible to send  sysmedia to ram too, then there were not mounts on sd0 and I could just unplug it. -- [[aleksa]] &new{2016-12-19 (Mon) 03:21:49};
- aleksa, now I'm working on current version of FuguIta, in order to fix this issue. Please wait. -- [[kaw]] &new{2016-12-19 (Mon) 04:49:12};
- Super! -- [[aleksa]] &new{2016-12-19 (Mon) 05:45:25};
- Fixed version is out. Please download from http://livecd-mirror.ebug.jp/LiveCD/test/ or http://mirror.ginzado.ne.jp/pub/FuguIta/test/ . In this version, modifying /etc/rc.local is not needed. -- [[kaw]] &new{2016-12-19 (Mon) 13:00:13};
- Couldn't find corresponding MD5. Testing FuguIta-6.0-amd64-201612191.img.gz -- [[aleksa]] &new{2016-12-19 (Mon) 22:12:09};
- Unfortunately, I couldn't make it with FuguIta-6.0-amd64-201612191.img. Using dd I copied the img onto 8 gb flash drive. Booting into mode 2 and the syncing onto the pre-prepared 325m sd0d failed with: "rsync: write failed ... No space left on device (28)". So I deleted partition d and created a bigger one using b command of disklabel and newfs, and rebooted into mode 2 again. And I stuck at this point: command target of usbfadmin says "sd0 No device available for saving data". -- [[aleksa]] &new{2016-12-20 (Tue) 02:12:10};
- Will you make the directory named ''livecd-config'' in partition d?  usbfadm will try to save ram data under livecd-config . -- [[kaw]] &new{2016-12-20 (Tue) 06:14:36};
- Or make another FuguIta flash drive by using 'newdrive' command of usbfadm. -- [[kaw]] &new{2016-12-20 (Tue) 06:16:17};
- OK, then testing FuguIta-6.0-amd64-201612191.iso.gz with "Creating FuguIta LiveUSB" as on the FuguIta/Start page. -- [[aleksa]] &new{2016-12-20 (Tue) 23:05:16};
- It works! Indeed, after rebooting in mode 3 and logging-in I cannot see any mounts on sd0. Splendid! Thank you very much! -- [[aleksa]] &new{2016-12-20 (Tue) 23:36:06};
- Then a big Question arises when (at which booting stage) it is safe to disconnect the bootable disk? After syncing in mode 2, booting in mode 3 takes time. And I am booting on a headless system (without monitor, keyboard, mouse). To be more specific, if I add 'echo "\a"  # beep once' as the last command of rc.local, will it be safe to unplug sd0 after I hear this beep. -- [[aleksa]] &new{2016-12-20 (Tue) 23:42:19};
- aleksa, very glad to hear that. ~
I have been developing FuguIta focusing that FuguIta running on very low hardware spec machines. but hearing your case, I feel that it's also important that FuguIta can run on a machine with very large RAM. ~
An answer to your question: Alarm with BEEP at /etc/rc.local is OK. The boot device is unmounted at very early stage of system initialization (/boottmp/rc) . ~
FuguIta executes /boottmp/rc first, then /etc/rc, and /etc/rc.local finally. The unmounting process is line 760--781 in /boottmp/rc . ~
FYI: Sounds by speaker device (see "man 4 speaker") is also effective to notice, and little more fun. -- [[kaw]] &new{2016-12-21 (Wed) 12:17:32};


**Binary update files [#p4054b97]
>[[kaw]] (2016-11-12 (Sat) 12:59:07)~
~
そういやあんまり宣伝してないけど、OpenBSDのerattaが出るたびにバイナリパッチ作ってダウンロードできる場所に置いてたんだった。ユーザ諸氏におかれましてはyour own riskでご利用下さい。~
~
http://fuguita.org/kawhc/dl/pub/OpenBSD/binary-updates/ ~

//

**Thank you for the version 6.0 i386 .img file [#m2836d56]
>[[jayseye]] (2016-11-02 (Wed) 15:38:40)~
~
Very glad to see FuguIta updated. Is there a way to convert an .iso into an .img file? I'm a developer and system administrator (DevOps), and have noticed that the .iso files tend to be released before the .img files for new OpenBSD releases. ~
 
Also, are you interested in having more English-speaking users?  Download speeds are good here in the US, from the FuguIta mirrors. Several features have been added or improved since FuguIta was last mentioned on undeadly.org and distrowatch.com.~
~
In addition, I listen to 3 OpenBSD-related podcasts: BSD Now, BSD Talk, and Garbage. I would gladly inform the hosts of these shows about FuguIta if you are interested. A short description of your academic and / or work affiliation would tend to increase interest in FuguIta among security-conscious BSD (and Linux) users. ~
~
If you'd like help with any of the above, such as proof-reading, copy editing, or making contacts, please let me know. Thanks again.~

//
- Hi, jayseye ~
As you guess, I built .img file on running FuguIta system.
First, I created a zero-filled file, then perform vnconfig with that file.
Then I install FuguIta into that vnode device using usbfadm utility.
After installation completed, that file became a FuguIta's .img. ~
Next, of course, people with an interest in security and OpenBSD is what is nice to know the FuguIta. Including English-speaking people.
For you to introduce FuguIta to podcasts, I will provide the information about it gladly.
And, my clumsy English ability is in need of your help. ~
To make contact, please email to kaw at on.rim.or.jp ~
Thanks -- [[kaw]] &new{2016-11-03 (Thu) 08:54:41};

**i386 tools [#t6aa632e]
>[[thiriet]] (2016-10-31 (Mon) 06:13:04)~
~
Hi kaw!~
~
Could you upload the i386 tools? I would like to tune my FuguIta LiveCD for my students.~
Thanks for your work!~

//
- OKay, Please wait.&br;... and I'd like to know how you and your students use FuguIta at your lesson. Thank you. -- [[kaw]] &new{2016-10-31 (Mon) 08:52:22};
- tools-6.0-i386.tar.xz, voilà -- [[kaw]] &new{2016-10-31 (Mon) 23:48:43};
- Many thanks!  I will just introduce my students in a very basic way to OpenBSD administration. They are studying national security, not computing science. They will deal with man, adduser, chmod, chgrp, cp, mv, ssh. I will finish with mail encryption. I will add firefox, pgp, rox-filer, a pdf reader and leafpad. -- [[thiriet]] &new{2016-11-01 (Tue) 01:27:44};
- Very glad to read your post. FuguIta is an Unix-like OS that we can use portable, handy and secure. So, I believe that it is also suitable for educational purpose. Feel free to post in the future. Thank you. -- [[kaw]] &new{2016-11-01 (Tue) 13:06:50};
- Hi kaw, I realized I made some mistake when asking students to backup their files and installed programs. Instead of using the target option of usbfadm, I asked them to use newdrive, and some of them did not make them bootable. Is there anyway to retreive their data if the pendrive is not bootable? Will the bootable pendrives start with programs added by pkg_add and new files? I may lack time to make some testings with my pendrives. -- [[thiriet]] &new{2016-11-04 (Fri) 21:22:46};
- Don't worry. FuguIta also supports pendrives which were made by usbfadm as non-bootable (data store only) drives. -- kaw - &new{2016-11-05 (Sat) 01:00:04};
-- Q: '''Is there anyway to retreive their data if the pendrive is not bootable?'''~
A: Non bootable pendrive can be used by following procedure;
--- Boot PC with a FuguIta LiveCD or a FuguIta bootable pendrive. ~
(It must be same OS version as non-bootable pendrive)
--- Connect non-bootable pendrive with the PC before select boot mode.
--- Select boot mode 3 - "retrieve user data from USB flash memory" .
--- Enter the device name of non-bootable pendrive.
--- Enter the config name (the name which was entered when last "sync" usbfadm subcommand was executed).
-- Q: '''Will the bootable pendrives start with programs added by pkg_add and new files?''' ~
A: Yes. Selecting boot mode 3, FuguIta starts with the whole data in /ram
file system (tmpfs) when sync subcommand of usbfadm was executed.
-- FYI, the data which was saved by usbfadm, are copied under ''livecd-config'' directory of ''d'' partition.  You can see them by mounting that partition manually.
- Hi kaw, I ran into problems using usbfadm. When I try the target command, USB device is not recognized. What can I do to have it recognized? -- [[thiriet]] &new{2016-11-17 (Thu) 16:45:44};
- OK, I got it, the pendrive has to be partitionned in OpenBSD file format. Creating bootable newdrive and then saving data works. Sorry for the noise. -- [[thiriet]] &new{2016-11-18 (Fri) 02:38:14};
- usbfadm recognizes a partition to be data savings whether
--1. That pendrive has a 4.2BSD fstype partition (formatted by newfs)
--2. There is a directory named "livecd-config" in that partition. 
-- -- [[kaw]] &new{2016-11-18 (Fri) 03:54:10};

**FuguIta 6.0 [#d712ebfa]
>[[kaw]] (2016-09-15 (Thu) 21:36:13)~
~
FuguIta 6.0をリリースしました。~
今後はi386とamd64の両方をサポートしてゆく予定です。~
~
ただし、パッケージングの負荷を減らすため、各種ソフトの同梱は行いません。~
各自ports/packagesなどからアプリケーションの追加をお願いします。~

//

**64 bit [#e52e469b]
>[[Charlie Ebert]] (2016-08-06 (Sat) 12:23:29)~
~
Awesome!   ~
OpenBSD 6.0 comes September 1!~

//
- Have fun! -- [[kaw]] &new{2016-08-07 (Sun) 12:20:14};

**FuguIta for amd64 [#k8058cbf]
>[[kaw]] (2016-07-25 (Mon) 07:41:59)~
~
I built a test version of FuguIta running on amd64.~
This contains OpenBSD/amd64 without additional softwares unlike i386 version.~
You can download it from one of following URLs .~
~
amd64アーキテクチャ用の河豚板を試作してみました。~
内容としてはOpenBSD/amd64のみが含まれています。i386版のような諸々の追加ソフトウェアは含まれていません。~
以下のURLからダウンロードしてご利用下さい。~
~
http://mirror.ginzado.ne.jp/pub/FuguIta/ ~
http://livecd-mirror.ebug.jp/LiveCD/~

//

**User from Oklahoma U.S.A. [#hd4afb24]
>[[Charlie Ebert]] (2016-03-17 (Thu) 11:13:45)~
~
I have been using this for several versions on USBDISK.~
I just can't wait to see the 5.9 version when it comes out.~
There is supposed to be a VM in that version!!!  YEAH!!!!~
Anyway, thank you for all your work.  I do wonder why you don't also~
have a 64 bit version of this same FuguIta software?~
~
Thank you very much~
Charlie~

//
- Thank you for using FuguIta.  Also, I'm looking forward to seeing OpenBSD 5.9, and preparing my PC to build FuguIta 5.9.  I agree that a 64 bit version of FuguIta is quite attractive.  But I don't have enough time to build both 64 and 32 bit FuguItas...  A 32 bit version of FuguIta is prior than 64, because one of the main purpose of FuguIta is to use old and legacy machines effectively. -- [[kaw]] &new{2016-03-17 (Thu) 22:25:21};

**[[河豚板ガイド]]を書きました。 [#p0674a88]
>[[kaw]] (2015-12-31 (Thu) 10:16:45)~
~
[[河豚板ガイド]]という文書を書きました。~
これは、先日お知らせした河豚板 5.8-201511297での大幅な機能変更を機に新たに作成したものです。~
~
今までの文書は内容がすでに古かったり、記述内容や構成が統一的でなかったり、Undocumentedな機能も幾つかあったりしていたので、以前から体系的・網羅的な文書が必要だな、と思っておりましたがこのたびやっと書きました。~
書き忘れている機能や言い足りていない箇所などもあると思うので、おいおい修正していこうと思います。~
~
河豚板ガイドに関して何かありましたらこの掲示板、またはkaw@on.rim.or.jpあてお知らせ頂ければ幸いです。~
~
~
よろしくお願いします。~

//

**My facebook address [#n66f3eb0]
>[[kaw]] (2015-12-02 (Wed) 03:25:11)~
~
Visit https://www.facebook.com/yoshihiro.kawamata.52 ~
~
Friend request from you is welcome.~

//

**Some enhancements at boot time [#m0aadf6b]
>[[kaw]] (2015-12-02 (Wed) 02:52:34)~
~
I've made some enhancements on boot time operation at FuguIta 5.8 201511297.~
I'll describe about details on every enhancement as follows;~
~
1. FuguIta tries to scan all through the disk devices detected. ~
1.1. In former versions, the drive is recognized as FuguIta system when following conditions are met;~
/fuguita.ffsimg exists in the partition /dev/[csw]d[0-9]a , or~
/ISO/FuguIta-?.?-?????????.iso exists in the partition /dev/[csw]d[0-9]i .~
~
At this new version, FuguIta system device is found with following conditions;~
/fuguita-${osrelease}.ffs.img , or~
/ISO/FuguIta-${osrelease}-?????????.iso exists in the partition /dev/[csw]d[0-9][ad-p] .~
~
${osrelease} means the version of OpenBSD which FuguIta is based on.~
At this version or later, for example, when you boot FuguIta 5.8, devices which FuguIta 5.7 is installed will be ignored.~
~
1.2. For FuguIta's storage devices, it's alike described above. ~
At older versions of FuguIta, when booting with mode-3, saved data was loaded from the partition d of the last detected disk device. It was not selectable.~
At this new version, FuguIta tries to detect his storage partition from the attached all partitions out of /dev/[csw]d[0-9][ad-p] .~
Then the user can select the device, refering the list of detected ones.~
It should be noted that the partition for the data storage in the past versions are compatible.~
~
1.3. About the section 1.1. and 1.2. described above, at the user's input, default value will be prompted only when the detected partition is a single.~
In this case, pressing enter key is accepted as the default value.~
If multiple partitions found, the default value will not be set.~
So the user should enter the name of partition explicitly.~
~
Note that the user can enter an arbitrary value, with ignoring the candidates.~
~
1.4. "noasks" is the configuration file for non-interactive boot.~
It has been changed that non-interactive boot will be enabled when a single noasks file found.~
So, if two or more partitions have noasks file, FuguIta will not boot automatically.~
~
1.5. By the enhancement described at 1.2., new parameter "noask_confdev" was added. This can be set in "noasks" file.~
After you saved your data with usbfadm utility, it will be loaded from the partition what you set in noasks file as , for example, "noask_confdev = 'sd1d'".~
~
1.6. If the OpenBSD swap partition is found, that it will be automatically activated.~
~
2. The default value of tmpfs size is set to 0.~
On input, pressing only Enter key is regarded as entering "0".~
0 means automatic size resizing.~
OpenBSD kernel handles tmpfs size according to the amount of total file size of stored in its file system.~
(plus, if the swap partition is enabled, you can also create a large files than the installed memory)~
Not by default, the tmpfs can hold files those total size is up to the number you entered (in MB).~
~
3. As described above, since the device detection method at the boot time has changed significantly, even in the same version 'FuguIta 5.8'~
(for instance, older version such as '5.8-201510255', '5.8-201511111'...), these have been incompatible with this new version.~
Please keep in mind that it can not be used in mixed to.~
~
Because significant feature modified as described above, it is currently under tests.~
If you are interested in this new features, feel free to download and use it.  This is under [[test directory>http://mirror.ginzado.ne.jp/pub/FuguIta/test/]] of the download sites.~
Your reports, requests and questions will be appreciated.~
They may be directed to kaw@on.rim.or.jp, or posted to this BBS.~
~
Thank you.~

//

**起動時の動作を変更 [#ia91fe36]
>[[kaw]] (2015-11-29 (Sun) 23:12:16)~
~
河豚板 5.8-201511297において、起動部分に大幅な機能変更を行いました。以下にその内容を記します;~
~
1. 全てのドライブ、パーティションをスキャンするようにしました。~
~
1.1. 今迄は、パーティション~
/dev/[csw]d[0-9]a 上のファイルシステムに /fuguita.ffs.img および、~
/dev/[csw]d[0-9]i 上のファイルシステムに /ISO/FuguIta-?.?-?????????.iso~
が存在した場合、そのパーティションに河豚板のシステムが存在していると認識していましたが、本バージョンからは、~
/dev/[csw]d[0-9][ad-p]上のファイルシステムに、~
/fuguita-${osrelease}.ffs.img または、~
/ISO/FuguIta-${osrelease}-?????????.iso のどちらかが見つかった場合、そのパーティションに河豚板のシステムが存在していると認識するようになりました。~
${osrelease}はベースとなっているOpenBSDのバージョンです。~
本バージョン以降は、例えば河豚板5.8を起動した場合、河豚板5.7がインストールされているデバイスは無視されます。~
~
1.2. データ保存用のパーティションについても同様です。~
今迄は、保存したデータを河豚板起動時にモード3で読み込んで立ち上げる場合、読込するパーティションは~
「dパーティションで、OSが一番最後に認識したデバイスから」~
という決め打ち方式でしたが、本バージョンからは/dev/[csw]d[0-9][ad-p] を全てスキャンして、見つかったデータ保存用のパーティションの一覧を表示し、ユーザがパーティションを指定するように変更されました。~
なお、このデータ保存用のパーティションについては過去のバージョンとは互換性があります。~
~
1.3. 前項の1.1. 1.2. でドライブ、パーティションを入力する場合、見つかったものが1つしかない場合のみ、それがデフォルト値として設定されます。~
この時、Enterのみを入力するとその値が入力されたものとみなされます。~
候補が2つ以上ある場合は、デフォルト値は設定されないので、ユーザが入力する必要があります。~
なお、入力値は見つかった候補値を無視して、任意のものを入力することもできます。~
~
1.4. non-interactive起動(ユーザが手動で各種設定値を入力せず、自動で起動する方式)用のファイル /noasks が有効になるのは、全パーティションをスキャンして /noasks が一個しか検出されなかった場合のみとなりました。~
複数のドライブから /noasks が見つかった場合は、自動起動は無効となります。~
~
1.5. 項目 1.2. の機能追加に伴ない、noaskファイルでの設定値として、"noask_confdev"が新設されました。~
これは起動モード3を使用して保存したデータを読み込む場合、読み込み先のデバイスを「noask_confdev='sd1d'」のようにして指定します。~
~
1.6. OpenBSDのswapパーティションが見つかった場合、そのパーティションは自動的にスワップパーティションとして有効化されます。~
~
2. tmpfsサイズ設定のデフォルト値が 0 に変更されました。~
入力時、Enterのみを入力すると、0 が入力されたものと見做されます。~
これを入力した場合tmpfsのサイズは、格納しているファイルの総量により動的に変化します。~
(加えて、スワップパーティションが有効になっている場合は、実装メモりより大きなファイルシステムを作成することもできます)~
デフォルトではなく、数値を入力した場合は、その数値を超えたサイズのファイルシステムは作成できなくなります(数値の単位はメガバイト)。~
~
3. 今迄述べてきたように、システム起動時のデバイス検出方法が大幅に変ったため、同じ河豚板5.8であっても、本バージョンより古い5.8-201510255, 5.8-201511111 などとは非互換となっています。~
混在して使用することはできませんのでご注意下さい。~
~
~
以上のように大幅な機能変更なので、現在動作テスト中です。河豚板 5.8-201511297 は [[testディレクトリ>http://mirror.ginzado.ne.jp/pub/FuguIta/test/]]にありますので、興味のある方はダウンロードして使ってみて下さい。不具合や疑問点などございましたらこの掲示板、あるいは kaw@on.rim.or.jp 宛お知らせ下さい。~

//

----
Former articles are at [[FuguIta/BBS/5]].
----
Return to [[FrontPage]]

Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes