Quick Links
. Traducir |
||
. | ||
. source code | ||
. last updated 060315 . leck linux main webpage http://www.lecksite.com/linux.html . this is the single webpage where you can find all of my source code. . leck linux first release is almost in beta. even though you can use the instructions below to view the source, i am also posting the code i've changed for easy reference. the first release is only 1 picture and 1 file changed. the changes i made to the debian installer code are http://www.lecksite.com/preseed.cfg . | ||
. | ||
. here are instructions to do exactly what i did (these aren't complete instructions to make your own debian respin. you need to figure out how to modify these instructions if you plan to do something differently than i did) unfortunately i used windows and linux, but you can do all this in linux. i will add instructions how to do this entirely in linux later. . 1. download a "network install" image from debian's website. it needs to be wheezy 7.x and it will be approxamately 300mb. . 2. mount the iso in windows and copy and paste all files from the "cd" into a folder. using "poweriso" you need to extract the boot information into .bif format . 3. to modify the initial picture you see when you start to install debian, all you have to do is modify /isolinux/splash.png . 4. to preseed anything, move the /install.386/initrd.gz to linux in order to unzip it . 5. you should be able to use archive manager or windows 7zip to pull out initrd from initrd.gz. it will be a file named initrd without any extension. then open up a root terminal and change the root terminal prompt to the directory you want to unzip the initrd to using this command . cd /pathtofoldertounzipinitrd . 6. issue the command . cpio -id < /pathtoinitrd/initrd . 6. you will see about a dozen folders. you simply need to copy a file named exactly preseed.cfg into pathtofoldertounzipinitrd . . 7. here are the instructions to make the iso again. this is the step you have to keep coming back to if you change anything with the preseeding. . (delete initrd.gz if this isn't your first time doing this) . cd /pathtofoldertounzipinitrd . find ./ | cpio -H newc -o > /pathtofoldertounzipinitrd/initrd . gzip /pathtofoldertounzipinitrd/initrd . 8. this will produce a file named initrd.gz you simply move the file back to windows and replace the .install.386/initrd.gz with your new version. . 9. using poweriso, add all the files (which can be done in a single operation) . 10. add the boot sector you saved in .bif using the "action" menu button . 11. press file, save as, and save the image as .iso . here is the best example preseed file which i am working off of also. i will share my preseed file after i release my debian respin. until then, use this preseed file, because the preseed file on debian's official website isn't wheezy, and doesn't have everything this file does. in order to get the commands to prseed in this file, you take away the hashtag (uncomment). some commands are already uncommented. . http://www.lecksite.com/preseedexample.doc . you need to select "advanced options, automated install or graphical automated install" after the debian installation image loads for preseeding to work. any other type of installation totally ignores the preseed.cfg file. . |