Mounting old linux harddisk as slave under FC3?

Phil Schaffner P.R.Schaffner at IEEE.org
Sat Feb 12 10:39:21 UTC 2005


On Sat, 2005-02-12 at 04:48 -0500, Matt Considine wrote:
> 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.
> 
> 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.
> 
> While it shows up under the Hardware Browser as /hdb1 and
> /hdb2, it does not show up under the Disk Management
> applet for mounting.
> 
> 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.
> 

You didn't give complete information, so can only give a generic
example...

In a console window or virtual console:
$ su -			(give root password)
# mkdir /old_boot
# mount /dev/hdb1 /old_boot
# df

Assuming you see the disk mounted, add the following to /etc/fstab
(using your favorite editor) so it will get mounted on reboot:

/dev/hdb1  /old_boot        ext3    defaults              1 2

Can either mount /dev/hdb2 in a top level directory or under /old_boot
if desired.

Phil





More information about the fedora-list mailing list