LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux
User Name
Password
VectorLinux This forum is for the discussion of VectorLinux.

Notices


Reply
  Search this Thread
Old 01-06-2006, 07:16 AM   #1
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
customizing a distro ankscorek VectorLinux 17 02-09-2006 08:30 AM
Blackbox menu editing and customizing jdier Linux - Newbie 14 01-28-2006 03:06 PM
editing the kernel config file slzckboy Linux - General 4 09-24-2005 01:48 PM
Editing config files in CUI jhelpme1212 Linux - Newbie 7 04-24-2004 08:05 AM
editing config-2.4.22-10mdk? what i must know debloxie Mandriva 1 12-08-2003 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux

All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration