An open API service indexing awesome lists of open source software.

https://github.com/raphaelsc/ufsdriver-for-syslinux

This driver adds UFS (Unix File System) 1/2 support to Syslinux - suite of bootloaders.
https://github.com/raphaelsc/ufsdriver-for-syslinux

Last synced: 28 days ago
JSON representation

This driver adds UFS (Unix File System) 1/2 support to Syslinux - suite of bootloaders.

Awesome Lists containing this project

README

          

Unix Fast File System (UFS/FFS) 1/2 - (usage/install)
-----
To: syslinux@zytor.com

Original version can be found here: http://www.syslinux.org/pipermail/syslinux/2013-July/020511.html

There is a confusion about the name of this file system, then I
decided to contact the author (Kirk McKusick) who replied:
"The name has always been confusing (my bad). The code is broken into
two parts, the part that handles naming (UFS where the U stands for
Unix), and the part that handles disk layout (FFS where the F stands
for Fast).
When the two parts are put together they are called UFS/FFS or more
commonly just UFS."

Dependency:
Package: ufsutils (UFS filesystems utilities)

*** NOTES ***
- These steps were only made under a GNU/Linux environment. Thus, I
can't guarantee the same functionality for any system other than
Linux.

- To add UFS write support to Linux, you need a kernel with the option
CONFIG_UFS_FS_WRITE enabled or at least configured as a module.
To the latter case, just load the module ufs.ko with modprobe
(probably located at: /lib/modules/).
If this option wasn't even configured as a module, then you need to
enable it and recompile your kernel.
Further information can be found here:
http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-debian/

Creating an UFS image:
sudo dd if=/dev/zero of= bs= count=;
- UFS1:
sudo mkfs.ufs -O 1 ;
- UFS2:
sudo mkfs.ufs ;

Mounting an UFS image:
- UFS1:
sudo mount -t ufs -o rw,loop,ufstype=44bsd ;
- UFS2:
sudo mount -t ufs -o rw,loop,ufstype=ufs2 ;

Installing syslinux on an UFS image:
1- The UFS support wasn't yet added to the official tree of
Syslinux, then you will have to apply the following patches yourself:
http://www.syslinux.org/pipermail/syslinux/2013-July/020491.html
http://www.syslinux.org/pipermail/syslinux/2013-July/020492.html

2- After applying the patches and reinstalling the extlinux
installer, just use the following command:
sudo extlinux -i ;

3- Finally, copy the initrd and the kernel image into the mount
point and set up the syslinux config file.

Hope you enjoyed it :)

Feel free to contact me at: raphael.scarv at gmail.com

Regards,
Raphael S. Carvalho