debian-mini-ro-root-odroid-c1
debian-mini-ro-root-odroid-c1 copied to clipboard
/dev/loop0 device not found error
The make script fails with "/dev/loop0 device not found" error almost at the end of compilation.
What is your host system?
cat /etc/lsb-release
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
uname -a
Linux zenny 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
ls -la /dev/loop*
brw-rw---- 1 root disk 7, 0 Mar 27 07:05 /dev/loop0 brw-rw---- 1 root disk 7, 1 Mar 27 07:05 /dev/loop1 brw-rw---- 1 root disk 7, 2 Mar 27 07:05 /dev/loop2 brw-rw---- 1 root disk 7, 3 Mar 27 07:05 /dev/loop3 brw-rw---- 1 root disk 7, 4 Mar 27 07:05 /dev/loop4 brw-rw---- 1 root disk 7, 5 Mar 27 07:05 /dev/loop5 brw-rw---- 1 root disk 7, 6 Mar 27 07:05 /dev/loop6 brw-rw---- 1 root disk 7, 7 Mar 27 07:05 /dev/loop7 crw------- 1 root root 10, 237 Mar 27 07:05 /dev/loop-control
All dependencies are installed, fyi.
It seems like others have had issues on 14.04. I'm on 14.10 currently and it works fine there. If I have some time, I might set up another 14.04 VM to try it out there.
As a rule of thumb, I do not use anything rolling release stuff with any OS. In Ubuntu's case, it is either 12.04 or 14.04. Does your script works with debian stable (wheezy)?
I don't know, haven't tried it. Unfortunately my time is rather limited. If you have solutions for your problems, I'd love to know about them so that I can fix these scripts :-)
Same issue....
Proir to hitting this issue , I had to add the -uS option to here: "sfdisk -uS --no-reread $outfile <<EOF" in createimg - the image now gets created the correct size. Next i get the "Error: /dev/loop2: unrecognised disk label"
It is unclear to me how the img file is getting mounted. I will keep looking