VectorLinux
September 18, 2014, 05:28:33 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Help with integrating kernel into setup disk vl6 lite  (Read 1796 times)
wph
Member
*
Posts: 51


« on: August 10, 2009, 11:19:29 pm »

Hi,  I need help in integrating a new kernel into the install disk for vl6 light.

I needed to compile the generic ide drivers into the kernel. I went into /usr/src/linux  ran make menuconfig, marked the generic ide stuff and compiled. I now have a bzImage - I'm not worrying about the modules as I have made no changes to them.

I now want to build the install disk. From what I gather I put a copy of the bzImage into the /isolinux/kernel folder on the cd, get the boot.img/boot.cat (using isobuster)

Now I think I have to put the copy of the bzImage into vlconfig.tlz in the boot folder.

I notice the contents of boot have vmlinuz pointing to vmlinuz-2.6.27.12  - however I can't see where the vmlinuz-2.6.27.12 is actually stored. I'm assuming that I should name bzImage as vmlinuz-2.6.26.12 and copy it into the /boot folder.

If this is correct my last hurdle is that I don't know how to rebuild the vlconfig.tlz file from the unpacked vlconfig.tlz file

1) Can you verify that what I've done is correct

2) How do I create the new .tlz file

3) Do I need to add any patches - if so, how so? Thanks

Thankyo for any help you can offer
« Last Edit: August 10, 2009, 11:21:28 pm by wph » Logged
nightflier
Administrator
Vectorian
*****
Posts: 4023



« Reply #1 on: August 11, 2009, 05:03:29 am »

The kernel in the ISO is /isolinux/kernel/sata. It gets copied and renamed in the installation process.
Replace that file with your custom one (name it "sata").

While there is no need to modify vlconfig.tlz for a changed kernel, your new /boot/System.map and /boot/config file should go in there.

To create a new vlconfig.tlz file, enter into the directory where you have the unpacked tlz file, issue command:
Code:
tar cpO * | lzma -2 >../path/to/the/file/vlconfig.tlz

Another option for a custom spin is the soon to be released VL6 Light Live version.
It can be installed to hard drive, modified, and made back into your own, personalized, tweaked, custom CD  Grin
Logged
wph
Member
*
Posts: 51


« Reply #2 on: August 11, 2009, 12:19:47 pm »

Brilliant - how easy is that
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!