Re: Moving / mountpoint

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

 



Garry Harthill wrote:
I want to move all data currently on the / mountpoint to another disk
and then remove the old data. (i just bought a faster disk)
Is this a simple matter of putting the new disk in. Mounting it
somewhere. Copying data to the new drive. Altering fstab to point / to
/dev/hdc2 (for example) then rebooting? Is there anything else i need
to consider?

This should work, but if you're using LVM there may be an easier way. Are you using LVM?

/boot is mounted on another partition on the slow first disk and will
be staying. What changes will be needed to grub.conf. At the moment i
have "root=LABEL=/". What does this need to be changed to?
"root=/dev/hdc2=/"?

If /dev/hdc2 is the new root, you'd want "root=/dev/hdc2"; the "LABEL=" syntax instructs the kernel to read the filesystem labels to find the root partition. Alternatively you could create the new root filesystem with a different label (e.g. "newroot") and then change the grub.conf entry to have "root-LABEL=newroot".

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux