Okay... Here goes. Hook your drives back up... These instructions are for booting, mounting for installed system and reinstalling Grub. Pick "sda" for the boot drive as that is the one your BIOS boots from, the first drive. It sounds as if you SATA drive now ends up as being sdb or the second drive.
Originally Posted by teodosio
1. Boot on the LiveCD. Needs to be same version and architecture of installed.)
2. Open a terminal session
3. Determine your normal system partition - (the switch is a lowercase "L")
If you aren't sure, run df -Th. Look for the correct disk size and ext3 or ext4 format.
4. Mount your normal system partition:
- Substitute the correct partition: sda1, sdb5, etc.
- Example: sudo mount /dev/sda1 /mnt
sudo mount /dev/sdXX /mnt
5. sdYY is the /boot partition designation
- Example: sudo mount /dev/sdb6 /mnt/boot
sudo mount /dev/sdYY /mnt/boot
6. Mount the critical virtual filesystems. Run the following as a single command:
7. Chroot into your normal system device:
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
8. Here is too separate options...
a. Sometimes this happens during an install where Grub is installed but the the menu was not generated. If there is no /boot/grub/grub.cfg or it's not correct, create one using
b. If Grub was not installed during the install- Reinstall GRUB 2:
9. Substitute the correct device - sda, sdb, etc. Do not specify a partition number.
10. Verify the install (use the correct device, for example sda. Do not specify a partition):
11. Exit chroot: CTRL-D on keyboard
grub-install --recheck /dev/sdX
12. Unmount virtual filesystems. Run the following as a single command:
13. If you mounted a separate /boot partition:
for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done
14. Unmount last device:
sudo umount /mnt/boot