• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. BedCruncher
    3. Best
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 119
    • Best 20
    • Controversial 0
    • Groups 0

    Best posts made by BedCruncher

    • RE: Mount and Extract files from images

      @Sebastian-Roth @george1421
      I’ve got the latest version of those tools downloaded and installed. I will attempt to get one of my images mounted in that way and let you both know how I fare.

      posted in Feature Request
      B
      BedCruncher
    • RE: FOG 1.4.4 Officially Released

      @Tom-Elliott
      As always… thank you for your hard work and dedication. It’s helped me tremendously in many aspects of my D2D work.

      posted in Announcements
      B
      BedCruncher
    • RE: Mount and Extract files from images

      @Sebastian-Roth
      I’ve got the module build and loaded properly and am starting the restore process to see the it from beginning to end and trying to mount the image using imagemount. Will update once I know more.

      EDIT:
      @george1421 @Sebastian-Roth
      Ran into a slight hitch with the kernel module. Didn’t realize when I rebooted earlier this AM that I had a kernel update. Had to redownload and recompile the nbd module. Still in the testing part of getting the image restored and mounted.

      posted in Feature Request
      B
      BedCruncher
    • RE: Multicast Issues on Centos 7

      OK!!! I think we have something here. So I finally figured out that part of the problem seems to be in the firewall zone as specified in the Centos 7 Setup guide. The issue I think stems from that the public zone seems to be blocking the multicast ports. I even explicitly told the firewalld daemon to add the interface em2 to the trusted zone, but it never did unless I manually specified in the NIC interface file ZONE=trusted. This seems to be a bug of sorts in that project.

      I suppose that you could also specify a port range for the firewalld daemon to allow through. In my case the NIC hosting the FOG Server is segregated my other network. So in this case I don’t care to have all ports open on that interface because there is no reason to block that traffic. Keep in mind the interface em1 is still in the public zone and more locked down and restricted.

      The result seems to be that I am now able get it to consistently image across at least two devices and so far it has persisted across device and server reboots. So I think we have made a good leap in that regards. I will keep checking back here for a few days to try and update if I run into issues.

      Thank you all for persistently fighting with me to get this rolling. I do much appreciate all you have done for me and with me.
      @Sebastian-Roth @Wayne-Workman @Tom-Elliott

      posted in FOG Problems
      B
      BedCruncher
    • RE: Mount and Extract files from images

      @Sebastian-Roth @Wayne-Workman @Junkhacker @george1421 @x23piracy @pr1m0

      Sorry to dredge up an old topic, but I went back and tried to redo the steps that I had originally done to restore an image using purely the server. While the steps I listed will work, I did originally mention it, but didn’t specifically include the steps to restore the image on the server. Here is the current working 100% steps to make this all work properly.

      Without the touch command below it will error out. So otherwise this works as expected.

      cd /images/IMAGENAME/
      touch d1p2_extracted.img
      cat d1p2.img | pigz -d -c | partclone.restore -C -s - -O d1p2_extracted.img
      mount -t ntfs-3g d1p2_extracted.img /mnt
      
      posted in Feature Request
      B
      BedCruncher
    • RE: iPXE menu entry Quote Duplication

      So far that seems to have sorted it. It’s no longer escaping the quotes. I will keep playing around to verify, but so far we’re good. 🙂 Thanks @Tom-Elliott

      posted in General
      B
      BedCruncher
    • RE: Multicast Issues on Centos 7

      @Wayne-Workman

      Using one of the links, can’t remember which. I was able to get the server and client to send using the udp-sender and udp-receiver. So I know they can talk, but I had to use the command.

      udp-sender --file /opt/fog/.fogsettings --log /opt/fog/log/multicast.log  --ttl 32 --nopointopoint --interface em2
      

      if I dropped the last bit off then it would still try to grab em1 instead of em2.

      posted in FOG Problems
      B
      BedCruncher
    • Mount and Extract files from images

      Would like to have a way to mount images on the servers automatically without needing to run the following commands.

      apt-get install ntfs-3g partclone pigz
      cd /images/IMAGENAME/
      cat d1p2.img | pigz -d -c | partclone.restore -C -s - -O d1p2_extracted.img
      mount -t ntfs-3g d1p2_extracted.img /mnt
      
      posted in Feature Request
      B
      BedCruncher
    • RE: Bootable USB drive to re-image a machine

      @EAHarvey
      One thing you might could try. I know in the past I’ve used a bootable usb that helped to boot into FOG. I am not sure if it would allow you to automate some of the things you were wanting to do to bypass that or not.

      GPXE Bootable USB

      Just kinda throwing that out there.

      posted in General
      B
      BedCruncher
    • RE: Multicast Issues on Centos 7

      @Wayne-Workman
      No, I hadn’t. The command I ran was

      firewall-cmd --permanent --zone=trusted --change-interface=em2
      

      that was specified at this RHEL Firewalld page page. This seems to be this link firewalld.zones.

      So I can change mine around and try it, but I wouldn’t have managed to do that particular one myself as I’m by no means a iptables guru. I will try to apply that tomorrow to test it out and let you know.

      posted in FOG Problems
      B
      BedCruncher
    • Fog 1.3 PXE Menu Entry for System Rescue CD

      I’ve recently got this working on my server figured I would share. For informational purposes I’ve extracted the following files to /var/www/html/srcd

      initram.igz
      rescue64
      sysrcd.dat
      sysrcd.md5
      

      My menu entry is as follows
      0_1471550955307_upload-dee3dbb3-49f6-4918-9cbd-270ceb46ede0

      posted in Tutorials
      B
      BedCruncher
    • RE: Mount and Extract files from images

      @Sebastian-Roth
      I’ve got the proper kernel source downloaded and am building according to the link you provided. Will update once I have any info to add.

      posted in Feature Request
      B
      BedCruncher
    • RE: Multicast Issues on Centos 7

      @Wayne-Workman
      God, I feel like I’m crying wolf all the time now. I disabled the firewalld service and it was hanging there as before. I then ran the commands

      systemctl stop FOGMulticastManager
      killall udp-sender
      killall udp-sender
      killall udp-sender
      mysql -u root fog
      TRUNCATE TABLE multicastSessionsAssoc;
      TRUNCATE TABLE multicastSessions;
      TRUNCATE TABLE tasks;
      quit;
      systemctl start FOGMulticastManager
      

      I then tested it, and ran the multicast test. I again ran the commands to do all that above. I rebooted and ran the above commands again to ensure I was working clean and disabled the firewall and tested and so far it seems to be working. Please disregard.

      posted in FOG Problems
      B
      BedCruncher
    • RE: Fog 1.3 PXE Menu Entry for System Rescue CD

      @Wayne-Workman
      It’s version 2.4.1

      https://www.system-rescue-cd.org/SystemRescueCd_Homepage

      Here is the description of what it is/does.

      About SystemRescueCd
      Description: SystemRescueCd is a Linux system rescue disk available as a bootable CD-ROM or USB stick for administrating or repairing your system and data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the hard disk partitions. It comes with a lot of linux software such as system tools (parted, partimage, fstools, …) and basic tools (editors, midnight commander, network tools). It can be used for both Linux and windows computers, and on desktops as well as servers. This rescue system requires no installation as it can be booted from a CD/DVD drive or USB stick, but it can be installed on the hard disk if you wish. The kernel supports all important file systems (ext2/ext3/ext4, reiserfs, btrfs, xfs, jfs, vfat, ntfs), as well as network filesystems (samba and nfs)

      posted in Tutorials
      B
      BedCruncher
    • RE: Mount and Extract files from images

      @Wayne-Workman

      In my case I actually did the following so that I didn’t mess up the working directory or it’s file contents

      touch /tmp/d1p2_extracted.img
      cat d1p2.img | pigz -d -c | partclone.restore -C -s - -O /tmp/d1p2_extracted.img
      mount -t ntfs-3g /tmp/d1p2_extracted.img /mnt
      

      just dumped it to /tmp so that it would be deleted during normal system processes and not fill up my images directory with double images.

      posted in Feature Request
      B
      BedCruncher
    • RE: Multicast won't start

      @Towndrunk
      Try this…

      systemctl stop FOGMulticastManager
      killall udp-sender
      killall udp-sender
      killall udp-sender
      mysql -u root fog
      TRUNCATE TABLE multicastSessionsAssoc;
      TRUNCATE TABLE multicastSessions;
      TRUNCATE TABLE tasks;
      quit;
      systemctl start FOGMulticastManager
      
      posted in FOG Problems
      B
      BedCruncher
    • RE: Fog 1.3 PXE Menu Entry for System Rescue CD

      @Wayne-Workman
      I’ve just downloaded, extracted, uploaded and successfully booted from the most current release of SRCD.
      That is version 4.8.1 with absolutely NO MODIFICATIONS to the posted boot menu. So the above works flawlessly.

      posted in Tutorials
      B
      BedCruncher
    • RE: Mount and Extract files from images

      @george1421

      I will look into modifying those instructions to work with the new compression method. Not sure when I will get that accomplished, but I am sure I can get it done within the next little bit. Thanks for letting me know.

      posted in Feature Request
      B
      BedCruncher
    • RE: Mount and Extract files from images

      @george1421 @Wayne-Workman

      I have tested using the Partclone Zstd image compression method on an image under Centos 7 and was able to get it working with one small thing. I had to download ZSTD as it wasn’t native to the base OS.

      yum install zstd -y
      

      I was then able to extract and mount the image using the commands

      touch /tmp/d1p2_extracted.img
      cat d1p2.img | zstd -dcf | partclone.restore -C -s - -O /tmp/d1p2_extracted.img
      mount -t ntfs-3g /tmp/d1p2_extracted.img /mnt/
      

      I also added the -f flag to zstd to force it. I don’t think this is necessary, but as a testing scenario it worked.

      posted in Feature Request
      B
      BedCruncher
    • RE: Mount and Extract files from images

      @Junkhacker
      I was thinking more along the lines of if I didn’t have a spare PC handy to do just that. I don’t often need it, but thought since I had run into it, and others might have also that this would be a good thing.

      posted in Feature Request
      B
      BedCruncher
    • 1 / 1