PDA

View Full Version : Switching root partition



Coz77
22nd February 2010, 02:47 AM
So.. I have installed Fedora 12.

But I'm actually switching distros. I want to wipe out my other distro, and use the entire disk for Fedora.

This would be easy if the Fedora partition were at the beginning of the disk, but it's actually at the very end. So, I want to move my Fedora installation as easy and quick as possible, to a new partition.

I'm guessing that just these are enough:

Copy & paste all files in the / directory
Change whatever references there are to my current partition
Update the bootloader


So I'm asking for pointers or tips, like which files I should change to make Fedora point to the new partition. Right now the only one I can think of, is /etc/fstab .

metatron
22nd February 2010, 03:12 AM
Could you just use something like gParted to delete the other partitions you have on there and stretch the Fedora partition to the beginning, then set the flag to boot? I could be wrong and it still may not point to it properly, but just a thought.