LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tailor vmlinuz installation CD (https://www.linuxquestions.org/questions/linux-newbie-8/tailor-vmlinuz-installation-cd-664744/)

fhleung 08-22-2008 11:26 PM

tailor vmlinuz installation CD
 
:newbie:I want to tailor own Linux installation disk, only install some of the software packages in the pool folder.

Any experts here have ever did similar things? The pool folder occupy most space in a CD media.
What I need are vmlinuz (kernel binary), initrd.gz (initial ramdisk image), boot.img, Optional kernel modules.... and some essential programs in pool folder.


Linux CD have boot image files,
boot up from floppy disk can by dd and rdev command.
Code:

dd if=<filename> of=/dev/fd0 bs=1k
<filename> name could be bootimage/boot.img. It is x86 boot sector file type.

boot up from CD can by mkisofs command
Code:

mkisofs -o <filename> -b <isolinux.bin> -c <boot.cat> -no-emul-boot -boot-load-size 4 -boot-info-table -r <directoryname>
inside <directoryname> are files like vmlinuz, isolinux.cfg, initrd.img, *.msg etc



:newbie: Thank you for the sharing.

iggy_mon 08-25-2008 11:23 AM

remixing a distro
 
http://www.redhatmagazine.com/2007/0...xing-fedora-7/

3 different ways are listed.

good luck
--iggy

fhleung 09-28-2008 05:14 AM

After the boot sector and initial ram disk, it will ask for media to install software packages. (packages like inside pool)

Is it possible to pack software packages in media (floppy, CD...)?

Code:

cat isolinux.cfg

DEFAULT install
LABEL install
        kernel /install.386/vmlinuz
        append vga=normal initrd=/install.386/initrd.gz --
LABEL expert
        kernel /install.386/vmlinuz
        append priority=low vga=normal initrd=/install.386/initrd.gz --
LABEL expertgui
        kernel /install.386/vmlinuz
        append priority=low video=vesa:ywrap,mtrr vga=788 initrd=/install.386/gtk/initrd.gz --

PROMPT 1
TIMEOUT 0



All times are GMT -5. The time now is 06:03 AM.