[Bug 805771] New: Make LiveCD PXE bootable
https://bugzilla.novell.com/show_bug.cgi?id=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c0 Summary: Make LiveCD PXE bootable Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Patterns AssignedTo: coolo@suse.com ReportedBy: joschibrauchle@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.70 Safari/537.17 Installing openSUSE via PXE works just fine, as described here http://en.opensuse.org/SDB:PXE_boot_installation Unfortunately, the KDE/Gnome LiveCDs don't seem to be PXE bootable, which would be a nice feature. Currently, booting from a LiveCD via PXE gets stuck at "Searching for boot device in application ID...". Reproducible: Always Steps to Reproduce: 1. PXE boot KDE Live CD -- 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c Joschi Brauchle <joschibrauchle@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|coolo@suse.com |ms@suse.com -- 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Make LiveCD PXE bootable |kiwi: make LiveCD PXE | |bootable -- 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c1 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |joschibrauchle@gmx.de --- Comment #1 from Marcus Schaefer <ms@suse.com> 2013-02-25 16:02:16 UTC --- when installing via pxe the repo source is used via http like this: install=http://download.opensuse.org/factory/repo/oss/ So it's clear pxe loads the kernel and the initrd and the initrd code includes yast which loads the inst-repos and installs the system with a live system iso things are different. one can extract initrd and the linux kernel from the iso and let that boot via pxe, no problem but now you already noticed the system can't find the live iso application ID which is clear because where do you expect that system to find the live system ? - should the iso be available on the machine ? - should the iso be available via network block device e.g AoE, NBD ? - should the iso be NFS loop mounted what is the expectation and the use case of this feature request ? kiwi supports native pxe images with the pxe image type. such images can be installed locally or used in various ways over the network I'm not sure where the use case for pxe bootable live ISO's is 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c2 --- Comment #2 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-02-25 16:44:27 UTC --- Thank you for the detailed explanation!
- should the iso be NFS loop mounted Yes, my personal use case would be an NFS based solution like there is for Ubuntu, using the "netboot" and "nfsroot" parameter: http://www.serenux.com/2010/05/howto-get-an-ubuntu-live-cd-to-boot-off-a-pxe... I was unable to get this working for openSUSE so far. But I will look into Kiwi some more ...
As you mentioned, there seems to a multitude of possibilities to do a PXE boot, but in contrast to some other distributions I was unable to find an easy (i.e. following some tutorial) and accessible (starting from an official live CD image) way for openSUSE. Kiwi seems to be a solution, but this involves users creating their own images rather than using the exisisting live CD images if I'm not mistaken? I found multiple threads on the openSUSE forum where users ask about this in a similar way: [1] http://forums.opensuse.org/english/get-technical-help-here/install-boot-logi... [2] http://forums.opensuse.org/english/get-technical-help-here/install-boot-logi... [3] http://forums.opensuse.org/english/get-technical-help-here/install-boot-logi... -- 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c3 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|joschibrauchle@gmx.de | --- Comment #3 from Marcus Schaefer <ms@suse.com> 2013-02-26 08:11:57 UTC --- Thanks for details, I understand your concern and will look into that What you said about tutorials and docs is unfortunately pretty much true. There is a lot one can do with kiwi but there are not many howtos available :( Ubuntu and also Fedora does a way better job there and assign more resources to write docs set bug to 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c4 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Marcus Schaefer <ms@suse.com> 2013-02-26 11:45:19 UTC --- ok I have implemented support for this. Unfortunately it's too late for 12.3 In the future you can specify: isofrom_device=nfs:192.168.100.2:/data isofrom_system=image/bob that's just an example of course :) so you can extract initrd and linux kernel from the iso and put it on your pxe server. The information above needs to be provided to the pxelinux.cfg/default or client specific file the isofrom feature in kiwi is currently used to lookup the iso on another local device. people use that to boot e.g several live systems by using grub2's loop support. I extended that feature to be able to lookup somewhere on the network as well. For the moment NFS is the only remote storage supported but it can be extended if required in the future The code loop setup the file found and passes along the loop device for further handling in the same way as it would do it if the device would be a local storage device. During my tests I found one problem with clicfs based live ISO's (currently the default at SUSE). When the system is halted the kernel is in trouble when the userspace clicfs process exits. I think this is due to the loop pointing to the network via NFS I plan to support a kernel accepted overlay filesystem like it is provided with overlayfs.ko in 3.7 That's also for after 12.3 if you are interested in the patch: commit 7cb698b89cebf19e66ae79ea3b8a39f743ef9ca6 - added network drivers and nfs stack to isoboot for openSUSE 12.3. This allows to boot live ISO's via pxe as explained in (bnc #805771) commit 98369480629c54e1e2610fae7d9e21d93aae23a3 - changed isofrom feature: + splitted information provided in isofrom into two parts isofrom_device= and isofrom_system= the two were set in common and seperated by a colon before. This caused trouble when the colon is part of the device information + added support for ISO from NFS (bnc #805771) isofrom_device=nfs:<ip>:<export-path> Regards -- 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c5 --- Comment #5 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-02-26 12:15:04 UTC --- That's great news, thanks for the quick implementation. Without further knowledge about the two new parameters: Maybe it would be a good idea to support the same type of syntax as a) the linuxrc "install" parameter: http://en.opensuse.org/SDB:Linuxrc or b) zypper uris: http://en.opensuse.org/openSUSE:Libzypp_URIs where the latter allows such things as: iso:/?iso=CD1.iso&url=nfs:/myserver/dirwithisos -- 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=805771 https://bugzilla.novell.com/show_bug.cgi?id=805771#c6 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alfreito@eresmas.com --- Comment #6 from Marcus Schaefer <ms@suse.com> 2014-01-08 08:01:45 UTC --- *** Bug 857824 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=857824 -- 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