[Bug 1117665] Re: Runing live cd from usb fails when a hibernated windows partition exists
Launchpad Bug Tracker
1117665 at bugs.launchpad.net
Fri Oct 6 21:59:02 UTC 2023
** Merge proposal linked:
https://code.launchpad.net/~crass/casper/+git/casper/+merge/453078
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1117665
Title:
Runing live cd from usb fails when a hibernated windows partition
exists
Status in casper package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1117665/+subscriptions
More information about the foundations-bugs
mailing list