PDA

View Full Version : [all variants] Move installation to different partition



simvin76
June 24th, 2008, 04:04 PM
Hello

If I want to move my installation from
/dev/sda3 to
/dev/sda5

Is it enough to change in /etc/fstab and in the kernel line in /boot/grub/menu.1st?


Best regards
/Simon

diaa
June 24th, 2008, 08:04 PM
As far as I can tell you can only do this by copying the data from this partition to the other partition, probably using partimage, /dev/sd* are hardware devices and you can't change them(i.e. /dev/sda1 refers to the first partition on the primary master harddrive, there's no way to change this)

simvin76
June 24th, 2008, 10:19 PM
I meant to copy with all permissions (cp -a) from /dev/sda3 to /dev/sda3. I don't want to change /dev/sdx (but I think you can do that with udev-rules).

fstab is mounting /dev/sda3 on '/', I have to change that, as well as changing from what partition the system should boot.
My question was if that was enough when moving the system.


Best regards
/Simon