Runing live cd from usb fails when a hibernated windows partition exists

Bug #1117665 reported by Glenn Washburn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
New
Undecided
Unassigned

Bug Description

When booting the live cd from a usb flash stick, the kernel needs to be given the file path of the iso in the "iso-scan/filename" kernel parameter. Then the scripts in the initrd will search all partitions until it finds the iso to use as its root filesystem. In order to look into the filesystem on the partition to check for the iso, the filesystems must be mounted. So potentially all filesystems will get mounted.

When a hibernated windows partition exists the ntfs3g mounter will refuse to mount the partition in read/write mode and returns an error. This will cause the search script to die and the boot process to stop, bringing the system to a debugging shell in the initrd.

The source of the problem appears to be on line 30 of /scripts/casper-premount/20iso_scan in the initrd. The line is "find_path "${iso_path}" /isodevice rw" and we can see that the filesystems are mounted read/write, which I suspect is unnecessary since nothing should be written to the filesystem anyway (we are searching for a readonly iso).

This bug essentially prevents usage of the live cd from a usb stick when there is a hibernated windows partition.

Related branches

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.