Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-01-2004, 10:51 AM
|
#1
|
|
Member
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110
Rep:
|
Question: How to create a bootable install custom ISO?
Hey folks,
I am looking into replicating our base install to quickly image new machines. What tools are available to do such a thing? This install image should fully copy fs & LILO settings including software RAID.
Any suggestions / solutions?
TIA.
|
|
|
|
04-01-2004, 10:56 AM
|
#2
|
|
Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
If the machines are identical, you can use 'dd':
dd if=/dev/hda of=/file.img
If they aren't, you will need to create scripts to create partitions and install lilo. In that case just copy the files to the cd and use a script to copy them back..
|
|
|
|
04-01-2004, 11:05 AM
|
#3
|
|
Member
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110
Original Poster
Rep:
|
Very cool.
And yes, the hardware is identical.
Will that command work if my HD partitions are set this way?
/dev/hda:
swap = hda1
boot = hda2
RAID 1 = hda3
/dev/hdc:
swap = hdc1
tmp = hdc2 (did this just so the two HDs matched in partition size)
RAID 1 = hdc3
|
|
|
|
04-01-2004, 11:11 AM
|
#4
|
|
Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
Make images out of both /dev/hda and /dev/hdc (obviuosly you can't make an image of the same hd you're currently using, and the hd's will need to be unmounted). Then put them on a cd, and 'dd' them back:
dd if=/file.img of=/dev/hda
|
|
|
|
04-01-2004, 11:14 AM
|
#5
|
|
Member
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110
Original Poster
Rep:
|
will do, sir.
thanks for the quick reply. I'll post again after I try it out... after I get openSSL working. 
|
|
|
|
04-19-2004, 11:17 AM
|
#6
|
|
Member
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110
Original Poster
Rep:
|
Issues with dd:
I'm not completely sure but it seems that dd does a complete datadump of the mounted device. This obviously is an issue when the mount point is partitioned at 40GBs.
So is there a better solution that allows you to copy LILO and all system files and some app files (as per user selection) into an image? or is this still doable with dd?
|
|
|
|
04-20-2004, 06:54 AM
|
#7
|
|
Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
Not sure what your problem is, but if 'dd' doesn't work, then the alternative would be to just copy the files and use scripts to make partitions and install lilo.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|