[Bug 774548] New: bootloader fails for root filesystem on nfs: Canonical path ... could not be determined.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c0 Summary: bootloader fails for root filesystem on nfs: Canonical path ... could not be determined. Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: omega@online.de QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=501147) --> (http://bugzilla.novell.com/attachment.cgi?id=501147) Screenshots (error message scrolled to leftmost/rightmost part) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 Last night I tried to setup a diskless client with openSUSE 12.2 RC2 (german GUI). /boot on USB stick / on NFS Installation runs fine until bootloader (GRUB2) needs to be written. I see the two errors shown in the attached photos when initrd is to be created (I did not find the messages in any logfile). English translation of relevant lines: 1. /tmp/something/params: Line 16> $'\303\234bereinstimmungen': command not found. 2. grub2-probe: Error: Canonical Path of "fs:/path/to/nfs/root" could not be determined. After a reboot, grub2 drops me at its command prompt. I can then manually load kernel and initrd and boot into the freshly installed system. All the rest works fine. Using the yast2 bootloader module yields the same error. So there is no way to make grub2 automatically boot the nfs-rooted system. Reproducible: Always Steps to Reproduce: see details, can probably easily reproduced on any system. In the disk setup step of the installer, choose a partition on the USB stick as /boot and a directory on any NFS server as /. Actual Results: see details Expected Results: The system should create a working initrd even with / on NFS and not complain about non-canonicalizable network paths. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c Boris Neubert <omega@online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |openSUSE 12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c3 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Michael Chang <mchang@suse.com> 2012-08-07 10:00:08 UTC --- Hi Boris, Please give yast2 logs in /var/log/YaST2/. I'll also try to reproduce according to your setup. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c4 --- Comment #4 from Boris Neubert <omega@online.de> 2012-08-07 19:47:15 UTC --- (In reply to comment #3)
Please give yast2 logs in /var/log/YaST2/. I'll also try to reproduce according to your setup.
Do you mean y2log_bootloader? It contains /usr/sbin/grub2-probe: error: failed to get canonical path of fs:/mnt/volume1/Clients/sauron/openSUSE-12.2/root/. Or do you mean y2log (really big file)? Best regards, Boris -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c5 --- Comment #5 from Michael Chang <mchang@suse.com> 2012-08-08 07:44:47 UTC --- Boris, Yes. I want all logs in /var/log/YaST2/ when possible. http://en.opensuse.org/openSUSE:Report_a_YaST_bug $ cd /var/log && tar -czvf /tmp/y2logs.tgz YaST2 Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c6 --- Comment #6 from Boris Neubert <omega@online.de> 2012-08-08 17:17:46 UTC --- Created an attachment (id=501670) --> (http://bugzilla.novell.com/attachment.cgi?id=501670) YaST2 install and config logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c7 --- Comment #7 from Michael Chang <mchang@suse.com> 2012-08-27 04:07:54 UTC --- I could reproduce and it seems to me the problem is that grub2 scripts trying root=UUID= for nfsroot which is wrong. We have to disable it from config for nfsroot installation and set root= proposed from YaST. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c8 --- Comment #8 from Michael Chang <mchang@suse.com> 2012-08-29 06:51:52 UTC --- Created an attachment (id=503815) --> (http://bugzilla.novell.com/attachment.cgi?id=503815) proposed patch in grub2-mkconfig for nfsroot installation I've verified this patch. After installation, the system reboots and second stage automatic configuration starts. Although the process freezes at 42% but this time is not bootloader issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c9 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |snwint@suse.com --- Comment #9 from Michael Chang <mchang@suse.com> 2012-08-29 07:03:11 UTC --- Hi Steffen, Above patch is considered workaround. Due to the grub2 doesn't have nfs filesystem module, the fixing in grub2-probe is not possible due to lack of support on filesystem module. The question is, do we really support /boot which is on nfs ? If not, I think above workaround patch is acceptable. It is targeted to work only for nfs root with a separate /boot mounted on a filesystem that grub2 supports. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c10 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |snwint@suse.com InfoProvider|snwint@suse.com | --- Comment #10 from Steffen Winterfeldt <snwint@suse.com> 2012-08-29 11:06:42 CEST --- I think we can sanely exclude /boot on nfs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774548 https://bugzilla.novell.com/show_bug.cgi?id=774548#c11 Torsten Duwe <duwe@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |duwe@suse.com Resolution| |FIXED --- Comment #11 from Torsten Duwe <duwe@suse.com> 2012-10-11 12:55:28 UTC --- Fixed for factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com