[K12OSN] OT: Using tar on win98 clients
CableMonkey42 at gmail.com
Wed Oct 27 13:58:24 UTC 2004
I like keeping the file attributes intact. Your example would require
use of "mattrib -p" to fix the permissions; however, last time I tried
that, I noticed that running the output of that command (without
modification) would cause an error with any file with square brackets.
On Tue, 26 Oct 2004 23:39:49 -0500 (CDT), Doug Simpson
<simpsond at leopards.k12.ar.us> wrote:
> I jusr use rsync from the hard drive in the Windows98 computer to a
> directory on the server and then use the regular fdisk tools to create a
> partition of desired size on the computer, format it using the windows
> format tools and then rsync the windows back to it.
> No problems so far for me!
> Doug Simpson
> Technology Specialist
> DeQueen Public Schools
> DeQueen, AR 71832
> simpsond at leopards.k12.ar.us
> Tux for President!
> On Tue, 26 Oct 2004, Daniel Hogan wrote:
> > This is what I normally do in Knoppix. I'm assuming that the harddrive is hda.
> > On the harddrive you wish to copy from:
> > 1. Using QTParted, shrink the size of the partition(s) so that it will
> > fit on the smaller harddrive. I usually go for anything smaller than
> > the size of the smallest harddrive.
> > 2. dd if=/dev/hda of=myimage.mbr bs=512 count=1
> > 3. sfdisk -d /dev/hda > myimage.sfdisk
> > 4. Use partimage to copy the partition(s) from the harddrive.
> > On the harddrive wish to copy to (I'm assuming hda on a different computer):
> > 1. dd if=myimage.mbr of=/dev/hda bs=512 count=1
> > 2. sfdisk /dev/hda < myimage.sfdisk
> > 3. Use partimage to write the image to the harddrive.
> > 4. Use QTParted to resize the partition to whatever size you wish.
> > 5. Reboot.
> > I usually mount a samba share and store the myimage.mbr,
> > myimage.sfdisk, and the partition image files on it so that I can
> > easily access it from the other computers.
> > Hope this helps.
> > On Tue, 26 Oct 2004 15:51:49 -0400, Henry Burroughs
> > <hburroughs at hhprep.org> wrote:
> > > I know this is a bit off topic, but I'm doing the ever necessary task of
> > > ghosting. I would be using partimage (and I was), except some of the hard
> > > disks are different sizes (and partimage doesn't support shrinking). I'm
> > > using a knoppix cd (3.4 i think).
> > >
> > > I'm trying tar (trying to keep it simple), and when I restore the image
> > > onto a fresh drive, it still won't boot properly (I'm even using msdos fdisk
> > > /mbr to reset the MBR). So the MBR is in place, it just doesn't want to
> > > load from there. Any suggestions or hints? THanks.
> > >
> > > Basically, my requirements are a imaging program (or tar) that handles
> > > restoring to smaller drives (of course, big enough for the actual data).
> > >
> > > I've spent waaaay too much time trying to get this monster to work.
> > >
> > > Henry
> > > _______________________________________________
> > > K12OSN mailing list
> > > K12OSN at redhat.com
> > > https://www.redhat.com/mailman/listinfo/k12osn
> > > For more info see <http://www.k12os.org>
> > >
> > >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
More information about the K12OSN