Mr.Brownstone
“He won’t leave me alone…” Posts: 1,546 View profile Send message |
|
|
Use the following method if you have recently needed to reinstall your Windows partition on a dual-boot Ubuntu/Windows setup. (Note: These instructions are not limited to Ubuntu only. Most any flavour of Linux and dual/multi-boot configuration can be repaired with few or no tweaks to the procedure.)
1. Boot from a recent Ubuntu installation CD (or Live CD.) Choose to "Try Ubuntu" without installing it from the boot menu. 2. Open a terminal. 3. Determine where your Ubuntu partition is using fdisk: Bash Script: sudo fdisk -l 4. Mount it: Bash Script: sudo mkdir -p /media/ubuntu sudo mount /dev/sda6 /media/ubuntu 5. Run grub-install with the root-directory option set: Bash Script: sudo grub-install --root-directory=/media/ubuntu /dev/sda Reboot and you're done. |
|
| Originally posted: 20th of May 2009, 2:50 pm |