There are some caveats
If in the first machine if the hard disk to be shadowed is 'hda' then make
the same
'hda' on the target machine, I mean Primary Master harddisk in the source
machine should go as Primary Master in target machine.
And may be I will write more If I get a chance to see what else.
----- Original Message -----
From: "Chandrakumar Muthaiah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Pat" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 11:13 AM
Subject: Re: [LIH] Re: Sex Change - Making Server as Client and Client as
Server
No Problem. Here is the same old mail again.
But send the kernel panic message. So that we can help you what causes the
problem,
Nothing is lost, You are still good to go. I have done this approach several
times. On my PCs.
Not just Linux, But also for WinXP, and even for FreeBSD.
But in case of XP and Free BSD the proportional partition size will not work
and may be possible if it is FAT32 in case of XP but not in case of *BSD
Basically this should work for any OS without relaying out the partition
But it is Linux and we know how to work with ext2/ext3/reiser... ... So I am
describing this approach.
as a lost step I guess I missed to recreate the boot loader.
Try it again, Let us know what you find and the messages. So that we can
help.
It is the end of the world. I guess you have plenty of time.
1. remove the hardisk from your PIII
2. Put that On your PII
3. Create the same kind of partition layout as you have that on your PII
onto
your PIII new hardisk(just the **proportional**). and make the
appropriate
filesystems on the new harddisks, Whatever you think is **reasonable**.
(Like reiserfs, ext2, or worst case ext2)
Make sure **at least** it matches the same exact space requirement
for all the partitions
4. Shut your machine down.(I guess you don't want to shadow your hardisk
to another when that operating system is running.)
5. Get a bootable rescue disk(may use some of the bootable cdrom, most of
the current distributions have their rescue option on the first
installation cd,
like Mandrake, TurboLinux, etc...)
6. Go to rescue mode
7. Mount each hardisk on two different locations with the same directory
mount
point structure.
Example:
HD1
/dev/hda1 /hd1/
/dev/hda2 /hd1/opt
/dev/hda3 /hd1/var
/dev/hda4 /hd1/usr
HD2
/dev/hdc1 /hd2/
/dev/hdc2 /hd2/opt
/dev/hdc3 /hd2/var
/dev/hdc4 /hd2/usr
8. Then shadow the files systems from each.
shadow your file systems like
(cd /hd1; tar cf - *) | (cd /hd2; tar xf -)
This approach will not work if you have a hidden files in the root
directory of your hd1 filesystem
So careful to copy them also.
9. umount all the filesystems
10. shutdown, put the new hard disk on your new PIII system, Boom! done.
else
Just swap the hard disk in and out. This also should work just fine
else
Worst case, do not mount anything. But from rescue mode.
dd if=/dev/hda of=/dev/hdc bs=32M
Wait for this operation to complete.
Take the hard disk put that on your new Machine. Done.
But if the new harddisk is smaller than the old hard disk
this approach is of no use.
If the new hard disk is bigger than the smaller hard disk,
You may have to reconfigure the extra unpartitioned space.
All that up to you. But I will prefer the first option if I were you.
because it has the flexibility of having your own resized partitions
(bigger or smaller whatever you think ).
Last two would be for dump lazy people.
----- Original Message -----
From: "Pat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 1:27 PM
Subject: [LIH] Re: Sex Change - Making Server as Client and Client as Server
>Suresh Ramasubramanian <[EMAIL PROTECTED]>
>>+++ Jitendra Ravia [linux-india] <13/04/02 12:35
+0530>:
>> You may configure dhcp
>Just how the hell would that solve his problem?
> -srs
Yes, how ? Am confused too !
By the way, the gentleman ( I lost his mail, sorry pal
)
who suggested 3 alternatives to do the job may please
note that, after taking proper back-up of both the
HDDs,
I tried his all the three methods.
But to say sorry, I got **Kernel panic** message and
my
system got hanged. May be something wrong in some
steps.
Thinking of installing every-thing from scratch, in
late
night hours - spare time.
Somebody must be knowing , how to do it. But who ?
Regards & thanks !
~ Pat
( newlxuser )
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help