[Bug 176112] Re: Suspend-to-ram does not work in loop-installations

2008-02-28 Thread Agostino Russo
** Attachment added: "uname-a.log" http://launchpadlibrarian.net/12281692/uname-a.log -- Suspend-to-ram does not work in loop-installations https://bugs.launchpad.net/bugs/176112 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ub

[Bug 176112] Re: Suspend-to-ram does not work in loop-installations

2008-02-28 Thread Agostino Russo
** Attachment added: "version.log" http://launchpadlibrarian.net/12281693/version.log -- Suspend-to-ram does not work in loop-installations https://bugs.launchpad.net/bugs/176112 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ub

[Bug 176112] Re: Suspend-to-ram does not work in loop-installations

2008-02-28 Thread Agostino Russo
** Attachment added: "lspci-vvnn.log" http://launchpadlibrarian.net/12281691/lspci-vvnn.log -- Suspend-to-ram does not work in loop-installations https://bugs.launchpad.net/bugs/176112 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 146692] Re: Gutsy will not boot on Samsung Q45 laptops

2008-01-29 Thread Agostino Russo
Problem still present with Hardi daily build 24-01-2008, kernel 2.6.24-4 -- Gutsy will not boot on Samsung Q45 laptops https://bugs.launchpad.net/bugs/146692 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing l

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-01-29 Thread Agostino Russo
To keep verbosity in line with original file see also http://paste.ubuntu-nl.org/53974/ -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.launchpad.net/bugs/151579 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug

[Bug 186711] Re: The installer needs to remove operating system files from the install target, but was unable to do so. The install cannot continue

2008-01-30 Thread Agostino Russo
** Also affects: wubi Importance: Undecided Status: New -- The installer needs to remove operating system files from the install target, but was unable to do so. The install cannot continue https://bugs.launchpad.net/bugs/186711 You received this bug notification because you are a memb

[Bug 187282] Re: update-initramfs -u fails with "WARNING: /boot is ro mounted." even if /boot is rw

2008-01-30 Thread Agostino Russo
** Also affects: initramfs-tools (Ubuntu) Importance: Undecided Status: New ** Description changed: That is due to the check for /boot ro status, since they look for the substring "ro" within /proc/mounts options column, which is also - triggered by "group_id". + triggered by "group

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-30 Thread Agostino Russo
** Changed in: grub (Ubuntu) Status: Fix Released => In Progress -- Update-grub does not set kopt correctly in loopinstallations https://bugs.launchpad.net/bugs/175772 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubun

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-30 Thread Agostino Russo
It is necessary to remove the check: if [ -f "$loop_file" ]; then Since when update-grub is run by grub-installer in a chrooted installation, /host is not accessible and hence the above block will always evaluate to false. The fact that finde_device > readlink fails and defaults to /dev/hda1 is i

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-30 Thread Agostino Russo
better still: - if [ -f "$loop_file" ]; then + if [ -n "$loop_file" ]; then -- Update-grub does not set kopt correctly in loopinstallations https://bugs.launchpad.net/bugs/175772 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. --

[Bug 186114] Re: umountroot cannot handle fuse host mounts

2008-01-30 Thread Agostino Russo
Depends on https://bugs.launchpad.net/wubi/+bug/186117 ** Changed in: wubi Importance: Undecided => Medium Status: New => Confirmed -- umountroot cannot handle fuse host mounts https://bugs.launchpad.net/bugs/186114 You received this bug notification because you are a member of Ubuntu

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-01-30 Thread Agostino Russo
** Changed in: wubi Status: In Progress => Fix Released -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.launchpad.net/bugs/151579 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. --

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-30 Thread Agostino Russo
** Changed in: wubi Status: In Progress => Fix Released -- Update-grub does not set kopt correctly in loopinstallations https://bugs.launchpad.net/bugs/175772 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs m

[Bug 187282] Re: update-initramfs -u fails with "WARNING: /boot is ro mounted." even if /boot is rw

2008-01-30 Thread Agostino Russo
** Changed in: wubi Status: Confirmed => Fix Released -- update-initramfs -u fails with "WARNING: /boot is ro mounted." even if /boot is rw https://bugs.launchpad.net/bugs/187282 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubunt

[Bug 186711] Re: The installer needs to remove operating system files from the install target, but was unable to do so. The install cannot continue

2008-01-31 Thread Agostino Russo
** Changed in: wubi Status: New => Fix Released -- The installer needs to remove operating system files from the install target, but was unable to do so. The install cannot continue https://bugs.launchpad.net/bugs/186711 You received this bug notification because you are a member of Ubunt

[Bug 181734] Re: Prompt the user to insert a CD if a live media is not detected

2008-02-01 Thread Agostino Russo
** Also affects: wubi Importance: Undecided Status: New ** Tags added: wubi ** Changed in: wubi Importance: Undecided => Wishlist -- Prompt the user to insert a CD if a live media is not detected https://bugs.launchpad.net/bugs/181734 You received this bug notification because you

[Bug 188460] [NEW] Device.map is missing in loopinstallations (bindmounted boot)

2008-02-02 Thread Agostino Russo
Public bug reported: Binary package hint: grub In loopinstallations (/boot is bindmounted from /host/ubuntu/disks/boot) no device.map is generated. This causes update-grub to default to (hd0,0) ** Affects: grub (Ubuntu) Importance: Undecided Status: New -- Device.map is missing

[Bug 188460] Re: Device.map is missing in loopinstallations (bindmounted boot)

2008-02-02 Thread Agostino Russo
Cannot check the code now, but one reason might be that grub-install is not executed at all for loopinstallations. If that is the case, either grub-install has to be run targeting the loop device or device.map has to be generated separately via grub --batch --device-map. ** Also affects: wubi I

[Bug 188460] Re: Device.map is missing in loopinstallations (bindmounted boot)

2008-02-03 Thread Agostino Russo
Apparently grub-install does not like loopdevices, so the only solution seems to be to regenerate the device.map manually. The folling block should go in grub-installer ~ line 570 if db_get grub-installer/bootdev_directory && [ "$RET" ]; then bootdev= if ! [ -f "$device_map" ]; th

[Bug 187463] Re: Disable hibernate button

2008-02-04 Thread Agostino Russo
Suspend-to-ram/disk has to be disabled in loopinstallations because of https://bugs.launchpad.net/wubi/+bug/176112 ** Description changed: - In the shutdown dialog there is still a button for hibernation even if - that should be disabled/hidden since hibernation does not work in Wubi. + In loopin

[Bug 187463] Re: Disable hibernate button

2008-02-04 Thread Agostino Russo
The code to disable suspend-to-ram/suspend-to-disk is in powermanagement-interface/pmi.acpi (|grep host) But there does not seem to be any trace of that in pmi-utils (which is supposed to replace pmi). As mentioned, in hardy loopinstallations, at the moment suspend-to-ram is disabled (possibly via

[Bug 187463] Re: Disable hibernation in Loopinstallations

2008-02-04 Thread Agostino Russo
** Summary changed: - Disable hibernate button + Disable hibernation in Loopinstallations -- Disable hibernation in Loopinstallations https://bugs.launchpad.net/bugs/187463 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubunt

[Bug 187463] Re: Disable hibernation in Loopinstallations

2008-02-04 Thread Agostino Russo
** Tags added: wubi -- Disable hibernation in Loopinstallations https://bugs.launchpad.net/bugs/187463 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.c

[Bug 181658] Grubinstaller fails when /boot is bindmounted

2008-01-09 Thread Agostino Russo
Public bug reported: Binary package hint: grub-installer Grubinstaller fails when /boot is bindmounted as is the case in https://blueprints.launchpad.net/ubuntu/+spec/installer-for-windows. Patch provided: === modified file 'grub-installer' --- grub-installer 2007-12-20 11:59:33 + +++ g

[Bug 181669] local-bottom/ntfs-3g fails to set sendsigs.omit

2008-01-09 Thread Agostino Russo
Public bug reported: Binary package hint: initramfs-tools Since $ROOTFSTYPE and $LOOPFSTYPE are null even when loopmounting over ntfs, sendsigs.omit is never set. This results in system freeze when halting/rebooting. I am not sure that checking ROOTFSTYPE/LOOPFSTYPE is necessary, simply executi

[Bug 181658] Re: Grubinstaller fails when /boot is bindmounted

2008-01-09 Thread Agostino Russo
** Also affects: wubi Importance: Undecided Status: New -- Grubinstaller fails when /boot is bindmounted https://bugs.launchpad.net/bugs/181658 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 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-09 Thread Agostino Russo
diff -u --- /home/src/extern/grub-0.97/debian/update-grub 2007-10-09 21:52:49.0 +0100 +++ update-grub 2008-01-02 09:05:01.0 + @@ -297,7 +297,18 @@ crashdump="0" # Default kernel options, overidden by the kopt statement in the menufile. -kopt="root=$(awk '$2 == "/" {p

[Bug 181658] Re: grub-installer fails when /boot is bindmounted

2008-01-09 Thread Agostino Russo
** Summary changed: - Grubinstaller fails when /boot is bindmounted + grub-installer fails when /boot is bindmounted -- grub-installer fails when /boot is bindmounted https://bugs.launchpad.net/bugs/181658 You received this bug notification because you are a member of Ubuntu Bugs, which is the b

[Bug 181734] Prompt the user to insert a CD if a live media is not detected

2008-01-10 Thread Agostino Russo
Public bug reported: Binary package hint: casper At the moment if a live media is not detected the initrd loops waiting for one, then panics. It would be better to simply prompt the user to insert a valid CD. ** Affects: casper (Ubuntu) Importance: Undecided Status: New -- Promp

[Bug 176112] Re: Suspend-to-ram does not work in loop-installations

2008-01-10 Thread Agostino Russo
Leann It happends during suspend, not resume (resume might be problematic too, but never went that far). The issue was present on every kernel/hardware combination I have tried and confirmed by several wubi users. My uneducated guess is that stopping userspace processes such as fuse/ntfs-3g too e

[Bug 144798] Re: Merge lupin functionality + add external hooks

2008-01-10 Thread Agostino Russo
** Changed in: wubi Importance: Undecided => Low Status: New => In Progress -- Merge lupin functionality + add external hooks https://bugs.launchpad.net/bugs/144798 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubun

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-01-10 Thread Agostino Russo
** Changed in: wubi Importance: Undecided => High Status: New => In Progress -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.launchpad.net/bugs/151579 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug c

[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 li

[Bug 176014] Re: Do not eject the CD if an ISO image is used

2008-01-10 Thread Agostino Russo
Fix released upstream ** Changed in: wubi Status: New => Fix Released -- Do not eject the CD if an ISO image is used https://bugs.launchpad.net/bugs/176014 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mai

[Bug 181669] Re: local-bottom/ntfs-3g fails to set sendsigs.omit

2008-01-10 Thread Agostino Russo
Fix submitted upstream ** Changed in: wubi Importance: Undecided => Medium Status: New => In Progress -- local-bottom/ntfs-3g fails to set sendsigs.omit https://bugs.launchpad.net/bugs/181669 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug c

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-10 Thread Agostino Russo
** Changed in: wubi Importance: Undecided => Medium Status: New => Fix Committed -- Update-grub does not set kopt correctly in loopinstallations https://bugs.launchpad.net/bugs/175772 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact fo

[Bug 181658] Re: grub-installer fails when /boot is bindmounted

2008-01-10 Thread Agostino Russo
Fix submitted upstream ** Changed in: wubi Importance: Undecided => Medium Status: New => In Progress -- grub-installer fails when /boot is bindmounted https://bugs.launchpad.net/bugs/181658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug co

[Bug 177868] Re: When loopfiles are used mkfs has to target the file and not the containing device

2008-01-10 Thread Agostino Russo
** Changed in: wubi Importance: Undecided => Low Status: New => Fix Committed -- When loopfiles are used mkfs has to target the file and not the containing device https://bugs.launchpad.net/bugs/177868 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 176112] Re: Suspend-to-ram does not work in loop-installations

2008-01-10 Thread Agostino Russo
** Changed in: wubi Importance: Undecided => Medium Status: New => Confirmed -- Suspend-to-ram does not work in loop-installations https://bugs.launchpad.net/bugs/176112 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. --

[Bug 176019] Re: Disk images might be generated on the Windows side

2008-01-10 Thread Agostino Russo
** Changed in: wubi Importance: Undecided => Medium Status: New => Fix Committed -- Disk images might be generated on the Windows side https://bugs.launchpad.net/bugs/176019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu.

[Bug 181669] Re: local-bottom/ntfs-3g fails to set sendsigs.omit

2008-01-10 Thread Agostino Russo
** Changed in: wubi Status: In Progress => Fix Committed -- local-bottom/ntfs-3g fails to set sendsigs.omit https://bugs.launchpad.net/bugs/181669 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 181658] Re: grub-installer fails when /boot is bindmounted

2008-01-10 Thread Agostino Russo
** Changed in: wubi Status: In Progress => Fix Committed -- grub-installer fails when /boot is bindmounted https://bugs.launchpad.net/bugs/181658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list u

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-01-10 Thread Agostino Russo
** Changed in: wubi Status: In Progress => Fix Committed -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.launchpad.net/bugs/151579 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. --

[Bug 144798] Re: Merge lupin functionality + add external hooks

2008-01-10 Thread Agostino Russo
** Changed in: wubi Status: In Progress => Fix Committed -- Merge lupin functionality + add external hooks https://bugs.launchpad.net/bugs/144798 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list u

[Bug 181669] Re: local-bottom/ntfs-3g fails to set sendsigs.omit

2008-01-14 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- local-bottom/ntfs-3g fails to set sendsigs.omit https://bugs.launchpad.net/bugs/181669 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 177868] Re: When loopfiles are used mkfs has to target the file and not the containing device

2008-01-14 Thread Agostino Russo
Evan, Since the packages affected are a bit scattered, Colin suggest to submit one patch for a single package to be extended to the others. As far as I am concerned I need ext3 and swap ** Changed in: wubi Status: Fix Released => Fix Committed -- When loopfiles are used mkfs has to targe

[Bug 177868] Re: When loopfiles are used mkfs has to target the file and not the containing device

2008-01-14 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- When loopfiles are used mkfs has to target the file and not the containing device https://bugs.launchpad.net/bugs/177868 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ub

[Bug 176019] Re: Disk images might be generated on the Windows side

2008-01-14 Thread Agostino Russo
Done in new version -- Disk images might be generated on the Windows side https://bugs.launchpad.net/bugs/176019 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://list

[Bug 181658] Re: grub-installer fails when /boot is bindmounted

2008-01-22 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- grub-installer fails when /boot is bindmounted https://bugs.launchpad.net/bugs/181658 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 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-22 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- Update-grub does not set kopt correctly in loopinstallations https://bugs.launchpad.net/bugs/175772 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs

[Bug 176019] Re: Disk images might be generated on the Windows side

2008-01-22 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- Disk images might be generated on the Windows side https://bugs.launchpad.net/bugs/176019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing l

[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

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-01-25 Thread Agostino Russo
Still not working. The issue is due to the use of umount -f -d. The previous patch basically skipped the mountpoints (as opposed to skipping devices). But umount -f -d also affects the underlying devices (e.g. in bindmounts). The proposed solutions skips the mountpoints listed at the top of /proc/m

[Bug 177868] Re: When loopfiles are used mkfs has to target the file and not the containing device

2008-01-25 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- When loopfiles are used mkfs has to target the file and not the containing device https://bugs.launchpad.net/bugs/177868 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ub

[Bug 186117] [NEW] Cannot remount ntfs

2008-01-26 Thread Agostino Russo
Public bug reported: Binary package hint: ntfs-3g In Hardy (ntfs-3g version 1.1120) it is no longer possible to remount ntfs partitions. The error message is: "Remounting is not supported at present. You have to umount volume and then mount it again". But that seemed to work in Gutsy (ntfs-3g ver

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-01-26 Thread Agostino Russo
In fact only the -f flag is problematic. See new patch which is a bit less invasive --- /etc/init.d/umountfs2007-10-04 12:25:08.0 +0100 +++ umountfs2008-01-26 07:20:48.0 + @@ -60,18 +60,20 @@ do_stop () { exec 9<&0 https://bugs.launchpad.net/bugs/151579 Y

[Bug 144798] Re: Merge lupin functionality + add external hooks

2008-01-25 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- Merge lupin functionality + add external hooks https://bugs.launchpad.net/bugs/144798 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 186114] [NEW] umountroot cannot handle fuse host mounts

2008-01-26 Thread Agostino Russo
Public bug reported: Binary package hint: sysvinit If root is loopmounted the host mount will be handled by the initrd and will not show up in fstab Hence explicit DEV and TYPE are required. For fuse mounted hosts the TYPE in /proc/mounts is fusblk so we need to rely on vol_id first to get the

[Bug 131646] Re: TVout is interfering with screen resolution on Intel graphics

2008-01-29 Thread Agostino Russo
I can confirm the issue is still present in Hardy (24-1-2008 build). I am also using a Samsung Q45 with intel graphics (https://wiki.ubuntu.com/LaptopTestingTeam/SamsungQ45). -- TVout is interfering with screen resolution on Intel graphics https://bugs.launchpad.net/bugs/131646 You received this

[Bug 146692] Re: Gutsy will not boot on Samsung Q45 laptops

2008-01-29 Thread Agostino Russo
** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- Gutsy will not boot on Samsung Q45 laptops https://bugs.launchpad.net/bugs/146692 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailin

[Bug 141217] Human message when an existing installation is detected

2007-09-20 Thread Agostino Russo
Public bug reported: Binary package hint: partman-auto-loop If an existing (loop) installation is detected, the installer should stop with a non-branded non-geek message, something like: "An existing installation has been detected, you will have to uninstall that first and then run the installer

[Bug 175772] Update-grub does not set kopt correctly in loopinstallations

2007-12-11 Thread Agostino Russo
Public bug reported: Binary package hint: grub Update-grub does not set kopt correctly in loopinstallations, the following patch should improve the situation. This bug blocks https://blueprints.launchpad.net/ubuntu/+spec/installer-for-windows 300,311c300 < loop_file=$(awk '$2=="/" && $4~"loop" {

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2007-12-11 Thread Agostino Russo
Patch provided 66,67d65 < loop_file=$(awk '$2=="/" && $4~"loop" {print $1}' /etc/fstab) < host_device=$(awk '"'${loop_file}'"~"^"$2 && $2!="/" {print $1}' /proc/mounts) 70,71c68 < [ "$DEV" = "'$host_device'" ] && continue < case "$MTPT" in --- > case "$

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2007-12-12 Thread Agostino Russo
As suggested by Colin Watson, a better fix would be to skip every device that appears in /proc/mounts before / does. I will provide a second patch to that effect, the above only skips loop installations. -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.lau

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2007-12-12 Thread Agostino Russo
Perhaps the following will do root_line=$(awk '$1!~"^rootfs" && $2=="/" {print NR}' /proc/mounts) skip_devices=$(head -n $root_line /proc/mounts | cut -d ' ' -f 1) echo $skip_devices | grep -qs $DEV"$" && continue -- umountfs must check whether a mountpoint contains a loopmounted root file

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2007-12-12 Thread Agostino Russo
Of course umountroot also needs to be patched so that any remaining host filesystems are unmounted/remounted ro. That is quite similar to run umountfs (without the above patch) again after umountroot. -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.launch

[Bug 144798] Re: Merge lupin functionality + add external hooks

2007-12-12 Thread Agostino Russo
I have added a preliminary implementation of the above to lupin/casper Still missing are the hooks for: /custom-installation/hooks/early_command.sh /custom-installation/hooks/late_command.sh /custom-installation/hooks/success_command.sh They should work as the casper hooks for /custom- installat

[Bug 144798] Re: Merge lupin functionality + add external hooks

2007-12-12 Thread Agostino Russo
I'd also suggest to designate a folder to act as a temporary local repository: /custom_installation/repository And another folder: /custom_installation/sources.list.d Containing repositories to be added to /etc/apt/sources.list.d -- Merge lupin functionality + add external hooks https://bugs.

[Bug 173659] Add /host/boot to fstab

2007-12-03 Thread Agostino Russo
Public bug reported: Binary package hint: partman-auto-loop The following line should be added to fstab whenever we are dealing with a loop installation that has the boot folder as a directory inside of the host filesystem (in the case below /host/ubuntu/disks/boot): /host/ubuntu/disks/boot /boo

[Bug 150831] Re: Fails to set sendsig.omit

2007-12-03 Thread Agostino Russo
echo pidof mount.ntfs >> /dev/.initramfs/varrun/ of course -- Fails to set sendsig.omit https://bugs.launchpad.net/bugs/150831 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.c

[Bug 150831] Re: Fails to set sendsig.omit

2007-12-03 Thread Agostino Russo
Also for some reason it works with echo pidof mount.ntfs >> /var/run/sendsigs.omit but not with echo pidof /sbin/mount.ntfs >> /var/run/sendsigs.omit -- Fails to set sendsig.omit https://bugs.launchpad.net/bugs/150831 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 176019] Re: Disk images might be generated on the Windows side

2007-12-20 Thread Agostino Russo
For a more recent versions of the patch code please see: https://code.launchpad.net/~ago/partman-auto-loop/lupin-support -- Disk images might be generated on the Windows side https://bugs.launchpad.net/bugs/176019 You received this bug notification because you are a member of Ubuntu Bugs, which

[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 U

[Bug 177868] When loopfiles are used mkfs has to target the file and not the containing device

2007-12-21 Thread Agostino Russo
Public bug reported: Binary package hint: partman-ext3 When loopfiles are used, mkfs has to target the file and not the containing device. Preliminary patch is provided. Similar patches should also be applied to other commit.d/*format_* scripts. loopfile=$(losetup $device 2>/dev/null|cut -f 3 -d

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2007-12-21 Thread Agostino Russo
The patched file is available at: http://codebrowse.launchpad.net/~ubuntu- installer/lupin/hardy/annotate/ago%40nbago-20071212234211-5cirxnh5zfkgqvzh?file_id=updategrub-20071021190150-hexwoe8fo26l1f9b-10 -- Update-grub does not set kopt correctly in loopinstallations https://bugs.launchpad.net/b

[Bug 177868] Re: When loopfiles are used mkfs has to target the file and not the containing device

2007-12-21 Thread Agostino Russo
To make it even safer one might also check for the existance of /var/lib/partman/devices/$dev/loop loopfile=$(losetup $device 2>/dev/null|cut -f 3 -d ' ') loopfile=${loopfile#\(} loopfile=${loopfile%\)} [ -z "$loopfile" ] && [ -f loop ] && loopfile=$(cat loop) if [ -n "$loopfile" ]; then if log

[Bug 176014] Do not eject the CD if an ISO image is used

2007-12-12 Thread Agostino Russo
Public bug reported: Binary package hint: casper If the installation is performed via the live ISO as opposed to using a physical CD, /etc/init.d/casper should avoid ejecting the CD Adding the following code to /etc/init.d/casper (line 70) should be enough: # check for HD ISO boot if grep -qs f

[Bug 176019] Disk images might be generated on the Windows side

2007-12-12 Thread Agostino Russo
Public bug reported: Binary package hint: partman-auto-loop Creating disk images in Linux is slow, and unless fallocate is implemented, it will be necessary to generate the images on the windows side. The following is a preliminary patch against autopartition-loop 97,102c97 < #skip resize_range

[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 $DEVI

[Bug 176112] Suspend-to-ram does not work in loop-installations

2007-12-13 Thread Agostino Russo
Public bug reported: In loopinstallations such as the ones used by the Windows Installer (https://blueprints.launchpad.net/ubuntu/+spec/installer-for-windows) root is loop mounted on a file within ntfs (in turn mounted via ntfs- 3g/fuse). In such scenario suspend-to-ram fails, Matthew Garrett had

[Bug 176014] Re: Do not eject the CD if an ISO image is used

2007-12-13 Thread Agostino Russo
** Tags added: wubi -- Do not eject the CD if an ISO image is used https://bugs.launchpad.net/bugs/176014 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.ubunt

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2007-12-13 Thread Agostino Russo
** Tags added: wubi -- Update-grub does not set kopt correctly in loopinstallations https://bugs.launchpad.net/bugs/175772 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 ht

[Bug 176112] Re: Suspend-to-ram does not work in loop-installations

2007-12-13 Thread Agostino Russo
** Tags added: wubi ** Also affects: wubi Importance: Undecided Status: New -- Suspend-to-ram does not work in loop-installations https://bugs.launchpad.net/bugs/176112 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. --

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2007-12-13 Thread Agostino Russo
** Tags added: wubi ** Also affects: wubi Importance: Undecided Status: New -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.launchpad.net/bugs/151579 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug c

[Bug 176019] Re: Disk images might be generated on the Windows side

2007-12-13 Thread Agostino Russo
** Tags added: wubi -- Disk images might be generated on the Windows side https://bugs.launchpad.net/bugs/176019 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://list

[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 https://lists.ubuntu.com/mailman/listin

[Bug 144798] Re: Merge lupin functionality + add external hooks

2007-12-13 Thread Agostino Russo
** Tags added: wubi -- Merge lupin functionality + add external hooks https://bugs.launchpad.net/bugs/144798 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.ub

[Bug 176019] Re: Disk images might be generated on the Windows side

2007-12-17 Thread Agostino Russo
The template message was truncated: Template: partman-auto-loop/unclean_ntfs Type: error Description: The NTFS partition is unclean, probably the system was not shutdown properly, please run "chkdsk /r" from Windows and once that is fixed you should be able to resume the installation. Press

[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 ] || continu

[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" ex

[Bug 175772] Re: Update-grub does not set kopt correctly in loopinstallations

2008-01-08 Thread Agostino Russo
** Description changed: Binary package hint: grub Update-grub does not set kopt correctly in loopinstallations, the following patch should improve the situation. This bug blocks https://blueprints.launchpad.net/ubuntu/+spec/installer-for-windows 300,311c300 < loop_file=$(awk '$2=

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-03-31 Thread Agostino Russo
All the ones before (and including) / That is required in situations where / is inside another device (e.g. / is inside /host/path/to/root.containing.loopfile where /dev/sdXY is mounted as /host), otherwise unmounting /host would be equivalent to unmounting /. Host devices will appear before / in

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-03-31 Thread Agostino Russo
One thing worth considering is allowing the list of TMPFS_MTPTS filesystems to be compiled before skipping PROTECTED_MOUNTS. While there is a rationale for skipping REG_MTPTS, that does not extend to TMPFS_MTPTS. -- umountfs must check whether a mountpoint contains a loopmounted root file https:/

[Bug 209857] Re: Wubi installer (8.04beta) goes past 100% when checking the install

2008-03-31 Thread Agostino Russo
** Changed in: ubiquity (Ubuntu) Sourcepackagename: None => ubiquity -- Wubi installer (8.04beta) goes past 100% when checking the install https://bugs.launchpad.net/bugs/209857 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-03-31 Thread Agostino Russo
Paul, absolutely, that would work, but it would also be less generic. -- umountfs must check whether a mountpoint contains a loopmounted root file https://bugs.launchpad.net/bugs/151579 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-03-31 Thread Agostino Russo
To be more precise I do not have any strong preference, provided loopinstallations can be unmounted safely. It is not up to me to decide what version to use, you might want to ask Colin Watson and Evan Dandrea. Note that, as explained above, WEAK_MTPTS would still need to be there (they could also

[Bug 151579] Re: umountfs must check whether a mountpoint contains a loopmounted root file

2008-03-31 Thread Agostino Russo
By the way, if you see the first 2 comments, you will notice that my original proposal was not too dissimilar from yours. It was Colin suggestion to generalize the algorithm instead of making it wubi- specific. -- umountfs must check whether a mountpoint contains a loopmounted root file https://b

[Bug 195905] Re: migration-assistant exposes special handling of spaces to the preseeding interface

2008-04-01 Thread Agostino Russo
Wubi will now replace whitespaces in windows username with "+" when such name is used within a preseed key. ** Changed in: wubi Status: In Progress => Fix Committed -- migration-assistant exposes special handling of spaces to the preseeding interface https://bugs.launchpad.net/bugs/19590

[Bug 195905] Re: migration-assistant exposes special handling of spaces to the preseeding interface

2008-04-01 Thread Agostino Russo
** Changed in: wubi Status: Fix Committed => Fix Released -- migration-assistant exposes special handling of spaces to the preseeding interface https://bugs.launchpad.net/bugs/195905 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 209857] Re: Wubi installer (8.04beta) goes past 100% when checking the install

2008-04-01 Thread Agostino Russo
Marking as invalid for Wubi since that is a Ubiquity issue. ** Changed in: wubi Status: New => Invalid -- Wubi installer (8.04beta) goes past 100% when checking the install https://bugs.launchpad.net/bugs/209857 You received this bug notification because you are a member of Ubuntu Bugs, w

<    1   2   3   4   5   6   7   >