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

Re: Moving from single to multipartition



Bob Alexander wrote:

Scarletdown wrote:

2) Copy the old /var, /tmp, /usr and /home data onto the new partitions, delete them, copy the rest on the new /

(... snip ...)

7:  Update your /etc/fstab file to mount those new partitions

And that is really all there is to it. Repeat the process with your other partitions. When you are certain that everything is working properly, you can safely delete the old directories off of /


Thank you. So if I understand correctly this is a variation of my hypothesis number two. Correct ?

The only thing remaining is how do I correctly move the "old" /hda12 root partition to it's new /dev/hda7 correctly recreating devices etc.

That would best be done by running a LiveCD such as Mepis. When running from the CD, your hard drive partitions get mounted under /mnt (mnt/hda1, /mnt/hda2, etc.)

So with /hda12 and /hda7 mounted at /mnt/hda12 and /mnt/hda7, you can then do:

cp -dpr /mnt/hda12/* /mnt/hda7

After that, you can edit /mnt/hda12/etc/fstab and replace /dev/hda12 with /dev/hda7, so hda7 gets mounted as your root partition. And if you use LILO, you can use the Mepis Installation Utilities to install LILO on /hda7 or your mbr, or however you have it set up.




Reply to: