On Mon, 29 Oct 2001 [EMAIL PROTECTED] wrote:

> thanks for the feedback...
>
> >want to do is move the contents of the /home partition on
> >hdb disk to a directory called /home on the hda disk. This will just be a
> >directory on hda not a new partition.
>
> would this make any difference because the on my system the location
> of the new /home was previously a logical drive on and extended
> partition. Something that still confuses me is about "LABEL=" in
> fstab.  How does it locate the drive does it scan the partition
> label on boot.  Can I just format over the old partition on hda and
> make it have the Label of /home.
>
You can change the label on a partition using the e2label command.  I am
not sure what happens when you have two partitions with the same label.
I would think it would use the first one it finds, but I am not sure.

One of the reasions to work in the single user mode to do this is that
you can unmount the current /home partition using "unmount /home" and
then mount your new /home partition using "mount /dev/hda? /home" and
not have to wory about confusion about what you are mounting.  Then you
can do something like:

mkdir /home1
mount /dev/hdb? /home1
(copy the contence from /home1 to /home however you want.)
umount /home1
rmdir /home1

If you labeled the partition on /dev/hda as /home, as you were talking
about doing, then all you have to do is shutdown, remove the second
drive, and boot up again.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.




_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to