IPXE + UEFI + Parted Magic (solved) - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: IPXE + UEFI + Parted Magic (solved) (/showthread.php?tid=7931) |
IPXE + UEFI + Parted Magic (solved) - lightvik - 2016-01-30 17:53 Hi ! Please show me example how to boot Parted magic i try that: kernel http://192.168.0.2/pxe/boot/live/uefi/pmagic/bzImage64 initrd=initrd.img initrd=fu.img initrd=m64.img initrd http://192.168.0.2/pxe/boot/live/uefi/pmagic/initrd.img initrd http://192.168.0.2/pxe/boot/live/uefi/pmagic/fu.img initrd http://192.168.0.2/pxe/boot/live/uefi/pmagic/m64.img boot but it is not found PMAGIC_2016_01_06.SQFS i try fetch=http://192.168.0.2/pxe/boot/live/uefi/pmagic/pmodules/PMAGIC_2016_01_06.SQFS (not working) and root=/dev/nfs boot=live netboot=nfs nfsroot=192.168.0.2:/mnt/1TB/pxe/boot/live/uefi/pmagic with nfs on my server (not working too) RE: IPXE + UEFI + Parted Magic - MultimediaMan - 2016-01-30 20:42 I haven't had a chance to test this on a UEFI system, but I dare say your problem is related to not specifying an initrd path: Code: #!ipxe In a UEFI system, it is ~required~ that the initrd= specify which files to access in memory. I may be able to test this later today or tomorrow on a UEFI system, but this works flawlessly on a PCBIOS system. The PMAGIC_2016_01_06.SQFS is contained within the mx.img file, and the syntax for multiple files in a kernel argument is comma-separated (some will handle multiple "initrd=", but not all). If you want to Customize Parted Magic: Code: #!ipxe Useful little distro. RE: IPXE + UEFI + Parted Magic - lightvik - 2016-01-31 15:36 when i use: initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/initrd.img initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/fu.img initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/m64.img chain http://192.168.2.1/pxe/boot/live/uefi/pmagic/bzImage64 initrd=initrd.img,fu.img,m64.img boot bui if i try: initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/initrd.img initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/fu.img initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/m64.img chain http://192.168.2.1/pxe/boot/live/uefi/pmagic/bzImage64 initrd=initrd.img initrd=fu.img initrd=m64.img boot then i try add || like that: -> but it not help (result is pic one) initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/initrd.img || initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/fu.img || initrd http://192.168.2.1/pxe/boot/live/uefi/pmagic/m64.img || chain http://192.168.2.1/pxe/boot/live/uefi/pmagic/bzImage64 initrd=initrd.img,fu.img,m64.img || boot #i can load PMAGIC_2016_01_06.SQFS via http: #http://192.168.2.1/pxe/boot/live/uefi/pmagic/pmodules/PMAGIC_2016_01_06.SQFS i am sorry - i can't find spoiler in that forum RE: IPXE + UEFI + Parted Magic - MultimediaMan - 2016-01-31 16:28 You have to use files.cgz, there is a virtual file structure inside: files.cgz contains a directory called pmodules, with a /scripts directory and /PMAGIC_2016_01_06.SQFS file. RE: IPXE + UEFI + Parted Magic - lightvik - 2016-01-31 17:24 (2016-01-31 16:28)MultimediaMan Wrote: You have to use files.cgz, there is a virtual file structure inside:thanks for your help ! i don't have this file, how to create it? RE: IPXE + UEFI + Parted Magic - MultimediaMan - 2016-01-31 17:32 You need to download PXE version of Parted Magic, in the big gzip file is where you will find the files.cgz file. RE: IPXE + UEFI + Parted Magic - lightvik - 2016-02-01 03:13 (2016-01-31 17:32)MultimediaMan Wrote: You need to download PXE version of Parted Magic, in the big gzip file is where you will find the files.cgz file.Solved! we can create a files.cgz with that instruction: mkdir /tmp/cdrom mount -oloop pmagic-X.X.iso /tmp/cdrom sh /tmp/cdrom/boot/pxelinux/pm2pxe.sh my final config: :pmagic cpair 0 cpuid --ext 29 && set arch 64 || set arch 32 initrd http://192.168.0.2/pxe/boot/live/pmagic/initrd.img initrd http://192.168.0.2/pxe/boot/live/pmagic/fu.img initrd http://192.168.0.2/pxe/boot/live/pmagic/m${arch}.img initrd http://192.168.0.2/pxe/boot/live/pmagic/files.cgz chain http://192.168.0.2/pxe/boot/live/pmagic/bzImage${arch} initrd=initrd.img initrd=fu.img initrd=m${arch}.img initrd=files.cgz boot |