#author("2023-12-20T15:29:17+09:00","default:kaw","kaw")
#author("2023-12-20T15:31:58+09:00","default:kaw","kaw")
*Do you have any message for us? [#z65bec72]

To avoid posts by spam, a message body without the word ''#FuguIta'' is rejected. Please include the word in your message text. ~
URLs in the body of the message will also be judged as spam. If you wish to express a URL, please omit the scheme (http://, https://, etc.).
----
#contents
----
#article
**New build tools released [#baf9d135]
>[[kaw]] (2023-12-20 (Wed) 15:29:17)~
~
Now posting... #FuguIta~

I have released new build tools for #FuguIta.~
This tool allows you to build FuguIta from scratch without relying on supplementary files.~
For more information, see Part 4 of the FuguIta Guide, [[Building a FuguIta LiveDVD>fge4:build_fuguita]].
//

#comment

**Revised: Testing new build tools [#daa73898]
>[[kaw]] (2023-12-09 (Sat) 16:17:40)~
~This tool is %%tools-4.7-amd64-test.tar.gz%% tools-4.7-test.tar.gz located in the test directory of the mirror server, and is currently for both i386 and amd64.~
The build method is as follows.
~
+Download and extract the #FuguIta build tools.
~
+Download and extract the OpenBSD kernel (sys.tar.gz) and userland (src.tar.gz) source code under /usr/src. Then perform CVS updates if necessary.
~
+Run "make init".
~
+Place the OpenBSD install set (*74.tgz) under install_sets.~
If you want to customize FuguIta, please create site74.tgz as described in https://www.openbsd.org/faq/faq4.html#site and place it under install_sets. If install.site is included in site74.tgz, it will be added to /etc/rc.firsttime.~
''Please note:'' if the size of the created media/fuguita-7.4-adm64.ffsimg exceeds 2GB, the ISO image will not be created correctly due to a limitation of the mkhybrid utility.
~
+Run "make setup && make".
//
- An optional step is to create ''mode0symlinks.cpio.gz''. This file is intended to reduce the time required to boot at mode 0 (especially with LiveDVD).&br;To create mode0symlinks.cpio.gz, boot the completed LiveDVD at mode 0 and run the ''gen_mode0sldir'' command as root. Then, the /etc/fuguita/mode0symlinks.cpio.gz file will be created, so place it in the build tool's lib directory with the file name ''mode0symlinks.cpio.gz.amd64''.&br;Then run ''"make'' again and #FuguIta with mode0symlinks.cpio.gz will be created. -- [[kaw]] &new{2023-12-09 (Sat) 16:38:10};
- There is one more thing to provide feedback to the build tool after the first version is completed.&br;In the configuration file lib/global.conf.amd64, there is a variable assignment called fuguita_sys_mb, which represents the size of the LiveUSB system area, that is, the partition a.&br;This is roughly the same size as the livecd.iso generated at build time, but considering the fiupdate utility, it is safe to make it approximately 10MB larger than the livecd.iso size to provide some extra space.&br;After resetting the fuguita_sys_mb value, run "make" again to generate the #FuguIta LiveDVD ISO image. -- [[kaw]] &new{2023-12-09 (Sat) 22:25:26};
- Changes:&br; 1) the name of the tarball changed. On i386, it's also OK.&br; 2) userland source codes also needed to build crunched binary in /boottmp.&br;#FuguIta -- [[kaw]] &new{2023-12-13 (Wed) 17:44:25};

#comment

**Testing new build tools [#h0144f8d]
>[[kaw]] (2023-12-04 (Mon) 16:46:50)~
~
I am currently testing new #FuguIta build tools. This tool is tools-4.7-amd64-test.tar.gz located in the test directory of the mirror server, and is currently only for amd64.~
The build method is as follows.~
1. Expand the build tools.~
2. Extract the kernel source under /usr/src/sys.~
3. Run ''make initdir'' in the top directory of the build tool.~
4. Place the OpenBSD 7.4/amd64 installation set (*74.tgz) under install_sets.~
5. Place the OpenBSD 7.4/amd64 rsync, rlwrap, and pv package files under install_pkgs. And install (pkg_add) rsync and pv on the build host.~
6. Run ''make setup && make''.~

//

#comment

**Add another WM and if possible to install on HDD? [#c92b5adb]
>[[Rasat]] (2023-12-03 (Sun) 22:31:51)~
~
I installed Fvwm3 and imagemagick (for iconified thumbnails) and all work well with the Fvwm-kise configs (scripts), besides a few minor problems that can be fixed. There is no permission to edit xenodm config in #FuguIta directory. Made one new symlink from /usr/X11R6/bin/fvwm to /usr/local/bin/fvwm3. Is there a better option to do? Same with any added WM.~
The usbfadm tool is great. The expand/newfs option allowing to use and storage of full USB capacity. I added many new packages (pkg_add). Is there an option to install everything on the HDD?~

//
- /etc/X11/xenodm/xenodm-config is set to 0444, which is the same setting as in OpenBSD. When editing, please give write permission using chmod. There are no set rules regarding symbolic links, so use whatever method you like. Installing #FuguIta on internal storage such as a hard disk is the same as [[remastering FuguIta on a new USB flashdrive>fge3:liveusb_remaster]]. Please set the remaster destination to internal storage. Please note that in this case, all existing data in the internal storage will be deleted. -- [[kaw]] &new{2023-12-04 (Mon) 12:28:26};

#comment

**Fvwm Kise -- ready-made configs [#w268975f]
>[[Rasat]] (2023-11-30 (Thu) 05:37:41)~
~
I was searching for a distro with Fvwm as default and found #FuguIta . Fvwm Keep-It-Simple & elegant (Kise) is a simple and elegant base, and feature-rich to use, modify or add your own. The default Fvwm config file is the base. Currently, there are 23 scripts of functions, styles, menus, decor, and modules. Works well also on Fvwm2.~
~
Screenshots and download on Pling:~
www.pling.com/p/2095462~

//
- Fvwm is the default window manager in OpenBSD, and #FuguIta follows suit.&br;I also prefer a simple but useful window environment to today's gorgeous and complex desktops.&br;Did your project actually work on FuguIta?&br;Thank you very much for the useful information. -- [[kaw]] &new{2023-11-30 (Thu) 15:27:19};
- I tested #FuguIta , nice to see the classic Fvwm 1. Also, this was the first time using BSD, an impressive speed and performance. My project scripts don't work on this old Fvwm version. In general, I am suggesting FuguIta upgrade to Fvwm2 for more functionality and better configuration. Users can add their configs/scripts directly in .fvwm/config. FuguIta is a nice project. -- [[Rasat]] &new{2023-12-02 (Sat) 01:10:04};
- I did another test on #FuguIta checking for BSD packages. It has the latest Fvwm3 1.0.8. -- [[Rasat]] &new{2023-12-02 (Sat) 02:21:19};
- I tried your Fvwm Kise, too. It seems to work well on #FuguIta. Japanese window titlebar is well displayed. -- [[kaw]] &new{2023-12-04 (Mon) 12:14:32};~
#ref(fvwm_kise.png,wrap,50%);
- I have fixed the transparency and wallpaper switch problem on #FuguIta . Check version 1.7.1. OpenBSD uses the command "fvwm3-root" instead of "fvwm-root". And the transparency requires option "-r" (fvwm3-root -r). The window shadow with Picom compositor (pkg_add picom) on OpenBSD, doesn't allow seamless wallpapers to tile. But works well with "feh --bg-scale" (pkg_add feh). Try it by left-click on the screen, <Wallpapers><3D-Desk>. www.rasatpc.net/Fvwm-KISe/fvwm-kise-3d-desk.png -- [[Rasat]] &new{2023-12-05 (Tue) 22:01:45};

#comment

**Directory structure of mirror server changed [#se252b3d]
>[[kaw]] (2023-11-02 (Thu) 11:11:34)~
~
All the files of the latest release of #FuguIta were placed directly under the document root, but now we have created subdirectories (LiveDVD, LiveUSB and LiveSD) for each supported media and placed them there.~
~
Please be careful when [[downloading>FuguIta/Download]].~

//

#comment

**ISO for arm64 [#z0c7a894]
>[[Dan]] (2023-10-26 (Thu) 02:35:43)~
~
Would it be possible to have an ISO image for the arm64 architecture?~
~
Either #FuguIta version 7.3 or 7.4, whichever is more practical to build now.~
~
PS: the wheels are in motion to build daily snapshots for OpenBSD arm64 install CD-ROM images, at ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/~

//
- Like OpenBSD stable release, #FuguIta also does not supply ISO images for the arm64 platform.
This is because arm64 does not boot from CD or DVD.
For arm64, write the disk image file (FuguIta-7.3-arm64-*.img.gz) to a micro SD card.
We are currently in the process of creating 7.4. Please wait.
Please refer to the [[FuguIta Guide>fge1:m3ea6fcf]] for details. -- [[kaw]] &new{2023-10-26 (Thu) 07:49:33};
- Thanks, yes I'm waiting patiently for arm64 #FuguIta 7.4 disk image. But just to reiterate, I expect OpenBSD to deliver bootable CD/DVD images from next version (indeed the snapshot ISOs don't work perfectly for now 😇)  -- [[Dan]] &new{2023-10-26 (Thu) 08:00:55};
- If OpenBSD/arm64 will support ISO images in the future, it will be good for #FuguIta as well, since the build process will be the same as i386/amd64. -- [[kaw]] &new{2023-10-26 (Thu) 08:12:33};
- The future is now: github.com/openbsd/src/blob/master/distrib/arm64/iso/Makefile so maybe arm64 #FuguIta 7.4 can be built similarly -- [[Dan]] &new{2023-10-28 (Sat) 00:48:50};
- Hi again. Is there any chance to release FuguIta-7.4-arm-202311211.iso.gz? I'd use the #FuguIta CD-ROM image to boot a virtual machine -- [[Dan]] &new{2023-11-26 (Sun) 06:22:09};
- Once OpenBSD-stable/arm64 (not OpenBSD-current) supports ISO images, #FuguIta will follow suit. Until then, we should research how the FuguIta build tools need to be modified for OpenBSD-stable/arm64 ISO image builds. -- [[kaw]] &new{2023-11-26 (Sun) 23:33:53};
- I'm working quick dirty hack on #FuguIta-7.4-arm64-*.iso. -- [[kaw]] &new{2023-11-27 (Mon) 01:16:59};
----
- I put FuguIta-7.4-arm64-202311211.iso.gz in the mirror's test directory.~
Please note that this is a test version and is not official. Also, it has been tested only on qemu-system-aarch64, and operation has not been verified on an actual machine.~
This was created by replacing the cdbr file with the snapshot version before [[running remaster_dvd.sh>fge4:livedvd_remaster]].~
If you try to create a LiveUSB from this ISO image and run usbfadm newdrive, it probably won't work. -- [[kaw]] &new{2023-11-27 (Mon) 01:42:51};

#comment

**Test version of FuguIta 7.4 [#xf164c68]
>[[kaw]] (2023-10-21 (Sat) 09:48:11)~
~
[[Test version of FuguIta-7.4-{i386,amd64}>FuguIta/Download]] has been uploaded to the mirror. I'm looking forward to [[hearing from you>FuguIta/Report]]!

>What I would like to know are~
-How it works on newer hardware (device detection, X Window, suspend/resume, etc.)
//-How does it work with RPi4?
//-How the framebuffer and X Window work on RPi3/RPi4.
//-Operation status on arm64-based SBCs and Apple M1/M2 other than RPis.
-Comments and suggestions for improvement using the #FuguIta's original tools
-etc.

>Published files are for LiveUSB. If you wish to run LiveDVD, please [[remaster ISO image from LiveUSB>fge4:livedvd_remaster]].

>FuguIta-7.4-arm64 is now under working. Please wait.

>Thank you in advance.
//

#comment

**firmware that has no effect [#od721234]
>[[kaw]] (2023-10-09 (Mon) 13:53:36)~
~
When starting #FuguIta, the downloaded firmware may not take effect despite running fw_update.
In this case, you may find messages similar to the following in /var/run/dmesg.boot:
 radeondrm0: RS400
 radeon_cp: Failed to load firmware "radeon/R300_cp.bin"
 [drm] *ERROR* Failed to load firmware!
 drm:pid0:rs400_startup *ERROR* failed initializing CP (-2).
 drm:pid0:rs400_init *ERROR* Disabling GPU acceleration
This example is for the ATI Radeon XPRESS 200M, but can also be seen with other video chips and WiFi devices.
This is because FuguIta's root file system is the kernel's built-in [[rd(4)>man:rd]], "ramdisk root."
>In FuguIta, when the kernel starts, rd is mounted to /, and after initialization, /etc is renamed to /boottmp, and then /etc is built again on MFS.
Therefore, the type of firmware that is loaded at kernel startup attempts to be loaded from /etc/firmware on the ramdisk root, but since the firmware does not exist there, an error occurs.
>To resolve this, you need to write the required firmware to /etc/firmware on the ramdisk root.
Here are the steps to do so:
>First, download and extract the firmware.
 # ftp http://firmware.openbsd.org/firmware/7.3/radeondrm-firmware-20230310.tgz
 Trying 2a04:4e42:36::820...
 Requesting http://firmware.openbsd.org/firmware/7.3/radeondrm-firmware-20230310.tgz
 100% |**************************************************|  3371 KB    00:02 ETA
 3452257 bytes received in 2.22 seconds (1.47 MB/s)
 # tar xzpf radeondrm-firmware-20230310.tgz
Next, extract the ramdisk root image from the kernel and mount the file system.
 # zcat /sysmedia/bsd-fi.mp > bsd-fi.mp
 # rdsetroot -x bsd-fi.mp rdroot.img
 # vnconfig vnd0 rdroot.img
 # mount /dev/vnd0a /mnt
Write the downloaded firmware to ramdisk root.
 # mkdir -p /mnt/etc/firmware/radeon
 # cp firmware/radeon/R300_cp.bin /mnt/etc/firmware/radeon
 # umount /mnt
 # vnconfig -u vnd0
 # rdsetroot bsd-fi.mp rdroot.img
 # mount -uw /sysmedia
 # gzip -c9 bsd-fi.mp > /sysmedia/bsd-fi.mp
 # mount -ur /sysmedia
Currently, the capacity of the ramdisk root is about 1.5 MB, but about 3/4 of it is used. Please note that the size of the firmware that can be written is just under 500 kilobytes.
//

#comment

**Fuguita 7.3 defaults to Japanese [#i35160ef]
>[[tetsuo]] (2023-10-02 (Mon) 04:22:13)~
~
#FuguIta Hi, is there a way to change the language of Fuguita? It's defaulting to Japanese and I don't know how to change it.~

//
- Which version of #FuguIta did you download? -- [[kaw]] &new{2023-10-02 (Mon) 10:12:00};

#comment

**FuguIta use case [#s83beed8]
>[[Bob]] (2023-09-05 (Tue) 23:31:23)~
~
#FuguIta. Hi, this looks interesting. When would someone use FuguIta instead of a plain OpenBSD install? What was the motivation behind the project? I could not find an "about" page.~

//
-#FuguIta is useful for verifying that OpenBSD will run on the desired hardware without installation.~
Of course, it is also possible to use FuguIta as a daily driver. In this case, you can take the USB stick with you and recreate the environment on your PC at your destination.~
See the [[Work with other products>FuguIta/ScreenShots#n89939db]] section at the bottom of the "Screenshot" page for examples.
There is also [[a video with auto-translated subtitles>https://youtu.be/4wPSr1WPH3U?si=CgiCmusjrZopHHK7]] showing an example of FuguIta's use.~
My initial motivation for developing FuguIta was to use OpenBSD everywhere, but now I also want to help spread the word about OpenBSD.
~-- [[kaw]] &new{2023-09-06 (Wed) 00:38:38};

#comment

**Larger ffsimg [#q578b09e]
>[[Kikk]] (2023-06-07 (Wed) 02:40:44)~
~
First of all: fuguita is wonderful. Keep up the good work!~
~
I wanted to build a custom version with more tools pre-installed.~
~
It is possible to enlarge the ffsimg over 1GB (fuguita-7.3-amd64.ffsimg)?~
~
I enlarged it to 3GB via disklabel + growfs but the remastered image no longer work.~
~
Is there a procedure or 1GB is the maximum size?~
~
#FuguIta~

//
----
To enlarge ''fuguita-7.3-amd64.ffsimg'', enlarge ''fuguita-7.3-amd64-ffsimg'' and ''media.img'' that contains it in the process of building FuguIta as described in the FuguIta Guide. The following is the procedure.

First, follow the [[FuguIta Guide to set up the build tool>fge4:build_fuguita]].

After settng up the build tool, delete or rename ''lib/mode0symlinks.cpio.gz.amd64''.
 # mv lib/mode0symlinks.cpio.gz.amd64 lib/mode0symlinks.cpio.gz.amd64.bak

Run up to ''make stage''.

Once the ''staging'' directory is created, make your desired customizations in the tree.
 # chroot staging /bin/ksh
 # (YOUR COSTOMIZATIONS HERE)
 # exit

Once your customization is complete, measure the size of the staging directory and the number of files it contains.
 # du -sk staging | awk '{print $1/1024}'  # size of staging directory in MB
 # find staging -print | wc -l             # the number of files which staging directory holds

Based on this size and number of files, use ''setup_fsimg.sh'' to create ''media.img''.
 # make open-rdroot
 # cp rdroot/boottmp/setup_fsimg.sh .
 # make close-all
 # ./setup_fsimg.sh media.img $((xxxxx+40)) 10  # xxxxx is the size of staging directory in MB.

Create ''fuguita-7.3-amd64.ffsimg'' in ''media.img''.
 # make open-media
 # cd media
 # ../setup_fsimg.sh fuguita-7.3-amd64.ffsimg $((xxxxx+10)) yyyyy  # yyyyy is the number of files which staging directory holds.
 # cd ..
 # make close-all

Edit ''staging/etc/fuguita/global.conf'' as follows
 fuguita_sys_mb=1028  # size of media.img  <-- Rewrite this value to current size of media.img
 newdrive_defswap=16M # default swap size
                      # at usbfadm newdrive
 memfstype=mfs        # 'mfs' or 'tmpfs'
 mfs_max_mb=30720     # mfs hard limit - 30GB

Copy the contents of ''staging'' to ffsimg.
 # make sync

Create an ISO image and gzip it.
 # make iso && make gz

Run the resulting LiveDVD and usbfadm newdrive to create a LiveUSB.

That's it for the procedure.

In general, it is much easier to use FuguIta LiveUSB to save your customizations to a USB flash drive with usbfadm sync and load them in boot mode 3.
See the following articles for an example of creating these.
- [[FuguIta/BBS#b01edbf7]]
- [[FuguIta/BBS/12#z6fb44cc]]

[[kaw]] &new{2023-06-07 (Wed) 09:44:19};
- Thanks, i'll try <3 <3 <3 #FuguIta -- [[Kikk]] &new{2023-06-10 (Sat) 16:24:24};

#comment

**日本語デスクトップ環境お試し版 [#b01edbf7]
>[[kaw]] (2023-05-23 (Tue) 09:37:56)~
~
河豚板に日本語デスクトップ環境を入れたお試し版を作ってみました。
[[ダウンロードサイト>FuguIta/Download]]のoldディレクトリより FuguIta-7.3-amd64-202305211-DEDemoJa.img.xz をダウンロードし、xzで解凍して8GB以上のサイズのUSBメモリに書き込んで下さい。~
 # xz -dc FuguIta-7.3-amd64-202305211-DEDemoJa.img.xz | dd of=/dev/XXXX bs=1m
~
-起動途中でdemoユーザのパスワードを設定しますので、入力して下さい([[doas>man:doas]]用、スクリーンロック解除用などです)。

>
-収録ソフトは以下のとおりです。~
--Xfce 4.18~
--日本語環境: kterm 6.2.0, 日本語フォント各種, Fcitx-Anthy 5.0.10~
--FireFox 112.0.2~
--Sylpheed 3.7.0~
--Audacious 4.3~
--VLC 3.0.18~
--LibreOffice 7.5.1

>
-root権限で[[/etc/rc.shutdownを編集>河豚板ガイド/3-運用編#autosave]]することで、終了時にファイルを自動で保存するようになります。

>
-pkg_add / pkg_deleteでパッケージを追加/削除した後はroot権限で「usbfadm -r」を実行して下さい。

>
-ネットワークは有線LANの方が確実に繋がります。WiFiは、ファームウェアが追加不要なチップを使用しており、かつ、パスワードなしの場合に接続できるかもしれません。起動後、WiFiを使用する設定を行いたい場合は[[こちら>河豚板ガイド/3-運用編#content_1_21]]を参照して下さい。

>
-root権限で以下の操作を行うと、初期状態に戻ります。
 # mount -o async,noatime /dev/XXXd /mnt  ... (XXXはLiveUSBのデバイス名)
 # cd /mnt/livecd-config/7.3/amd64/fugudemoja-init
 # rsync -avxHS --delete . ../fugudemoja/.
 # cd
 # umount /mnt

>
-試作品ですので、不具合修正や改良は行いません。fiupdateによるアップデートは可能です。at your own riskでご使用下さい。
//
----
- FireFoxのファイルダイアログが文字化けするので、[[この手順>FuguIta/BBS/9#content_1_2]]で修正して下さい。#FuguIta -- [[kaw]] &new{2023-05-24 (Wed) 11:01:17};

#comment

**dd of #FuguIta to a USB-SSD ... gives a bootable XFCE desktop!!! [#z81d2579]
>[[Mark B]] (2023-05-09 (Tue) 11:30:12)~
~
Wow, no install process or anything.  The image I "dd'd" of #FuguIta that I dd'd to a USB-SATA SSD (SSD on a USB-3 interface/cable) booted directly into an "LiveUSB-XFCE-gaytratri..." X11 session, with the usual OpenBSD puffer banner and Login/Password!  How do I login to this?  Your documentation does not cover this at all.  It's supposed to be going into the Installation process...~
~
Thank you!   ----mark~

//
- "LiveUSB-XFCE-gaytratri..." is what? Could it be [[the Xfce version of LiveUSB-OpenBSD>https://liveusb-openbsd.sourceforge.io/]] provided by Gayatri Hitech in India?
If so, it is a completely different product from my project #FuguIta.
If not, and you want to know exactly what FuguIta is, please read [[Getting Started with FuguIta>FuguIta/StartGuide]].
~-- [[kaw]] &new{2023-05-09 (Tue) 11:57:46};

#comment

**su exits with an error [#obc9ca3f]
>[[kaw]] (2023-05-05 (Fri) 12:42:47)~
~
In boot mode 0, su complains that /usr/libexec/auth/login_passwd is not found and exits with an error.~
A fixed version has been uploaded to the test directory of the mirrors. Please update with fiupdate for i386/amd64 LiveUSB version of #FuguIta.~

//

#comment

**Test version of FuguIta 7.3 [#gc8f8dec]
>[[kaw]] (2023-04-17 (Mon) 13:38:19)~
~
[[Test version of FuguIta 7.3>https://jp1.dl.fuguita.org/test/]] has been uploaded to the mirror. I'm looking forward to [[hearing from you>FuguIta/Report]]!

>What I would like to know are~
-How it works on newer hardware (device detection, X Window, suspend/resume, etc.)
-How does it work with RPi4?
-How the framebuffer and X Window work on RPi3/RPi4.
-Operation status on arm64-based SBCs and Apple M1/M2 other than RPis.
-Comments and suggestions for improvement using the #FuguIta's original tools
-etc.

>Thank you in advance.

//

#comment

----
Former articles are at [[FuguIta/BBS/13]].

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