[Bug 907542] New: Installer fails to find /bin/mount when mounting repo from local harddisk
http://bugzilla.opensuse.org/show_bug.cgi?id=907542 Bug ID: 907542 Summary: Installer fails to find /bin/mount when mounting repo from local harddisk Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: vidar.haugsvar@gmail.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- When mounting repo from local harddisk during upgrade/install the installer calls /bin/mount and the mount fails since mount is present in /usr/bin workaround: run 'ln -s /usr/bin/mount /bin/mount' from a shell before mounting repo from installer possible permanent fix: Change /bin/mount to /usr/bin/mount in installer For your information the install was done using grub2's iso mount. The iso was also fully copied to hardisk to make the installer find the repo. Feature request: Allow the installer to use the iso directly. Sincerly Vidar Haugsvær -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907542 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nrickert@ameritech.net --- Comment #2 from Neil Rickert <nrickert@ameritech.net> --- Just an observer's comment. On my system, I see: ls -l /bin/mount lrwxrwxrwx 1 croot root 14 Nov 15 06:11 /bin/mount -> /usr/bin/mount The Nov 15 date is interesting. I installed opensuse 13.2 on Nov 01 (downloaded the iso from OpenQA). So this symlink was added later. But I did not directly add it, and there are no other users. Either an update added that symlink, or some command is automatically creating the symlink when it needs it. The system install time should be roughly that of: drwx------ 2 croot root 16384 Nov 1 12:34 lost+found (that would be when "/" was formatted during the install). Times are America/Chicago . I notice that "/usr/bin/mount" has a date more recent than install time, so there probably an update to "mount" and that symlink was probably created (or deleted and recreated) during that update. In any case, I am doubting that this is a real bug, if that symlink is automatically created. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907542 Vidar Haugsvær <vidar.haugsvar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(vidar.haugsvar@gm | |ail.com) | --- Comment #3 from Vidar Haugsvær <vidar.haugsvar@gmail.com> --- (In reply to Josef Reidinger from comment #1)
Please provide yast logs, so we can see where exactly we call wrong path of mount. https://en.opensuse.org/openSUSE:Report_a_YaST_bug Thanks
Yast is not started, it's still running inside linuxrc. There are no logfiles in /var/log/YaST2 This is what happens: Grub2 is boots this this menuentry: menuentry "openSUSE 13.2 Install DVD" { set isofile=openSUSE-13.2-DVD-x86_64.iso set arch=x86_64 set rootdevice=/dev/sda1 set root=(hd0,1) loopback loop (hd0,1)/$isofile linux (loop)/boot/$arch/loader/linux isofrom=$rootdevice:$isofile isofrom_device=$rootdevice isofrom_system=$isofile initrd (loop)/boot/$arch/loader/initrd } The filesystem on /dev/sda1 is ntfs Grub2 boots luckily into opensuse install dvd and I choose installation. Kernel boots and linuxrc starts but fails early complaining it cannont find medium. Since linuxrc is only looking at real disk partitions or real cd/dvd devices it can't my iso file. So far so good. I'm still able to manually choose disk-partition where I've copied all files from the iso but linuxrc calls /bin/mount to mount this partition which doesn't exist yet. Manually linking /usr/bin/mount to /bin/mount makes linuxrc mount the disk with my repo files and continue installation into yast2 I'm able to mount the disk and also the iso from a shell but linuxrc will not continue until it's it's own faulty mount command sucesses Installation will not proceed before that mount command is successful. Booting an iso/dvd normally takes me straight to yast2 and /bin/mount does now exsist, probably added later in process. Basicly we need /bin/mount to exist while linuxrc still is in an early stage for linuxrc to succeed it's mounting. Users who has challenging repo locations should also perhaps been able to manually mount from shell telling linuxrc to use local directory? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907542 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|yast2-maintainers@suse.de |snwint@suse.com --- Comment #4 from Josef Reidinger <jreidinger@suse.com> --- ok, so reassign to linuxrc maintainer. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907542 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Steffen Winterfeldt <snwint@suse.com> --- Happens only when mounting ntfs; fixed in Factory.
Feature request: Allow the installer to use the iso directly.
That's already possible: install=disk:/foo.iso -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907542 --- Comment #6 from Steffen Winterfeldt <snwint@suse.com> --- To fix the 13.2 iso yourself get mksusecd from software.opensuse.org and run: mkdir -p /tmp/foo/bin ln -s /usr/bin/mount /tmp/foo/bin/mount mksusecd -c fixed.iso --initrd /tmp/foo openSUSE-13.2.iso -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com