Re: Mounting old linux harddisk as slave under FC3?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi there,

from your message i understand, that u like to get a new HD with a new
FC3 installation and like to get the old data accessed, i.e. for
mailimport or other things...

If so, its easy to mount the old as passive slave drive. Do this:

- mkdir i.e. /oldhd or better /mnt/oldhd
-mkdir /mnt/oldhd/boot and /mnt/oldhd/root
- set the jumper of the old HD to slave
- plug the old HD to Primary or Secondary Slave IDE port

after a new start you can mount the hd (wich should have at least 3
partitions on it) in the appropriate directories as
mount /dev/hdb1 /mnt/boot, mount /dev/hdb2 /mnt/root

for permanent usage, you can add the mount-entries to /etc/fstab, so the
disc is mountet at startup.

now you can use it as passive datastorage, not bound to your system.

It is a nice way, to backup the old data to the new HD, format the old
HD as 1 patition only and mount the old HD as a new partition of your
new HD, i.e. /usr2 or /home or /tmp, anything, what makes sense :) with
this way, you got the unused swapspace and /boot-space of the old HD
back for your usage.


Am Samstag, den 12.02.2005, 04:48 -0500 schrieb Matt Considine:
> Hi,
> I've got FC3 running (relatively) smoothly on an 8G
> harddisk.  I would like to take the harddisk it replaced
> and set it up as the slave, with the idea of trying to
> retrieve old email, etc.
> 
retrieving old email - this sounds a bit hard for me, you mean, dont
loose the old mails already received in the past and be possible, to
import it in your new installed emailprogramm ?

> The correct jumpers have been set and I used "e2label" to
> change the old label of "/boot" to "/oldboot" to avoid
> a conflict with FC3.
> 
you want active use the new and old Hd in your System ?
im sorry, i do not know enought about this disk labeling, but what i
know, tells me, i do not really need it, if i know my HDs and slots they
are connected.
Disk labeling (correct me if im fail) is very nice for Systems with i.e.
SCSI-Raid or many HDs with many partitions or hardly distributet
Filesystems, so you can easy mount a Label instead of a device.
Btw. a quickshot to goolge about Disklabeling was not so really
informational, so i like to ask for the pool with proper information on
that topic ?!

> While it shows up under the Hardware Browser as /hdb1 and
> /hdb2, it does not show up under the Disk Management
> applet for mounting.
> 
i think you got no entries in /etc/fstab 

> Can someone describe or point me to a description of what
> I need to do to try to get my old partitions automatically
> mounted?  I checked the archives and Google, but most of
> what I find relates to setting up a new disk and using
> fdisk/DiskDruid/etc.
> 
your disk is already setup, as you said, as a nice runnin FC3 on a 8 MB,
with i think a hda1, hda2, hda3, ya ?
If you plug the HD to the Primary Slave IDE port, the partitiones become
hdb1, hdb2, hdb3 

so fstab entries go from 

LABEL=/	    	/	ext3	defaults	1 1
LABEL=/boot	/boot	ext3	defaults    1 2
...

to

#new HD
/dev/hda1	/boot	ext3	defaults	1 1
/dev/hda2	/	ext3	defaults	1 2
...
#old HD
/dev/hdb1	/mnt/oldhd/boot	  ext3   defaults 0 0
/dev/hdb2	/mnt/oldhd/root   ext3   defaults 0 0 	
...

hope this helps =)

Michael


> Thanks in advance,
> Matt
> 
-- 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux