On Saturday 06 July 2002 05:02 pm, Jason Bechtel wrote:
> Hal,
>
> Great!  Glad you hear you're making some progress.  As for
> mounting, it depends how you will be imaging the freshly
> formatted disks.  For partitioning and formatting, there is
> no mounting involved.  It's what you want to do with your
> formatted partitions that matters...

Thanks.  It's been frustrating -- for about a week and half I bumped into 
obstacles at every step (the kind that can take a day or two to sovle), and 
now everything is finally falling together quickly.  It's just the simple 
things now, like creating the setup I want and making sure it's got all the 
apps and settings I need.


> If you can put together an image of a partition on the
> server and place it in an NFS exported directory, then you
> could just dump it to the raw block device with a command
> like:
>
>       cat /images/linux_partition_1.img > /dev/hda1
>
> For example, if you put the image in
> /opt/ltsp/i386/images/, then you could reference the file
> this way.  I'm not absolutely sure how you'd assemble the
> image off-hand, but I imagine the 'dd' command could do it
> for you.  Try something like this on the server:
>
>       dd if=/dev/hdb3 of=/opt/ltsp/i386/linux_partition_1.img
>
> This should create a bit-for-bit image of the third
> partition on the primary slave IDE drive of the server.
>
> The other way of handling it would be mount the
> partition(s) and then copy the filesystem contents onto it
> using 'tar' or just plain 'cp':
>
>       mount /dev/hda1 /mnt/temp
>       cd /mnt/temp
>       tar xzf /images/linux_partition_1.tar.gz

Actually, that's what I'm going to do.  I'm using a perl script just to unite 
all the steps, but I'm copying it over to an nfs mounted directory on the 
server.  I've been so focused on other issues, I hadn't even thought about 
this, but I'm glad you mentioned it, because I hadn't even thought of making 
a tarball.  I'd have probably remembered to to that AFTER I had everything 
running perfectly...

On the other hand, it's a lot easier to make simple changes (like adding a 
perl module) if I don't compact it and just use cp.  I'm not sure which would 
give me the most advantage.

> This might actually be better if you have well-endowed
> client systems because you could create a compressed
> tarball image on the NFS mount and then save yourself some
> bandwidth.  If you have 486's or low-end Pentiums as
> clients, however, the decompressing would slow down the
> whole operation, so you might as well just download the
> whole binary image over NFS.
>
> Good luck!
> Jason

The machines are decently endowed -- the first one is a 1.1 Ghz system, the 
2nd test system will be the same, but after that, I'll be doing a few 500 Mhz 
systems.  Speed, in terms of processing time, is not nearly as much an issue 
as my time, so if it takes a little longer to load, but that doesn't take 
more of my time, it won't be a problem.

>
> > From: Hal Vaughan <[EMAIL PROTECTED]>
> > Subject: Re: [Ltsp-discuss] Access to local devices
> > Date: Sat, 6 Jul 2002 11:20:42 -0400
> >
> > Got it working!
> >
> > I realize this will differ for a CD or CDRW, but this is
>
> how I got the ha=
>
> > rd=20
> > drive recognized and working.
> >
> > I added two modules to lts.config:
> >
> > MODULE_01 =3D ide-probe-mod
> > MODULE_02 =3D ide-disk
> >
> > I was also told to go to runlevel 3, so change the
>
> runlevel line in lts.c=
>
> > onf=20
> > to:
> >
> > RUNLEVEL =3D 3
> >
> > I was originally told to at ext2 as well, but there was
>
> no ext2 mod and i=
>
> > t=20
> > worked without it. I'm not sure what you'd need to do to
>
> use ext3 or oth=
>
> > er=20
> > file systems. When I asked, on the IRC channel, there was
>
> one person tha=
>
> > t=20
> > seemed to know this well, and he answered quickly. He
>
> didn't stay on the=
>
> > =20
> > channel long. Someone else was staying on and chatting
>
> with other people=
>
> > =2E =20
> > He reluctantly answered my questions about this (I wanted
>
> to make sure a=20
>
> > mount was not required for this -- I think I did have to
>
> add a simple mou=
>
> > nt=20
> > line to /etc/fstab, something like "/dev/hda1
>
> /mnt/localhd defaults 0 0",=
>
> > =20
> > although he told me that would not be required).
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Got root? We do.
> http://thinkgeek.com/sf
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.openprojects.net



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to