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

----
#article
**no subject [#fb4aef71]
>[[swap on ext3 partition]] (2018-09-16 (Sun) 00:28:48)~
#contents
**FuguIta-6.7-arm64 on Raspberry Pi 4 
>[[kaw]] (2020-07-07 (Tue) 19:03:24)~
~
LiveCD (DVD) booted FuguIta, loading/saving changes to a /livecd-config folder on a FuguIta installed to USB. Picks up my OpenBSD HDD installed 2GB swapfile at bootup, but I mounted a ext3 partition, dd'd a 2GB file called swapfile, vnconfig vnd0 swapfile, and ... swapctl -a /tmp/i/swapfile i.e. using a filesystem on a ext3 partition as additional FuguIta's swapfile space ... and top is showing the 4GB combined swap space available :) Obviously running liveCD (in ram) can run out of ram relatively easily on a system such as my own that has only 2GB of ram, so swap is a saviour if running FuguIta as a desktop type system (X).~
Are you the person who tried to run #FuguIta on Raspberry Pi 4?~
I don't have RPi4, so I want to know the result.~
~
With LibreOffice and firefox-esr installed, it runs OK (also installed mtpaint to take the snapshot). I'm using cwm window manager.~
ラズパイ4で河豚板を動かしてみた方、いらっしゃいますか?~
ラズパイ4を持っていないので、結果が知りたいです。~

//


**Two podcast articles about FuguIta 
>[[kaw]] (2020-07-02 (Thu) 12:27:51)~
~
Screenshot ...~
#FuguIta enthusiast Zen Floater2 has posted two interesting articles on the podcast site "Hacker Public Radio".~
~
&ref(fi-cwm-ffesr-lo-swap.png,,50%);
//https://s15.postimg.cc/5tp9gucsb/fi-cwm-ffesr-lo-swap.png~
-hpr3091 :: fuguserv~
Fuguita OpenBSD server-building a new wifi-router / server~
http://hackerpublicradio.org/eps.php?id=3091~
https://youtu.be/_qxZCe5JgG0 (movie with auto-translated closed caption)~
~
-hpr3108 :: Fuguita as a Desktop~
I cover all the wonderful things about using Fuguita as your Desktop~
http://hackerpublicradio.org/eps.php?id=3108~
https://youtu.be/fvqBZQNboCA (movie with auto-translated closed caption)~

>These articles provide detailed and specific explanations of typical uses for FuguIta.~
~
Thank you very much for exellent postcast articles, Zen Floater2.~

//

#comment

**Save to ext2/3/4 [#bfe474c8]
>[[Rufwoof]] (2018-09-15 (Sat) 12:42:29)~
**Garbled Firefox in FuguIta 6.7 
>[[kaw]] (2020-06-28 (Sun) 02:48:45)~
~
Hi kaw~
In #FuguIta 6.7, some characters in Firefox file dialog are garbled.~
&ref(garbled2.png,,20%);&br;(click to enlarge)~
~
Thinking along the lines that you can create a ffs file filesystem on a ext2 partition ...~
This is because the file tree structure is partially different between OpenBSD and FuguIta, which now violates the unveil(2) system call.~
~
Mount a ext2 partition and then cd to that partition and ...~
To solve this, change the /etc/firefox/unveil.main file as follows.~
 diff -ru firefox.orig/unveil.main firefox/unveil.main
 --- firefox.orig/unveil.main    Thu Jun 25 11:44:26 2020
 +++ firefox/unveil.main Sun Jun 28 01:37:32 2020
 @@ -14,6 +14,7 @@
  /usr/share/zoneinfo r
  /var/cache/fontconfig r
  /usr/X11R6/lib r
 +/fuguita/usr/X11R6/lib r
  /usr/X11R6/share r
  /var/run r
For Chromium, modify the /etc/chromium/unveil.main file as well.~

//


**FuguIta now supports encrypted partition 
>[[kaw]](2020-06-14 (Sun) 16:05:00)~
FuguIta-6.7-*-202006142 supports to create an encrypted partition for store and resotration of user's data.~
~
    dd if=/dev/zero of=diskimage bs=1M count=100
    vnconfig vnd0 diskimage
    newfs vnd0c
    mkdir /home/user/mountpoint
    mount /dev/vnd0c /home/user/mountpoint
To create an encrypted partition, use usbfadm as follows:
 # usbfadm
 
 Welcome to usbfadm.
 USB flash drive administration tool for FuguIta
 
   Version/Arch: 6.7/amd64  (FuguIta-6.7-amd64-202006142)
      Boot mode: manual
 Data stored in: not set
  Data Saved as: not set
 
 Type ? for help.
 
 ? : ? ->newdrive
 
    :
 --snip--
    :
 
 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.
 
 589MB (604128KB) (1208256sectors) free
 swap->64m
 
 
 525MB (538592KB) (1077184sectors) free
 userrdata->*
 
 user data encryption? [y/N] -> y       <==== Say 'y' to create encrypted partition.
 
 Enter passphrase twice. They'll be not echoed.
 
 //// CAUTION ////////////////////////////
 ////   If you lost this passphrase,
 ////   you'll never access sd0d.
 /////////////////////////////////////////
 
 Passphrase:                            <==== Enter passphrase
 Passphrase:                            <==== twice.
 
   :
   :
You also use usbfadm to save data to the partition.
 ? : ? ->target
 
 Searching storage device
 Please make sure the device inserted.
 Then press ENTER ->
 sd0a ?sd0d                             <==== A device name starting with'?' indicates that the device
                                         ==== is an encrypted volume. (... and '+' still indicates
                                         ==== normal (unencrypted) partitions for data store)
 target device->sd0d                    <==== Enter encrypted volume
 Passphrase:                            <==== and its passphrase.
 sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
 sd1: 525MB, 512 bytes/sector, 1076656 sectors
 softraid0: CRYPTO volume attached as sd1
 sd0a ?sd0d +sd1d                       <==== new partition sd1d appears if auth succeeded
 target device->sd1d                    <==== save to it as usual
 
 sd1d : ? ->saveas
 Name of avedd ata->fugu-demo
 
 Your data will be saved as ``fugu-demo''.
 
 sd1d : fugu-demo ->sync
 
 Sync current tmpfs as ``fugu-demo'' , OK? [y/N] -> y
 
 copying /ram to /mnt/livecd-config/6.7/amd64/fugu-demo (30688KB approx.):
 25.0MiB 0:00:38 [9673KiB/s][[===========================>      ] 83% ETA 0:00:07
 waiting for pax to finish ... syncing ... done.
 
 sd1d : fugu-demo ->bye
To restore saved data, select boot mode 3:
 ============================================
 =     ______               __   _
 =    / ____/              |  |_| |__
 =   / /____  ______  __  _|  /_   _/_____
 =  / ___/ / / / __ \/ / / |  | | | /  _  |
 = / /  / /_/ / /_/ / /_/ /|  | | |_| (_) |__
 =/_/   \____/\__  /\____/ |__| \___/____/__/
 =            __/ /
 =           /___/
 =
 =  Welcome to FuguIta  -  OpenBSD Live System
 =                         http://fuguita.org/
 =============================================
 
 scanning partitions: sd0a sd0b sd0d cd0a
 FuguIta's operating device(s): sd0a cd0a.
 Which is FuguIta's operating device? -> sd0a
 activating swap partition: /dev/sd0b
   user memory: 239 MB
 Enter tmpfs size in MB. (0MB is auto)
 [default: 0MB] ->
 tmpfs size will be automatically allocated
 Boot modes:
   0: fresh boot - standard mode as a live system
   1: fresh boot - less memory, faster boot (/usr is non-writable, can't pkg_add)
   2: fresh boot - works using only RAM (about 1GB or more of RAM required)
   3: boot with retrieving saved files from storage device
      or enter passphrase for an encrypted volume
   4: boot with retrieving saved files from floppy disk
   5: interactive shell for debugging
 ->3                                    <==== select mode 3
 scanning partitions: sd0a sd0b sd0d cd0a
 Device(s) found:
       encrypted: sd0d                  <==== This is the encrypted volume.
 Which is FuguIta's storage device? -> sd0d
 Passphrase:                            <==== Enter passphrase,
                                         ==== If succeeded, then device appears
                                         ==== Select mode 3 again for that device.
 sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
 sd1: 525MB, 512 bytes/sector, 1076656 sectors
 softraid0: CRYPTO volume attached as sd1
 Passphrase successful: Select boot mode again...
 Boot modes:
   0: fresh boot - standard mode as a live system
   1: fresh boot - less memory, faster boot (/usr is non-writable, can't pkg_add)
   2: fresh boot - works using only RAM (about 1GB or more of RAM required)
   3: boot with retrieving saved files from storage device
      or enter passphrase for an encrypted volume
   4: boot with retrieving saved files from floppy disk
   5: interactive shell for debugging
 ->3
 scanning partitions: sd0a sd0b sd0d cd0a sd1d
 Device(s) found:
   loadable from: sd1d                  <==== You can retrieve your data from this device.
       encrypted: sd0d
 Which is FuguIta's storage device? [default: sd1d] -> sd1d
 /dev/sd1d : available data;
 
 fugu-demo
 
 config name -> fugu-demo
 Copying files from flash to ram ...
 done
   :
   :
If the authentiation succeeded at boot time like above, note that you don't have to enter passphrase at upcoming usbfadm.

//


**#FuguIta-6.7-arm64-202006031 
>[[kaw]] (2020-06-04 (Thu) 12:31:44)~
~
... and then use that filesystem ...~
    
    echo hello >/home/user/mountpoint/myfile.txt
FuguIta-6.7-*-202006031 which applied patch-007 of OpenBSD 6.7 was just released today.~
~
... and when done~
Of these releases, the arm64 version could not be tested on the actual machine due to various reasons, so an operation test was performed using the QEMU CPU emulator (qemu-system-aarch64).~
~
    umount /home/user/mountpoint
    vnconfig -u vnd0
We plan to test the operation on a real machine within a few days, but if you have experience testing this release on a real RPi3, we would be grateful if you let us know the test results.~
~
We have a ffs file filesystem residing on a ext2 partition. We can remount that by again mounting the ext2 partition and cd to that and ...~
Thank you~

//


**Pre-release of FuguIta-6.7 
>[[kaw]] (2020-05-22 (Fri) 14:46:17)~
~
    mkdir /home/user/mountpoint
    vnconfig vnd0 diskimage
    mount /dev/vnd0c /home/user/mountpoint
The test version of [[FuguIta-6.7>FuguIta/6.7]] (i386/amd64) had been uploaded to the [[test directory>https://jp1.dl.fuguita.org/test/]] of mirrors.~
The boot time of ISO version may take quite long time because lack of fast-boot-cache.~
~
and ls /home/user/mountpoint will show the myfile.txt file created earlier.~
I would appreciate it if you could give me your case report.~
~
Fundamentally I'm thinking that FuguIta's saves (livecd-config), that currently need to be on a ffs partition, could be stored on a ext2 partition as a ffs file filesystem such that a liveCD could boot and laod/save its ram images (changes) to a ext2 hard disk drive.~
thanks
//


**DM and browser 
>[[loves-bsd]] (2020-05-14 (Thu) 07:39:07)~
~
A pre-prepared ffs filesystem file could be provided/downloaded so that new users with no BSD already installed/working, but perhaps Linux working, could copy that ffs file filesystem to one of their ext2 partitions/folders, boot a FuguIta CD and store their changes into that ffs file filesystem stored on their ext2 partition.~
I really like #FuguIta, but I was wondering if there was a chance of making a separate, downloadable iso with icewm (or any desktop manager) and firefox? Just for someone that wants to browse the internet and nothing more.~

//
- I tweeted this: https://twitter.com/yoshi_kaw/status/1206620780697505792 . Is this the same as you said?&br;I built this system with FuguIta/LiveUSB and boot mode 3.&br;&br;If you want to make a LiveDVD that works in the same way, I think http://fuguita.org/index.php?FuguIta%2FFAQ%2FSelfBuild can be helpful.&br;The easy way to get "Whole OpenBSD file tree which will be burned in the ISO image" which was described in above document, is to copy and modify file tree under /fuguita on running #FuguIta.&br;For example, pkg_adding FireFox is one of modifying. -- [[kaw]] &new{2020-05-14 (Thu) 13:01:01};
- Thank you, kaw, I will look at those links you provided. #FuguIta -- [[loves-bsd]] &new{2020-06-06 (Sat) 12:18:04};
- You're welcome, loves-bsd.  Feel free for more questions about #FuguIta. -- [[kaw]] &new{2020-06-06 (Sat) 13:26:02};


**Joining video conference with multiple&br;video/audio sources on #FuguIta 
>[[kaw]] (2020-05-10 (Sun) 22:45:24)~
~
Another thought - not sure - but it might be possible to create a swap file - stored on disk and activated~
Tweeted above topic:~
https://twitter.com/yoshi_kaw/status/1259333937559506944~

//


**patch-022, and 023 
>[[kaw]] (2020-03-13 (Fri) 09:44:57)~
~
    dd if=/dev/zero of=/usr/swap0 bs=1024k count=1024 
    chmod 0600 /usr/swap0
    swapctl -a /usr/swap0 
I can't boot the build machine of #FuguIta because I'm not at home right now. Now, please wait a moment.~

//
- Don't worry, Kaw.  I greatly appreciate your effort to make it possible that #FuguIta always be up to date.  Thank you very much.  Best wishes, armand-mx -- [[armand-mx]] &new{2020-03-13 (Fri) 13:45:08};
- #FuguIta's release candidate for patch-022 and 023 is now being located at the test directory of the mirrors. Thank you, armand-mx! -- [[kaw]] &new{2020-03-14 (Sat) 13:05:31};
- Thank you, Kaw, for #FuguIta! -- [[armand-mx]] &new{2020-03-14 (Sat) 14:00:04};


**disribution by BitTorrent 
>[[kaw]] (2020-02-20 (Thu) 15:19:03)~
~
That would help reduce the chances of FuguIta locking up if larger programs were being run and where otherwise no swap file/partition was available.~
Distribution by BitTorrent has been supported at [[LinuxTracker>https://linuxtracker.org/index.php?page=torrents&search=&category=2046&active=1]] .~

//

#comment

**Opps! [#cf251316]
>[[rufwoof]] (2018-09-08 (Sat) 21:00:06)~
**new tool - dtjsetup 
>[[kaw]] (2020-01-17 (Fri) 16:20:33)~
~
I didn't correctly format the commands/code section in my prior post (so part showing as text, part as code). Sorry.~
#FuguIta's new release "FuguIta-6.6-*-202001171" introduces a new tool "dtjsetup" in addition to the patch-017 of OpenBSD.~
~
As its name implies, dtjsetup (DeskTop (plus Japanese optionally) environment setup tool) installs the desktop environment software and replaces the X startup file .xsession with the appropriate contents.~
~
dtjsetup can be started by ordinary user. If root privileges are required, such as when installing new software, dtjsetup checks the user's environment, starts doas or su internally, and executes commands with root privileges.~
~
If you do not need to install new software, such as when using cwm or fvwm as a window manager, dtjsetup only replaces the .xsession file, so you do not need root privileges.~
~
If an .xsession file already exists, dtjsetup renames the file to a time-stamped name and backs it up.~
~
The software that dtjsetup can currently set up is as follows:~
~
Window Manager: cwm, fvwm, twm, icewm, fluxbox, jwm~
Desktop Environment: rox-filer, xfce, mate, lumina, lxqt~
Japanese Input Method: scim-anthy, uim-gtk, fcitx-anthy, ibus-skk~
~
If you choose to set up a Japanese environment, in addition to the Japanese Input Method above, install some sets of Japanese fonts, ja-kterm (Kanji Terminal), and set the time zone to JST if the user instructs.~

//
- No problem. I fixed it. Thanks for the post. -- [[kaw]] &new{2018-09-10 (Mon) 02:36:38};

#comment

**reverse sshfs from FuguIta [#td4f385a]
>[[rufwoof]] (2018-09-08 (Sat) 20:58:05)~
**Desktop installer for #FuguIta 
>[[kaw]] (2020-01-09 (Thu) 19:16:20)~
~
Linux liveCD desktop system (Fatdog). Fuguita liveCD booted another PC and running~
I wrote a installer to introduce Desktop Environment on #FuguIta.~
Desktop: ROX-Filer, xfce, mate, lumina, (not tested yet: GNOME, KDE)~
WM: cwm, twm, fvwm, icewm and jwm~
and can setup softwares for Japanese (font, kterm, input method).~
Save this &ref(installdesktop.sh.txt); as ''installdesktop.sh'' and run it.~

//
- GNOME and KDE are not supported now. Because they are too heavy and too complicated for Live Systems like #FuguIta. -- [[kaw]] &new{2020-01-10 (Fri) 01:53:08};
- fixed some minor bugs &br; I have a plan to bundle this script with next #FuguIta release. -- [[kaw]] &new{2020-01-10 (Fri) 21:56:54};
- Fixed some %%minor%% bugs -- [[kaw]] &new{2020-01-12 (Sun) 18:13:44};
- ask set time zone to JST when Japanese environment installed -- [[kaw]] &new{2020-01-13 (Mon) 14:02:39};
- add ibus-skk for Japanese Input Method -- [[kaw]] &new{2020-01-13 (Mon) 14:18:35};
- add another Desk Top - lxqt -- [[kaw]] &new{2020-01-15 (Wed) 05:44:05};


**Installing IceWM in FuguIta 6.6 
>[[armand-mx]] (2019-12-23 (Mon) 12:35:18)~
~
Hi, Kaw!~
How can I install IceWM in #FuguIta as my main window manager?~
How many MB or GB of space should I use for the swap partition for the installation of FuguIta?~

//
- I checked that. ~
In initial state, #FuguIta-6.6-amd64 holds about 150kB in /usr/local.
     fuguita-6.6-amd64 # du -sh /usr/local
     248K       /usr/local
IceWM is able to be installed from ports by pkg_add command:
     fuguita-6.6-amd64 # pkg_add icewm
     icewm-1.6.1:libao-1.2.0p1: : ok
     icewm-1.6.1:libogg-1.3.4: : ok
     icewm-1.6.1:libvorbis-1.3.6: : ok
     icewm-1.6.1:libiconv-1.16p0: : ok
     icewm-1.6.1:flac-1.3.3: : ok
     icewm-1.6.1:libsndfile-1.0.28: : ok
     icewm-1.6.1:bzip2-1.0.8: : ok
     icewm-1.6.1:gettext-runtime-0.20.1p0: : ok
     icewm-1.6.1:libffi-3.2.1p5: : ok
     icewm-1.6.1:xz-5.2.4: : ok
     icewm-1.6.1:sqlite3-3.29.0: : ok
     icewm-1.6.1:python-3.7.4: : ok
     icewm-1.6.1:pcre-8.41p2: : ok
     icewm-1.6.1:glib2-2.60.7: : ok
     icewm-1.6.1:desktop-file-utils-0.24p0: : ok
     icewm-1.6.1:fribidi-1.0.7p0: : ok
     icewm-1.6.1:jpeg-2.0.3v0: : ok
     icewm-1.6.1:tiff-4.0.10: : ok
     icewm-1.6.1:png-1.6.37: : ok
     icewm-1.6.1:jasper-2.0.14: : ok
     icewm-1.6.1:libxml-2.9.9: : ok
     icewm-1.6.1:shared-mime-info-1.10p5: : ok
     icewm-1.6.1:gdk-pixbuf-2.38.2: : ok
     icewm-1.6.1: : ok
     Running*tags: : ok
     fuguita-6.6-amd64 # du -sh
     /usr/local      147M       /usr/local
After IceWM installed, /usr/local has grown about 150MB.~
~
In older version of FuguIta, IceWM and ROX-Filer were installed as DeskTop environment. So,
     fuguita-6.6-amd64 # pkg_add rox-filer
     rox-filer-2.11p3:atk-2.32.0: : ok
     rox-filer-2.11p3:hicolor-icon-theme-0.17: : ok
     rox-filer-2.11p3:gtk-update-icon-cache-3.24.12: : ok
     rox-filer-2.11p3:lzo2-2.10p1: : ok
     rox-filer-2.11p3:cairo-1.16.0: : ok
     rox-filer-2.11p3:graphite2-1.3.13p0: : ok
     rox-filer-2.11p3:harfbuzz-2.6.2: : ok
     rox-filer-2.11p3:pango-1.42.4p3: : ok
     rox-filer-2.11p3:libcroco-0.6.13: : ok
     rox-filer-2.11p3:librsvg-2.46.0: : ok
     rox-filer-2.11p3:gnome-icon-theme-3.12.0p5: : ok
     rox-filer-2.11p3:gnome-icon-theme-symbolic-3.12.0p3: : ok
     rox-filer-2.11p3:gtk+2-2.24.32p5: : ok
     rox-filer-2.11p3: : ok
     Running*tags: : ok
     fuguita-6.6-amd64 # du -sh /usr/local
     417M       /usr/local
Adding ROX-Filer, about 400MB of RAM will be used.~
~
In this case, if you have modern PC with some gigabytes of RAM, no swap partition needed.~
Or, you only have an old PC with less memory, it is safe way to prepare a swap partition more than one megabyte.~
~-- [[kaw]] &new{2019-12-24 (Tue) 02:28:22};
- Thank you, Kaw! My PC has 8 gigabytes of RAM.  I use the OpenBSD's default Fvwm in #FuguIta 6.6 because I don't know how to configure IceWM.  I want to know how to configure IceWM in order to always start IceWM as desktop environment instead of Fvwm.  I've installed IceWM and ROX-Filer by pkg_add command.  Now,  How can I configure IceWM in #FuguIta 6.6? -- [[armand-mx]] &new{2019-12-24 (Tue) 15:40:37};

- For example, create .xsession file as follows;
 #!/bin/sh
 fifo=/tmp/rsshfs-$$
 rm -f "$fifo"
 mkfifo -m600 "$fifo" &&
   < "$fifo" /usr/libexec/sftp-server |
   ssh root@192.168.1.4 sshfs -o slave :/root /data '' > "$fifo"
 rm "$fifo"
  
 # In case of xenodm
 #
 if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
         eval `dbus-launch --sh-syntax --exit-with-session`
 fi
 
 rox -t top -p pin
 exec icewm
and here's a .xsession file I'm using:
 #!/bin/sh
 
 # # In case of startx
 # #
 # if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]
 # then
 #         eval `dbus-launch --sh-syntax --exit-with-x11`
 # fi
 
 # In case of xenodm
 #
 if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
         eval `dbus-launch --sh-syntax --exit-with-session`
 fi
 
 # set locate to Japanese Language
 #
 export LANG=ja_JP.UTF-8
 
 # Japanse Input Method (UIM)
 #
 # # uim-gtk
 # export XMODIFIERS='@im=uim'
 # export GTK_IM_MODULE=uim
 # export QT_IM_MODULE=uim
 # uim-xim &
 # uim-toolbar-gtk &
 
 # Japanse Input Method (SCIM)
 #
 # scim-anthy
 export XMODIFIERS="@im=SCIM"
 export GTK_IM_MODULE=xim
 export QT_IM_MODULE=xim
 scim -d
 
 # Startup Window Manager
 #
 wm=icewm  # Rewrite this for other WM
 
 case "$wm" in
     cwm)
         xsetroot -solid gray12
         xclock -geometry 115x115-0+0 -analog -update 1 -fg white -bg '#000020' -hd gray25 -hl white &
         kterm -geometry 179x65+0+0 -fg white -bg black -cr orange -sl 1000 -sn -st &
         exec cwm
         ;;
     jwm|icewm|wmx|fvwm|twm)
         rox -t top -p pin
         exec $wm
         ;;
     xfce)
         exec startxfce4
         ;;
     *)
         exec twm
         ;;
 esac
Please omit or modify the lines corresponding to Japanese locale settings. And rewrite ''wm=icewm'' when you wish to use other window manager.
~ -- [[kaw]] &new{2019-12-25 (Wed) 11:00:37};
- Thank you, Kaw!  I set locate to Spanish Language (export LANG=es_MX.UTF-8) and omitted the lines corresponding to Japanese Input Methods.  #FuguIta 6.6 with IceWM works fine and fast in my PC!  Now, I want to add some apps like firefox, audacity and libreoffice to the ROX-Filer panel. In the panel there is the option Remove Item(s), but I don't see anything like Add Item(s).  How can I add some apps to the ROX-Filer panel? -- [[armand-mx]] &new{2019-12-26 (Thu) 00:15:37};

- ''How to setup icons of ROX on #FuguIta''
- Step 1 - set run action for binary executable.
-- Open /usr/local/bin with ROX's file browser.
-- find any file of "shared library (application/x-sharelib)"
-- click right button on this icon ~
and select "set run action"
-- check "Only for the type 'shared library (application/x-sharelib)" ~
and enter `` exec "$@" '' in a text entry ~
then click "Use Command"
- Step 2 - make an icon on ROX's panel
-- next, find the icon of audacity ~
drag and drop it to the panel
- Step 3 - change icon's picture of the icon
-- click right button on the dropped icon ~
and select "file audacity" -> "Set Icon"
-- find pix file of audacity ~
(possibly found under /usr/share/doc/icons)
-- drag and drop it to "Set Icon" panel.
-That's all.~
For your help, see the tutorial video: https://youtu.be/vHa28q162Qg ~
FYI: Screen shot of my MacBook Pro with 8GB memory~
&ref(sshot3.png,,7%); ~
~-- [[kaw]] &new{2019-12-26 (Thu) 21:30:00};
- Thank you very much, Kaw! You are a great teacher! I like using #FuguIta! -- [[armand-mx]] &new{2019-12-27 (Fri) 02:02:51};
- armand-mx, de nada.  Muchas gracias por usar #FuguIta. -- [[kaw]] &new{2019-12-27 (Fri) 09:35:39};


**usbfadm update 
>[[kaw]] (2019-11-14 (Thu) 00:52:42)~
~
Reverse sshfs mounts the Fuguita's /root folder as a (pre created /data folder) mountpoint on my Fatdog system. ~
As described in [[FuguIta/6.6]], when FuguIta-6.6-arm64 runs without a swap partition, its behaviour becomes unstable.~
~
If on the Fuguita box you mount a HDD and share a folder on that with Fatdog, then your data (more often the most invaluable on single user desktop setups) is isolated, only the folder/content you share with Fatdog (main desktop) is at risk and backup copies can be made/restored on the OpenBSD box to protect that data. I used a old single core celeron box for the FuguIta boot. The Fatdog PC is a later box (but still relatively old i.e. single core Acer Aspire 2GB Phenom X4).~
In connection with this, #FuguIta's remastering tool "usbfadm" is being planned  to be able to create a swap partition.~

//


**FuguIta 6.6 
>[[kaw]] (2019-10-31 (Thu) 18:24:34)~
~
For some ssh throughput optimisation, add -o compression=no -o Cipher=arcfour just before the -o slave code in the above.~
The test release of #FuguIta 6.6 is now in [[the test directory of mirror>https://jp1.dl.fuguita.org/test/]]s.~
~
In 6.6, please notice followings;~
~
-The ISO image is larger than 700MB. Please use DVD media to burn it.~
~
-Also, use USB flash drive larger than 2GB.~

//
- Thanks for useful information. I haven't been used sshfs yet. And used to another way to do the same ... maybe NFS over SSH L2/L3 tunnel (-w option of ssh). sshfs seems to be easier. Then will try it. -- [[kaw]] &new{2018-09-10 (Mon) 02:34:47};

#comment

**Test, just a test [#g34311d5]
>[[Patrickgoame]] (2018-09-01 (Sat) 21:18:23)~
**EFI support? 
>[[Mel]] (2019-08-26 (Mon) 17:06:02)~
~
Hello~
otsukaresamadesu~
Melと申します。~
~
i try latest 6.5 image (amd64) on Lenovo T460s ... this Lenovo is configured for EFI boot. USB containing 6.5 #FuguIta image can not boot.~
~
in site i see test image for 6.4 ... but mirror do not have the test images.~

//
- Hello -- [[kaw]] &new{2018-09-02 (Sun) 08:36:34};
- Hi, Mel-san.&br;Thanks for using #FuguIta.&br;I've tested the latest image FuguIta-6.5-amd64-201908091. And it worked. My test machine for EFI boot is MacBook Pro.&br;Have you been able to boot FuguIta/amd64 on that Lenovo T460 before? -- [[kaw]] &new{2019-08-26 (Mon) 21:35:00};
- this is first time trying to boot #FuguIta (amd64) on Lenovo T460s. this Lenovo is multi-boot. i have GRUB to boot Ubuntu or Windows 10. i manually select boot device (USB drive) in boot screen, but i return to boot screen. i will continue to check more. -- [[Mel]] &new{2019-08-27 (Tue) 08:59:26};
- A LiveUSB of #FuguIta/amd64 can be booted with either legacy BIOS or UEFI. This is called "hybrid MBR", and very useful. But this functionality is not standardized and not official.&br; I think it's helpful to check other USB-bootable operating systems will boot from your Lenovo T460. -- [[kaw]] &new{2019-08-27 (Tue) 09:52:52};
- I used Lubuntu DVD image on USB to install the 2nd OS, thus other USB-bootable OS can boot the Lenovo T460. I will try other USB device with #FuguIta image. -- [[Mel]] &new{2019-08-30 (Fri) 13:36:23};
- I believe that you ungziped the downloaded image (#FuguIta-6.5-amd64-*.img.gz) before you wrote it into USB device. -- [[kaw]] &new{2019-08-31 (Sat) 09:30:33};

#comment

**network reconriguring by gennetconfs [#c0420181]
>[[kaw]] (2018-08-07 (Tue) 18:18:25)~
**Mirror sites for download 
>[[kaw]] (2019-05-12 (Sun) 08:49:09)~
~
At FuguIta-6.3-201808061, a new tool called ''gennetconfs'' has been introduced.~
This tool generates configuration files for networking, so you can reconfigure network settings;
:synopsis|gennetconfs '''[dir]'''
[[#FuguIta's download mirror sites changed and added>FuguIta/Download]]~
~
Use the nearest mirror from your location.~

>'''dir''' is the directory which configuration files will generated on.~
If '''dir''' not specified, current directory will be taken by default.~
So,~
 gennetconfs /etc
will overwrite directly existing files under /etc .~
//


**6.5 tools 
>kaw (2019-05-10 (Fri) 14:26:27)~
~
Because of gennetconfs was derived from FuguIta's boot sequence '''/boottmp/rc''',~
the interaction with gennetconfs is the same as one at boot time.~
tools to create a live system based on OpenBSD 6.5~
were uploaded at [[tools>http://jp1.dl.fuguita.org/pub/FuguIta/tools/]] directory.~
Refer [[FuguIta/FAQ/SelfBuild]] for creating.~

//

#comment

**updating FuguIta 
>[[aleksa]] (2019-03-25 (Mon) 19:41:13)~
~
Hello, kaw!~
How can i update FuguIta? ~
~
>For example, if i have the patched-014 6.4-i386-version with a bunch of installed apps running on a usb drive in mode 3,~
~
is it possible to just substitute  that big FFSIMG on sd0a for the one taken from the patched-015 FuguIta-6.4-i386-201903231.img?~

**Various Operations of FuguIta [#wefc0ba0]
>[[kaw]] (2018-06-04 (Mon) 15:23:16)~
//
-Hi, Aleksa!
>>How can i update FuguIta?

>FuguIta originally started as a LiveCD, but now we can use various devices.
In addition, there are several types in operation.~
So, I tried to make a table of combinations of how these devices can be used.~
Note that If there are multiple available devices, you can use them in combination.~
>Yes, of course, you can do it.~
~
|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|c
|>|Device|CD&br;(distrib. ISO)|USB&br;(distrib. img)|USB&br;(usbfadm)|OpenBSD|SD&br;(usbfadm)|ExtFS/&br;NTFS/FAT|tmpfs|
|LEFT:BGCOLOR(#ffffc0):|LEFT:BGCOLOR(#ffff80):|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|c
|>|BGCOLOR(#ffffc0):boot from    |BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0c0c0):X|BGCOLOR(#c0c0c0):X|BGCOLOR(#c0c0c0):X|
|>|BGCOLOR(#ffffc0):run on       |BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|
|with&br;boot mode|0, 1, 2       |BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|
|~|3                             |BGCOLOR(#c0c0c0):X|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0c0c0):X|BGCOLOR(#c0c0c0):X|
|set&br;parameters&br;with|manual|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|
|~|auto                          |BGCOLOR(#c0c0c0):X|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0c0c0):X|
|>|BGCOLOR(#ffffc0):save data to |BGCOLOR(#c0c0c0):X|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0ffc0):O|BGCOLOR(#c0c0c0):X|BGCOLOR(#c0c0c0):X|
(You know, LiveCD cannot be re-written, so in that case, prepare another CD media to burn newly released FuguIta)~
~
There are some ways to update LiveUSB version of FuguIta.~
~
I'll introduce two methods, for example.~
~
-''method 1: replace the kernels and the filesystem image''~
~
This is [[described in '''FuguIta Guide'''>FuguItaGuide#h2ce3537]] (Google Translate is your friend).~
--1: Boot NEW USB with mode 0. (Boot time configurations may be the minimal)~
--2: mount OLD USB (assume it's sd1)~
 # mount /dev/sd1a /mnt
--3: copy NEW kernels and a filesystem image to old USB
 # cp /sysmedia/bsd-fi /mnt
 # cp /sysmedia/bsd-fi /mnt
 # cp /sysmedia/fuguita-6.4-i386.ffsimg /mnt
--4: umount sd1, then halt
--5: reboot NEW USB and confirm that's updated.
 # uname -a                  # OS version
 # sysctl kern.version       # kernel version
 # cat /usr/fuguita/version  # release of fuguita
-''method 2: migrate installed apps, config files and your data to NEW USB''
--1: Boot OLD USB with mode 3 you've been used until now
--2: Invoke usbfadm, then attach NEW USB and change sync target to it
 # usbfadm
 
 Welcome to usbfadm. 
 USB flash drive administration tool for FuguIta
 
   Version/Arch: 6.4/arm64  (FuguIta-6.4-arm64-201903231)
      Boot mode: usbflash
 Data stored in: /dev/sd0d
  Data Saved as: aleksa_apps
 
 Type ? for help.
 
 sd0d : aleksa_apps ->target 
 
 Searching USB flash drives
 Please make sure the device inserted.
 Then press ENTER -> 
 sd0a +sd0d sd0i sd1a +sd1d sd1i
 
 target device->sd1d
--3: Do 'sync' command to NEW USB
 sd1d : aleksa_apps ->sync
 
 Sync current tmpfs as ``aleksa_apps'' , OK? [y/N] -> y
 
 sending incremental file list
 ....snip....
 sent 14,595,555 bytes  received 2,592 bytes  572,476.35 bytes/sec
 total size is 29,789,283  speedup is 2.04
 
 sd1d : aleksa_apps ->bye
 
 Bye bye...
 # halt  
--4: Reboot with NEW USB, and check it's OK.

*** Explanation of the table [#z3e6fc05]
>In the table above, each column indicates a device that FuguIta can handle.
:CD (distrib. ISO) | CD, CD-R, CD-RW etc burned ISO image downloaded from distribution site. ~
You can burn it to DVD but you can use it, the size is 700 MB same as CD.
:USB (distrib. img)| This is a USB flashdrive into which the IMG file downloaded from the distribution site is written. ~
Regardless of the USB flashdrive size used, the capacity is fixed at 1 GB (system 700 MB + data storage area 300 MB).
: USB (usbfadm) | This is a USB flashdrive created using FuguIta's usbfadm command. ~
When executing the usbfadm command, you can set the size of the data storage area. ~
You can also create FAT in free space not used by FuguIta for data exchange with other OS.
:OpenBSD | OpenBSD system already installed. To use this from FuguIta, perform the following operations in advance. ~
-- a : Copy FuguIta's kernel - /sysmedia/bsd-fi and /sysmedia/bsd-fi.mp to the partition where the OpenBSD kernel resides, and by entering "bsd-fi.mp" or "bsd-fi" for boot prompt "boot>", FuguIta starts up. ~
-- b : By creating a directory called "ISO" on any partition of OpenBSD and placing the ISO image of FuguIta here, you can use it as an operational device. ~
-- c : You can save and restore data here by creating a directory called "livecd-config" on any partition of OpenBSD. ~
However, you can not do b and c at the same time on the same partition.
: SD (usbfadm) | This is an SD card created using FuguIta usbfadm command.
: ExtFS/NTFS/FAT | Linux ext2fs ... ext4fs and Windows NTFS, FAT partitions. ~
By creating a directory called "ISO" on these partitions and placing the FuguIta ISO image here, you can use it as an operational device.
: tmpfs | File system created in memory. It is created automatically when FuguIta is started, and the contents are lost at the end.
>These procedures are valid when OLD and NEW USB are both based on same OpenBSD version. If it isn't (e.g. 6.4 to 6.5), you need to pkg_add manually on a new system, and need to migrate app's config files and your data files to NEW USB by hand.~
~
Finally, I think method 2 is little bit safer. -- [[kaw]] &new{2019-03-26 (Tue) 01:10:40};
- Updating #FuguIta by method 1 worked fine. Thank you, Kaw, for your work! -- [[aleksa]] &new{2019-03-26 (Tue) 22:57:30};
- Aleksa, it's nice to hear that. FYI, a LiveCD version of #FuguIta is also OK for source of copying kernels and fs imgs. -- [[kaw]] &new{2019-03-27 (Wed) 02:48:36};

>Each line of the table is an operation form which can be selected at the time of starting up FuguIta or during operation.
:boot from | FuguIta is a bootable device that loads the kernel. If there are multiple bootable devices, specify them using the BIOS boot menu.
:run on | This is the device where the system file of Fugu Ita is installed and used for operation. It is mounted read-only. ~
If there are multiple available devices, specify the device at startup.
:with boot mode | This is how to layout memory and operation devices during operation. The main boot modes are as follows.
-- mode 0 : This is standard operation as LiveCD / LiveUSB.
-- mode 1 : It is almost the same as mode 0, but it is completed in a shorter time and it operates with saving memory (about 64 MB minimum). However, pkg_add cannot be used because /usr becomes non-writable.
-- mode 2 : It operates using only tmpfs. Although it takes time to complete the boot, file input/output during operation is fast. Memory requires about 800 MB, or more.
-- mode 3 : Read data saved by usbfadm at boot time.
:set parameters with | Usually, when starting FuguIta, it is necessary to manually input the operation device, tmpfs size, start mode, etc. However, if these parameters are described in the file "noasks", at startup this is set automatically, you can omit manual input.
:save data to | As described in boot mode 3, you can save the file to the device specified by the usbfadm command.

**New feature: mount additional partitions 
>[[kaw]] (2019-03-13 (Wed) 17:42:48)~
~
Unlike most Unix-like OSes, #FuguIta does not mount them at boot time, even if the user writes partition entries in /etc/fstab.~
~
That's because FuguIta scans the all partitions of attached disks to by the script /boottmp/rc. According to that result, it determines apropriate partitions (and vnode devices) to be mounted.~
~
FuguIta generates /etc/fstab after the partition is mounted. Therefore, even if the user adds partition entries to fstab, they will be overwritten at next boot time.~
~
To solve this problem, FuguIta-6.4-201903131 introduced the /usr/fuguita/etc/fstab.tail file.~
~
Describe the partition entries to be mounted in fstab.tail  with the same format as /etc/fstab, save with usbfadm.~
~
Those partitions will be mounted at next boot of mode 3.~
~
Note that this is functional only when boot mode is 3.~

//

#comment

**FuguIta 6.3 for Raspberry Pi 3 [#g280e5c6]
>[[kaw]] (2018-05-31 (Thu) 16:42:17)~
**HDD install? 
>[[Vasile Guta-Ciucr]] (2019-02-28 (Thu) 23:37:23)~
~
Although it is still a test version, it is working well on my RPi3.~
Even without a serial cable, you can install and use it by connecting from the SSH client.~
Hi,~
~
[[README>http://mirror.ginzado.ne.jp/pub/FuguIta/test/0_README-6.3-arm64]] for more further details.~
Can this live system be used to install to HDD, or is designed to work only live?~

//
- Yes. FuguIta can be installed to HDD.&br;Please read "Can I install this LiveCD to HDD?" section at [[FuguIta/FAQ]]. -- [[kaw]] &new{2019-03-03 (Sun) 01:59:07};
- Thank you! -- [[Vasile Guta-Ciucur]] &new{2019-03-04 (Mon) 03:51:01};

#comment


----
Former articles are at [[FuguIta/BBS/7]].
Former articles are at [[FuguIta/BBS/8]].
----
Return to [[FrontPage]]
Return to [[Top>Welcome]]


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