I am not sure, but I think stage 1 of GRUB (the part on the MBR) stores the physical location on the disk of stage 2, which will have moved in this operation.
Check your /etc/fstab file to see if refers to the partitions by number or by label. If they are referred to by number you should be OK if you put your swap and root partition (/) on the same partition numbers they were originally.
In any event, if I were you, I would make sure I had a floppy, flash drive, or something that I could boot into a GRUB command line, and verify it works before I altered the HD in any way. This way regardless whatever happens, you should be able to boot your system to recover, if need be.
|