• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. fmslick
    • Profile
    • Following 1
    • Followers 0
    • Topics 6
    • Posts 29
    • Best 0
    • Controversial 0
    • Groups 0

    fmslick

    @fmslick

    Just a guy

    2
    Reputation
    937
    Profile views
    29
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Website www.fmslick.com Location You're temp files

    fmslick Unfollow Follow

    Latest posts made by fmslick

    • RE: Booting ISO issue / Mount /dev/cdrom

      @george1421 Yes I have it working, now I am working on moving the files off my fog server and on to a file server. I like to do things the hard way šŸ˜› anyhow you make a point on the type-o lol.
      Thank you alt text

      posted in General Problems
      fmslickF
      fmslick
    • RE: Booting ISO issue / Mount /dev/cdrom

      @george1421 said in Booting ISO issue / Mount /dev/cdrom:

      I’m looking at this as a puzzle, so I’m only speculating on how this could be done.

      1. On the fog server create the following file path /images/iso/dell1950
      2. Extract the contents of the cdrom to the fog server file path you just created in step 1
      3. Copy the following files from /images/iso/dell1950/isolinux to /var/www/html/fog/service/ipxe
      4. This last part is to create a fog iPXE menu to boot this kernel.

      Menu Item: iso.dell1950
      Description: Dell 1950 something cdrom
      Parameters:
      kernel SA.1 initrd=SA.2 ramdisk_size=400000 Stage3_type=cdrom DEBUG=0 quiet BUILD=955 vmalloc=256M share_type=nfs share_location=<fog_server_ip>:/images/iso/dell1950e share_script=drm_files/apply_bundles.sh share_opts=nolock selinux=0
      imgfetch SA.2
      boot || goto MENU

      Menu Show with: Registered Hosts

      Well that is a start, it will boot and start to run but skips over starting the drm_files/apply_bundles.sh

      EDIT:
      I found the issue, there was a type’o of ā€œdelleā€ in your line " share_location=<fog_server_ip>:/images/iso/dell1950e " … I fixed the type’o and now I have Permission denied but got that fixed… thanks for the help m8

      posted in General Problems
      fmslickF
      fmslick
    • RE: Booting ISO issue / Mount /dev/cdrom

      @Wayne-Workman Think šŸ™‚

      posted in General Problems
      fmslickF
      fmslick
    • RE: Booting ISO issue / Mount /dev/cdrom

      @Wayne-Workman All the servers I am testing with are Dell 1950 III , do you have a link to where I can read up on? (if you don’t mind and think you)

      posted in General Problems
      fmslickF
      fmslick
    • RE: Booting ISO issue / Mount /dev/cdrom

      @Wayne-Workman 50 is the test, I plan on making this work with other servers and + this is a good way for me to get my hands on a few thing I don’t know and up my skills šŸ™‚

      posted in General Problems
      fmslickF
      fmslick
    • RE: Booting ISO issue / Mount /dev/cdrom

      Thinks guys and yeah I know in a way it would be some what ā€œeasierā€ to just run off of a CD but I have about 50 some odd servers I need to run this ISO on and just burning CD’s will not work.

      @Wayne-Workman said in Booting ISO issue / Mount /dev/cdrom:

      You’re most likely going to need to do this differently. Look through this article - there are several examples: https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu

      As I was doing some googling I did find this and was going to give it a try!

      @george1421 said in Booting ISO issue / Mount /dev/cdrom:

      I agree with Wayne.

      What is going on is the iso image kernel has it hard coded to connect to the physical cdrom (which doesn’t exist because the kernel was pxe booted). You will need to unpack the iso image and then look for the syslinux config files.

      I’m in the process of downloading the liniso.iso for the 1950 to see what the iso image looks unpacked.

      Yep I see that now and Here is a link to the ISO I have , I hop it will help?!

      @george1421 said in Booting ISO issue / Mount /dev/cdrom:

      Your task may be somewhat difficult with this image. It may be easier to just boot from cdrom and forget about pxe booting this iso image.

      But if you want to keep working on it. There is a folder on that iso image called isolinux. In there is the syslinux.cfg file. That will give you different options to boot this iso image. You will need the SA.1 (kernel) and SA.2 (initrd) from that directory and place them in the /var/www/html/fog/service/ipxe directory on the fog server.

      The next bits you will need to work out for the fog menu to send the right commands to the kernel to boot. We can get you started on that, but the heavy lifting will be up to you.

      Below is an excerpt from that syslinux.cfg file that looks promising. Booting the kernel and inits are only part of the issue, you also need access to the other files and scripts on that cdrom. It appears you can extract that iso to a NFS share and provide the kernel with a path to the nfs share.

       Modify this if dtk files are on a nfs share.
      # the mount command will become...
      # mount -t $share_type -o $share_opts $share_location /opt/dell/toolkit/systems/
      label network-nfs
      	kernel SA.1
      	append initrd=SA.2 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom DEBUG=0 quiet BUILD=955 vmalloc=256M share_type=nfs share_location=<ip address>:/path/to/share share_script=<name/relative path to script to execute> share_opts=nolock selinux=0
      

      As well here is syslinux.cfg

      default 1
      prompt 1
      timeout 100
      display message.txt
      
      label 1
      	kernel SA.1
      	append initrd=SA.2 root=/dev/ram0 rw DEBUG=0 share_type=cdrom loglevel=1 BUILD=955 init=/init selinux=0 edd=off share_script=drm_files/apply_bundles.sh
      
      label 2 
              kernel SA.1
              append initrd=SA.2 root=/dev/ram0 rw DEBUG=9 share_type=cdrom loglevel=1 BUILD=955 force_mediacheck=1 init=/init selinux=0 edd=off
      
      # Modify this if dtk files are on a nfs share.
      # the mount command will become...
      # mount -t $share_type -o $share_opts $share_location /opt/dell/toolkit/systems/
      label network-nfs
      	kernel SA.1
      	append initrd=SA.2 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom DEBUG=0 quiet BUILD=955 vmalloc=256M share_type=nfs share_location=<ip address>:/path/to/share share_script=<name/relative path to script to execute> share_opts=nolock selinux=0
      
      label debug
      	kernel SA.1
      	append initrd=SA.2 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom BUILD=955 vmalloc=256M DEBUG=9 share_type=cdrom selinux=0
      
      # Modify this if dtk files are on a smbfs share.
      # the mount command will be.....
      # mount -t $share_type -o $share_opts //$share_location /opt/dell/toolkit/systems/
      label network-smbfs
      	kernel SA.1
      	append initrd=SA.2 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom BUILD=955 vmalloc=256M DEBUG=9 share_type=smbfs share_location=//<ip address>/sharename share_script=<name/relative path to script to execute> share_opts=<share options eg username, password, or domain> selinux=0
      
      label network-tftp
      	kernel SA.1
      	append initrd=SA.2 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom BUILD=955 vmalloc=256M DEBUG=9 share_type=tftp share_location=<share dir> share_script=<name/relative path to script to execute> tftp_ip=<ip address of tftp server> selinux=0
      
      
      #label mediacheck
      #	kernel SA.1
      #	append initrd=SA.2 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom BUILD=955 DEBUG=0 quiet dsa_force_mediacheck=1
      
      # Modify this if dtk files are on modified dtk CD.
      # the mount command will be....
      # mount /dev/cdroms/cdrom0 /opt/dell/toolkit/systems/
      label cdrom
      	kernel SA.1
      	append initrd=SA.2 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom BUILD=955 vmalloc=256M DEBUG=0 mem=15G quiet share_type=cdrom share_script=<name/relative path to script to execute> selinux=0
      
      label 3
          localboot 0x80
      
      
      # This file could be modified to suite your network configuration.
      # The variables share_type, share_location and share_script are available
      # an environment variables in the root shell. These variables are used
      # to mount the share containing all the dtk components.
      
      # Choose and modify network-nfs if you have a network share where you have
      # dtk files.
      
      # Choose and modify network-smbfs if you have a network share where you have
      # dtk files. Pleaes note  the syntax differenc b/w nfs and smbfs for
      # the share_location.
      
      # Choose and modify cdrom if you have the dtk files on the cdrom itself
      
      # After modifying the required section please set the default(the first
      # line in this file)to this section.
      
      

      Think you for the info and I hope with your help we can get this working in a few days or sooner, I will be looking in on this post everyday and report back what I have done and how far I have got.

      posted in General Problems
      fmslickF
      fmslick
    • Booting ISO issue / Mount /dev/cdrom

      Hey guys, (Tom & Junkhacker)

      So I am having an issue finding some info, I have my .iso added to the menu and it will pull/push the .iso into RAM but after the iso starts running I get a ā€œMount /dev/cdromā€ error. Would anyone link me info on how to fix this or a work around / whatever you wanna call it lol, or what am I doing wrong/missing and/or how you would go about fixing this.

      .iso added to the main menu as fog.ddu (Dell Update Utility)

      initrd http://${fog-ip}/iso/dell-1950_update-utility.ISO
      chain memdisk iso raw
      

      alt text

      Error I am getting
      alt text

      Thanks šŸ™‚

      posted in General Problems
      fmslickF
      fmslick
    • RE: FOG 1.3.5 and Client 0.11.11 Officially Released

      Thanks! Tom šŸ™‚

      posted in Announcements
      fmslickF
      fmslick
    • RE: Auto fill ISO list

      @Sebastian-Roth said:

      Why is this posted under ā€˜FOG Problems’? If I get what you mean I reckon this is a feature request, right? Otherwise you need to explain what you are really up to.

      My bad. I just got back on the new forums and did’t see there is a new place for ā€œfeature requestā€, If you feel the need to move it than do so! Thanks


      @george1421 said:

      With the new pxeMenu table in the trunk version of FOG (i.e. pre1.3.0) one could write a perl/python/php/bash script to pump this directory ISO information directly into that table with some careful scripting. This is totally possible. Then just automate the process with a cron task

      hmmmm, sounds a bit EZ but I suck at code lol

      posted in Feature Request
      fmslickF
      fmslick
    • Auto fill ISO list

      Hey guys long time no see lol

      I was wanting to know if there is a way to get the boot menu to auto fill a list of .iso file’s from a folder?

      Advanced Menu – ISO – auto list

      && I think this would be hell to work out in code in the menu (at less I think?)

      Side note:
      Hey Tom & Junk hacker how have you guys been?

      posted in Feature Request
      fmslickF
      fmslick