LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-06-2013, 02:38 PM   #1
dr_usmc
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
Bootable media to deploy custom Linux installation


I trying to create a bootable media that request user inputs at first boot and then deploys Linux to the Hard drives and post script customized the OS environment. The Baremetal servers that I will be using to deploy to do not have connectivity to the outside world, DVD and USB Ports are available.

Any suggestions would be greatly appreciated,

Dave
 
Old 08-06-2013, 09:15 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
The things that you may have to customize for each server include /etc/fstab, GRUB, and the initrd.

----------------
Steve Stites
 
Old 08-06-2013, 10:08 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Maybe a custom clonezilla?
 
Old 08-07-2013, 08:52 AM   #4
dr_usmc
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
jailbait,

yes, configuration files such as /etc/fstab, GRUB, and the initrd are part of the custom environment.
 
Old 08-07-2013, 09:30 AM   #5
dr_usmc
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Here is what I do from a network installation perspective:

1)PXE/DHCP/NFS kicstart the baremetal....
2)Baremetal then uses my custom .ks file to non-interactvely install a lean RedHat OS.
3)During .KS post several scripts are ran which customized the environment (security, Users, Groups, File Systems (LVM), etc. )



I need to be able to do the same from above but from a bootable media containing all the necessary DATA.

Thanks
 
Old 08-07-2013, 09:59 AM   #6
dr_usmc
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Maybe a custom clonezilla?
Unfortunately, clonezilla won't work because each installation will be unique. During boot of the baremetal an interactive script is ran that request the end-user to enter values such as HOSTNAME/IP ADD/License for a custom APP/etc......
 
Old 08-08-2013, 05:41 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Create a tarball of your LFS system (assuming that you have posted in the correct forum) that will be deployed later. Use the Slitaz Scratchbook to set up a basic livesystem, add your custom installation script and the tarball.
You script should do these things:
- Partition the disk
- Deploy your LFS tarball to the disk
- Ask the user the questions you want to ask and change the appropriate configuration files on the installed system.
- Install a bootloader
- Reboot
 
Old 08-09-2013, 10:45 AM   #8
dr_usmc
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I am following your suggestion on using http://doc.slitaz.org/en:scratchbook:base-system. But I am running into an issue where busybox.conf has permission issues apparently:


Parse error in /etc/busybox.conf, line6:user

Line 6 ) su = ssx root.root


I looking everywhere in google and busybox for ideas....but no luck yet
 
Old 08-09-2013, 01:58 PM   #9
dr_usmc
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Also, CPIO and RPM are coming back with Space limitations (4GB+)

cpio: X.iso: field width not sufficient for storing file size (while trying to create the LiveSystem)

RPM size while trying to create a package instead of the .tar
 
  


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
Make custom bootable linux cd udaypratapyati Linux - Newbie 6 02-15-2011 07:06 PM
Make custom bootable cd linux udaypratapyati Red Hat 2 02-08-2011 05:45 AM
[Vague question] Linux I/O through different media, and delimitation of custom data. Shinpou Linux - General 0 10-16-2007 05:25 PM
Custom initrd for bootable cd deoren Linux - General 13 02-12-2005 11:38 AM
bootable custom cd DAChristen29 Linux - Distributions 1 07-21-2004 09:56 AM

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

All times are GMT -5. The time now is 04:25 AM.

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