[PATCH] Add support for booting from subdirectory in root

Bug #1089038 reported by Vojtech Bocek
26
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.

Tags: patch
Revision history for this message
Vojtech Bocek (vbocek) wrote :
description: updated
Vojtech Bocek (vbocek)
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Vojtech Bocek (vbocek)
description: updated
Steve Langasek (vorlon)
Changed in initramfs-tools (Ubuntu):
importance: Undecided → Wishlist
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.