changing swap and LVM partitions in CentOS
I am setting up a number of workstations with CentOS.
I have installed all the software (and its actually being used by someone) on a set up with the following partitions: Code:
Device Boot Start End Blocks Id System Code:
Device Boot Start End Blocks Id System Thanks :-) |
It's relatively simple to do.
Use a livecd and boot off it. Mount your root partition as /mnt/os and mount any other partitions such as /boot or /home underneath that. Tar up and store on an external hard drive or other computer. Next, umount the partitions, repartition and mount the new layout. Untar onto the new hierarchy. Mount using --bind /dev /proc and /sys to /mnt/os/{dev,proc,sys Chroot into /mnt/os Alter /etc/fstab and /boot/grub/menu.lst to suit and reinstall grub to the mbr. umount everything, and reboot. |
All times are GMT -5. The time now is 03:07 AM. |