tomeshnet / mesh-orange

A small ramdisk system running modern Debian to support mesh networking on ARM single-board computers
https://tomeshnet.github.io/mesh-orange/
GNU General Public License v2.0
39 stars 7 forks source link

Testenv persistent storage #34

Closed benhylau closed 6 years ago

benhylau commented 6 years ago

~Work in progress. I do not have a machine to test this at the moment.~

Tested:

hamishcoleman commented 6 years ago

Looks good.

You probably want to squash these commits too (If you don't know about it already, perhaps try using "git rebase -i HEAD^^^" and seeing what it can do)

benhylau commented 6 years ago

@hamishcoleman mesh-orange is missing mkfs.vfat and it fails to mount ext4 partitions on qemu_i386, any idea why or am I doing something wrong? I have tried creating /dev/vda1 with fdisk, but unable to find a fs type that I can mount.

I also tried formatting the persistent.storage image with mkfs.vfat from the host, but it does not create a partition named vda1 and so it doesn't match the vd*[0-9] and the conf.d does not get picked up by the confd script.

hamishcoleman commented 6 years ago

The mkfs.vfat is in the dosfsutils package, so it needs to be added to be available - see #40.

The kernel used for the i386 boot only has a limited number of modules available, which does not include ext4 - so thats why that is not working for you.

benhylau commented 6 years ago

@hamishcoleman @darkdrgn2k confirmed this is working now

darkdrgn2k commented 6 years ago

Nice feature +1