Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

Ubuntu :

sudo nano /etc/grub.d/40_custom && sudo update-grub2
CentOS :
nano /etc/grub.d/40_custom && grub2-mkconfig -o /boot/grub2/grub.cfg

For CentOS you need to add

#This equals /dev/sda3
set root=(hd0,msdos3)
OR
set root='hd0,msdos2'

##For 2015 version you must also copy the "/pmagic" from the root of the ISO to the Root of the Server

2013 Version w/ just ISO

menuentry "Parted Magic Live" {
set isofile="/home/isos/pmagic.iso"
loopback loop $isofile
linux (loop)/pmagic/bzImage iso_filename=$isofile boot=live
initrd (loop)/pmagic/initrd.img
}

2015 Version 64-bit (Confirmed Working with 2016_07 ISO)

menuentry "Parted Magic Live" {
set isofile="/home/isos/pmagic.iso"
loopback loop $isofile
linux (loop)/pmagic/bzImage64 iso_filename=$isofile load_ramdisk=1
initrd (loop)/pmagic/initrd.img /pmagic/fu.img /pmagic/m64.img
}

2015 Version 32-bit

menuentry "Parted Magic Live" {
set isofile="/home/isos/pmagic.iso"
loopback loop $isofile
linux (loop)/pmagic/bzImage iso_filename=$isofile load_ramdisk=1
initrd (loop)/pmagic/initrd.img /pmagic/fu.img /pmagic/m32.img
}


Alias's for BASHRC :


nano ~/.bashrc && source ~/.bashrc

Ubuntu:

alias pmagic="sudo grub-reboot 'Parted Magic Live' && sudo reboot"
#Sometimes SUDO can cause issues if this is a ROOT alias 
alias pmagic="grub-reboot 'Parted Magic Live' && reboot"

CentOS:

alias pmagic="sudo grub2-reboot 'Parted Magic Live' && sudo reboot"
#Sometimes SUDO can cause issues if this is a ROOT alias 
alias pmagic="grub2-reboot 'Parted Magic Live' && reboot"



  • No labels