Difference between revisions of "Template:PuppyTemplate"
From ERPXE Wiki
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Copy vmlinuz to appropriate directory: (LOWER CASE ONLY!) | Copy vmlinuz to appropriate directory: (LOWER CASE ONLY!) | ||
− | cp /mnt/cdrom/vmlinuz /tftpboot/er/plugins/{{{dir}}} | + | cp /mnt/cdrom/vmlinuz /tftpboot/er/plugins/puppy/{{{dir}}}/ |
We will have to repack the initrd.gz file to contain the SFS file: | We will have to repack the initrd.gz file to contain the SFS file: | ||
Line 21: | Line 21: | ||
Copy SFS file from mounted CD to temporary folder (LOWER CASE ONLY!!!): | Copy SFS file from mounted CD to temporary folder (LOWER CASE ONLY!!!): | ||
− | cp /mnt/cdrom/{{{ | + | cp /mnt/cdrom/{{{filename1}}} /tftpboot/temp/{{{filename2}}} |
Repack the new initrd.gz file: | Repack the new initrd.gz file: |
Latest revision as of 11:07, 23 August 2013
Copy vmlinuz to appropriate directory: (LOWER CASE ONLY!)
cp /mnt/cdrom/vmlinuz /tftpboot/er/plugins/puppy/{{{dir}}}/
We will have to repack the initrd.gz file to contain the SFS file:
Create a temporary folder:
mkdir /tftpboot/temp cd /tftpboot/temp/
Copy initrd.gz from mounted CD to temporary folder:
cp /mnt/cdrom/initrd.gz /tftpboot/temp/
Extract and remove intird.gz file:
zcat /tftpboot/temp/initrd.gz | cpio -i -H newc -d rm initrd.gz
Copy SFS file from mounted CD to temporary folder (LOWER CASE ONLY!!!):
cp /mnt/cdrom/{{{filename1}}} /tftpboot/temp/{{{filename2}}}
Repack the new initrd.gz file:
find | cpio -o -H newc | gzip -4 > /tftpboot/er/plugins/puppy/{{{dir}}}/initrd.gz
Remove temporary folder:
rm -R /tftpboot/temp/