root partition move
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Jul 27 16:28:27 UTC 2009
On Sun, Jul 26, 2009 at 05:42:41PM -0400, Rajinder Yadav wrote:
> A while back I saved my linux partition using a rescue disk along with
> I recently did a restore of the system without any issues just to
> verify the process, because I like to tinker with stuff =)
> I am wondering though, would it be possible to move the root partition
> to another partition during the restore? What would be required to
> tell the kernel to use say /dev/sdb2 instead of /dev/sdb8 to mount
> root? a simple change to /etc/fstab?
> Would the partition move break any other programs from running, or
> linkage i.e. /etc/ld.so.conf? or is stuff in here pretty self
> contained to the file structure layout irrelevant to what partition
> it's mounted on? I would think is the case.
If you fix /etc/fstab, and update your bootloader as needed, then it
should be fine. Of course if you use UUIDs or LABELs, then you don't
even have to update the fstab.
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy