Comments (5)
I've just come across the error involving loop device while building from script. Where would this code be placed to fix the issue?
I'm using VMware workstation to run ubuntu 18.04lts and build this script. Initially I had allocated too little storage and increased it later. I'm not sure if that's an issue or not.
Error: (the full log of output is much too long, this is the end)
Device Boot Start End Sectors Size Id Type
/pi-gen/work/2019-08-01-FabScanPi/export-image/2019-08-01-FabScanPi-lite.img1 8192 532480 524289 256M c W95 FAT32 (LBA)
/pi-gen/work/2019-08-01-FabScanPi/export-image/2019-08-01-FabScanPi-lite.img2 540672 4300799 3760128 1.8G 83 Linux
Command (m for help): The partition table has been altered.
Syncing disks.
losetup: /pi-gen/work/2019-08-01-FabScanPi/export-image/2019-08-01-FabScanPi-lite.img: failed to set up loop device: No such file or directory
real 76m12.174s
user 0m0.323s
sys 0m0.792s
from fabscanpi-build-raspbian.
This issue should be closed, cause this is not related to the new version of the build script since I switched to using the original pi-gen build script.
Anyway your issue seems to be similar. I would try to build a plain raspbian with pi-gen only. If this works the error is fabscan related. If it not works the loop device problem is a general problem of the build script and you should create an issue in the pi-gen project.
I don't know how Ubuntu handles loop devices in a VMWare session.
from fabscanpi-build-raspbian.
I changed the bash script. It will checkout the latest stable version ( currently buster build ) of pi-gen. This should prevent breaking changes in the master branch.
Maybe the README.md was also wrong. Try to use
sudo ./build-fabscan.sh
instead of
./build-fabscan.sh
Maybe this will fix the error because the default ubuntu user is not able to handle loop devices.
from fabscanpi-build-raspbian.
I did use sudo ./build-fabscan.sh. I'll try building an image like you suggest and see what happens.
from fabscanpi-build-raspbian.
This issue is related to #15
from fabscanpi-build-raspbian.
Related Issues (18)
- apt-cacher-ng stopped working ( 2016-01-01 ) HOT 1
- Chrome Interface issues HOT 1
- add netconnecd HOT 1
- 503 Service Unavailable on haproxy, when fabscanpi server is down
- Add (optional) swap support to image.
- pi-gen build fails while creating loop devices. HOT 2
- issue: Scan Freezes after Texture scanning HOT 3
- fabscan login
- fabscan login
- Add Xvfb as virtual x-server HOT 1
- Add meshlab server HOT 1
- add wifi support and make fabscanpi a AP HOT 2
- fix fabscan pi server start after firstboot script HOT 1
- add autoreset option for new FabScanPi HAT and avrdude HOT 1
- FabScan PI HAT support, missing libs and configs. HOT 1
- Add strace package. HOT 1
- add second ip address range for debug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabscanpi-build-raspbian.