Folks, 

At last night's meeting, I tried helping John get his system
from /dev/hda3 to /dev/hda2. I think I should have told him to 

cp -arf / /media/hda2

(with some sort of excludes for /proc and /media, or maybe followed by 
a 

rm -rf /media/hda2/media/hda2         

/dev/hda2 is 60G, /dev/hda3 is 8GB)
But instead, I told him to 

rsync -aHv --exclude /proc --exclude /media / /media/hda2

I think the -H screwed his system a bit, during the boot process,
there's some error message related to the lrm-manager
and /lib/modules/somekernelversiondir. 

(John, what was the message?)

The 

exit 

command from that point leads to a normal boot. Well sort of. Since the
-H was added, there's a hard link between some files; what we saw before
we left was the same inode in the /etc/fstab in both partitions.

At this point, I think the following command should work

cp -arf --remove-destination (root on /dev/hda3) (root on /dev/hda2)

But since I screwed up, I'd appreciate a couple more eyes checking this
out.

Thanks,
Mike

_______________________________________________
PDXLUG (a Portland Linux user group) mailing list
[email protected]
http://lists.pdxlug.org/mailman/listinfo/pdxlug
IRC: irc.freenode.net #pdxlug & #orlug

Reply via email to