[Bug 857824] New: Live medium doesn't boot from PXE server
https://bugzilla.novell.com/show_bug.cgi?id=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c0 Summary: Live medium doesn't boot from PXE server Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Live Medium AssignedTo: coolo@suse.com ReportedBy: alfreito@eresmas.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:26.0) Gecko/20100101 Firefox/26.0 I've configured a PXE server reading these documents: https://en.opensuse.org/SDB:PXE_boot_installation http://danhomolka.wordpress.com/how-tos-mainly-technical/setting-up-a-pxe-bo... http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,... ..and I can launch the installation of openSUSE 13.1 over the network (using ATFTP and NFS), but when I try booting a live system... it doesn't work. The system tries boot but it has a kernel panic saying "Failed to find MBR identifier". Reproducible: Always Steps to Reproduce: 1. Configure a PXE Server and add this entry on file /srv/tftpboot/pxelinux.cfg/default : LABEL 2 MENU LABEL ^2. openSUSE 13.1 Live x64 LINUX imagenes/openSUSE-Live/linux INITRD imagenes/openSUSE-Live/initrd APPEND install=nfs://192.168.1.200/mnt/openSUSE-Live/ splash=verbose ramdisk_size=512000 ramdisk_blocksize=4096 liveinstall nombridcheck showopts root=/dev/ram0 load_ramdisk=1 init=linuxrc barriers=off TEXT HELP Launch openSUSE on Live mode ENDTEXT 2. Export the entire iso over NFS adding this options udf,iso9660 user,auto,loop 0 0 Finally, restart the NFS service. 3. Try to boot over PXE and boot the live system. Crash. Actual Results: The boot has a kernel panic saying "Failed to find MBR identifier". "rebootException: reboot in 120 sec..." Expected Results: The live system should boot fine. This is my entry on file /srv/tftpboot/pxelinux.cfg/default : LABEL 2 MENU LABEL ^2. openSUSE 13.1 Live x64 LINUX imagenes/openSUSE-Live/linux INITRD imagenes/openSUSE-Live/initrd APPEND install=nfs://192.168.1.200/mnt/openSUSE-Live/ splash=verbose ramdisk_size=512000 ramdisk_blocksize=4096 liveinstall nombridcheck showopts root=/dev/ram0 load_ramdisk=1 init=linuxrc barriers=off TEXT HELP Launch openSUSE on Live mode ENDTEXT The boot parameter "nombridcheck" doesn't work :( The directory /mnt/openSUSE-Live/ contains the entire iso mounted as loop and exported over NFS. This is the entry on my /etc/fstab: /path/to/my/isos/openSUSE-13.1-KDE-Live-x86_64.iso /mnt/openSUSE-Live/ udf,iso9660 user,auto,loop 0 0 This entry for installing openSUSE 13.1 works fine: LABEL 1 MENU LABEL ^1. openSUSE 13.1 x64 LINUX imagenes/openSUSE-DVD-x86_64/linux INITRD imagenes/openSUSE-DVD-x86_64/initrd APPEND install=nfs://192.168.1.200/mnt/openSUSE-DVD-x86_64/ splash=silent ramdisk_size=512000 ramdisk_blocksize=4096 language=es_ES keytable=es quiet quiet showopts TEXT HELP Install openSUSE 13.1 64 bits ENDTEXT I'm checking the service on a Virtualbox environment and also with real computers, same result. -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c1 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com AssignedTo|coolo@suse.com |ms@suse.com Severity|Major |Enhancement --- Comment #1 from Stephan Kulow <coolo@suse.com> 2014-01-08 07:08:07 CET --- the live medium isn't meant to be used like that, but perhaps it's easy to support it still? -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c2 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Marcus Schaefer <ms@suse.com> 2014-01-08 08:01:45 UTC --- our live cd supports booting from PXE see the resolution in bug #805771 *** This bug has been marked as a duplicate of bug 805771 *** http://bugzilla.novell.com/show_bug.cgi?id=805771 -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c3 --- Comment #3 from Alfredo Amaya <alfreito@eresmas.com> 2014-01-08 09:46:19 UTC --- (In reply to comment #2)
our live cd supports booting from PXE
see the resolution in bug #805771
*** This bug has been marked as a duplicate of bug 805771 ***
That syntax also fails: boot fails with the message "Looking up ISO on nfs:192.168.1.200:/mnt/isos...." Switching to F7 I can see: "portmapper not running" http://paste.opensuse.org/view/55236508 This is the entry on my /srv/tftpboot/pxelinux.cfg/default file: LABEL 2 MENU LABEL ^2. openSUSE 13.1 Live x64 LINUX imagenes/openSUSE-Live/linux INITRD imagenes/openSUSE-Live/initrd APPEND splash=verbose isofrom_device=nfs:192.168.1.200:/mnt/isos isofrom_system=openSUSE-13.1-KDE-Live-x86_64.iso TEXT HELP Launch openSUSE on Live mode ENDTEXT -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c4 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|RESOLVED |REOPENED Resolution|DUPLICATE | Severity|Enhancement |Normal --- Comment #4 from Marcus Schaefer <ms@suse.com> 2014-01-08 10:08:09 UTC --- Thanks Alfredo for reporting this. I don't see the portmapper problem on 12.3 :( will check why we need it on 13.1 re-open the bug -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c5 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |alfreito@eresmas.com --- Comment #5 from Marcus Schaefer <ms@suse.com> 2014-01-08 10:35:01 UTC --- Hmm, can you add the bootparam kiwidebug=1 to your pxelinux append line. you will now get a shell in case of an error on boot. Could you provide the file /var/log/boot.kiwi to me so that I can check when exactly it failed 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c6 Alfredo Amaya <alfreito@eresmas.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|alfreito@eresmas.com | --- Comment #6 from Alfredo Amaya <alfreito@eresmas.com> 2014-01-08 14:23:12 UTC --- (In reply to comment #5)
Hmm, can you add the bootparam
kiwidebug=1
to your pxelinux append line. you will now get a shell in case of an error on boot. Could you provide the file /var/log/boot.kiwi to me so that I can check when exactly it failed
Thanks
Done: http://paste.opensuse.org/41905681 -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c7 --- Comment #7 from Alfredo Amaya <alfreito@eresmas.com> 2014-01-08 14:35:33 UTC --- (In reply to comment #6)
(In reply to comment #5)
Hmm, can you add the bootparam
kiwidebug=1
to your pxelinux append line. you will now get a shell in case of an error on boot. Could you provide the file /var/log/boot.kiwi to me so that I can check when exactly it failed
Thanks
And some explanation about changes on paths for testing purposes. Before I had exported the directory /mnt/isos which was a soft link to the directory /stv/tftpboot/isos that contains several iso files. Now and for testing I made the directory /mnt/isos2 and copied on it the openSUSE-13.1-KDE-Live_x86_64.iso file: ls -la /mnt/ : lrwxrwxrwx 1 root root 19 ene 6 19:21 isos -> /srv/tftpboot/isos/ drwxr-xr-x 1 root root 66 ene 8 09:13 isos2 Anyway, before I had done tests using both paths (linked and real, /mnt/isos and /srv/tftpboot/isos/) with same result. -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c8 --- Comment #8 from Marcus Schaefer <ms@suse.com> 2014-01-08 15:10:43 UTC --- Thanks for the log. got more information: + mount -t nfs 192.168.1.200:/mnt/isos2 /isofrom /usr/sbin/start-statd: line 8: checkproc: command not found /etc/rc.status: line 36: /usr/bin/mountpoint: No such file or directory .failed in contrast to 12.3 checkproc and mountpoint is used to start statd I have added these tools to stay in the kiwi initrd. will give it a try with 13.1 soon (have to download the 13.1 iso first which takes a bit time because I have a slow network connection atm) -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c9 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #9 from Marcus Schaefer <ms@suse.com> 2014-01-09 08:29:13 UTC --- ok my tests were successful, so the issue is fixed with the new kiwi version v5.06.17 which you can get from here: http://download.opensuse.org/repositories/Virtualization:/Appliances problem is you need to rebuild the live image you used. afaik Coolo maintains the live image description inside the buildservice. So you can link this project and use the above as reference to build. This should then use the kiwi with the fix to build the live CD. If in doubt you can contact coolo@suse.de for help with rebuilding the live CD I also submitted it to openSUSE:Factory request id 213262 I'm closing this one now as fixed. Please let me know if you need more -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c10 Jigish Gohil <cyberorg@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cyberorg@opensuse.org --- Comment #10 from Jigish Gohil <cyberorg@opensuse.org> 2014-01-09 15:17:55 UTC --- Live system hangs if NetworkManager is enabled, to workaround that boot in single user mode, disable networkmanager(systemctl disable NetworkManager), then init 5 Is there any boot parameter to disable NM? -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c11 --- Comment #11 from Alfredo Amaya <alfreito@eresmas.com> 2014-01-09 22:53:44 UTC --- (In reply to comment #9)
ok my tests were successful, so the issue is fixed with the new kiwi version v5.06.17 which you can get from here:
http://download.opensuse.org/repositories/Virtualization:/Appliances
problem is you need to rebuild the live image you used. afaik Coolo maintains the live image description inside the buildservice. So you can link this project and use the above as reference to build. This should then use the kiwi with the fix to build the live CD. If in doubt you can contact coolo@suse.de for help with rebuilding the live CD
I also submitted it to openSUSE:Factory
request id 213262
I'm closing this one now as fixed. Please let me know if you need more
Thanks so much Marcus!! I'm going to mail to Coolo about that, thank you! -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c12 Joschi Brauchle <joschibrauchle@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joschibrauchle@gmx.de --- Comment #12 from Joschi Brauchle <joschibrauchle@gmx.de> 2014-01-28 14:01:39 UTC --- Hi, I am unable to get this problem fixed with the information provided in this thread. I added checkproc and mountpoint to the initrd. Still, booting fails with the same message: ---------------- Starting rpc.statd ... portmapper not running..failed ---------------- I am unable to run ---------------- mount -t nfs server:/dir ---------------- without the -o nolock option. What else do I need to change in the initrd? Could you please provide an updated live-CD initrd that is working? Or can I pass "-o nolock" as an NFS option somehow? -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c13 --- Comment #13 from Joschi Brauchle <joschibrauchle@gmx.de> 2014-01-28 16:40:02 UTC --- I made it work by adding - start_daemon - start-statd - libmount.so.1.1.0 - libmount.so.1 to the initrd and made it start "rpcbind" automatically. Now, the boot process hangs at some point and it looks like NetworkManager is the problem as mentioned in Comment 10. Any ideas on this? -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c14 --- Comment #14 from Jigish Gohil <cyberorg@opensuse.org> 2014-01-29 04:55:28 UTC --- Created an attachment (id=576276) --> (http://bugzilla.novell.com/attachment.cgi?id=576276) NetworkManager nonm patch I've applied this patch to the system image's NetworkManager.service and added nonm cmdline in pxelinux.cfg/default like this: LABEL li-f-e kernel boot/linux-life append initrd=boot/initrd-life isofrom_device=nfs:10.0.0.254:/srv/nfs/ isofrom_system=/openSUSE-Edu-li-f-e.x86_64-13.1.1.iso kiwidebug=1 nonm IPAPPEND 2 x86_64 iso is the one with working network boot: http://en.opensuse.org/openSUSE:Education-Li-f-e#Download -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c15 --- Comment #15 from Jigish Gohil <cyberorg@opensuse.org> 2014-01-29 06:48:11 UTC --- http://lizards.opensuse.org/2014/01/29/network-boot-live-iso/ -- 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=857824 https://bugzilla.novell.com/show_bug.cgi?id=857824#c16 Alfredo Amaya <alfreito@eresmas.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alfreito@eresmas.com --- Comment #16 from Alfredo Amaya <alfreito@eresmas.com> 2014-04-21 09:30:05 UTC --- Hi, is this bug still present on Factory iso? I'm trying configure an entry on my menu using the iso openSUSE-Factory-KDE-Live-x86_64-Build0142-Media.iso and doesn't work. I've tried 2 different syntaxes: LABEL 2 MENU LABEL ^2. openSUSE Factory Live x64 KERNEL imagenes/openSUSE-Live-Factory/linux INITRD imagenes/openSUSE-Live-Factory/initrd #APPEND install=nfs://192.168.1.200/mnt/openSUSE-Live-Factory/ splash=verbose ramdisk_size=512000 ramdisk_blocksize=4096 liveinstall nombridcheck showopts root=/dev/ram0 load_ramdisk=1 init=linuxrc barriers=off nonm APPEND install=nfs://192.168.1.200/mnt/openSUSE-Live-Factory/ splash=verbose ramdisk_size=512000 ramdisk_blocksize=4096 liveinstall nombridcheck showopts TEXT HELP Boot openSUSE Factory Live ENDTEXT It doesn't work in any case. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=857824 a b <wharms@bfs.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ms@suse.com, wharms@bfs.de Flags| |needinfo?(ms@suse.com) --- Comment #17 from a b <wharms@bfs.de> --- I tried to boot the 13.1 image from an USB-Stick (UEFI) (copy of 16.10.2014) that resulted in the same error "Failed to find MBR identifier" Is the error not fixed in that image or is that an other failure ? (note: i did not try factory ISO) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=857824 sdfsd wefwe <hamdy_20155@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hamdy_20155@outlook.com Flags| |needinfo?(ms@suse.com) --- Comment #20 from sdfsd wefwe <hamdy_20155@outlook.com> --- hi there, i'm using openSUSE-13.2-GNOME-Live-x86_64.iso is there is a way to auto enable ssh daemon using pxeboot from the live-cd? i'm trying something like: label openSUSE menu label openSUSE_13.2_GNOME_64bit kernel linux append initrd=initrd usessh=1 sshpassword=test isofrom_device=nfs:192.168.10.2:/srv/ftp/install/ isofrom_system=openSUSE-13.2-GNOME-Live-x86_64.iso but it doesn't seem working -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com