Parted Magic Boot Menu
-
@Tom-Elliott These are the steps I followed:
I downloaded Parted Magic from Major Geeks (the 2013 version) and put it in my Downloads\Parted Magic folder on my Windows 10 PC.
I then extracted the ISO within that folder and copied the contents across (minus the iso file) across to /var/www/html/pmagic (I created the folder before and gave other users read and write access) using Filezilla.
I then ran sh pm2pxe.sh, which produced the PMAGIC-2013_08_01.SQFS.cgz in the html folder, as well as stanza.txt.
I copied and pasted these two files from the html folder to the pmagic folder (so everything related to pmagic was then in the pmagic folder).
Following that, I configured the boot menu with the following configuration:kernel http://${fog-ip}/pmagic/pmagic/bzImage64
initrd http://${fog-ip}/pmagic/pmagic/initrd.img
initrd http://${fog-ip}/pmagic/PMAGIC_2013_08_01.SQFS.cgz
initrd http://${fog-ip}/pmagic/fu.img
initrd http://${fog-ip}/pmagic/m64.img
imgargs bzImage64 boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us splash quiet - || read void
boot || read voidFinally, when I run ls -lhart from the html folder, I get the following:
-
@Quazz said in Parted Magic Boot Menu:
initrd http://${fog-ip}/pmagic.iso
chain memdisk isoThanks for the suggestion. I’ve tried that, but I get the same thing.
The FOG menu says ‘Magic Boot into Parted Magic’ as the option. -
@RobTitian16 I’m running through.
Immediately there are a few things standing out.
the kernel http://${fog-ip}/pmagic/pmagic/bzImage64 appears to actually need to be kernel ${fog-ip}/pmagic/pmagic/bzImage
The initrd line should be: as you have it from what I can see. (for both of them.)
The pmagic folder does not contain fu.img or m64.img.
So
From what I can tell, your Menu should look like:
kernel http://${fog-ip}/pmagic/pmagic/bzImage edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 boot=live ip=dhcp noapic sleep=0 loglevel=0 keymap=us splash quiet initrd http://${fog-ip}/pmagic/pmagic/initrd.img initrd http://${fog-ip}/PMAGIC_2013_08_01.SQFS.cgz
I’m running through a test as well just to make sure as I too have downloaded the 2013_08_01.
-
There is my working config.Parameters as text so less ability of typos.
kernel http://${fog-ip}/pmagic/pmagic/bzImage64 edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 boot=live ip=dhcp noapic sleep=0 loglevel=0 keymap=us splash quiet initrd http://${fog-ip}/pmagic/pmagic/initrd.img initrd http://${fog-ip}/PMAGIC_2013_08_01.SQFS.cgz boot
-
@Tom-Elliott said in Parted Magic Boot Menu:
kernel http://${fog-ip}/pmagic/pmagic/bzImage64 edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 boot=live ip=dhcp noapic sleep=0 loglevel=0 keymap=us splash quiet
initrd http://${fog-ip}/pmagic/pmagic/initrd.img
initrd http://${fog-ip}/PMAGIC_2013_08_01.SQFS.cgz
bootThanks for the help so far, it really is appreciated! However, I’m still getting the ‘Magic: command not found’ error whenever I try to boot into Parted Magic. I think it might work if it wasn’t trying to use this Magic command, whatever it may be. I’m not really sure where it’s coming from…
-
@RobTitian16 I need to see the whole thing man. Can you post a pic of your menu setup please.
-
Like this?
-
@RobTitian16 Please update fog.
The issue, as far as I can tell, is the space you most likely have in the name portion of the menu information.
-
@Tom-Elliott Doh… thanks for that!
I’ve just tried booting and it starts to look okay, but now I’m stuck on ‘Booting the kernel.’ -
@RobTitian16 mine is under my Advanced Menu but works great like this:
:parted
initrd ${boot-url}/iso/pmagic.iso
chain memdisk ||
echo failed to boot
prompt
goto MENU -
@Tom-Elliott I’ve just updated FOG to the latest version but I’m still stuck on ‘booting the kernel’, unfortunately.
-
@Andy-Abplanalp Thanks for this! I’m guessing I just need to create an /iso/ folder, assign the permissions and then transfer the pmagic iso over to it?
-
@RobTitian16 that sounds correct
-
@Andy-Abplanalp You sir, are a life saver. Thank you very much!
I assume I just add more lines like initrd ${boot-url}/iso/pmagic.iso if I want to use other ISOs? -
@RobTitian16 That’s what I’ve done, yes. I discovered, by luck, that not appending anything to memdisk works for certain ISOs. I use Parted Magic frequently, so I was happy to get it working. I’ve never seen this documented anywhere…glad you’re working!