Public bug reported:

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.

** Affects: casper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1117665

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1117665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to