On Sat, 09 Aug 2003 15:40:07 +0200, Tom Allison wrote: > I'm slowly working my way through an installation and have arrived at the > point where I need to move partitions. > > I did a minimal installation and added lvm partitions. > > I now want to move the existing sections, like /usr/ to it's own lvm > partition (/dev/vg/usr/ instead of somewhere on /dev/hda3) > > Is this what I do: > > mount /dev/vg/usr /mnt > cp -a /usr/* /mnt/ > umount /mnt > > and so on for each partition. > > Then edit the fstab file accordingly and reboot. > > I have one question though. If I do this, then how do I remove the > partitions under the original /usr directory (/dev/hda3) if /usr is now > mapped to /dev/vg/??? You can use (c)fdisk or parted to remove the partition. However, you need to know that hda4 will be hda3 after removing the partition and rebooting. Maybe it's a better idia to add the partition to LVM. > -- > "Eat, drink, and be merry, for tomorrow you may work."
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]