Hard disk upgrade - how to get everything (linux/Windows95) on new disk

Hard disk upgrade - how to get everything (linux/Windows95) on new disk

Post by I. Ahma » Sun, 01 Jun 1997 04:00:00



Hello Everyone:

I am not sure if similar question has appeared before.

I have a small hard disk (810M) with half for linux and half for Windows95. I
would like to upgrade my harddisk to a more reasonable size but do not want to
have the new drive permanently installed as a slave or secondary drive. I want
to use the existing one for some other purposes.

Does any one know how or can guide me how I can copy the contents of entire
disk (both linux and Windows95) on the new disk. The new disk, being bigger in
size, will have larger partition sizes as well (or I can make same size and add
few more partitions).


will save me a lot of time which I spent in configuring the existing system.

I am runing linux slackware 3.0, kernel version 1.3.18 on a Dell 100MHz
pentium.

-------------------------------------------------------------------------------
         ___              Imran Ahmad                          ___
       ( . . )            Dept. of Computer Science          ( . . )
       _\ ` /_            Wayne State University             _\ ` /_
      (_  .  _)           Detroit, MI 48202                 (_  .  _)
       / ___ \            Phone (off): (313)577-6771         / ___ \

        -----      Home page: http://www.cs.wayne.edu/~ima    -----

 
 
 

Hard disk upgrade - how to get everything (linux/Windows95) on new disk

Post by Steve Brow » Sun, 01 Jun 1997 04:00:00


Quote:>I have a small hard disk (810M) with half for linux and half for Windows95. I
>would like to upgrade my harddisk to a more reasonable size but do not want to
>have the new drive permanently installed as a slave or secondary drive. I want
>to use the existing one for some other purposes.

>Does any one know how or can guide me how I can copy the contents of entire
>disk (both linux and Windows95) on the new disk. The new disk, being bigger in
>size, will have larger partition sizes as well (or I can make same size and add
>few more partitions).

Partition Magic 3.0 contains a utility, PartitionCopy, which will do
this. PowerQuest, the publisher, has released an expanded version as
DriveCopy ($29.95).
Steve
Stephen B. Browne


 
 
 

Hard disk upgrade - how to get everything (linux/Windows95) on new disk

Post by la.. » Tue, 03 Jun 1997 04:00:00




>>I have a small hard disk (810M) with half for linux and half for Windows95. I
>>would like to upgrade my harddisk to a more reasonable size but do not want to
>>have the new drive permanently installed as a slave or secondary drive. I want
>>to use the existing one for some other purposes.

>>Does any one know how or can guide me how I can copy the contents of entire
>>disk (both linux and Windows95) on the new disk. The new disk, being bigger in
>>size, will have larger partition sizes as well (or I can make same size and add
>>few more partitions).

>Partition Magic 3.0 contains a utility, PartitionCopy, which will do
>this. PowerQuest, the publisher, has released an expanded version as
>DriveCopy ($29.95).
>Steve
>Stephen B. Browne


It will copy ext2 partitions, too?

Lance

 
 
 

Hard disk upgrade - how to get everything (linux/Windows95) on new disk

Post by Mr Stuart Lamb » Tue, 03 Jun 1997 04:00:00


[...]
[On copying the contents of a partition to a new drive]

: >Partition Magic 3.0 contains a utility, PartitionCopy, which will do
: >this. PowerQuest, the publisher, has released an expanded version as
: >DriveCopy ($29.95).
: >Steve
: >Stephen B. Browne

:
: It will copy ext2 partitions, too?

No need. Mount the new Linux partition somewhere (say, /mnt), cd to the
root directory of the partition to copy (eg, /usr), and issue the command:

( tar clf - . ) | ( cd /mnt && tar xvf - )

This means:

c: create a tar file
l: stay on the local file system - don't go to a different fs
f - : write the file to stdout.

The second part of the command just cd's to where the stuff is to be dumped,
and extracts the archive.

Unix pipes are your friend. Love them.

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d-(++) s+:- a-- C++>$ UL+++(++++)>++++$ P-(---) L++(+++)>+++$ !E---
W+(--)>-- N+(++)> o+>++ K- !w--- !O- !M- !V- PS+ PE Y(+) PGP+>+++ t 5 !X
!R tv-(--)>! b++(++++)>++++ DI+(+)>++++ D++(---) G+ e++ h>++ !r>+++ y?
------END GEEK CODE BLOCK------

 
 
 

Hard disk upgrade - how to get everything (linux/Windows95) on new disk

Post by la.. » Tue, 03 Jun 1997 04:00:00




>>I have a small hard disk (810M) with half for linux and half for Windows95. I
>>would like to upgrade my harddisk to a more reasonable size but do not want to
>>have the new drive permanently installed as a slave or secondary drive. I want
>>to use the existing one for some other purposes.

>>Does any one know how or can guide me how I can copy the contents of entire
>>disk (both linux and Windows95) on the new disk. The new disk, being bigger in
>>size, will have larger partition sizes as well (or I can make same size and add
>>few more partitions).

>Partition Magic 3.0 contains a utility, PartitionCopy, which will do
>this. PowerQuest, the publisher, has released an expanded version as
>DriveCopy ($29.95).
>Steve
>Stephen B. Browne


It will copy ext2 partitions, too?

Lance

 
 
 

Hard disk upgrade - how to get everything (linux/Windows95) on new disk

Post by Bob Niels » Thu, 05 Jun 1997 04:00:00






>>>I have a small hard disk (810M) with half for linux and half for Windows95. I
>>>would like to upgrade my harddisk to a more reasonable size but do not want to
>>>have the new drive permanently installed as a slave or secondary drive. I want
>>>to use the existing one for some other purposes.

>>>Does any one know how or can guide me how I can copy the contents of entire
>>>disk (both linux and Windows95) on the new disk. The new disk, being bigger in
>>>size, will have larger partition sizes as well (or I can make same size and add
>>>few more partitions).

>>Partition Magic 3.0 contains a utility, PartitionCopy, which will do
>>this. PowerQuest, the publisher, has released an expanded version as
>>DriveCopy ($29.95).
>>Steve
>>Stephen B. Browne

>It will copy ext2 partitions, too?

No, but there are several other ways to do that, like 'cp -a', for
example.

--



                            http://www.primenet.com/~nielsen

 
 
 

1. Replacing Hard Disk - Copying Linux system to new Hard Disk ????

Simple.

1) create a lilo boot disk with lilo, and the kernel on it (email me if you
   need to know how to do this too)

2) install the new drive in the system, create a filesystem on it, and
   mount it on, say, /mnt

3) copy the filesystem over, making sure to preserve permissions, and
   exclude /mnt and /proc.  Some ways to do this are

cp -a -x / /mnt
        note that the -x means only stay on one filesystem, so if you
        normally have more than one filesystem mounted, you'll need to copy
        those over, too.

( cd / ; tar --atime-preserve -l -p --same-owmer -v -cf - / ) | ( cd /mnt ;
tar --atime-preserve -p --same-owner -xf - )
        but all as one line...

4) after veryfying everything looks good, you can remove the old system,
   reboot off of the boot disk, and re-install lilo on the new disk.

--
Windows: I can play Doom!              |RedHat Linux 2.0.31pre-2 i486
Linux: I can be a file server, be a Web|Because reboots are for upgrades!
server, run the accounting package with|http://www.wpi.edu/~rasmusin/pgp.html
twelve terminals AND play Doom!        |for pgp key.        frank sweetser

2. IP Masquerading and REDHAT 9

3. can we copy an installed Linux on a hard disk onto another hard disk

4. Question re. export environment variable

5. Getting a new hard disk

6. Wrong date

7. Hard Disk Upgrade Mini How-To: New Version

8. Problemi con libpng-1.2.1 e 1.0.12

9. How to upgrade easily to a new hard disk?

10. Can one do disk-to-disk copys with Sun hard disks?

11. Hard Disk Upgrade Mini How-To: New Version

12. How to lock the bad sectors on the hard disk without reformatting the hard disk !!??