Changing root partitions... is it possible?
Hello everybody! I have a Gentoo 2005.0 installation on an 8 GB partition, and had a SuSE installation on a 45 GB partition. I decided to dump SuSE, and switch to a total Gentoo system. Now I thought that since I have all that free space, I would try to see if I could create a reiserfs partition in the space, copy all the files from my current Gentoo root partition to the new partition, change a few things, and boot from the new partition. So I did the following:
I edited fstab on the new partition to have /dev/hda3 as root. I also added the new system to my grub.conf, and then rebooted to see what would happen. All went well until it got to the mounting root partition stage, in which a message said something about missing /dev/console, among other files. So I rebooted back into my old Gentoo install, and checked out /dev/hda3. Now everything somehow dissapeared except /sys, /proc, and /tmp! Does anybody know of a method that I can move everything from my old partition to the new one and get a workable system? If I could somehow resize my old root partition to fill up all the space, that would be another way, but as far as I know you can't change the start point of a partition without causing major problems. Any help is appreciated. Thanks.
mount /dev/hda3 /mnt/new_root
cp -a -v /* /mnt/new_root