Member
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529
Rep:
|
customizing a distro:editing config.vl
have installed my BASE distro on /dev/hdb1
i have installed my HOST on /dev/hdb2
i have customised the kernel as per my requirement on the BASE distro
how do i edit the config.vl kernel section so that i only have that kernel
the compiled kernel version = 2.6.12.3
snippets of config.vl
## PARTITIONS, must be changed according to the HOST !!!
## except the SETUP_DEV, this is optional
## Slack/VL cdrom is here
## If ommited, slack/VL files must be placed on the $SOURCE
export SOURCE_DEV=/dev/hdb1
## Partition to be mounted as $TARGET
## If ommited, you cannot test boot the TARGET (no v41-target)
export TARGET_DEV=/dev/hdb2
## Partition to be mounted as $MEDIA
## If ommited, you cannot install directly from the MEDIA (no v8-setup)
## Who cares ? we can use the ISO file directly now (put the iso in /)
export MEDIA_DEV=/dev/hdb2
## Partition for the VLSETUP
## Must be specified to make a bootable SETUP partition (v8-setup)
## Otherwice, use the new vinstall+direct ISO file (v81-install)
export SETUP_DEV=/dev/hdb2
## KERNEL
## By default, the original Slackware kernel
## will be installed to the TARGET
## (kernel-ide, kernel-modules, alsa-lib)
## If you have upgraded the kernel on the host
## and wish to copy it to the TARGET, set it here
# Specify the kernel to be copied to the TARGET
# Defining this won't hurt but helps some sloppy detection
export KERNEL_VERSION="2.6.12.3"
# Example to autodetect kernel version from the host
# export KERNEL_VERSION=`uname --kernel-release`
# Define the KERNEL_BOOT to copy other kernel to the TARGET.
# If not defined, the original kernel from CDROM will stay as is
export KERNEL_BOOT=/hdb1/boot
export KERNEL_MODULES=/hdb1/lib/modules/$KERNEL_VERSION
export KERNEL_SOURCE=`readlink $KERNEL_MODULES/build`
## Kernel to be copied to the MEDIA for CDROM INSTALL
## as isolinux/kernel/ide and isolinux/kernel/scsi.
## If not specified, you must directly put the kernels
## under $RELEASE/isolinux/kernel.
## These examples get the host kernel
#export KERNEL_IDE=$KERNEL_BOOT/vmlinuz-$KERNEL_VERSION
#export KERNEL_SCSI=$KERNEL_BOOT/vmlinuz-scsi-$KERNEL_VERSION
## These examples get the original kernels from Slackware CDROM
##export KERNEL_IDE=$SOURCE/kernels/bare.i/bzImage
##export KERNEL_SCSI=$SOURCE/kernels/scsi.s/bzImage
## These examples get the original kernels from VL CDROM
#export KERNEL_IDE=$CDROM/isolinux/kernel/ide
#export KERNEL_SCSI=$CDROM/isolinux/kernels/scsi
## Kernel for making floppy image
## Feature is not implemented yet
#export KERNEL_FLOPPY=$TARGET/boot/bzdisk
pl make any further changes...kindly help
Last edited by ankscorek; 01-06-2006 at 07:18 AM.
|