[Bug 173659] Re: Add /host/boot to fstab

2008-01-22 Thread Agostino Russo
** 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.

[Bug 173659] Re: Add /host/boot to fstab

2008-01-18 Thread Agostino Russo
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

[Bug 173659] Re: Add /host/boot to fstab

2008-01-18 Thread Launchpad Bug Tracker
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

[Bug 173659] Re: Add /host/boot to fstab

2008-01-18 Thread Evan Dandrea
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

[Bug 173659] Re: Add /host/boot to fstab

2008-01-17 Thread Evan Dandrea
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

[Bug 173659] Re: Add /host/boot to fstab

2008-01-16 Thread Agostino Russo
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. --

[Bug 173659] Re: Add /host/boot to fstab

2008-01-10 Thread Agostino Russo
** 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

[Bug 173659] Re: Add /host/boot to fstab

2007-12-20 Thread Agostino Russo
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

[Bug 173659] Re: Add /host/boot to fstab

2007-12-19 Thread Agostino Russo
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 exit 0

[Bug 173659] Re: Add /host/boot to fstab

2007-12-18 Thread Agostino Russo
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 ] ||

[Bug 173659] Re: Add /host/boot to fstab

2007-12-13 Thread Agostino Russo
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

[Bug 173659] Re: Add /host/boot to fstab

2007-12-13 Thread Agostino Russo
** 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