LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-27-2012, 10:50 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 316

Rep: Reputation: 20
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.
 
Old 06-28-2012, 12:51 AM   #2
silendo
Member
 
Registered: Jun 2012
Location: Italy
Distribution: Slackware 13.37
Posts: 45

Rep: Reputation: Disabled
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
 
Old 06-28-2012, 12:52 AM   #3
bormant
Member
 
Registered: Jan 2008
Posts: 100

Rep: Reputation: 47
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
 
Old 06-28-2012, 07:11 AM   #4
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 316

Original Poster
Rep: Reputation: 20
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.
 
Old 06-28-2012, 07:23 AM   #5
bormant
Member
 
Registered: Jan 2008
Posts: 100

Rep: Reputation: 47
CD/DVD boot program is isolinux.
 
Old 06-28-2012, 04:08 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 11,711

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
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?
 
Old 06-28-2012, 09:16 PM   #7
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 316

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by jefro View Post
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.

Last edited by linuxbird; 06-28-2012 at 09:17 PM. Reason: add reference to slackware64-current relative to EFI support
 
Old 06-29-2012, 01:43 AM   #8
bormant
Member
 
Registered: Jan 2008
Posts: 100

Rep: Reputation: 47
Quote:
Originally Posted by linuxbird View Post
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.
 
1 members found this post helpful.
Old 06-29-2012, 04:50 AM   #9
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,864

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to make boot.iso image from rhel6 installation dvd iso ? Rohit_4739 Linux - Newbie 4 05-25-2012 07:45 AM
[SOLVED] Add a kernel entry to boot. abhishekgit Linux - Kernel 11 03-30-2012 07:39 AM
Extract ISO to HD, create ISO from Extractions, Boot ISO LemensTS Linux - Software 1 12-28-2010 01:10 PM
Mount ISO as specific device (ie: /dev/sda1) with GRUB2 to boot KNOPPIX live cd iso BLuFeNiX Linux - General 2 12-23-2009 01:31 AM
Need help writing custom kernel to an iso I can boot from ROMM Linux - Newbie 5 07-08-2008 12:52 AM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration