|
Sunday, 22 March 2009 19:38 |
Pre-made Packages: Parted Magic is not exactly Slackware based, but the main tool chain was compiled on Slackware. If you would like to add programs your best bet is to use TGZ packages from Slackware 12.x. You can also use DEB files, but Parted Magic doesn't make any attempt to resolve dependencies. Copy the packages to /pmagic/pmodules and Parted Magic installs the packages automatically at boot. If you are using the USB version the packages can be simply copied to /pmagic/pmodules. If you are using the LiveCD version you must remaster the iso file with the add packages. As of Parted Magic 4.x there is a spot in the "save session" routine that allows you to add packages to the CD that you used to boot Parted Magic.
Make your own: Parted Magic is a Linux OS so you can't use Windows programs. Install 7zip for Linux if your distro doesn't already have it. The 7z archives in a sense just decompress into /usr so you can use the programs, so it's really easy to create an archive that will work for Parted Magic. For this example we will make a 7z module for cramfs. Create a directory that will be the mock /usr.
mkdir -p fake_usr/sbin cp /sbin/mkcramfs fake_usr/sbin cd fake_usr 7za a cramfs.7z *
|
Now copy the cramfs.7z package to the pmodules directory on the Parted Magic media. Obviously if you're using the LiveCD the iso must be remastered and reburned. Using the USB version you can just copy it to the pmodules directory. Parted Magic automatically unloads all *7z packages in pmodules, so no further configuration is needed. This system was created to avoid remastering squashfs/squashfs-lzma filesystems that can be a headache to mess with. It's also useful for packages to be shared from one person to another without making a special release.
Notes: Use the ldd command while running Parted Magic if Parted Magic doesn't have the needed shared library. Add a lib directory to the cramfs example if you need to.
|
|
Last Updated on Friday, 22 May 2009 19:01 |