Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #238311
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: losetup: cannot find an unused loop device , kernel config of loopback device |
| Date | 2021-08-07 10:30 +0200 |
| Message-ID | <CJpSp-2J1-3@gated-at.bofh.it> (permalink) |
| References | <CJpSp-2J1-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
Colin Williams:
> 3) When trying to create the loopback device the script tries to use a
> path
> /mnt/host/src/rc/build/images/kukui/R94-14125.0.2021_08_05_1510-a1/chromiumos_base_image.bin
> which does not exist
The error message of losetup does not match this theory.
Did you make sure that the file really does not exist when the losetup
command fails ?
E.g. by performing
ls -ld "${image}"
immediately before
lb_dev=$(sudo losetup --show -f "$@" "${image}")
> Let me know if I need to re-read your email.
Is there a hard reason why you don't show the output of
losetup -l -a
before, after, and maybe during the script run ?
(I'm not alone with this proposal. See
https://lists.debian.org/debian-user/2021/08/msg00353.html
which was not Cd'ed to you.
)
Have a nice day :)
Thomas
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Re: losetup: cannot find an unused loop device , kernel config of loopback device "Thomas Schmitt" <scdbackup@gmx.net> - 2021-08-07 10:30 +0200
Re: losetup: cannot find an unused loop device , kernel config of loopback device Colin Williams <colin.williams.seattle@gmail.com> - 2021-08-07 14:30 +0200
Re: losetup: cannot find an unused loop device , kernel config of loopback device "Thomas Schmitt" <scdbackup@gmx.net> - 2021-08-07 15:20 +0200
Re: losetup: cannot find an unused loop device , kernel config of loopback device Colin Williams <colin.williams.seattle@gmail.com> - 2021-08-07 22:50 +0200
Re: losetup: cannot find an unused loop device , kernel config of loopback device Colin Williams <colin.williams.seattle@gmail.com> - 2021-08-08 05:50 +0200
Re: losetup: cannot find an unused loop device , kernel config of loopback device David Wright <deblis@lionunicorn.co.uk> - 2021-08-07 19:40 +0200
csiph-web