root partition move

Rajinder Yadav devguy.ca-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Jul 26 22:08:31 UTC 2009


On Sun, Jul 26, 2009 at 5:52 PM, James Knott<james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org> wrote:
> 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.
>

Thanks James, it is good to know I can do this safely.

-- 
Kind Regards,
Rajinder Yadav
--
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