LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2011, 12:22 AM   #1
khatrianand
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
need method to image custom Linux distro and distribute to multiple machines


Hi everyone,

I have a special need. Say there are few 100s of employees in a company, and they are currently using Windows (xp,vista,win7).

I want them to start using Linux as well, and later plan to switchover to Linux, and this transition should be as smooth as possible. To do that I want the dual boot option.

With live CD, we can install say Ubuntu on specific partition. The custom live CD distro can be prepared for them using remastersys. But this method has serious limitation of 4GB size.

Can I do something like this:
create standard partitions on available hard drive, swap, / and home.
create .img file on a seperate test machine using dd command. And later overwrite those partitions on individual machines.

But questions are
1. how to add grub menu so that it gives option to boot from Linux and windows.
2. How o user login names be handled? Do I need to add it later?

Thanks

Anand
 
Old 11-23-2011, 08:45 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
You might try using clonezilla which can clone drives including the master boot record or just clone partitions. You should be able to clone from a machine with both operating systems to another test machine to see if it works as you want. Check out the section at the bottom of the page on Clonezialla SE under Which Clonezilla Shall I use:


http://clonezilla.org
 
0 members found this post helpful.
Old 11-23-2011, 09:05 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
There is a project called FOG that can use PXE to create images on a large number of machines at once.
AFAIK, it is normally used to create images on new machines, or replace the ones on old machines.

For Windows hosts, the image is at the point where the license key needs to be installed.

For 100 users, you probably want to use LDAP or even AD for authentication. You do need to plan out things like authentication, before installing Linux on the hosts. Distro's have several options: Samba, LDAP, AD, NIS.

Google for IBM redbooks on migrating from Windows to linux. Samba 3 by Example has sample configurations for larger networks.
 
Old 11-23-2011, 09:21 AM   #4
khatrianand
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hi, thanks for reply...

With clonezilla I might be able to clone a specific partition, or multiple linux partitions, or even whole drive but...

My activity is not about just imaging, this is a Linux promotion activity. I want existing users, without affecting their work, data or windows machine, be able to start using Linux using dual boot option.

1. Imaging whole drive is is useful in test labs, where multiple test suits are run on same setup, and there is no need to protect certain partitions.

Here for normal desktop users say some mechanical manufacturing unit, 100 odd users are already using their windows machine. A test drive image can NOT be pushed to their machine, as this will wipe off everything they have !! (each user has his own data/apps on windows partition)

2. If we push only Linux partitions...
* Can image be pushed to different physical location of partitions on different machines? Size will be equal or greater than the test machine partition size.

* And what about the boot option? How do we add the Grub to startup.. so that user be able to boot in operating system he want.


I don't mind doing this manually on each machine. I am ideally looking out for a scenario, as if I am installing from a live CD, which allows me to install on specific location on existing hard drive, along with Windows (make it dual boot). Also the live CD image is a custom image with all the needed applications. And This custom image size can be greater than 4GB. ( I can use remastersys to create a bootable custom live CD but the size of this distro as per iso9660 specs is limited to 4GB max)

Please suggest, what alternative do I have?

Regards,
Anand
 
Old 11-23-2011, 11:24 AM   #5
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
Quote:
Originally Posted by khatrianand View Post
* Can image be pushed to different physical location of partitions on different machines? Size will be equal or greater than the test machine partition size.
Yes.

Quote:
And what about the boot option? How do we add the Grub to startup.. so that user be able to boot in operating system he want.
You have to do that manually using the Live-CD.

Quote:
Please suggest, what alternative do I have?
For that amount of machines I would set up my own repository-/proxy-server with aptcacher-ng and then use preseeding to generate a custom installation CD (not a Live-CD) with anything automated except the partitioning part of the installation.

Last edited by TobiSGD; 11-23-2011 at 03:57 PM. Reason: fixed typo
 
Old 11-23-2011, 03:33 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I might be tempted to run an ISCSI or even gpxe to some http/ftp server.

You might need to

https://help.ubuntu.com/community/Ki...tCompatibility

https://help.ubuntu.com/11.04/instal...c-install.html

Last edited by jefro; 11-23-2011 at 07:21 PM.
 
Old 11-23-2011, 05:26 PM   #7
fingers99
Member
 
Registered: Nov 2011
Location: Liverpool UK
Distribution: Debian, Knoppix, Kanotix
Posts: 63

Rep: Reputation: Disabled
Quote:
Originally Posted by khatrianand View Post

I don't mind doing this manually on each machine. I am ideally looking out for a scenario, as if I am installing from a live CD, which allows me to install on specific location on existing hard drive, along with Windows (make it dual boot). Also the live CD image is a custom image with all the needed applications. And This custom image size can be greater than 4GB. ( I can use remastersys to create a bootable custom live CD but the size of this distro as per iso9660 specs is limited to 4GB max)

Please suggest, what alternative do I have?

Regards,
Anand
I'd suggest you look at a live DVD. And that you look to Knoppix or Kanotix to re-master rather than Ubuntu: they have compression off to a fine art, they're generally less buggy, they have better auto recognition of hardware. Try and talk to Kano on the Kanotix forum -- he'll often be able to find time for a project he finds interesting.

With DVDs, space isn't really an issue -- the live Knoppix DVD is easily the equivalent of my running Debian install (and, if anything, is technically superior so far).
 
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
multiple linux machines bong.mau Linux - Software 3 06-09-2007 08:54 AM
Burning updates to distribute on multiple systems WORLEYTECH Linux - Newbie 3 09-17-2006 11:44 AM
Custom kernel image on custom slack build using CUSS nykey Slackware 2 07-15-2006 03:05 AM
running a single image on multiple machines subzero_ice Linux - General 0 05-11-2004 07:44 AM
Multiple Linux Machines using sendmail... needamiracle Linux - General 13 08-28-2002 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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