Installing extra hd - how to do it smart?
Posted 11 September 2004 - 07:08 PM
My intention is to use them like this:
20 gb for use both in linux and win98 - formated and mounted without problem.
20 gb for making home larger
20 gb for making /usr/lib larger
20 gb for making /usr/share larger.
I used YAST2 to partition and format and mount the partitions like that but that made all data in the old /home, /usr/lib, /usr/share to disappear. Fortunately I managed to unmount them using the installation disk but now my question is:
How should I manage to use these disks without reinstalling the whole system?
Posted 12 September 2004 - 05:25 AM
To copy the data you will need to mount those drives in three seperate folders, as root. Here is an example of how to do this:
mount /dev/hdb2 /mnt/usr/share
Then copy /usr/share to /mnt/usr/share in konquerer.Then repeat this process for for the other two partions.After you finish copying do:
You can then go into YAST and set up the mountpoints like you had planned.
Posted 12 September 2004 - 11:51 AM
You can also do a mirror image of the partitions using partimage, or even from the command line to copy the partitions over. The important thing is to flag the mount points correctly, if you keep the drives jumpered as they are now.
I wanted to mention one thing. How old is the original drive? I also assume that the new drive is much faster than the old. It may be worth the effort (if the old drive is say more than 5 years old) to make your new drive your primary master. You could use the new drive's utility to format 20 gigs for Windows and copy your win installation to the new drive. If you decide to reinstall linux, then switch the jumpers on the hard drives so that the new drive is master and reinstall Linux (unless of course you have a lot of time invested in the Linux system).
Or, if you want to keep the current linux installation, you can set up windows, as described above, set up the partitions for linux, copy (mirror) the current linux data to the new drive and then switch the jumpers on the drives. The new faster drive is now your master primary and boot drive.
It depends on how daring you are. What I am getting at is the age of the old drive and the possibility of drive failure, if it is an old aging drive.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users