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

Re: Add another (formated and ready) drive.



"J. Dow" wrote:
> 
> From: "Alejandro González Hernández - Imoq" <imoq imoqland com>
> 
> > 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:
> ...
> > 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.
> 
> First - install the drive and boot into Linux as a good start.
> Second - create a mountpoint for the new disk's "/" partition, say "/2" for
> simplicity.
> Third - fsck both partitions on the new disk. Also relabel them in case they
> are setup to use labels and the names conflict with your labels.


All the steps above were clear, except "relabel them in case they are
setup to use labels and the names conflict with your labels.". Well,
it's clear, yes, I just don't know how to do that, hehe. How do you do
that?


> Fourth = mount the new drive's former "/" partition to "/2" then mount its
> former "/home" partition to "/2/home".
> Fifth - Play "chown" games to your heart's content on that "/2/home" set of
> directories and rename them if desired.
> sixth - massage your /etc/fstab file make this arrangement permanent if that
> is suitable.
> Seventh = change /etc/passwd to point to "/2/home/<usernames>" if you wish.
> 
> alt fifth - copy your existing home partition to the "/2/home" partition.
> alt sixth - umount your /home and /2/home and remount them with the new disk's
> home partition as your main /home partition.


That sounded like you could mount BOTH of them, in the same place, which
you can't, can you? What did you mean here? mount /home in the proper
place, and the other one anyplace else? I guess you did.


Thanks:).

Alex.





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