• Hi, I was just wondering if anybody has had any success booting Goldmemory (

    ) from a custom pxe menu? I’ve tried a hundred different ways of getting it to start with no luck.

    I’m running my FOG server on Ubuntu 11 btw…
    The closest I came was from using memdisk/initrd and a initrd.img + append the GoldMemory.exe but then it gives me a bootstrap too large error after starting to load Goldmemory. How Goldmemory boots is a mystery to me to begin with… the images for it that we use on USB/CD/floppy media only contain an executable file! *P.S.: Using memtest is not an option for me. I appreciate any help!

  • It is a fairly new thing.

    The problem I always had with memdisk and floppy images was that different vendors handled the pxe stacks differently. Many of my intel machines would work fine, some needed other options to work, and some wouldn’t work at all. From all the reading at the time (this has been a few years back) all the problems were because there is no good pxe standard. I haven’t used it much but gPXE (or is it iPXE now?) might be the first thing you want to load, then pass your other pxe options to it, you will probably get better results that way. From my limited knowledge of this you would probably want to chainload it (according to the ipxe.org website),

    [SIZE=4][B][FONT=Lucida Grande][SIZE=18px][COLOR=#000000]Chainloading from an existing PXE ROM[/COLOR][/SIZE][/FONT][/B][/SIZE]

    [FONT=Lucida Grande][COLOR=#000000][URL=‘http://ipxe.org/_detail/clipart/chain.jpeg?id=download’][COLOR=#436976][RIGHT][IMG]http://ipxe.org/_media/clipart/chain.jpeg?w=200&h=96[/IMG][/RIGHT][/COLOR][/URL]
    You can chainload iPXE from an existing PXE ROM. This is useful if you have a large number of machines that you want to be able to boot using iPXE, but you do not want to reflash the network card on each individual machine.
    You can build a chainloadable iPXE image using:
    [SIZE=12px] make bin/undionly.kpxe[/SIZE][/COLOR][/FONT]

    Good luck.

  • Thanks Rixter,

    As a matter of fact, I have tried isos too. I get the same result.
    Just maybe the append line wasn’t exactly the same as yours.
    I thought that booting isos with memdisk was relatively a new thing?

    I am now in the process of completely reinstalling the server on Ubuntu 10.04 (it was running on 11.10).

    I’ll give it a try as soon as I’m up and running again (in between other projects).

    Thanks again!

  • Memdisk with a floppy image is pretty particular with things, have you tried booting from the cd iso?

    An entry like

    [code]LABEL GoldMemory
    MENU LABEL GoldMemory
    LINUX memdisk
    append iso initrd=isos/GoldMemory.iso
    should work.

    btw… in this setup I would have the directory isos under /tftpboot (/tftpboot/isos)

  • Any other ideas? I’m high and dry

  • Is this alright?

    [CODE]-rw------- 1 root root 1474560 2010-07-20 00:00 /tftpboot/ltsp/i386/fog/GM/FLOPPY.IMG[/CODE]

  • I can’t access the server over the weekend, as it’s on an isolated network where I work. I’m sure the files are all there though.
    As it stands, the only one that loads successfully on one client, is GM 6.92. The other versions simply don’t work on any clients.
    I copied several different .iso and .img files to the /fog/GM directory to test. I’ll check again Monday though, if there is any doubt the files might not be there.

    Is it relevant to mention that I made this modification to the server?

    It changes the directory structure a little bit, but I otherwise don’t see how it could bork loading any images.

    Thanks for all your help!

  • Developer

    Can you verify that the file exists on your FOG server.


    Keep in mind that Linux is case sensitive.

    Running this:
    [code]ls -la /tftpboot/fog/GM/FLOPPY.IMG[/code]
    Should return something like this:
    [code]-rw-r–r-- 1 root root 1474560 2007-03-23 00:00 /tftpboot/fog/GM/FLOPPY.IMG[/code]

  • “Could not find ramdisk image: fog/GM/FLOPPY.IMG”

  • Developer

    What “ramdisk missing” error?

  • Ok I’m perplexed…
    I tried another client machine and this one did boot Goldmemory 6.92 shareware. Great!
    However, I still get a Ramdisk missing error if I try to use our copy of Goldmemory 7.8 full (FLOPPY.IMG).
    The second test client also was unable to boot our iso of Netboot disk with the same error (Ramdisk not found).

  • Server and client are physical desktop systems with similar hardware. I can boot Goldmemory and Netboot disk on either one with a CD-ROM. I haven’t tried a second client machine yet but I’ll give it a shot.

  • Developer

    Is this on a physical machine? Have you tried it on another set of hardware, or a Virtual Machine?

  • I’m sure that’s possible. But I just can’t figure it out.
    I’ve been at this for a few days already, on and off.
    I just tried a Ghost config with a Netboot Disk image and I’m having similar problems getting it to work as well.

    I’ve attached a pic of one of the client machines trying to pxe boot goldmemory.


  • Developer

    If Jian has it working through Grub and you can boot it from the CD, then it must be something with your GRUB configuration.

  • Hmm… ok I tried version 6.92 and this time I made it to the GMLoader… but then it hangs and I’m stuck at GMLoader with blinking cursor.
    Thanks for your help, so far it looks promising. Maybe I should get in touch with Goldmemory’s author?

  • Developer

    I tested with [url]http://www.goldmemory.cz/gm692.zip[/url] and memdisk attached file. on Ubuntu 11.10

    LABEL GoldMemory
    kernel fog/GM/memdisk
    append initrd=fog/GM/FLOPPY.IMG
    MENU LABEL Memory Diagnostics
    Memory Diagnostics

  • Ok I tried it both with the IMG in capitals and I removed initrd.img.
    Also tried the append line with initrd= and without.

    Now I get the message: “Memdisk: No ramdisk image specified!”

    If I leave in initrd I get the message: “Could not find ramdisk image: fog/Goldmem/FLOPPY.IMG”

    I must be doing something wrong?

    *I’ve also just been informed that we are using Gold Memory 7.8 (latest), if that makes any difference?

  • Developer

    append fog/Goldmem/FLOPPY.[B]IMG[/B]
    “could not find ramdisk image: fog/Goldmem/FLOPPY.[B]img[/B]”

    remove [B]initrd fog/Goldmem/initrd.img[/B]

  • [quote=“Jian Zhang, post: 21, member: 16”]Shobi,

    unzip gm692.zip to /tftpboot/fog/GM and download memdisk.zip attach file rename back to memdisk copy to /tftpboot/fog/GM
    edit /tftpboot/pxelinux.cfg/default

    LABEL GoldMemory
    kernel fog/GM/memdisk
    append initrd=fog/GM/FLOPPY.IMG
    MENU LABEL Memory Diagnostics
    Memory Diagnostics

    Hope this will help
    Thanks so much for your quick response Jian,

    I followed your instructions exactly. The only difference with my default.cfg file is with the paths.
    Now I get the error I was getting before: “could not find ramdisk image: fog/Goldmem/FLOPPY.img”

    Last time I got this error, I tried the following (please forgive my noobie-ness):
    LABEL GoldMemory
    kernel fog/Goldmem/memdisk
    initrd fog/Goldmem/initrd.img
    append fog/Goldmem/FLOPPY.IMG
    MENU LABEL Memory Diagnostics
    Memory Diagnostics

    This seems to start to load Goldmemory, but gives me a Memdisk error: Image seems to ahve a fractional end cylinder.
    Then it displays “Loading boot sector… booting…” indefinitely