LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2017, 11:00 PM   #1
gbcbooks
Member
 
Registered: Aug 2014
Posts: 199

Rep: Reputation: Disabled
custom Ubuntu iso with a specific kernel version


hi all

i was looking for a way to custom ubuntu iso with a specific kernel version

i have put all kernel deb to pool/extra. but i don't know how to tell installer to install a specific kernel version.

i search google for relative document , most of them are talking to preseed file

i notice there is a strinq about the kernel in the *.seed file, it looks like:
Code:
# Use server kernel
d-i     base-installer/kernel/image     string linux-server
it said "Use server kernel", i dont quite understand what is really mean , how can it locale server kernel package , which version will it use . is "string linux-server" a format writing ?

any one can guide me a way ?
 
Old 06-15-2017, 06:57 AM   #2
gbcbooks
Member
 
Registered: Aug 2014
Posts: 199

Original Poster
Rep: Reputation: Disabled
any reply for this thread
 
Old 06-15-2017, 02:42 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Try to edit your posts instead of posting a new post. LQ uses a zero reply system to keep posts more viable.

I'd assume that the most easy way would be to simply have the version of the three kernel .deb files you'd want after first boot.

Fooling with a respin with some program may work. Fedora has one, not sure about ubuntu. https://www.linux.com/learn/roll-you...zed-ubuntu-uck

https://help.ubuntu.com/community/LiveCDCustomization has what I think should work as a general way. You basically remaster the iso.


Not sure what would happen if you went in and just changed the kernel files in the iso even if you had to rename the files to the ones expected. They may use a checksum but not sure.

Others may know.

Last edited by jefro; 06-15-2017 at 02:43 PM.
 
Old 06-15-2017, 08:59 PM   #4
gbcbooks
Member
 
Registered: Aug 2014
Posts: 199

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Try to edit your posts instead of posting a new post. LQ uses a zero reply system to keep posts more viable.

I'd assume that the most easy way would be to simply have the version of the three kernel .deb files you'd want after first boot.

Fooling with a respin with some program may work. Fedora has one, not sure about ubuntu. https://www.linux.com/learn/roll-you...zed-ubuntu-uck

https://help.ubuntu.com/community/LiveCDCustomization has what I think should work as a general way. You basically remaster the iso.


Not sure what would happen if you went in and just changed the kernel files in the iso even if you had to rename the files to the ones expected. They may use a checksum but not sure.

Others may know.
do you think it is possible that tell debian-installer to install the explicit kernel version in the base-system installing stage ?
 
Old 06-16-2017, 07:52 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by gbcbooks View Post
do you think it is possible that tell debian-installer to install the explicit kernel version in the base-system installing stage ?
Possibly, using the pre-seed but how is it named exactly?
Quote:
Originally Posted by gbcbooks View Post
is "string linux-server" a format writing ?

any one can guide me a way ?
Code:
sudo apt search linux-server
p   linux-server                    - Transitional package.                     
p   linux-server:i386               - Transitional package.
I went down this road. For a minute.
Guidance? I still haven't figured it out.
I suppose some resources I collected would be appreciated here.
https://www.debian.org/releases/sque...le-preseed.txt
http://d-i.alioth.debian.org/manual/example-preseed.txt
https://cptyesterday.wordpress.com/2...preseed-files/
https://debian-handbook.info/browse/stable/
https://wiki.debian.org/Simple-CDD/Howto
http://forums.debian.net/viewtopic.php?f=17&t=131521

the Debian Handbook is a package also.

Code:
sudo apt-get install -yqq debian-handbook
File Open in your browser of choice, nav to /usr/share/doc/debian-handbook/html/index.html
Chapter 12.3.2 discusses the methods and techniques of pre-seeding.

Have Fun!

Last edited by Habitual; 06-16-2017 at 08:00 AM.
 
Old 06-16-2017, 02:58 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Try this for test.

" what would happen if you went in and just changed the kernel files in the iso even if you had to rename the files to the ones expected
"
 
Old 06-16-2017, 09:54 PM   #7
gbcbooks
Member
 
Registered: Aug 2014
Posts: 199

Original Poster
Rep: Reputation: Disabled
i actually want to install this kernel version ,please check the pic .

how am i suppose to write the pre-seed file ?
Click image for larger version

Name:	192.PNG
Views:	78
Size:	15.1 KB
ID:	25263
 
Old 06-17-2017, 07:42 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by gbcbooks View Post
how am i suppose to write the pre-seed file ?
Will that be Paper or Plastic?

#end transmission.
 
Old 06-17-2017, 10:21 PM   #9
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
https://debian-handbook.info/browse/...d-i-preseeding
12.3.2.2. Creating a Preseed File
Maybe?
 
Old 06-19-2017, 02:50 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by gbcbooks View Post
i actually want to install this kernel version ,please check the pic .

how am i suppose to write the pre-seed file ?
Attachment 25263
Hi gbcbooks,

Perhaps you missed all of the references provided earlier here. I do see that user "!!!" has also offered an additional reference.

Perhaps it is time for you to peruse these references before asking how to do something which is discussed in those links.
Quote:
Originally Posted by Habitual View Post
Possibly, using the pre-seed but how is it named exactly?

Code:
sudo apt search linux-server
p   linux-server                    - Transitional package.                     
p   linux-server:i386               - Transitional package.
I went down this road. For a minute.
Guidance? I still haven't figured it out.
I suppose some resources I collected would be appreciated here.
https://www.debian.org/releases/sque...le-preseed.txt
http://d-i.alioth.debian.org/manual/example-preseed.txt
https://cptyesterday.wordpress.com/2...preseed-files/
https://debian-handbook.info/browse/stable/
https://wiki.debian.org/Simple-CDD/Howto
http://forums.debian.net/viewtopic.php?f=17&t=131521

the Debian Handbook is a package also.

Code:
sudo apt-get install -yqq debian-handbook
File Open in your browser of choice, nav to /usr/share/doc/debian-handbook/html/index.html
Chapter 12.3.2 discusses the methods and techniques of pre-seeding.

Have Fun!
 
Old 06-19-2017, 03:13 PM   #11
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
A couple comments.

@gbcbooks, you posted this thread and then bumped it within 7 hours (and during what is the night time for many LQ members). Please refrain from this moving forward. Additionally, https://help.ubuntu.com/community/Li...Live_CD_Kernel seems to directly address your issue and was mentioned, but you don't seem to be following up on the information posted.

@Habitual, you've been a member long enough to know that posts such as #8 aren't acceptable here at LQ.

--jeremy
 
1 members found this post helpful.
Old 06-19-2017, 03:33 PM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
It won't happen again.
 
  


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
Custom Version of Redhat Linux made for specific hardware I think, CD not workting linux_newb Linux - Hardware 2 10-17-2009 04:17 AM
Need help writing custom kernel to an iso I can boot from ROMM Linux - Newbie 5 07-08-2008 12:52 AM
Custom Install ISO: Kernel Panic froedi Slackware 7 08-22-2004 01:47 PM
custom kernel for ISO CD ??? Bluesuperman Slackware 2 10-17-2003 10:16 PM
custom bootable iso with my own kernel? sneakerski Slackware 1 09-30-2003 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:57 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