Re: two linux hard disks

From: Harald Finster (hfinster_at_gmx.de)
Date: 11/26/05


Date: Sat, 26 Nov 2005 09:11:12 +0100

Hi,

Michel Catudal wrote:
> Le Sat, 05 Jul 2003 00:17:25 +0200, Data Miner a écrit :

>>
>>I had early the hard disk 1 on one computer and hard disk 2 on another
>>one, both configured as master and both was installed with SUSE Linux
>>7.2. Now I want to move the hard disk 2 to the first machine and let it
>>work as the slave.
>> ...
>
>
> Just create and empty directory, make an entry in /etc/fstab and mount the
> partition using that directory.
>

right, let me explain this a bit more exhaustive:

You probably need to switch a jumper on your former
master and new slave disk. (I assume IDE)

Then, you will have:
new master: /dev/hda
new slave: /dev/hdb

More assumptions:
you have the following partitions on your new slave:

1st: /boot formely /dev/hda1
2nd: swap
3rd: / formerly /dev/hda3

this will become (ignore the swap for the moment)

1st: /boot formely /dev/hdb1
3rd: / formerly /dev/hdb3

If the data, you want to use sits on /home/mydata,
you will have to do the following:

create a new directory, for example
/home/mydata

add the following to you fstab:

/dev/hdb3 /home/mydata reiserfs defaults 0 2
                         ^^^^^^^^
^^^^ depends on your actual file system of course

The new disc will be mounted at boot time and/or with
mount -av

Greetings Harald



Relevant Pages

  • Re: swapping master & slave HDs: what to change?
    ... >I want to turn the SLAVE into MASTER & viceversa. ... swap all references to hdax and hdbx. ... You won't have a working LILO until _after_ your first successful reboot ...
    (Debian-User)
  • swapping master & slave HDs: what to change?
    ... I want to turn the SLAVE into MASTER & viceversa. ... boot _loaders_ proper, into each of the boot partitions. ... Change the config/menu files to reflect situation after the swap. ...
    (Debian-User)
  • Re: installing a hard drive as a slave
    ... Remember that when you add an extra drive as a slave it is sometimes ... necessary to change the first drive to "master". ... >>> pins ... >> What you need to do is to take your hard disk and look carefully ...
    (microsoft.public.windowsxp.hardware)
  • Re: DVD Drive disappeared
    ... although not from the BIOS. ... > Master: Hard Disk ... > Slave: New hard disk. ...
    (microsoft.public.windowsxp.hardware)
  • Re: DVD Drive disappeared
    ... although not from the BIOS. ... > Master: Hard Disk ... > Slave: New hard disk. ...
    (microsoft.public.windowsxp.general)