LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to add kernel in boot iso (http://www.linuxquestions.org/questions/slackware-14/how-to-add-kernel-in-boot-iso-4175413766/)

linuxbird 06-27-2012 10:50 PM

How to add kernel in boot iso
 
I would like to add a kernel to the selection I have at boot time, when booting from a DVD, using an install DVD for Slackware.

How do I add the kernel to the boot selection? (obviously not to /boot, and likely not in lilo)

I am certain this is written up, but a pointer would be helpful.

In summary, add kernels to selection at boot time, on a Slackware install DVD...

Thanks.

silendo 06-28-2012 12:51 AM

You must configure isolinux.cfg in slackware iso image. the path of the "isolinux.cfg" is /boot/isolinux/isolinux.cfg
In this file you add a new kernel image.
Regards

bormant 06-28-2012 12:52 AM

You can 1) add kernel binary to /kernels/
for ex. /kernels/hugesmp.s/
2) add line to isolinux config /isolinux/isolinux.cfg
3) make iso as described in /isolinux/README.TXT

linuxbird 06-28-2012 07:11 AM

So does the boot program actually read the file system?

Is the boot program actually lilo?
(If so, then I need to figure out how to switch it to elilo for the target system.)

Thanks.

bormant 06-28-2012 07:23 AM

CD/DVD boot program is isolinux.

jefro 06-28-2012 04:08 PM

I get the feeling that you want to boot to some cd/dvd and use the install program. In that install program you want to have options to some other kernels? Is that correct or way wrong?

linuxbird 06-28-2012 09:16 PM

Quote:

Originally Posted by jefro (Post 4714461)
I get the feeling that you want to boot to some cd/dvd and use the install program. In that install program you want to have options to some other kernels? Is that correct or way wrong?

Specifically, I am trying to get the combination of things I need to put Slackware on a system graced with a UEFI board.

The problem I have run into is that I apparently will have to build a kernel with UEFI framebuffer and with a UEFI stub in the kernel.

hugesmp.s and huge.s panic, even though I am told, but have not verified, that they have UEFI or at least EFI framebuffer support in the Slackware64-current version.

So what I would like to be able to do is to:
a. control the boot environment
b. provide a custom kernel which will be my boot system test kernel
c. boot up an environment, from which I can perform a Slackware install
d. do any additional twiddlings which may be necessary and then
e. install a Slackware / Slackware64 environment
f. maintain or upgrade that environment, for example, to include a ATI/AMD based graphics card, and to expand the usage of RAM to 32gb

So I am assuming that I need to configure a new boot kernel, configure a new install kernel and then ultimately, configure a target kernel from which I will run my applications.

As for media, I have bought a DVD for this system, have other (non-64) systems with DVDs, and I don't really care whether I run 32 or 64, because I understand there is little performance difference between them. Actually, I would probably prefer a 32 because that is what the rest of my systems are, and it makes life a little easier.

I also have 8gb USB sticks which I would like to use for booting, however, there appears to be no universal package for converting a iso to a USB stick, although the configured custom approaches seem to work well.

That, is the big picture. And I am just walking one step at a time. If someone has already done this for Slack, I would love to hear it, meanwhile I'd like to see what I can put in place.

bormant 06-29-2012 01:43 AM

Quote:

Originally Posted by linuxbird (Post 4714617)
no universal package for converting a iso to a USB stick

Please note that isolinux contains isohybrid. You can make hybrid iso image (isohybrid image.iso) then burn it to CD/DVD or dd it to USB stick (for ex.: dd bs=8M if=image.iso of=/dev/sdb) of your choice.

ruario 06-29-2012 04:50 AM

@linuxbird: didn't you establish that you had BIOS compatibility in one of your many other threads? If yes, you don't need an EFI compatible bootloader.


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