** Changed in: wubi
Assignee: (unassigned) => Agostino Russo (ago)
Status: Fix Committed => Fix Released
--
Add /host/boot to fstab
https://bugs.launchpad.net/bugs/173659
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
This bug was fixed in the package partman-auto-loop - 0ubuntu13
---
partman-auto-loop (0ubuntu13) hardy; urgency=low
[ Agostino Russo ]
* Allow disk images to be created externally (LP: #176019).
* Added template required by autopartition-loop.
[ Evan Dandrea ]
* Add /host/
My mistake. I somehow missed the obvious, that /boot needs to be
outside the loop.
--
Add /host/boot to fstab
https://bugs.launchpad.net/bugs/173659
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
ubun
Evan,
If you loopinstall inside linux, it will use
/loopinstallation/disks/boot as /boot when you are within the
loopinstallation. Then the user will have to add an option to their
regular grub pointing at /loopinstallation/disks/boot/grub/menu.lst. I
did not test this configuration, but I assume
Upon closer inspection and testing this out, I've realized that this
will apply for cases where someone wants to have a loop install inside a
Linux partition where /boot is also present, such as the default Ubuntu
install. This is problematic as it seemingly breaks such setups.
--
Add /host/boot
It might be safer to add the following check to
/lib/partman/mount.d/70bind
[ "$type" = none ] || exit 1
--
Add /host/boot to fstab
https://bugs.launchpad.net/bugs/173659
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-
** Changed in: wubi
Importance: Undecided => Medium
Status: New => Fix Committed
--
Add /host/boot to fstab
https://bugs.launchpad.net/bugs/173659
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing li
For a more recent versions of the patches above please see:
https://code.launchpad.net/~ago/partman-auto-loop/lupin-support
--
Add /host/boot to fstab
https://bugs.launchpad.net/bugs/173659
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for U
Following is /lib/partman/mount.d/70bind which is required to mount
entries of fstab that use binding
#!/bin/sh
set -- $1
fs=$1
mp=$2
type=$3
options=$4
dump=$5
pass=$6
case "$options" in
*bind*)
mount -o "$options" $fs /target$mp || exit 1
echo "umount /target$mp"
ex
Following version works (better). Mounting scripts in
/lib/partman/finish.d do not seem to digest bindmounts though, will give
a better look tomorrow.
#!/bin/sh
. /lib/partman/definitions.sh
finish(){
close_dialog
exit 0
}
for dev in $DEVICES/*; do
[ -d $dev ] || continu
** Tags added: wubi
--
Add /host/boot to fstab
https://bugs.launchpad.net/bugs/173659
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listin
Untested, but something along those lines in /lib/partman/fstab.d might
do the trick. The script checks whether / is on a loopfile and whether
there is a "boot" directory in the same path of the loopfile, in which
case it bindsmount boot.
#!/bin/sh
. /lib/partman/definitions.sh
for dev in $DEVI
12 matches
Mail list logo