Linux-Misc Digest #438, Volume #24               Thu, 11 May 00 15:13:04 EDT

Contents:
  Moving linux from a to b (matt)
  Re: German Govt says Microsoft a security risk (JEDIDIAH)
  Linux Printers (George Bell)
  Re: Moving linux from a to b (sergio)
  Re: Sharing a DSL connection with Linux (Dallas Times)
  Re: Linux is cool! (was: Wierd SuSE6.4 problem) ("Liam Friel")
  Re: FreeBSD and Linux ("W. Vann Hall")
  Re: Need to find my IP address (brian moore)
  Re: Samba and win98 on same hard drive (Dallas Times)
  Re: Moving linux from a to b (Lew Pitcher)
  minor vmware annoyance (Ken Yasuda)
  Re: Sharing a DSL connection with Linux ([EMAIL PROTECTED])
  Re: Need to find my IP address (Kaz Kylheku)
  Re: DNS problem (chris)
  Re: Sharing a DSL connection with Linux (Edward Jong)
  Re: Large file support (>2GB) on 2.2.x kernels  (NT vs. Linux FTP) (kien@post)
  Re: FreeBSD and Linux (John Hasler)
  vmware: update date/time on suspended virtual machine? (Gerald Pollack)
  Re: apache restart problem (kevin metcalf)
  Re: How to print page range in Netscape/Linux (Achim Linder)
  Re: LILO 1024 cyl thing (hoffmyster)
  Re: disk mirroring --- system image (hoffmyster)

----------------------------------------------------------------------------

From: matt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Moving linux from a to b
Date: Thu, 11 May 2000 17:52:29 +0100

Hi,

Problem 2 disks on linux one is new the other almost full.

I wish to transfer one complete linux setup from on disk to
another ie from 'a' drive to 'b' drive.

The b drive is new and the a drive has linux loaded on.

What is the best way of doing it ?
Format the partitions first then.

/
tar -xvf backup.tar *

or cp -p / /dev/hda3

Regards

Matt



------------------------------

From: [EMAIL PROTECTED] (JEDIDIAH)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: German Govt says Microsoft a security risk
Date: Thu, 11 May 2000 17:04:51 GMT

On Thu, 11 May 2000 17:28:55 +0200, Matthias Warkus <[EMAIL PROTECTED]> wrote:
>It was the Thu, 11 May 2000 07:47:26 -0700...
>...and Salvador Peralta <[EMAIL PROTECTED]> wrote:
>> That the German government is restricting
>> free speech and free religion in this way is frightening given what was
>> happening there 2 generations ago.  
>
>The Scientology issue is completely unrelated to religious freedom. If
>you seriously think that the "Church" of Scientology is a religion in
>any way, you must be a damn fool.  Actually, Scientology is the
>essence of capitalism. It's a corporation that produces nothing, makes
>enormous amounts of money and expands all the time, paying its
>"employees" next to nothing (instead, cashing in money from them!).
>It's unsurprising that this organisation has emerged from the US, is
>most popular in the US, and that it has established a firm foothold in
>the traditionally greedy personnel of Hollywood. (Scientology's ethos
>is clearly being transported by Aaron Spelling's TV shows, to
>mention only one example. Spelling is a Scientologist. A Scientologist
>with an ugly daughter maybe, but still a Scientologist. ;-)
>
>As for free speech, we handle that a bit different in Germany than in
>a lot of other countries. The simple reason is that we want to avoid
>"what was happening there 2 generations ago" from happening again. The
>restrictions in our constitution become plausible from the context of
>its creation and the fact that Germany's responsibility towards the
>international community is paramount to our constitution. This is why
>we've got constitutional articles of "eternal durability" which are
>considered eternal and unchangeable truths and which cannot be
>replaced or changed in any way. This is also why the German people
>cannot give themselves a dictatorial government even if, by majority,
>they wanted to.
>
>It's clear that you probably don't understand that, coming from "the
>best country in the world" where the general stance seems to be that
>the 5.8 billion non-USAmerican people living on this planet are
>completely irrelevant and that your country has never done anything
>regrettable or even only wrong.

        Also, people dellude themselves by ignoring history. What was
        happening in Germany in the 1930's was not merely limited to
        Germany. The sorts of genocide and repression instituted by
        the German regime at that time were far from unique. They were
        just made more effective by applying the tools of an industrial
        age to the problem.
        
        The ghettos were around long before Germans started depopulating them.

        Germany was just a little bit more desperate than the rest of us.

-- 

    In what language does 'open' mean 'execute the evil contents of'    |||
    a document?      --Les Mikesell                                    / | \
    
                                      Need sane PPP docs? Try penguin.lvcm.com.

------------------------------

From: George Bell <[EMAIL PROTECTED]>
Subject: Linux Printers
Date: Thu, 11 May 2000 13:04:42 -0400

Does anyone know which brands offer a real postscript printer?  Are
there any brands that work especially well in Linux?

For the reason I cannot use my printer with Linux, please see my earlier
post.

George

------------------------------

From: sergio <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Moving linux from a to b
Date: Thu, 11 May 2000 18:08:42 +0100

matt wrote:
> 
> Hi,
> 
> Problem 2 disks on linux one is new the other almost full.
> 
> I wish to transfer one complete linux setup from on disk to
> another ie from 'a' drive to 'b' drive.
> 
> The b drive is new and the a drive has linux loaded on.
> 
> What is the best way of doing it ?
> Format the partitions first then.
> 
> /
> tar -xvf backup.tar *
> 
> or cp -p / /dev/hda3
> 
> Regards
> 
> Matt

cd /
md HDA3
mount -t ext2 /dev/hda3 /HDA3

tar -cf - * | tar -C /HDA3 -xf -

Regards
Sergio


------------------------------

From: Dallas Times <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Sharing a DSL connection with Linux
Date: Thu, 11 May 2000 12:15:51 -0700


Nick Martell wrote:

> Sounds great, but for newbies like me please tell us which version of Linux
> you use, what is the power of the Linux box, what software actually
> interfaces with the DSL line and is that line PPPoE or static IP, and
> exactly what does "(with firewall in place) " mean? Thanks. I'm at the
> starting gate with all of this so I need to ask the most elementary
> questions.

For the version of Linux to use, newbies like yourself should probably start
with something like SuSe, Debian, or RedHat (mainly for ease of installation,
somewhat easier to maintain).

dhcp, PPoE and static IP are the choice of the DSL company that serves your DSL
line. Have to ask your DSL service provider for this one.

The "firewall in place" means that the machine that has the DSL line connected
is running software (or the linux kernel with ipchain rules in place) to make
it harder for script kiddies to break into your machine/network and cause
network havoc wth your computers.

Elementary questions are where everyone started. Usually a good place to start
is http://www.linuxdoc.org and check up on the Howto documents. I can't think
of any off the top of my head, but there's also several sites that specialize
in "plain language" descriptions of setup/maintenance of linux system
administration and network security.

If you have someone in your congregation/friends list that already has Linux
and is somewhat proficient in it's use, then you might want to try what they
have (built-in local help <g>).

Personnaly, I prefer Slackware, but YMMV since Patrick Volkerding has stated
that Slack will be stable over ease of use.

At the office, we have TurboLinux 4.0 installed (my wife found a copy for
$20USD with $20 rebate coupon) for the gateway machine on a pentium (I think)
166 with 32M ram. CPU load is usually < 0.1 with this setup.

The rest of the network is various Windows 9x machines (2 at this time) with 4
PowerMacs and a P200 running TurboLinux as a  file/printserver for both
windows/apple stuff. Printers connected are an HP DeskJet870Cse (connected to
P200 lp0), Apple Laserwriter IIg (direct network connection) and a Unity
1800XL-O (11x17 laser printer direct network connection).

- Ken


------------------------------

From: "Liam Friel" <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: Linux is cool! (was: Wierd SuSE6.4 problem)
Date: Thu, 11 May 2000 18:22:41 +0100


aflinsch <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

>>It's now much quieter than it was before I bought the second one.  Isn't
hardware fun?
>
> noisy fan usually means bad/worn bearings. removing and reinserting it
> most likely wiggled the bearings into a slightly different position,
> exposing a less worn area.

There, in one word, you have the reason why hardware is cooler than
software.
Software never responds to being "wiggled".

"Wiggling" is an essential HW engineering skill though.

Liam






------------------------------

Date: Thu, 11 May 2000 10:29:03 -0700
From: "W. Vann Hall" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD and Linux


> 5. Is FreeBSD a real UNIX? Is Solaris? Linux seems to be not
> UNIX...Unix...unix?
 
> Is there some one out there with answers to these questions?

Well, there's some no-lifed luser out in Bawlimer who will, I'm sure,
take a swing at the last one.

------------------------------

From: [EMAIL PROTECTED] (brian moore)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: 11 May 2000 17:33:49 GMT

On Thu, 11 May 2000 06:50:31 GMT, 
 Chris <[EMAIL PROTECTED]> wrote:
> On 9 May 2000 02:37:53 GMT, [EMAIL PROTECTED] (brian moore) wrote in
> comp.os.linux.development.apps:
> 
> >Why would you want to specify 'eth0' instead of '10.1.2.3'?
> 
> Perhaps I want to read the binding port from a config file when the
> program loads but the interface address is controlled by a DHCP client so
> the numeric address can't be known in advance.

Then you know that it will have to be restarted every time you restart
dhcp (as you bind to an IP number not to a port).

And DHCP (and PPP) provide you mechanisms to execute your own arbitrary
commands when you get a new IP number, which are passed (amongst other
things) the IP number issued.

That would be the -correct- way to do it.

-- 
Brian Moore                       | Of course vi is God's editor.
      Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
      Usenet Vandal               |  for it to load on the seventh day.
      Netscum, Bane of Elves.

------------------------------

From: Dallas Times <[EMAIL PROTECTED]>
Subject: Re: Samba and win98 on same hard drive
Date: Thu, 11 May 2000 12:37:39 -0700

Samba is only needed to mount WFW (or Win9x shares) from an already running
windows machine or to allow windows machines to access your linux machine's
hard disk.

If the disk is local (on the same machine as linux, assuming from your post
it is), just make a directory (I usually use /win95 or /win98), then issue
the command

(assume windows partition is /dev/hdc1, directory entry created is /win98):

"#mount   -t   vfat  /dev/hdc1  /win98".

You can use cp to put the files onto your windows partition.

- Ken

Greg Pepper wrote:

> I have linux and Win 98 running on the same HD.
>
> only have 100 meg left on Linux partition
>
> (disk is 4 gig in size, 2 gig for each OS)
>
> I would like to move some source code I have downloaded to the windows
> partition so that I can burn and archive.
>
> I know I can do it all under linux, burn, have all 4 gigs, the whole nine
> yards.
>
> but one thing at a time.
>
> so I need help configing samba so that I can mount the win98 partition so
> that it is accessible when running linux
>
> thanks in advance for any help
>
> --
> Posted via CNET Help.com
> http://www.help.com/


------------------------------

From: [EMAIL PROTECTED] (Lew Pitcher)
Crossposted-To: comp.os.linux.setup
Subject: Re: Moving linux from a to b
Reply-To: [EMAIL PROTECTED]
Date: Thu, 11 May 2000 17:46:05 GMT

On Thu, 11 May 2000 18:08:42 +0100, sergio <[EMAIL PROTECTED]> wrote:

>matt wrote:
>> 
>> Hi,
>> 
>> Problem 2 disks on linux one is new the other almost full.
>> 
>> I wish to transfer one complete linux setup from on disk to
>> another ie from 'a' drive to 'b' drive.
>> 
>> The b drive is new and the a drive has linux loaded on.
>> 
>> What is the best way of doing it ?
>> Format the partitions first then.
>> 
>> /
>> tar -xvf backup.tar *
>> 
>> or cp -p / /dev/hda3
>> 
>> Regards
>> 
>> Matt
>
>cd /
>md HDA3
>mount -t ext2 /dev/hda3 /HDA3
>
>tar -cf - * | tar -C /HDA3 -xf -

a slightly more bulletproof version of the above command comes from
the Linux Tips HOWTO:

2.6.  Moving directories between filesystems. Alan Cox,
[EMAIL PROTECTED]

Quick way to move an entire tree of files from one disk to another

(cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xvfp - )

Change from cd /source/directory; tar....etc.  to prevent possibility
of trashing directory in case of disaster.  Thanks to Jim Dennis,
[EMAIL PROTECTED], for letting me know. -Maint.      



Lew Pitcher
System Consultant
Toronto Dominion Financial Group

([EMAIL PROTECTED])


(Opinions expressed are my own, not my employer's.)

------------------------------

From: [EMAIL PROTECTED] (Ken Yasuda)
Subject: minor vmware annoyance
Date: 11 May 2000 17:49:43 GMT

I've been trying to access the news server at news.vmware.com, but due to a
firewall or something higher up in my system (other people around me are also
unable to access it) I can ping the site but not connect to it.  So far rn, xrn, 
and netscape, etc... don't work.

If I want to set up an external account somewhere and read news from it, is there
a quick and cheap way of doing it?  Do any of the free email sites also allow
news access?  I've no real need to sign on long-term with a commercial ISP other
than to try another way to reach this group.

Thanks,

Ken

(Remove "nospam" if responding by email.  :)

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Sharing a DSL connection with Linux
Date: Thu, 11 May 2000 17:37:25 GMT

I greatly appreciate everyone who took the time to reply!  You've given
me a lot of reading material to look over this weekend.

One other question, which is probably even more basic (*blush*)  How do
I go about configuring RedHat Linux 6.0 to recognize and use a second
network card, once I install it?

Also, I was thinking of going with the $20 Netgear FA310TX 10/100 card -
 any reason NOT to buy and use that particular card?

Thanks again!



Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Reply-To: [EMAIL PROTECTED]
Date: Thu, 11 May 2000 17:51:54 GMT

On Thu, 11 May 2000 06:50:31 GMT, Chris <[EMAIL PROTECTED]> wrote:
>On 9 May 2000 02:37:53 GMT, [EMAIL PROTECTED] (brian moore) wrote in
>comp.os.linux.development.apps:
>
>>Why would you want to specify 'eth0' instead of '10.1.2.3'?
>
>Perhaps I want to read the binding port from a config file when the
>program loads but the interface address is controlled by a DHCP client so
>the numeric address can't be known in advance.

You don't need to know any IP address in order to bind a socket
to a port.

You can just bind to the the wildcard INADDR_ANY.

    struct sockaddr_in bind_addr;

    bind_addr.sin_family = AF_INET;
    bind_addr.sin_addr.s_addr = htonl(INADDR_ANY);
    bind_addr.sin_port = htons( <whatever> );

    /* now use bind_addr in your call to bind() */

Binding to a specific network is only useful on hosts with more than one
adapter (or with IP aliasing on a single adapter, or some combination thereof).

What are you doing that is so special that you need to make a DHCP
machine provide a service which listens on a particular network?

-- 
#exclude <windows.h>

------------------------------

From: chris <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.development.system
Subject: Re: DNS problem
Date: Fri, 12 May 2000 02:23:16 +0800
Reply-To: [EMAIL PROTECTED]

Hi Steve,
But there is no IP address entry in  /var/log/messages,  any other way to
check the IP address of the machine which submit the query?
Chris
Steve wrote:

> On Tue, 09 May 2000 00:35:06 +0800, chris wrote:
> >
> >--------------BBBAE3211C557E98E280F3DF
> >Content-Type: text/plain; charset=us-ascii
> >Content-Transfer-Encoding: 7bit
> >
> >  Hi,
> >I have configure two dns servers, the servers seem working fine for
> >quite a few week except there are errors in /var/log/message:
> >Apr  9 12:11:21 server01 named[458]: sysquery: findns error (SERVFAIL)
> >on ?
> >Can any suggest what's the problem with my dns server, does this error
> >message casue harm ?
>
> You need to know what IP or Name it failed on, it could just be soeone
> trying to get to an unreachagle network.
>
> --
> Cheers
> Steve              email mailto:[EMAIL PROTECTED]
>
> %HAV-A-NICEDAY Error not enough coffee  0 pps.
>
> web http://www.ndirect.co.uk/~sjlen/
>
> or  http://start.at/zero-pps
>
>   9:40am  up 12 days, 11:41,  2 users,  load average: 1.08, 1.02, 1.00


------------------------------

From: Edward Jong <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Sharing a DSL connection with Linux
Date: Thu, 11 May 2000 11:17:11 -0700

To configure your second network card
login as root
$ su
password: <secret>
# control-panel

click on the corn <kernel> picture.
select the eth1, module for the card, io, irq
your /etc/conf.modules should an extra entry looking something like this

options eth1 io=0x280 irq=9
alias eth1 ne

[EMAIL PROTECTED] wrote:

> I greatly appreciate everyone who took the time to reply!  You've given
> me a lot of reading material to look over this weekend.
>
> One other question, which is probably even more basic (*blush*)  How do
> I go about configuring RedHat Linux 6.0 to recognize and use a second
> network card, once I install it?
>
> Also, I was thinking of going with the $20 Netgear FA310TX 10/100 card -
>  any reason NOT to buy and use that particular card?
>
> Thanks again!
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


------------------------------

From: kien@post
Crossposted-To: comp.os.linux.setup
Subject: Re: Large file support (>2GB) on 2.2.x kernels  (NT vs. Linux FTP)
Date: 11 May 2000 10:34:50 -0700

In article <[EMAIL PROTECTED]>, Thomas says...
>
>I've lost track of the current wisdom regarding large file support on
>2.2.x kernels.  Even after sifting DejaNews and some Linux sites
>I am confused...
>
 
You will be better of wait untill distros based on kernel 2.4 are
out with glibc with support for large files. This should happen
by the end of this year. 


------------------------------

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD and Linux
Date: Thu, 11 May 2000 17:26:57 GMT

Steve O'Hara-Smith writes:
> I did hear of this being done once, Linux userland and FreeBSD kernel.

There has been discussion on the Debian mailing lists of developing Debian
GNU/FreeBSD.  I haven't followed it and don't know that anything is
actually being done, but it might be worth doing just to make steam come
out of John Dyson's ears.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

------------------------------

From: Gerald Pollack <[EMAIL PROTECTED]>
Subject: vmware: update date/time on suspended virtual machine?
Crossposted-To: vmware
Date: Thu, 11 May 2000 18:28:19 GMT

One of the nice improvements in vmware2.0 is the ability to suspend=20
the virtual machine, and so to avoid long startup times. I use vmware=20
to run Win95 on a linux host, in part to synch/backup my wince=20
hand-held (to my knowledge, there is no simple way to do this under=20
linux). Apparently, when the hand-held is connected to its hosts=20
(windows) it updates its date/time settings; and this causes all sorts=20
of problems if the windows host has been resurrected after several=20
days' hibernation, still with the old date/time settings.  Is there an=20
easy way to tell vmware, or windows, to re-read the date/time from its=20
linux host?
Thanks,
--=20
Gerald Pollack, eMail: [EMAIL PROTECTED]
McGill University, Dept. of Biology, H3A 1B1 Montreal
Tel: 514-398-6418, Fax: 514-398-5069




------------------------------

From: kevin metcalf <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: apache restart problem
Date: 11 May 2000 14:32:29 EDT
Reply-To: [EMAIL PROTECTED]

That's odd.  I have always been able to do a -HUP without any problems
using RH6.2 on a very old box.  Oh well.

Frank Boehme wrote:
> 
> Dan Hobbs wrote:
> 
> > > When I try to reinitialise my apache server (jserv build) using the
> > > command  `killall -HUP httpd`, the apache errorlog says fills up with
> > > the following error messages
> >
> > Try
> >
> > /etc/rc.d/init.d/httpd stop
> > /etc/rc.d/init.d/httpd start
> >
> > or
> >
> > /etc/rc.d/init.d/httpd restart
> 
> Correct. If you used killall -HUP instead, then you may run into trouble
> caused by the fact that httpd spawns child processes. Also, I m not sure
> if httpd catches -HUP at all.
> 
> Frank

------------------------------

From: [EMAIL PROTECTED] (Achim Linder)
Subject: Re: How to print page range in Netscape/Linux
Date: Thu, 11 May 2000 20:09:19 +0200

On Tue, 9 May 2000 20:25:03 +0200, Achim Linder wrote:
>On Sat, 06 May 2000 11:09:32 -0400, Nguyen-Dai Quy wrote:
>>Robert Lynch wrote:
>
>>> I've thought about trying to program a print filter (pages, page
>>> numbering shouldn't be too big a problem), but how to get the URL info
>>> from Netscape?
>>
>>For URL I don't know how to get it :-( But I have already a Perl script
>>which used to add date, time and page number to ps file created by
>>Netscape. I would like to get URL too, but it seems impossible for me,
>>but maybe you know some tricks ...
>
>Perl solution:

BTW: The Postscript code can be written more clearly (into only one
variable). Of course it is ridiculous to use Perl for such a simple task.


#!/usr/bin/perl
@datum = (split ' ', localtime(time))[0,1,2,4];

$getid = '`xwininfo -tree -root | sed -n "/Navigator/{s/ [^ 0].*//p;q;}"`';
chop($url = `xprop _MOZILLA_URL -id $getid`);

chop($url);
$fline = substr($url, 24, 80); $fline =~ s/[()]/\\$&/g;
$sline = substr($url, 104); $sline =~ s/[()]/\\$&/g;

$pscom = "grestore\n" .
         "gsave\n" .
         "0 setgray\n" .
         "50 45 moveto\n" .
         "/Helvetica findfont 10 scalefont setfont\n" .
         "(p  @datum   $fline ) show\n" .
         "50 32 moveto\n" .
         "($sline) show\n" .
         "grestore\n";

while (<>) {
    if (/^%%Page:/) {
        $_ .= $pscom;
        s/^(.* ([0-9]+)\n)(.*\n)(.*\n.*\n.*\n.*\n..)/$3$1$4 $2/;
        s/^.*\n......: 1 /%%Page: 1 /;
    }
    print;
}


Achim


------------------------------

From: hoffmyster <[EMAIL PROTECTED]>
Subject: Re: LILO 1024 cyl thing
Date: Thu, 11 May 2000 14:53:19 -0400

>
> Then you can do (in single user mode!):
>
> bash# dump 0f - / | (cd /mnt/newroot; restore rf -)
>

Well, Robert,  with the help of Bill Davidsen in one of his earlier responses in 
another thread
I FINALLY found what I needed.  As it turns out it is a very simple procedure but very 
criptic as is
your command line above.  Its like the ability was buried deep inside the guts of 
Linux.  Hence this
forum, I suppose.  People like yourself make themselves available to help with things 
like this.
I appreciate that.

If you are interested in knowing the method I used see my latest reply in "disk 
mirroring -- system
image".

Thanks for you help.  I will look into that dump|restore thing further.

hoffy


------------------------------

From: hoffmyster <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: disk mirroring --- system image
Date: Thu, 11 May 2000 14:53:59 -0400

>   cd /
>   find . boot home -xdev | cpio -pBdm /mnt

THANK YOU, THANK YOU, THANK YOU!!!

I am currently using my cloned image of my primary Linux OS.  Another words
I am on my backup copy right now.  So I have found the holy-grail and have
my means to clone my system.

for anyone else out there is a method to try.  I wouldn't follow the
Upgrade - Hard Drive HOWTO if I were you.  I wasted a lot of time on it.

1) while in single user mode and the current directory is / and running on
the source drive,
1) mount all your partitions onto the source drive following the FSSTND
standards, of course.
/backup                   -- is the root and on hdb5, for instance
/backup/boot           -- is on hdb2
/backup/home         -- is on hdb6
. 
. 
. 
/backup/usr             -- is on hdb10
/backup/usr/local    -- is on hdb11
. 
. 
. 
etc

2)  then simply type the following command using the partition mounts
points in the command and copy with respect to / (/backup) on the
destination disk:

find . boot home . . . usr usr/local . . . etc   -xdev | cpio -pBdmV
/backup

then walk away for awhile and let it do its thing.  If you have sized your
destination partitions correctly so that the copy process does not run out
of space on any one partition then the command will complete successfully.

adjust the /etc/fstab file to reflect the partitioning on the destination
disk and copy it over to it.  Then if necessary one might have to install
LILO onto the destination drive.

Then reboot the destination drive as whatever device you want or can and
VIOLA you have done it.

Thanks for you help, Bill!!!

hoffy


------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to