[PATCH] Add support for booting from subdirectory in root
Bug #1089038 reported by
Vojtech Bocek
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Attached patch allows booting from some subdirectory on root
device via "rootsubdir" command line parameter. It is very similiar
to booting from loop device, except it uses "mount -o bind".
This is useful for devices whose main OS is not Ubuntu - e.g. android
devices like Nexus 7. Ubuntu then does not have to
replace Android, and can be easily dual-booted.
Note: this patch can't handle paths with spaces, and I don't know how
should that be fixed. Anything with spaces should not be even passed as
kernel parameter I guess. Anyway, the "loop" option has the same problem,
since rootsubdir does almost the same thing.
description: | updated |
description: | updated |
Changed in initramfs-tools (Ubuntu): | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
The attachment "rootsubdir.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]