Remastering Elive (scripts) August 30, 2007 05:24AM | Registered: 16 years ago Posts: 9 |
#This version is for testing only, please give me feedback on the forums or email gplgeek -@- gmail.com message subject: REMASTER so it goes into the right inbox. #If everything works out here I will think of making a GUI for this stuff... I have not tested these exact steps myself how they are written but I have reamastered elive many times. #Tell me what you think. Consider this a alpha test. echo Another Set of Scripts and HOWTO: By PrinceAMD and GPLGeek #RemasterElive.sh # Firstly, I recommend you get a copy of 'Elive Gem 1.0', GET IT!!! (EliveCD.org) # This script assumes you have Elive_1.0_Gem.iso in / you should change that to the path to your iso. # USE AS ROOT!!! echo Default ISO Name: Elive_1.0_Gem.iso echo Default ISO Path: User's Home ISOName="Elive_1.0_Gem.iso" ISOPath="'/" mkdir /mnt/iso mkdir /mnt/squashfs mkdir /mnt/edit mount "$ISOPath""$ISOName" /mnt/iso -t iso9660 -o loop mount -t squashfs -o loop /mnt/iso/base/base /mnt/squashfs cp -a /mnt/squashfs/* /mnt/edit cp /etc/resolv.conf /mnt/edit/etc/ cp /etc/hosts /mnt/edit/etc chroot /mnt/edit mount -t proc none /proc mount -t sysfs none /sys export HOME=/root export LC_ALL=C apt-get update echo to remove packages echo apt-get remove --purge package name echo echo to upgrade and add packages do echo echo apt-get upgrade echo apt-get install package name echo Do all your editing and when you are done, echo type: sh makesquash.sh #END
#makesquash.sh mkdir /mnt/newiso cp -a /mnt/iso/* /mnt/newiso rm -r /mnt/newiso/base/base #To make squashfs mksquashfs /mnt/newiso/base/base /mnt/edit/ #END
#makeiso.sh #Now to actually make the ISO you may need to edit your desired paths below, have fun. mkisofs -r -V "$IMAGE_NAME" -cache-inodes -J -l -b /mnt/newiso/isolinux/isolinux.bin -c /mnt/newiso/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /mnt/Gem_redo.iso /mnt/hda3/newiso #on second thought I should have made $path_variables and fed them in as parameters, will do that in second version.
Re: HowTo Remaster Elive (scripts) September 11, 2007 04:53AM | Admin Registered: 16 years ago Posts: 20 |
Re: HowTo Remaster Elive (scripts) August 04, 2010 12:18AM | Registered: 13 years ago Posts: 1 |
Re: HowTo Remaster Elive (scripts) October 06, 2010 12:48AM | Admin Registered: 14 years ago Posts: 89 |
Re: HowTo Remaster Elive (scripts) October 09, 2010 01:04AM | Admin Registered: 16 years ago Posts: 88 |