[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
http://bugzilla.opensuse.org/show_bug.cgi?id=907542
Vidar Haugsvær
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
http://bugzilla.opensuse.org/show_bug.cgi?id=907542
Steffen Winterfeldt
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
participants (1)
-
bugzilla_noreply@novell.com