Unix Technical Forum

duplicate Linux installation

This is a discussion on duplicate Linux installation within the Linux Operating System forums, part of the Unix Operating Systems category; --> Erik T. wrote: > Hi, > > For a classroom setup, I am asked to install multiple copies of ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 01-18-2008, 07:46 AM
moma
 
Posts: n/a
Default Re: duplicate Linux installation

Erik T. wrote:
> Hi,
>
> For a classroom setup, I am asked to install multiple copies of Linux
> (Fedora Core 3) on the same machines in a classroom. Is there a (easy)
> way to duplicate one system to a new partition, without having to
> (re)install the complete system? Can I just duplicate the root partition
> and modify /etc/fstab of the copied system accordingly? Will there be
> network issues (we use dhcp on our network, so I don't think that will
> be a problem). Anything else to take into account?
>
> In short:
> step 1. install 1 linux system
> step 2. duplicate installed linux system on same machine
> ==> How do i go about this?
>
> tnx,
> E.T.



Just for info:

SchoolLinux thin client solution.
http://www.skolelinux.org/portal/




// mm
http://www.futuredesktop.org/how2burn.html#mirrors


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-18-2008, 07:46 AM
Keith Keller
 
Posts: n/a
Default Re: duplicate Linux installation

On 2005-02-08, moma <moma@example.net> wrote:
>
> SchoolLinux thin client solution.
> http://www.skolelinux.org/portal/


This looks more like a distro for users of a linux distro, not for
configuring a lab for a class on administering linux. Quote:

"Moreover, it eases administration, as you have one server to maintain."

But the OP wants his students to maintain one server each.

--keith

--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 01-18-2008, 07:46 AM
mjt
 
Posts: n/a
Default Re: duplicate Linux installation

Erik T. wrote:

>
>> all this begs the question: why are you wanting to create two
>> additional "images" of an installation on other partitions?

>
> It is for a classroom environment, were several (3) different student
> groups are being taught the linux principles. To prevent one student
> from messing up the system for all groups, each group would use it's own
> dedicated linux partition.



.... maybe instead of trying to physically protect each
users partition from each other, you should be teaching
proper system administration and *Nix use. first rule,
right, is they shouldnt be logging in as root, so being
a normal user, they shouldnt be able to muck up the
system TOO much :O

teach them the rules of the *Nix road and they'll be
better computer users.

create a hidden partition which contains a copy of the
pristine image of the REAL partition - so if the time
every came when something catastrophic happens, you
can simply copy the image back over.

teach them how to do backups too.
--
<< http://michaeljtobler.homelinux.com/ >>
Do not believe in miracles -- rely on them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 01-18-2008, 07:46 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: duplicate Linux installation


"Erik T." <et@homeplanet.universe> wrote in message
news:cuajf7$vjl$1@ikaria.belnet.be...
>
>> all this begs the question: why are you wanting to create two additional
>> "images" of an installation on other partitions?

>
> It is for a classroom environment, were several (3) different student
> groups are being taught the linux principles. To prevent one student from
> messing up the system for all groups, each group would use it's own
> dedicated linux partition.


Ahh. Hmm. What you probably want, then, is not quite what you think. You
need chroot cages for an active system, where the chroot cage has a
particular deployed implementation of the system.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 01-18-2008, 07:46 AM
mjt
 
Posts: n/a
Default Re: duplicate Linux installation

Nico Kadel-Garcia wrote:
> "Erik T." <et@homeplanet.universe> wrote in message
>>
>>> all this begs the question: why are you wanting to create two additional
>>> "images" of an installation on other partitions?

>>
>> It is for a classroom environment, were several (3) different student
>> groups are being taught the linux principles. To prevent one student from
>> messing up the system for all groups, each group would use it's own
>> dedicated linux partition.

>
> Ahh. Hmm. What you probably want, then, is not quite what you think. You
> need chroot cages for an active system, where the chroot cage has a
> particular deployed implementation of the system.



.... might be excessive, but SELinux might be applicable.
--
<< http://michaeljtobler.homelinux.com/ >>
Adler's Distinction: Language is all that separates us
from the lower animals, and from the bureaucrats.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 01-18-2008, 07:46 AM
John Hasler
 
Posts: n/a
Default Re: duplicate Linux installation

Erik T. wrote:
> It is for a classroom environment, were several (3) different student
> groups are being taught the linux principles. To prevent one student from
> messing up the system for all groups, each group would use it's own
> dedicated linux partition.


Use something like systemimager to keep the images on a server and install
them on the student machine at need. Update the image on the server when
the student logs off. You could also keep backups so that if they
hopelessly hose themselves you can roll them back.
--
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 01-18-2008, 07:46 AM
Erik T.
 
Posts: n/a
Default Re: duplicate Linux installation

John Hasler wrote:
> Erik T. wrote:
>
>>It is for a classroom environment, were several (3) different student
>>groups are being taught the linux principles. To prevent one student from
>>messing up the system for all groups, each group would use it's own
>>dedicated linux partition.

>
>
> Use something like systemimager to keep the images on a server and install
> them on the student machine at need. Update the image on the server when
> the student logs off. You could also keep backups so that if they
> hopelessly hose themselves you can roll them back.


I will give systemimager a try. Skimming through the docs, it looks very
promising!

tnx!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 01-18-2008, 07:46 AM
Erik T.
 
Posts: n/a
Default Re: duplicate Linux installation


> ... maybe instead of trying to physically protect each
> users partition from each other, you should be teaching
> proper system administration and *Nix use. first rule,
> right, is they shouldnt be logging in as root, so being
> a normal user, they shouldnt be able to muck up the
> system TOO much :O


yes, I know that. But I'm not the teacher It's my job to setup the
classroom as student-proof as possible.
And on the other hand, to do system administration, sometimes you need
root access, and accidents tend to happen (learn from your mistakes).

> teach them the rules of the *Nix road and they'll be
> better computer users.


I agree.

> create a hidden partition which contains a copy of the
> pristine image of the REAL partition - so if the time
> every came when something catastrophic happens, you
> can simply copy the image back over.


Will do (as long as disk space permits)

tnx!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 01-18-2008, 07:47 AM
mjt
 
Posts: n/a
Default Re: duplicate Linux installation

Erik T. wrote:

>> ... maybe instead of trying to physically protect each
>> users partition from each other, you should be teaching
>> proper system administration and *Nix use. first rule,
>> right, is they shouldnt be logging in as root, so being
>> a normal user, they shouldnt be able to muck up the
>> system TOO much :O

>
> yes, I know that. But I'm not the teacher


oops. i didnt realize that

[snip]
>> create a hidden partition which contains a copy of the
>> pristine image of the REAL partition - so if the time
>> every came when something catastrophic happens, you
>> can simply copy the image back over.

>
> Will do (as long as disk space permits)


.... that will take a lot less space than have THREE images
--
<< http://michaeljtobler.homelinux.com/ >>
Remember: Silly is a state of Mind, Stupid is a way of Life. - Dave Butler
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:16 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com