Shrinking the ext3 partition during the boot and creation of new partition
Trying to shrink the existing partition of size 80GB, during the OS bootup (Fedora core 3). This is a root filesystem partition which I want shrink, to make way for CentOS to be install in the new partition.
For this I changed the initrd after mkrootdev command in the init file.
e2fsck -fy /dev/sda2
Resizing root device
resize2fs -f /dev/sda2 25G
After replacing the changed initrd and rebooting failed to get the partition resized. Are the steps being done are correct and is this feasible way to do this, since I want to avoid doing it in the rescue mode or using some bootable usb with os.