LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-18-2018, 01:22 PM   #1
blason
Member
 
Registered: Feb 2016
Posts: 122

Rep: Reputation: Disabled
Please guide me on creating customized CentOS


Hi,

I am writing few small BASH scripts thus developing a small console based application. I would appreciate if someone can help me on my below queries on customising CentOS 7
  1. I need to customise the centos, boot screen, splash screen etc.
  2. Especially images which appear at installtion times. How do I do that?
  3. I need to store my .tgz file on the ISO and once the installation complete running install.sh bash script will install my application.

TIA
 
Old 04-19-2018, 05:58 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
1 you need to look for a solution on the net, you will find it in 5 minutes. If you have any question regarding a solution please post.
2. the same
3. you ought to create an rpm. I do not suggest you to add it to an iso, but create a new package repo which can be configured and used to install that rpm. But obviously you can put this repo onto the CD too.
 
1 members found this post helpful.
Old 04-19-2018, 08:26 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by blason View Post
Hi,
I am writing few small BASH scripts thus developing a small console based application. I would appreciate if someone can help me on my below queries on customising CentOS 7
  1. I need to customise the centos, boot screen, splash screen etc.
  2. Especially images which appear at installtion times. How do I do that?
  3. I need to store my .tgz file on the ISO and once the installation complete running install.sh bash script will install my application.
Aside from the good advice pan64 gave you, the question I have is *WHY* you want to create your own 'customized CentOS'?? Why would I want your particular spin/distro of CentOS over the stock? What additional VALUE am I, the end user, going to get from downloading whatever it is you offer???

Because if it's just a few bash scripts, I'm not likely going to download 4GB+ to get them. Put them in an RPM file suitable for installation..bash scripts aren't limited to CentOS.
 
Old 04-19-2018, 12:48 PM   #4
blason
Member
 
Registered: Feb 2016
Posts: 122

Original Poster
Rep: Reputation: Disabled
Well I wanted to give a complete customized look and feel hence looking for a change. However I did googled a lot for changing Snapshots but did not get a appropriate answer hence wondering if community can help or may be any link that you guys can aware of?
 
Old 04-19-2018, 01:00 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I'd think that search terms that include splash screen along with fedora, centos, red hat would provide answers for that. Usually it's an image that is called and many people have set it. The newer distro's have changed how video goes from boot to session so you may have to look at how you wish to boot. https://askubuntu.com/questions/7169...rs-mean/716966

However I get the feeling you wish to see some menu and that too may be an option. Or do you want some slide show?

Various distro's can handle how custom boot scripts are handled. At some point in some process you could run your script but this kind of goes back to maybe a menu choice if desired.
 
Old 04-19-2018, 02:08 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by blason View Post
Well I wanted to give a complete customized look and feel hence looking for a change. However I did googled a lot for changing Snapshots but did not get a appropriate answer hence wondering if community can help or may be any link that you guys can aware of?
Again:
  • What benefit is a 'complete customized look and feel', when all you've written are some bash scripts??
  • Why would anyone download a respun version of CentOS, for nothing but some bash scripts?
  • Why wouldn't you package your scripts/application as an RPM, so it can be installed in many other distros?
If you're having problems with packaging bash scripts in an RPM, auto-running at script at first boot, or changing a splash screen, are you sure you want to undertake the enormous task of repacking an entire distro??

Again, I find it **HIGHLY UNLIKELY** that anyone, anywhere, is going to download a 4+GB distro, just to get your bash script application. It's just not worth it. If you want anyone to use your app, package it. I sure wouldn't want to go through the hassle of installing/re-installing an entire distro just to get a SINGLE APP.
 
Old 04-20-2018, 02:20 AM   #7
myersmk
LQ Newbie
 
Registered: Apr 2018
Location: San Diego
Distribution: Enterprise Linux (CentOS/RHEL)
Posts: 7

Rep: Reputation: Disabled
Thumbs up Custom Theme

blason,

Believe it or not, many large vendors customize the install and boot process for their proprietary enterprise linux deployments.... For example, lets say there's a well known network software / hardware company that provides a hardware load balancing appliance. Their software is Java, but runs on CentOS or Red Hat. They don't wish to reveal those distro's from a graphical perspective so will modify the installation media... the below links can guide you in getting started with Anaconda and the boot menu for custom deployments

https://access.redhat.com/documentat...-customization
And for the branding to get started
https://access.redhat.com/documentat...aconda-visuals
Anaconda is a beast and can do a wild amount of things
https://access.redhat.com/documentat...on_guide/index


As for tar'ing and running your package post install, take a look at including a kickstart file in your custom install, you use the options for %post in the kickstart to essentially run those bash scripts. Alternatively, and my preference is if you know the server will have network access, then in your custom iso include keys so you get pull down your software from source control. This will add the benefits of tracking your code, but also lightening the size of the iso you'll be creating
 
1 members found this post helpful.
  


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
creating the customized image of size(10MB)-using buildroot sasi1231 LinuxQuestions.org Member Intro 1 06-15-2010 07:09 AM
Creating RPM for customized kernel in 10.3 swampdog2002 SUSE / openSUSE 1 04-01-2008 04:37 AM
Creating/Forking a Customized Distro? testforechozero Linux - Distributions 4 02-28-2007 04:23 AM
Creating A Customized Slackware Install CD Croaker Slackware - Installation 3 06-07-2005 06:46 AM

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

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