debian-mini-ro-root-odroid-c1 icon indicating copy to clipboard operation
debian-mini-ro-root-odroid-c1 copied to clipboard

/dev/loop0 device not found error

Open zenny opened this issue 9 years ago • 6 comments

The make script fails with "/dev/loop0 device not found" error almost at the end of compilation.

zenny avatar Mar 26 '15 20:03 zenny

What is your host system?

tomuta avatar Mar 27 '15 02:03 tomuta

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.

zenny avatar Mar 27 '15 06:03 zenny

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.

tomuta avatar Mar 29 '15 22:03 tomuta

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)?

zenny avatar Mar 30 '15 10:03 zenny

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 :-)

tomuta avatar Mar 30 '15 15:03 tomuta

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

ghost avatar Apr 26 '16 15:04 ghost