20iso_scan fails if "/isodevice" is a read-only device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lupin (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
For example, this can happen when one is trying to boot Ubuntu from an iso image lying on a locked SD-card.
Typical output:
(start)
Error opening '/dev/sdb1': Read only file system
Failed to mount '/dev/sdb1': Read only file system
mount: mounting /dev/sdb1 on /isodevice failed:No such device
Warning:Cannot mount /dev/sdb1 on /isodevice
Could not find the ISO /iso/ubuntu.iso
This could also happen if the file system is not clean because of an operating system crash, an interrupted boot process, an inproper shutdown, or unplugging of a removable device without first unmounting or ejecting it.
(end)
Maybe 20iso_scan should try to mount the device read-only after it failed to mount it with "rw".
Status changed to 'Confirmed' because the bug affects multiple users.