Bug 432573

Summary: Cannot install from an ISO image
Product: [openSUSE] openSUSE 11.1 Reporter: Holger Sickenberg <holgi>
Component: InstallationAssignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: chirag, forgotten_XG9X5w8kVa, fred.blaise, holler
Version: Beta 2   
Target Milestone: Beta 3   
Hardware: All   
OS: Other   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs.tgz

Description Holger Sickenberg 2008-10-06 12:48:25 UTC
I'm trying to install openSUSE 11.1 froman ISO file on the local harddisk using the command from http://en.opensuse.org/Linuxrc

install=disk://openSUSE-11.1-Beta2-x86_64-DVD.iso

The installtion system finds the ISO, boots the YaST installer, but the I get an error message.
Comment 1 Holger Sickenberg 2008-10-06 12:48:45 UTC
Created attachment 243628 [details]
y2logs.tgz
Comment 2 Jan Kupec 2008-10-06 12:57:45 UTC

*** This bug has been marked as a duplicate of bug 428009 ***
Comment 3 Hans-Peter Holler 2008-10-10 12:09:31 UTC
"Access Denied
You are not authorized to access bug #428009."

Please make it accessible.
Comment 4 Jan Kupec 2008-10-11 09:39:25 UTC
I can't. I'm sorry, i should not have marked it a duplicate if it can't be accessed.

Anyway, the bug is fixed in libzypp-5.15.1 and will reach beta 3. The problem was a change in kernel and mount.

----------
Upgrading from util-linux-2.13.1 to 2.14.1 it seems something has changed in
the way how mount writes loop mounts into the mount table.

They appear as

/dev/loop0 on /mnt/tmp type iso9660 (ro)

instead of 

/local/jkupec/iso/SLES-11-DVD-i386-Beta2-DVD1.iso on /mnt/tmp type
iso9660(ro,loop=/dev/loop0)
----------
This change is part of the new auto-destruct feature.
Has been introduced with the following util-linux-ng git commit:
commit 024e1a4f90ad98495863e57132edbadc80a3cac5
Author: Bernardo Innocenti <bernie@codewiz.org>
Date:   Sun Oct 28 22:47:33 2007 -0400

    mount: allow auto-destruction of loop devices

    This allows a flag to be set on loop devices so that when they are closed
    for the last time, they'll self-destruct.

    The kernel part has been submitted to lkml by David Woodhouse.

    Signed-off-by: Bernardo Innocenti <bernie@codewiz.org>
    Signed-off-by: Karel Zak <kzak@redhat.com>


The following change is responsible for it:
+      if (loop_opts & SETLOOP_AUTOCLEAR)
+        /* Prevent recording loop dev in mtab for cleanup on umount */
+        *loop = 0;

If a loop device with SETLOOP_AUTOCLEAR is created (which is default now), the
loop file will not be recorded in mtab.
--------------
Comment 5 Jan Kupec 2008-10-11 22:13:28 UTC
.
Comment 6 Jan Kupec 2008-10-11 22:14:08 UTC
*** Bug 434456 has been marked as a duplicate of this bug. ***
Comment 7 Jan Kupec 2008-10-11 22:14:29 UTC
*** Bug 434188 has been marked as a duplicate of this bug. ***
Comment 8 Jan Kupec 2008-10-15 14:08:03 UTC
*** Bug 435663 has been marked as a duplicate of this bug. ***