FuguIta/BBS/13
をテンプレートにして作成
Start:
This page is archived. ~
Current active BBS is [[FuguIta/BBS]].
----
#contents
----
**no subject [#rdd59385]
>[[liar666]] (2023-04-13 (Thu) 15:49:48)~
~
Hello,~
Thanks for the nice work.~
OpenBSD 7.3 is out.~
Will #FuguIta follow any time soon?~
//
- Of course, I am working towards the release of #FuguIta...
**Usb freeze while boot [#gf17f217]
>[[Boris]] (2023-03-18 (Sat) 08:01:10)~
~
Hey,~
I'm trying to install Fuguita.img file from usb.~
But when i insert the usb and restart my pc,it just freez...
What may cause the problem? ~
Thanks !~
#FuguIta~
//
- Can you show me a few lines of the display just before ...
- Its just Freeze at motherboard screen.Don't have any er...
- What about other LiveUSB systems rather than #FuguIta? ...
- Can boot many other LiveUSB's.Don't know what's wrong....
- I see. So will the OpenBSD installation images, miniroo...
- Even if you cannot boot from USB, you can [[boot the ke...
**dd process does not stop [#va77d088]
>[[Pascal]] (2023-03-17 (Fri) 00:04:47)~
~
Hi,~
I am trying to create a #FuguIta usb key (8G) with the fo...
$gzip -d FuguIta-7.2-amd64-202302271.img.gz~
#dd if=FuguIta-7.2-amd64-202302271.img of=/dev/rsd2c~
~
But after an hour the process does not stop.~
I have to use Ctrl-C to stop~
~
Needs help please~
~
Pascal~
(Sorry for the same post at "Report" page)~
//
- The default I/O block size of dd is 512bytes. This make...
**Unable to expand USB [#bd3e816e]
>[[Aric]] (2023-02-25 (Sat) 04:59:49)~
~
Hello,~
~
I am unable to expand the USB storage using usbfadm. I ha...
~
Is there a way to just install Fugita by hand on a OpenBS...
~
Thanks, Aric~
//
- Please try [[remastering of #FuguIta LiveUSB>FuguItaGui...
**Full Disk Encryption of FuguIta LiveUSB [#q19247ca]
>[[kaw]] (2023-01-24 (Tue) 13:31:31)~
~
FuguIta can remaster LiveUSB using the newdrive function ...
However, in this case, [[the data storage partition can b...
This is so that FuguIta's fresh boot (boot modes 0, 1, an...
~
In contrast, the entire media on which FuguIta LiveUSB is...
~
The procedure is almost identical to [[OpenBSD's full-dis...
~
1. Initialize the desired disk and create an encrypted vo...
2. Apply the newdrive function of the usbfadm utility to ...
~
The specific steps are as follows~
~
''Note:'' The following procedure is valid only for Legac...
~
''Create encrypted volume''~
The work is done with root privileges. In the following e...
~
First, write random data to the entire disk.
test# dd if=/dev/urandom of=/dev/rsd1c bs=1m
dd: /dev/rsd1c: end of device
2049+0 records in
2048+0 records out
2147483648 bytes transferred in 42.961 secs (49986618 by...
Next, initialize the fdisk partition.
test# fdisk -iy sd1
Writing MBR at offset 0.
Create a RAID partition using the disklabel command.
test# disklabel -E sd1
Label editor (enter '?' for help at any prompt)
sd1> a a
offset: [64]
size: [4194240] *
FS type: [4.2BSD] raid
sd1*> w
sd1> q
No label changes.
Create an encrypted volume in the RAID partition you just...
test# bioctl -c C -l /dev/sd1a softraid0
New passphrase:
Re-type passphrase:
softraid0: CRYPTO volume attached as sd2
test# dd if=/dev/zero of=/dev/rsd2c bs=1m count=1
dd: /dev/rsd2c: short write on character device
dd: /dev/rsd2c: end of device
2048+0 records in
2047+1 records out
2147180544 bytes transferred in 70.967 secs (30255841 by...
test#
The encrypted volume sd2 has now been created.~
~
''Installing FuguIta LiveUSB on an encrypted volume''~
Installation of FuguIta LiveUSB on the encrypted volume s...
test# usbfadm
Welcome to usbfadm.
USB flash drive administration tool for FuguIta
Version/Arch: 7.2/amd64 (FuguIta-7.2-amd64-202301181)
Boot mode: manual
Target device: not set
Data saved as: not set
readline capability available
TAB to complete the reserved words
Type ? for help.
? : ? ->newdrive
Please make sure the device inserted.
Then press ENTER ->
==== disk(s) and vnode devices =========================...
sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
sd0: 2048MB, 512 bytes/sector, 4194304 sectors
sd1 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
sd1: 2048MB, 512 bytes/sector, 4194304 sectors
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd2: 2047MB, 512 bytes/sector, 4193712 sectors
vnd0: not in use
vnd1: not in use
vnd2: not in use
vnd3: not in use
vnd4: not in use
vnd5: covering /sysmedia/fuguita-7.2-amd64.ffsimg on sd0...
========================================================...
Enter the name of device which FuguIta will be installed...
Since the entire disk is encrypted, there is no need to e...
user data encryption? [y/N] ->n
~
''Confirmation of operation''~
Confirm that when you boot the created FuguIta LiveUSB, i...
Using drive 0, partition 3
Loading......
probing: pc0 com0 mem[638K 2046M a20=on]
disk: hd0+ sr0*
>> OpenBSD/amd64 BOOT 3.55
Passphrase:
/
>> bsd-fi.mp is for
>> multiprocessor kernel (default).
>> Enter 'bsd-fi' for Uniprocessor.
boot>
cannot open sr0a:/etc/random.seed: No such file or direc...
booting sr0a:/bsd-fi.mp: 15754520+3781648+2256928+0+1179...
entry point at 0xffffffff81001000
[ using 3306912 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All right...
Copyright (c) 1995-2022 OpenBSD. All rights reserved. h...
OpenBSD 7.2-stable (RDROOT.MP) #23: Wed Jan 18 09:09:22 ...
root@nimbus12.localnet:/opt/fi/7.2/sys/arch/amd64/co...
real mem = 2130694144 (2031MB)
avail mem = 2046828544 (1952MB)
//
**setting MFS/TMPFS to mount on /ram (202212272) [#aa0102...
>[[kaw]] (2022-12-28 (Wed) 01:30:25)~
~
When remastering LiveUSB using usbfadm, you can now speci...
fugu-demo# usbfadm
:
sd1d : fugu-demo ->newdrive
:
Type of /ram:
1: [MFS]
2: TMPFS
->
:
Also, when creating LiveDVD images with remaster_dvd.sh, ...
fugu-demo# remaster_dvd.sh -h
Usage: remaster_dvd.sh [-m mfs|tmpfs]
fugu-demo# remaster_dvd.sh -m tmpfs
Changing file system of /ram: from mfs to tmpfs
mkhybrid 1.12b5.1
Scanning .
Scanning ./etc
:
#FuguIta~
//
**TMPFS optionally enabled at 202212191 [#l251334b]
>[[kaw]] (2022-12-19 (Mon) 15:35:41)~
~
A few weeks ago, a fix was committed for kernel panics ca...
https://marc.info/?l=openbsd-cvs&m=166853221306810&w=2~
~
Therefore, in this release FuguIta-*-202212191, TMPFS is ...
~
At boot time, /ram is mounted with MFS as before, but to ...
The procedure is as follows~
~
To modify LiveUSB, on running FuguIta LiveUSB:
# mount -uw /sysmedia
# mount -uw /fuguita
# sed -i.bak -e '/memfstype=/s/=mfs/=tmpfs/' /fuguita/et...
↑or use your preferred editor
# cat /fuguita/etc/fuguita/global.conf
fuguita_sys_mb=1010 # size of media.img
memfstype=tmpfs # 'mfs' or 'tmpfs' <-- make sure...
mfs_max_mb=30720 # mfs hard limit - 30GB
# mount -ur /fuguita
# mount -ur /sysmedia
# reboot
To generate modified ISO image, on running FuguIta LiveUS...
# cd /
# pax -rwpe sysmedia WORKDIR <-- WORKDIR is the directory
that can have the capa...
# cd WORKDIR/sysmedia
# vnconfig vnd0 fuguita-7.2-amd64.ffsimg
vnd0
# mount /dev/vnd0a /mnt
# sed -i.bak -e '/memfstype=/s/=mfs/=tmpfs/' /mnt/etc/fu...
↑or use your preferred editor
# cat /mnt/etc/fuguita/global.conf
fuguita_sys_mb=1010 # size of media.img
memfstype=tmpfs # 'mfs' or 'tmpfs' <-- make sure...
mfs_max_mb=30720 # mfs hard limit - 30GB
# umount /mnt
# vnconfig -u vnd0
# remaster_dvd.sh <-- generate ISO image
mkhybrid 1.12b5.1
Scanning .
Scanning ./etc
Size of boot image is 4 sectors -> No-emulation CD boot ...
Total translation table size: 0
Total rockridge attributes bytes: 1028
Total directory bytes: 2048
Path table size(bytes): 22
512769 extents written (1001 Mb)
# ls -l .. <-- the ISO image is generated at parent dir...
total 2052114
-rw-r--r-- 1 root wheel 1050150912 Dec 18 06:13 FuguI...
drwxr-xr-x 3 root wheel 512 Oct 22 17:09 sysmedia
When booting with modified media, size of tmpfs is prompt...
available memory: 239M
Enter tmpfs size (0M is auto).
You can add suffix K, M, or G.
% is a percentage of memory size.
and %% is a percentage of the total memory and swap.
otherwise considered "megabytes"
[default: 0M] ->
set tmpfs size to 0MB
With the procedures described above, you can use FuguIta ...
Although note that TMPFS is not completely stable.
TMPFS may cause kernel panic when it is heavily being pag...
For example, this problem can be reproduced by executing ...
#!/bin/sh
# test directory located in tmpfs
#
testdir=/ram # in case of FuguIta
cd $testdir || exit 1
df -h
swapctl -lk
blk=64 # block size of dd write in MB
i=1
while [[ $(df -h | awk '$6 ~ /\/ram$/ { print 0+$5 }') <...
echo "====trying ${i}*${blk}MB ===="
dd if=/dev/zero of=zerofill_${i} bs=1m count=$blk ||...
df -h
swapctl -lk
i=$((i+1))
done
|&ref(realdevice_panic.jpg,,33%);|
|CENTER:Click to enlarge|
//
#comment
----
Former articles are at [[FuguIta/BBS/12]].
End:
This page is archived. ~
Current active BBS is [[FuguIta/BBS]].
----
#contents
----
**no subject [#rdd59385]
>[[liar666]] (2023-04-13 (Thu) 15:49:48)~
~
Hello,~
Thanks for the nice work.~
OpenBSD 7.3 is out.~
Will #FuguIta follow any time soon?~
//
- Of course, I am working towards the release of #FuguIta...
**Usb freeze while boot [#gf17f217]
>[[Boris]] (2023-03-18 (Sat) 08:01:10)~
~
Hey,~
I'm trying to install Fuguita.img file from usb.~
But when i insert the usb and restart my pc,it just freez...
What may cause the problem? ~
Thanks !~
#FuguIta~
//
- Can you show me a few lines of the display just before ...
- Its just Freeze at motherboard screen.Don't have any er...
- What about other LiveUSB systems rather than #FuguIta? ...
- Can boot many other LiveUSB's.Don't know what's wrong....
- I see. So will the OpenBSD installation images, miniroo...
- Even if you cannot boot from USB, you can [[boot the ke...
**dd process does not stop [#va77d088]
>[[Pascal]] (2023-03-17 (Fri) 00:04:47)~
~
Hi,~
I am trying to create a #FuguIta usb key (8G) with the fo...
$gzip -d FuguIta-7.2-amd64-202302271.img.gz~
#dd if=FuguIta-7.2-amd64-202302271.img of=/dev/rsd2c~
~
But after an hour the process does not stop.~
I have to use Ctrl-C to stop~
~
Needs help please~
~
Pascal~
(Sorry for the same post at "Report" page)~
//
- The default I/O block size of dd is 512bytes. This make...
**Unable to expand USB [#bd3e816e]
>[[Aric]] (2023-02-25 (Sat) 04:59:49)~
~
Hello,~
~
I am unable to expand the USB storage using usbfadm. I ha...
~
Is there a way to just install Fugita by hand on a OpenBS...
~
Thanks, Aric~
//
- Please try [[remastering of #FuguIta LiveUSB>FuguItaGui...
**Full Disk Encryption of FuguIta LiveUSB [#q19247ca]
>[[kaw]] (2023-01-24 (Tue) 13:31:31)~
~
FuguIta can remaster LiveUSB using the newdrive function ...
However, in this case, [[the data storage partition can b...
This is so that FuguIta's fresh boot (boot modes 0, 1, an...
~
In contrast, the entire media on which FuguIta LiveUSB is...
~
The procedure is almost identical to [[OpenBSD's full-dis...
~
1. Initialize the desired disk and create an encrypted vo...
2. Apply the newdrive function of the usbfadm utility to ...
~
The specific steps are as follows~
~
''Note:'' The following procedure is valid only for Legac...
~
''Create encrypted volume''~
The work is done with root privileges. In the following e...
~
First, write random data to the entire disk.
test# dd if=/dev/urandom of=/dev/rsd1c bs=1m
dd: /dev/rsd1c: end of device
2049+0 records in
2048+0 records out
2147483648 bytes transferred in 42.961 secs (49986618 by...
Next, initialize the fdisk partition.
test# fdisk -iy sd1
Writing MBR at offset 0.
Create a RAID partition using the disklabel command.
test# disklabel -E sd1
Label editor (enter '?' for help at any prompt)
sd1> a a
offset: [64]
size: [4194240] *
FS type: [4.2BSD] raid
sd1*> w
sd1> q
No label changes.
Create an encrypted volume in the RAID partition you just...
test# bioctl -c C -l /dev/sd1a softraid0
New passphrase:
Re-type passphrase:
softraid0: CRYPTO volume attached as sd2
test# dd if=/dev/zero of=/dev/rsd2c bs=1m count=1
dd: /dev/rsd2c: short write on character device
dd: /dev/rsd2c: end of device
2048+0 records in
2047+1 records out
2147180544 bytes transferred in 70.967 secs (30255841 by...
test#
The encrypted volume sd2 has now been created.~
~
''Installing FuguIta LiveUSB on an encrypted volume''~
Installation of FuguIta LiveUSB on the encrypted volume s...
test# usbfadm
Welcome to usbfadm.
USB flash drive administration tool for FuguIta
Version/Arch: 7.2/amd64 (FuguIta-7.2-amd64-202301181)
Boot mode: manual
Target device: not set
Data saved as: not set
readline capability available
TAB to complete the reserved words
Type ? for help.
? : ? ->newdrive
Please make sure the device inserted.
Then press ENTER ->
==== disk(s) and vnode devices =========================...
sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
sd0: 2048MB, 512 bytes/sector, 4194304 sectors
sd1 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
sd1: 2048MB, 512 bytes/sector, 4194304 sectors
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd2: 2047MB, 512 bytes/sector, 4193712 sectors
vnd0: not in use
vnd1: not in use
vnd2: not in use
vnd3: not in use
vnd4: not in use
vnd5: covering /sysmedia/fuguita-7.2-amd64.ffsimg on sd0...
========================================================...
Enter the name of device which FuguIta will be installed...
Since the entire disk is encrypted, there is no need to e...
user data encryption? [y/N] ->n
~
''Confirmation of operation''~
Confirm that when you boot the created FuguIta LiveUSB, i...
Using drive 0, partition 3
Loading......
probing: pc0 com0 mem[638K 2046M a20=on]
disk: hd0+ sr0*
>> OpenBSD/amd64 BOOT 3.55
Passphrase:
/
>> bsd-fi.mp is for
>> multiprocessor kernel (default).
>> Enter 'bsd-fi' for Uniprocessor.
boot>
cannot open sr0a:/etc/random.seed: No such file or direc...
booting sr0a:/bsd-fi.mp: 15754520+3781648+2256928+0+1179...
entry point at 0xffffffff81001000
[ using 3306912 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All right...
Copyright (c) 1995-2022 OpenBSD. All rights reserved. h...
OpenBSD 7.2-stable (RDROOT.MP) #23: Wed Jan 18 09:09:22 ...
root@nimbus12.localnet:/opt/fi/7.2/sys/arch/amd64/co...
real mem = 2130694144 (2031MB)
avail mem = 2046828544 (1952MB)
//
**setting MFS/TMPFS to mount on /ram (202212272) [#aa0102...
>[[kaw]] (2022-12-28 (Wed) 01:30:25)~
~
When remastering LiveUSB using usbfadm, you can now speci...
fugu-demo# usbfadm
:
sd1d : fugu-demo ->newdrive
:
Type of /ram:
1: [MFS]
2: TMPFS
->
:
Also, when creating LiveDVD images with remaster_dvd.sh, ...
fugu-demo# remaster_dvd.sh -h
Usage: remaster_dvd.sh [-m mfs|tmpfs]
fugu-demo# remaster_dvd.sh -m tmpfs
Changing file system of /ram: from mfs to tmpfs
mkhybrid 1.12b5.1
Scanning .
Scanning ./etc
:
#FuguIta~
//
**TMPFS optionally enabled at 202212191 [#l251334b]
>[[kaw]] (2022-12-19 (Mon) 15:35:41)~
~
A few weeks ago, a fix was committed for kernel panics ca...
https://marc.info/?l=openbsd-cvs&m=166853221306810&w=2~
~
Therefore, in this release FuguIta-*-202212191, TMPFS is ...
~
At boot time, /ram is mounted with MFS as before, but to ...
The procedure is as follows~
~
To modify LiveUSB, on running FuguIta LiveUSB:
# mount -uw /sysmedia
# mount -uw /fuguita
# sed -i.bak -e '/memfstype=/s/=mfs/=tmpfs/' /fuguita/et...
↑or use your preferred editor
# cat /fuguita/etc/fuguita/global.conf
fuguita_sys_mb=1010 # size of media.img
memfstype=tmpfs # 'mfs' or 'tmpfs' <-- make sure...
mfs_max_mb=30720 # mfs hard limit - 30GB
# mount -ur /fuguita
# mount -ur /sysmedia
# reboot
To generate modified ISO image, on running FuguIta LiveUS...
# cd /
# pax -rwpe sysmedia WORKDIR <-- WORKDIR is the directory
that can have the capa...
# cd WORKDIR/sysmedia
# vnconfig vnd0 fuguita-7.2-amd64.ffsimg
vnd0
# mount /dev/vnd0a /mnt
# sed -i.bak -e '/memfstype=/s/=mfs/=tmpfs/' /mnt/etc/fu...
↑or use your preferred editor
# cat /mnt/etc/fuguita/global.conf
fuguita_sys_mb=1010 # size of media.img
memfstype=tmpfs # 'mfs' or 'tmpfs' <-- make sure...
mfs_max_mb=30720 # mfs hard limit - 30GB
# umount /mnt
# vnconfig -u vnd0
# remaster_dvd.sh <-- generate ISO image
mkhybrid 1.12b5.1
Scanning .
Scanning ./etc
Size of boot image is 4 sectors -> No-emulation CD boot ...
Total translation table size: 0
Total rockridge attributes bytes: 1028
Total directory bytes: 2048
Path table size(bytes): 22
512769 extents written (1001 Mb)
# ls -l .. <-- the ISO image is generated at parent dir...
total 2052114
-rw-r--r-- 1 root wheel 1050150912 Dec 18 06:13 FuguI...
drwxr-xr-x 3 root wheel 512 Oct 22 17:09 sysmedia
When booting with modified media, size of tmpfs is prompt...
available memory: 239M
Enter tmpfs size (0M is auto).
You can add suffix K, M, or G.
% is a percentage of memory size.
and %% is a percentage of the total memory and swap.
otherwise considered "megabytes"
[default: 0M] ->
set tmpfs size to 0MB
With the procedures described above, you can use FuguIta ...
Although note that TMPFS is not completely stable.
TMPFS may cause kernel panic when it is heavily being pag...
For example, this problem can be reproduced by executing ...
#!/bin/sh
# test directory located in tmpfs
#
testdir=/ram # in case of FuguIta
cd $testdir || exit 1
df -h
swapctl -lk
blk=64 # block size of dd write in MB
i=1
while [[ $(df -h | awk '$6 ~ /\/ram$/ { print 0+$5 }') <...
echo "====trying ${i}*${blk}MB ===="
dd if=/dev/zero of=zerofill_${i} bs=1m count=$blk ||...
df -h
swapctl -lk
i=$((i+1))
done
|&ref(realdevice_panic.jpg,,33%);|
|CENTER:Click to enlarge|
//
#comment
----
Former articles are at [[FuguIta/BBS/12]].
Page: