Giter Site home page Giter Site logo

Adding the *BSDs as options about pinn HOT 6 OPEN

procount avatar procount commented on August 25, 2024 1
Adding the *BSDs as options

from pinn.

Comments (6)

procount avatar procount commented on August 25, 2024

I previously looked at the netBSD image. Fdisk (util-linux 2.20.1 on Ubunutu 14.04) only shows the one FAT partition. The rootfs partition is not identified, so I don't know how to process it.

from pinn.

win8linux avatar win8linux commented on August 25, 2024

The rootfs is probably using UFS. Support for UFS is dependent on the kernel's config when it was compiled. You can try running:
sudo modprobe ufs
and trying again.

I'd suggest mounting the image itself with something like this (refer to manpages for more details):
sudo mount -t ufs -o ro,ufstype=ufs2 /dev/sdb2 /mnt/
and seeing what happens.

If that doesn't work, have a look at this and see if it works; it's a bit outdated, but the process should be similar. UFS support is mainly read-only, but the above link describes how to compile a kernel with read-write mounting capability.

For checking if your kernel has a UFS kernel module:
ls -l /lib/modules/4.4.0-21-generic/kernel/fs/'

For example, here's mine:
> $ ls -l /lib/modules/4.4.0-21-generic/kernel/fs/
total 244
drwxr-xr-x 2 root root 4096 Sep 5 2016 9p
drwxr-xr-x 2 root root 4096 Sep 5 2016 adfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 affs
drwxr-xr-x 2 root root 4096 Sep 5 2016 afs
drwxr-xr-x 2 root root 4096 Sep 5 2016 aufs
drwxr-xr-x 2 root root 4096 Sep 5 2016 autofs4
drwxr-xr-x 2 root root 4096 Sep 5 2016 befs
drwxr-xr-x 2 root root 4096 Sep 5 2016 bfs
-rw-r--r-- 1 root root 27390 Apr 19 2016 binfmt_misc.ko
drwxr-xr-x 2 root root 4096 Sep 5 2016 btrfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 cachefiles
drwxr-xr-x 2 root root 4096 Sep 5 2016 ceph
drwxr-xr-x 2 root root 4096 Sep 5 2016 cifs
drwxr-xr-x 2 root root 4096 Sep 5 2016 coda
drwxr-xr-x 2 root root 4096 Sep 5 2016 configfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 cramfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 dlm
drwxr-xr-x 2 root root 4096 Sep 5 2016 efs
drwxr-xr-x 2 root root 4096 Sep 5 2016 exofs
drwxr-xr-x 2 root root 4096 Sep 5 2016 f2fs
drwxr-xr-x 2 root root 4096 Sep 5 2016 fat
drwxr-xr-x 2 root root 4096 Sep 5 2016 freevxfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 fscache
drwxr-xr-x 2 root root 4096 Sep 5 2016 fuse
drwxr-xr-x 2 root root 4096 Sep 5 2016 gfs2
drwxr-xr-x 2 root root 4096 Sep 5 2016 hfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 hfsplus
drwxr-xr-x 2 root root 4096 Sep 5 2016 hpfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 isofs
drwxr-xr-x 2 root root 4096 Sep 5 2016 jffs2
drwxr-xr-x 2 root root 4096 Sep 5 2016 jfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 lockd
drwxr-xr-x 2 root root 4096 Sep 5 2016 minix
drwxr-xr-x 2 root root 4096 Sep 5 2016 ncpfs
drwxr-xr-x 6 root root 4096 Sep 5 2016 nfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 nfs_common
drwxr-xr-x 2 root root 4096 Sep 5 2016 nfsd
drwxr-xr-x 2 root root 4096 Sep 5 2016 nilfs2
drwxr-xr-x 2 root root 4096 Sep 5 2016 nls
drwxr-xr-x 2 root root 4096 Sep 5 2016 ntfs
drwxr-xr-x 5 root root 4096 Sep 5 2016 ocfs2
drwxr-xr-x 2 root root 4096 Sep 5 2016 omfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 overlayfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 pstore
drwxr-xr-x 2 root root 4096 Sep 5 2016 qnx4
drwxr-xr-x 2 root root 4096 Sep 5 2016 qnx6
drwxr-xr-x 2 root root 4096 Sep 5 2016 quota
drwxr-xr-x 2 root root 4096 Sep 5 2016 reiserfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 romfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 squashfs
drwxr-xr-x 2 root root 4096 Sep 5 2016 sysv
drwxr-xr-x 2 root root 4096 Sep 5 2016 ubifs
drwxr-xr-x 2 root root 4096 Sep 5 2016 udf
drwxr-xr-x 2 root root 4096 Sep 5 2016 ufs
drwxr-xr-x 2 root root 4096 Sep 5 2016 xfs

from pinn.

procount avatar procount commented on August 25, 2024

That would also mean compiling UFS into the PINN kernel as well, and understanding how to adjust the partitions in UFS/xxxBSD through partition_setup.sh. I'm not saying no, but I'm afraid it will be low priority as I have plenty of other things to do beforehand. Unless you want to provide any of these as a NOOBS image and a PR to add UFS into PINN.....

from pinn.

win8linux avatar win8linux commented on August 25, 2024

Does it have to be read-write? If not, then the PINN kernel could already be used as is since read-only UFS support is default since the 2.6.x versions (possibly further back).

from pinn.

procount avatar procount commented on August 25, 2024

In a Linux rootfs, NOOBS/PINN needs to alter fstab to load the boot partition on the correct device. I have no knowledge of *bsd systems and what is required.

RISC OS uses a BLOB file containing its filesystem and RISC needs to be located at a particular offset/place on the device, which side-steps the issue. But this BLOB causes problems with Ubuntu 16 onwards as that filesystem has been enabled again and gets detected before the FAT partition table, whether RISC OS is installed or not, which is why I still use Ubuntu 14.

from pinn.

win8linux avatar win8linux commented on August 25, 2024

If that's what is used with RISC OS, then is it possible to make BLOB files for *BSD systems? I'm not quite sure, but I don't think that the BSDs would necessarily require specific offsets/places on the device. It is an option, though; I'd suggest placing them near the end as the last partitions to be made.

BTW I'm using Linux Mint 18 KDE (based on Ubuntu 16.04), which would explain the prescence of the ADFS kernel module in my system.

from pinn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.