Re: Booting FreeBSD with Syslinux
On Wed, Jul 31, 2013 at 9:47 PM, Daniel O'Connor docon...@gsoft.com.auwrote: On 01/08/2013, at 12:15, Warren Block wbl...@wonkity.com wrote: Supposedly someone got it to work because there is an entry in the syslinux wiki http://www.syslinux.org/wiki/index.php/Mboot.c32#FreeBSD_example I'm following the threads on both lists, and that example looks more like a generic template than an actual, working command. kernel_option, for example. Yeah, I also wonder if it's for booting a XENified FreeBSD or something similar (no idea really). Maybe I'll just have to stuff the loader in an MFS and boot that :( galacticdominator% ./mbchk /boot/kernel/kernel /boot/kernel/kernel: No Multiboot header. Maybe i386 would work, but apparently not amd64. -- Adam Vande More ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Booting FreeBSD with Syslinux
Hi, I am trying to make a FreeBSD 9.2 hybrid image (ie ISO USB from the same file) and as part of that I need to use syslinux. Unfortunately I can't get Syslinux's mboot.c32 to run the kernel or loader as suggested at http://www.syslinux.org/wiki/index.php/Mboot.c32 - it reports Invalid Multiboot image: neither ELF header nor a.out kludge found. I suspect I would be able to use memdisk as I have used that in the past with syslinux (for 7.x) however this was seems a lot cleaner and easier to generate. Has anyone had any success with this? Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Booting FreeBSD with Syslinux
You could see at mine experience long long time ago: http://trac.pcbsd.org/wiki/UsbFatBoot Maybe it's still relevant :) 2013/7/31 Daniel O'Connor docon...@gsoft.com.au Hi, I am trying to make a FreeBSD 9.2 hybrid image (ie ISO USB from the same file) and as part of that I need to use syslinux. Unfortunately I can't get Syslinux's mboot.c32 to run the kernel or loader as suggested at http://www.syslinux.org/wiki/index.php/Mboot.c32 - it reports Invalid Multiboot image: neither ELF header nor a.out kludge found. I suspect I would be able to use memdisk as I have used that in the past with syslinux (for 7.x) however this was seems a lot cleaner and easier to generate. Has anyone had any success with this? Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Booting FreeBSD with Syslinux
On Wed, Jul 31, 2013 at 9:38 AM, Daniel O'Connor docon...@gsoft.com.au wrote: Hi, I am trying to make a FreeBSD 9.2 hybrid image (ie ISO USB from the same file) and as part of that I need to use syslinux. Unfortunately I can't get Syslinux's mboot.c32 to run the kernel or loader as suggested at http://www.syslinux.org/wiki/index.php/Mboot.c32 - it reports Invalid Multiboot image: neither ELF header nor a.out kludge found. I suspect I would be able to use memdisk as I have used that in the past with syslinux (for 7.x) however this was seems a lot cleaner and easier to generate. Has anyone had any success with this? I have not worked with Syslinux, but I do load a customized FreeBSD 8.x bootonly ISO via memdisk. I have not done similar with 9.x yet, but anticipate doing so with 9.2-RELEASE. I touch on it briefly in a blog post at http://blog.hostileadmin.com/2013/04/11/installing-freebsd-via-cobbler/ if you're interested. -- Take care Rick Miller ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Booting FreeBSD with Syslinux
On Jul 31, 2013, at 6:38 AM, Daniel O'Connor wrote: Hi, I am trying to make a FreeBSD 9.2 hybrid image (ie ISO USB from the same file) and as part of that I need to use syslinux. Unfortunately I can't get Syslinux's mboot.c32 to run the kernel or loader as suggested at http://www.syslinux.org/wiki/index.php/Mboot.c32 - it reports Invalid Multiboot image: neither ELF header nor a.out kludge found. I suspect I would be able to use memdisk as I have used that in the past with syslinux (for 7.x) however this was seems a lot cleaner and easier to generate. Has anyone had any success with this? Absolutely. You can download and dissect the following to show you how it's done... http://druidbsd.sourceforge.net/download.shtml#FreeBSD_Druid It uses syslinux, as you can see here: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/boot/freebsd/isolinux.cfg?revision=1.1view=markup As you can see, I use the memdisk.c32 module. Notice that I append iso raw as options to memdisk.c32. You may then be asking yourself... if the thing to do is to use memdisk with an ISO... what's in said ISO? http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/mdroot/ Basically... 1. Kernel 2. Boot Forth 3. mfsroot All that goes into an ISO. When memdisk initiates the ISO, /boot/cdboot then gets invoked. From there, /boot/loader gets invoked. From there, the /boot/loader.rc is loaded. From there, loader.4th is loaded. From there, loader.conf is loaded. In a normal FreeBSD boot process, then the kernel gets loaded (I've modified that to not load the kernel until later -- because my Forth boot menu presents a kernel selection option) From there, beastie.4th is loaded. From there, beastie-start is called and then the beastie menu is drawn. NOTE: I've skipped a whole bunch of other Forth modules that were loaded at-once indirectly From there, the user makes any boot option choices, and presses ENTER to boot. From there, mfsroot.gz is loaded. From there, /stand/sysinstall gets invoked. From there, /install.cfg gets invoked. From there, /stand/fis gets invoked. From there, /dev/iso9660/druid gets mounted onto /cdrom (this ISO9660 volume is actually _not_ the ISO that memdisk booted, but rather this is the actual CDROM (or DVD) that you booted from (which contains both the syslinux boot loader *and* the ISO it booted *and* anything else you want to access). At this point, /cdrom is your ticket to freedom, busting out of the double-encapsulation (first encapsulation is wrapping the kernel+forth+mfsroot into an ISO, second level of encapsulation is from within the mfsroot; from within the mfsroot, the GEOM provided /dev/iso9660/VOLID is an escape hatch to the level *above* the ISO the mfsroot was embedded within). -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Booting FreeBSD with Syslinux
On 01/08/2013, at 1:45, Teske, Devin devin.te...@fisglobal.com wrote: Has anyone had any success with this? Absolutely. You can download and dissect the following to show you how it's done... http://druidbsd.sourceforge.net/download.shtml#FreeBSD_Druid It uses syslinux, as you can see here: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/boot/freebsd/isolinux.cfg?revision=1.1view=markup As you can see, I use the memdisk.c32 module. Notice that I append iso raw as options to memdisk.c32. Yes, I have used memdisk in the past but I want to avoid it if possible. It makes building the image quite a bit more complicated (and tedious to edit). Have you tried mboot? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description: Message signed with OpenPGP using GPGMail
RE: Booting FreeBSD with Syslinux
-Original Message- From: owner-freebsd-sta...@freebsd.org [mailto:owner-freebsd- sta...@freebsd.org] On Behalf Of Daniel O'Connor Sent: Wednesday, July 31, 2013 4:32 PM To: Devin Teske Cc: freebsd-stable stable Subject: Re: Booting FreeBSD with Syslinux On 01/08/2013, at 1:45, Teske, Devin devin.te...@fisglobal.com wrote: Has anyone had any success with this? Absolutely. You can download and dissect the following to show you how it's done... http://druidbsd.sourceforge.net/download.shtml#FreeBSD_Druid It uses syslinux, as you can see here: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/boot/ freebsd/isolinux.cfg?revision=1.1view=markup As you can see, I use the memdisk.c32 module. Notice that I append iso raw as options to memdisk.c32. Yes, I have used memdisk in the past but I want to avoid it if possible. It makes building the image quite a bit more complicated (and tedious to edit). Have you tried mboot? No I have not. Do you know anyone that has got it to work? -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Booting FreeBSD with Syslinux
On 01/08/2013, at 9:04, dte...@freebsd.org wrote: Have you tried mboot? No I have not. Do you know anyone that has got it to work? Supposedly someone got it to work because there is an entry in the syslinux wiki http://www.syslinux.org/wiki/index.php/Mboot.c32#FreeBSD_example That was for 7.x though, maybe the kernel has changed a bit. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Booting FreeBSD with Syslinux
On Wed, Jul 31, 2013 at 6:43 PM, Daniel O'Connor docon...@gsoft.com.auwrote: That was for 7.x though, maybe the kernel has changed a bit. It doesn't say that at all. Nor does it say the exact release(even major branch isn't mentioned) which was confirmed to work, when or if it was tried, the precise syntax used, or any other type of useful information. -- Adam Vande More ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Booting FreeBSD with Syslinux
On 01/08/2013, at 9:41, Adam Vande More amvandem...@gmail.com wrote: On Wed, Jul 31, 2013 at 6:43 PM, Daniel O'Connor docon...@gsoft.com.au wrote: That was for 7.x though, maybe the kernel has changed a bit. It doesn't say that at all. Nor does it say the exact release(even major branch isn't mentioned) which was confirmed to work, when or if it was tried, the precise syntax used, or any other type of useful information. Good point, I've asked the original poster for more details. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Booting FreeBSD with Syslinux
On Thu, 1 Aug 2013, Daniel O'Connor wrote: On 01/08/2013, at 9:04, dte...@freebsd.org wrote: Have you tried mboot? No I have not. Do you know anyone that has got it to work? Supposedly someone got it to work because there is an entry in the syslinux wiki http://www.syslinux.org/wiki/index.php/Mboot.c32#FreeBSD_example I'm following the threads on both lists, and that example looks more like a generic template than an actual, working command. kernel_option, for example. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Booting FreeBSD with Syslinux
On 01/08/2013, at 12:15, Warren Block wbl...@wonkity.com wrote: Supposedly someone got it to work because there is an entry in the syslinux wiki http://www.syslinux.org/wiki/index.php/Mboot.c32#FreeBSD_example I'm following the threads on both lists, and that example looks more like a generic template than an actual, working command. kernel_option, for example. Yeah, I also wonder if it's for booting a XENified FreeBSD or something similar (no idea really). Maybe I'll just have to stuff the loader in an MFS and boot that :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description: Message signed with OpenPGP using GPGMail