Having trouble booting live image

  • I’m using Fog 1.2.0 with IPXE

    The iso I’m trying to load is a customized lubuntu image which boots and works just fine as a live image on some local host computer as well as in a virtual box. I have mounted the .iso file in the [url]http://${fog-ip}/fog/lublive/trusty[/url] directory using the command:
    [INDENT=1]mount -o loop lublive1.iso trusty/[/INDENT]

    Configuration 1:

    initrd [url]http://${fog-ip}/fog/lublive/lublive1.iso[/url]
    chain memdisk iso raw ||
    goto MENU

    The iso image appears to download, the lubuntu splash screen appears with the loading bar, then it shows the following:

    [INDENT=1]command line: iso raw[/INDENT]
    [INDENT=1]MEMDISK: Image seems to have fractional end cylinder[/INDENT]
    [INDENT=1]MEMDISK: Image appears to be truncated[/INDENT]
    [INDENT=1]Disk is hd96, 149248 K, C/H/S = 65535/255/15 (El Torito/El Torito), EDD on, rw[/INDENT]
    [INDENT=1]Using raw access to high memory[/INDENT]
    [INDENT=1]Code 1844, meminfo 324, cmdline 8, stack 512[/INDENT]
    [INDENT=1]Total size needed = 2688 bytes, allocating 3k[/INDENT]
    [INDENT=1]Old dos memory at 0x92c00 (map says 0x9f000), loading at 0x92000[/INDENT]
    [INDENT=1]1588: 0xffff 15E801: 0x3c00 0xba6c[/INDENT]
    [INDENT=1]INT 13 08: Success, count = 1, BPT = 0000:0000[/INDENT]
    [INDENT=1]We lost the last drive in our class of drives.[/INDENT]
    [INDENT=1]Drive probing gives drive shift limit: 0x01[/INDENT]
    [INDENT=1]old: int13 = f0007c61 int15 = f000f859 int1e = f000efc7[/INDENT]
    [INDENT=1]new: int13 = 9200000a int15 = 920003ef int1e = f000efc7[/INDENT]
    [INDENT=1]Loading boot sector… booting…[/INDENT]
    [INDENT=1] [/INDENT]
    [INDENT=1]BusyBox v1.21.1 (Ubuntu 1: 1.21.0-1ubuntu1) built-in shell (ash)[/INDENT]
    [INDENT=1]Enter ‘help’ for a list of built-in commands.[/INDENT]
    [INDENT=1] [/INDENT]
    INDENT=1 Unable to find a medium containing a live file system[/INDENT]
    [INDENT=1] [/INDENT]
    Configuration 2:

    kernel [url]http://${fog-ip}/fog/lublive/trusty/casper/vmlinuz[/url] boot=casper netboot=nfs
    initrd [url]http://${fog-ip}/fog/lublive/trusty/casper/initrd.lz[/url]
    boot || goto MENU

    The pxe boot fails immediately and boots from the harddrive

    Configuration 3:

    imgfetch [url]http://${fog-ip}/fog/lublive/lublive1.iso[/url]
    boot memdisk iso raw ||
    goto MENU

    Once again the iso image loads, the splash screen appears, but the result/error is the same as Configuration 1.

    Configuration 4:

    kernel [url]http://${fog-ip}/fog/lublive/trusty/casper/vmlinuz[/url]
    initrd [url]http://${fog-ip}/fog/lublive/trusty/casper/initrd.lz[/url]
    imgargs vmlinuz boot=live config console=ttyS0 fetch=[url]http://${fog-ip}/fog/lublive/trusty/casper/filesystem.squashfs[/url]

    it appears to load vmlinuz and initrd but then the screen becomes blank and is unresponsive, I let it sit for a while in case it was loading the image and just taking a while but nothing happened.

    I also tried booting the unaltered standard lubuntu image and although it didn’t show the initial Memdisk errors as before, it still loaded a BusyBox shell and said “Unable ot find a medium containing a live file system”

    Any help or insight would be much appreciated.

  • Developer

    the “boot memdisk iso raw” method won’t work with linux disks, typically
    on the other one’s, you might be able to get some hints from this page [url]https://gist.github.com/robinsmidsrod/2234639[/url]