Dons Deals

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 26 February 2013

Running a PXE Boot Server in Parted Magic

Posted on 17:48 by Unknown


Here's some good info on Running PXE Boot Server in Parted Magic...

Don



PXE – Parted Magic




PXE




PXE: the "classic" way



PXE: the "memdisk - boot the standard PM ISO" way
PXE


The basics: PXELINUX
PXE: the "classic" way


Parted Magic has a very simple, yet powerful system for booting from a PXE server. Download the pmagic-pxe-X.X.zip file and unzip it. Copy the “pmagic” folder from the extracted archive to the root of the PXE directory, and edit the pxelinux.cfg file to read something like: DEFAULT pmagic # Boot the kernel and initramfs over PXE. LABEL pmagic LINUX pmagic/bzImage INITRD pmagic/initramfs APPEND edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256


Or alternatively you can convert a Parted Magic ISO to PXE format. Mount the ISO, run a script: mkdir /tmp/cdrom mount -oloop pmagic-X.X.iso /tmp/cdrom sh /tmp/cdrom/boot/pxelinux/pm2pxe.sh


and follow the instructions as output on which files to copy to the PXE server and on how to edit the pxelinux.cfg file.

Both methods will download the entire 165 MB Parted Magic distribution to the target computer's memory and run from there. You will need some 320+ MB RAM to run comfortably.


Adding extra packages:

For details on packages refer to our Adding programs page.

To add packages, you have to create an additional cpio archive to merge with the initramfs used to boot the system.

1. Create a dummy directory called anything you wish. E.g. “mydir”. mkdir -p mydir/{modules,scripts}


The optional “scripts” directory will hold any custom scripts to be run when the system boots. This can be useful to automate a repetitive function that you may use on a daily basis.

2. Download/locate the desired package(s) and place them in the newly-created “modules” folder. Add your scripts to “scripts” if you plan to use this function.

3. The cpio archive necessary to merge with the initramfs needs to be created. cd mydir find . | cpio --quiet -H newc -o | gzip -9 > ../modules.cgz


You can call the file anything that you choose. I just picked “modules.cgz” for this example. You can create multiple cpio archives if this is the way you prefer to do it. Just keep in mind, our directory structure needs to be used or this system will not work.

4. Now we just have to make a simple addition to the INITRD line in the pxelinux.cfg: DEFAULT pmagic # Boot the kernel and initramfs over PXE. LABEL pmagic LINUX pmagic/bzImage INITRD pmagic/initramfs,pmagic/modules.cgz APPEND edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256



Workaround for tftp servers which can't transfer files larger than 32MB:

Extract the Parted Magic PXE archive, run a script: sh pmagic-pxe-X.X/boot/pxelinux/split-initramfs.sh


Or alternatively when converting a Parted Magic ISO to PXE format run: sh /tmp/cdrom/boot/pxelinux/pm2pxe.sh split


In both cases follow the instructions as output on which files to copy to the PXE server and on how to edit the pxelinux.cfg file.

Note that the split-initramfs.sh script should be run as root, or if this is not possible, that your cpio program must support the –owner option. The pm2pxe.sh script does not have this requirement.
PXE: the "memdisk - boot the standard PM ISO" way

Provided that your PXE server does not have a filesize limitation the “memdisk - boot the standard PM ISO” method is a complete alternative for the “classic” method as described above. Your pxelinux stanza is really simple: DEFAULT pmagic_iso # Boot the entire ISO over PXE. LABEL pmagic_iso LINUX /pmagic/memdisk INITRD /pmagic/pmagic-X.X.iso APPEND iso


The ISO is the standard Parted Magic one as distributed, the memdisk program came from the /boot/syslinux directory on the ISO.


Whereas with the “classic” PXE method there is no user menu (the options are preset on the server), with the memdisk method the user can choose his/her options from the standard menu. Depending on the specific use case this may or may not be an advantage.


You can find a nice example here.




Go there...

http://partedmagic.com/doku.php?id=pxe


Parted Magic

parted magic - Google Search

start – Parted Magic

downloads – Parted Magic PXE Network Boot info

Plop Linux - LiveCD, USB boot, PXE network boot, antivirus, rescue, partimage, NTFS, tftp, avast, f-prot

Sysresccd-manual-en PXE network booting - SystemRescueCd

security incident sasser aspx

pxe-e61:media test failure check cable

[SOLVED] "PXE-E61 Media Test Failure, Check Cable" Error Message - Tech Support Guy Forums

pxe-e61 media test failure - Google Search

How to Solve 'PXE-E61: Media test failure, Check cable.' Error?

msi laptop pxe-e61 media test failure - Google Search

PXE-E61 Media Test Failure, System won't boot.

Pxe-e61 media test failure

msi laptop pxe-e61 media test failure - Google Search

start - Etherboot/gPXE Wiki

howtos - Etherboot/gPXE Wiki

isolinux - Etherboot/gPXE Wiki

SetPXEBootPasswd - cobbler - Trac

Plop Linux - LiveCD, USB boot, PXE network boot, antivirus, rescue, partimage, NTFS, tftp, avast, f-prot

Plop Linux - LiveCD, USB boot, PXE network boot, antivirus, rescue, partimage, NTFS, tftp, avast, f-prot

HowStuffWorks

martin landau - Google Search

barbara bain - Google Search

catherine schell - Google Search

Google Search

DonsDeals: Plop Linux - LiveCD, USB boot, PXE network boot, antivirus, rescue, partimage, NTFS, tftp, avast, f-prot

Sysresccd-manual-en PXE network booting - SystemRescueCd

cobbler

Plop Linux - LiveCD, USB boot, PXE network boot, antivirus, rescue, partimage, NTFS, tftp, avast, f-prot

pxe – Parted Magic

forums.partedmagic.com • View topic - PXE-Error with 5.x versions (4.x versions are running)
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • ZigBee - a specification for a suite of high level communication protocols used to create personal area networks built from small low-power digital radios
    ZigBee From Wikipedia, the free encyclopedia Jump to: navigation , search ZigBee ...
  • Open Sorce Hardware - The Wandboard is a low cost board based on the i.MX6 multicore ARM Cortex-A9 family of processors. In consists of a core module based on the EDM standard and a simple to extend baseboard
    Here's an Open Source Wandboard - Freescale i.MX6 ARM Cortex-A9 Opensource Community Development Board. The Wandboard is a low ...
  • 1967 Chevy Camaro Complete Rebuild - Videos, HowStuffWorks Videos "NAPA Videos"
    Video Playlist - West Coast Customs Shop, Completely Tears Down a 1967 Chevy Camaro and then does a Complete Rebuild...
  • Installing and Updating GRUB 2 in Fedora Linux
    This Page has allot of info on Installing, Updating and Trouble Shooting Grub 2 in Fedora Linux. There are some good How To's for...
  • Dynaco Stereo 400 Power Amplifier - Dead Channel Fix - Dynaco Repairs For PC-28 Amplifier Boards
    My Dynaco Stereo 400 Amp... The Page Below these e-mails with Kevin Boales. Looks like the one that I found. Back in ...
  • Open source PLC's - PLC (programmable logic controller)
    Here's some Great Looking Open source PLC Projects. The OSPLC Small & Large Bricks are open-source PLC (programmable logic ...
  • NetProMax PC with Motherboard P5PE-VM ASUSTeK
    Here are some links to info on the NetProMax PC with Motherboard P5PE-VM ASUSTeK ... Don ASUSTe...
  • Running a PXE Boot Server in Parted Magic
    Here's some good info on Running PXE Boot Server in Parted Magic... Don PXE – Parted Magic PXE PXE: the "classic" way ...
  • Americas Health Care - Obama Care - Key Features of the Affordable Care Act - Health Care and Education Reconciliation Act
    Finally! Some real info, as in... This is the date that the Affordable Care Act, goes into effect. Open enrollment in the Heal...
  • Building a Brushless Motor Controller using an ATmega Chip - by Davide Gironi
    Here's a very in depth Article on Building a Brushless Motor Controller using an ATmega Chip - by Davide Gironi... Do...

Blog Archive

  • ▼  2013 (354)
    • ►  December (12)
    • ►  November (33)
    • ►  October (23)
    • ►  September (46)
    • ►  August (52)
    • ►  July (36)
    • ►  June (45)
    • ►  May (17)
    • ►  April (38)
    • ►  March (19)
    • ▼  February (22)
      • Overly Attached Girlfriend - Hacking a radio contr...
      • Running a PXE Boot Server in Parted Magic
      • Grml Live Linux grml.org - Debian Live system CD f...
      • Redirection and Decryption of Mobile Traffic - Tec...
      • The Copyright Alert System (CAS) is in Effect Now!
      • Modifying a Printer for PCB Fabbing and Building a...
      • Scan links that you get in e-mails to Check the We...
      • XBoot is an easy to use utility for creating Multi...
      • Hiren's BootCD - Windows Restore Cleaning Tools Mi...
      • Launchy and Everything - Windows Desktop Search La...
      • The Bible Brought to Life - 10-hour mini-series th...
      • Delta Table Saw Restoration and Conversion into a ...
      • How To Video Putting Together and Soldering a Part...
      • MS - Recognizing Multiple Sclerosis Symptoms
      • Custom 3D printed designs with Makerbot’s Customiz...
      • Will You Be My Valentine? - YouTube
      • GummiBoot Linux on UEFI Windows 8 Systems from Fre...
      • Good Hardware info App's for Linux
      • Repairing broken plastic parts - YouTube
      • How To Make Solder Stencils from Aluminum Cans - D...
      • Mastech MS8268 Auto Ranging Multimeter Review by R...
      • About Spin Fedora Electronic Lab - Install from Yu...
    • ►  January (11)
  • ►  2012 (145)
    • ►  December (27)
    • ►  November (31)
    • ►  October (14)
    • ►  September (15)
    • ►  August (48)
    • ►  July (10)
Powered by Blogger.

About Me

Unknown
View my complete profile