root partition move

James Knott james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sun Jul 26 21:52:16 UTC 2009


Rajinder Yadav wrote:
> A while back I saved my linux partition using a rescue disk along with
> partimage.
> 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.
>
>   
That should be OK, but you'll have to edit /etc/fstab, to reflect the
changes.

--
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 mailing list