Re: Want to relocate /home partition on RH9

From: Prasanth Kumar (lunix_at_comcast.net)
Date: 10/28/03


Date: Tue, 28 Oct 2003 00:12:24 GMT

You can use the 'e2label' command to assign a label to a partition. The
idea of a label is to allow paritions to be moved around and deleted
without concern for the partition numbering during bootup.

"Greg_S" <nospamplease@yomama.com> wrote in message
news:7renb.32092$275.57811@attbi_s53...
> I originally setup RH9 with all the partitions on the same drive that I
> boot from. Now I would like to relocate the swap and /home partitions to
> a second drive.
>
> I used Partition Magic to create new partitions on the second drive
> taking space from an NTFS partition and they are labeled for Linux Swap
> and for Ext-3 use.
>
> I was able to get the swap partition to mount by changing the entry in
> /etc/fstab so that it now points to /dev/hdb2.
>
> The /home however is referenced by a Label=/home instead of a specific
> /dev/hda4 so I'm wondering where that label is stored.
>
> I can mount /dev/hdb3 manually and copy everything from /home to what
> I've temporarily mounted as /home2 but I want to split the data and root
> drives for performance and safety reasons.
>
> Anyone know where that "Label=" comes from ?
>
> Thanks
> -
> Greg
>



Relevant Pages