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

Re: Add another (formated and ready) drive.



Warren Melnick wrote:
> 
> You need to know the partition numbers on the new drive and where it will
> sit now in the chain (hdb, hdc or hdd).  Assuming that the drive is being
> put into place as the secondary master (hdc) and the partitions are 1 and 2
> for / and /home you would want to  mount /dev/hdc2 as /home and /dev/hdc1 as
> /mnt/disk2.  Once that works you can make the partition changes in fstab.
> 
> You should note that the permissions might gett messed up for your users if
> the UID and GID numbers are different on the new system.

OK, I'm getting it, just a few more questions:

to mount /dev/hdc2 as /home (if there is already a home partition), how
can I do that?
Just umount /home and then add the entry in /etc/fstab as /dev/hdc2 ->
/home and then mount /home? or how?

For the permissions, I'll copy the old users to the new disk, but thanks
:).

Alex.

> -----Original Message-----
> From: Alejandro González Hernández - Imoq [mailto:imoq imoqland com]
> Sent: Wednesday, June 20, 2001 12:54 PM
> To: seawolf-list redhat com
> Subject: Add another (formated and ready) drive.
> 
> Hi!
> 
> I will do something tomorrow that I've never done before, and I want to
> be prepared.
> 
> I installed Seawolf in a brand new computer, but I want to put a second
> HDD of an already-working (RH 61) system. That HDD has two partitions: /
> and /home (don't say anything, I didn't install the system there :P),
> and the one that I just installed, has:
> 
> /boot
> /usr
> /
> /home (very small)
> /var
> /(can't remember if I put any other).
> 
> Anyway, what I try to do is the following:
> 
> Put the already-formated-and-working HDD as a secondary (hdb or hdc)
> disk to the system, and take advantage from the data already in there. I
> want to be able to mount /home partition from that disk to my /home
> partition of the new disk (it doesn't matter if I have to rename the
> already small /home partition, since it's only about 100 MB or so), and
> also mount / of the second disk as /mnt/disk2 or something like that in
> the new system.
> 
> What are the steps I must follow to do that? I was taking a look at
> /etc/fstab but I don't see all my native linux mount partitions there,
> just ther "other" (read: windows) ones, but that's in my home system.
> 
> Any help would be appreciate, thanks.
> 
> Alex.





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