@Wayne-Workman
So what ive done so far:
-> Copied the mounted iso to a folder
-> chmod 777 the entire folder now located in /var/www/fog/service/ipxe/partedmagic
had the following:
:PMagic2015
kernel http://${fog-ip}/fog/service/ipxe/partedmagic/pmagic/bzImage
initrd http://${fog-ip}/fog/service/ipxe/partedmagic/pmagic/initrd.img
imgargs bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=0 loglevel=0 keymap=us
boot || echo Failed to boot
prompt
goto start
It would start to load then fail with
mount /dev/loop252 failed to find superblock
fu.sqfs failed to mount
Looked at the sample_pxelinux.cfg again from parted magic
Boot the kernel and initramfs over PXE 32-bit.
LABEL pmagic32
LINUX pmagic/bzImage
INITRD pmagic/initrd.img,pmagic/fu.img,pmagic/m32.img,pmagic/files.cgz
APPEND edd=on vga=normal
Tried to make that work:
:PMagic2015
kernel http://${fog-ip}/fog/service/ipxe/partedmagic/pmagic/bzImage
initrd http://${fog-ip}/fog/service/ipxe/partedmagic/pmagic/initrd.img,http://$(fog-ip)/fog/service/ipxe/partedmagic/pmagic/fu.img,http://$(fog-ip)/fog/service/ipxe/partedmagic/pmagic/m32.img,http://$(fog-ip)/fog/service/ipxe/partedmagic/pmgaic/files/cgz
imgargs bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=0 loglevel=0 keymap=us
boot || echo Failed to boot
prompt
goto start
Which then goes straight to Windows 7 startup…
Looked up the mount loop252 error and found looks like the kernel is trying to mount iso so got the pmagic pxe file and untarred int /fog/service/ipxe/
From their stanza.txt
DEFAULT pmagic32
LABEL pmagic32
LINUX pmagic/bzImage
INITRD pmagic/initrd.img,pmagic/fu.img,pmagic/m32.img,pmagic/files.cgz
APPEND edd=on vga=normal
First tried with:
:PMagic2015
kernel http://${fog-ip}/fog/service/ipxe/pmagic/bzImage
initrd http://${fog-ip}/fog/service/ipxe/pmagic/initrd.img
imgargs bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=0 loglevel=0 keymap=us max_loop=256 vmall
boot || echo Failed to boot
prompt
goto start
That still came up with failed to mount /dev/loop252 fu.sqfs so I changed it to:
:PMagic2015
kernel http://${fog-ip}/fog/service/ipxe/pmagic/bzImage
initrd http://${fog-ip}/fog/service/ipxe/pmagic/initrd.img,http://$(fog-ip)/fog/service/ipxe/pmagic/fu.img,http://$(fog-ip)/fog/service/ipxe/pmagic/m32.img,http://$(fog-ip)/fog/service/ipxe/pmagic/files.cgz
imgargs bzImage edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us
boot || echo Failed to boot
prompt
goto start
Which fails and goes straight to windows 7 boot.
I guess it comes down to how do i add:
INITRD pmagic/initrd.img,pmagic/fu.img,pmagic/m32.img,pmagic/files.cgz
as a 1 liner??
This
initrd http://${fog-ip}/fog/service/ipxe/pmagic/initrd.img,http://$(fog-ip)/fog/service/ipxe/pmagic/fu.img,http://$(fog-ip)/fog/service/ipxe/pmagic/m32.img,http://$(fog-ip)/fog/service/ipxe/pmagic/files.cgz
Fails.
Thanks for both your patience and help!