Re-install grub after WEA lab has
installed their sandbox Ubuntu
Part of WEA class is installing Ubuntu on the machines in the
lab. During the process, the students will install their own
version of grub.
To have the machines boot normally, you must re-install a
stanard version of grub.
- Choose CSIM Ubuntu from grub. The name may vary, the
version number will be different, but it should be on
/dev/sda3.
- Mount the WEA sandbox Ubuntu:
# mount /dev/sda5 /mnt
- Open /mnt/boot/grub/grub.conf in a text editor:
# edit /mnt/boot/grub/grub.conf
- Locate the first menuentry and copy it to the clipboard.
- Open /boot/grub/grub.cfg in a text editor:
# edit /boot/grub/grub.cfg
- Locate the entry for Windows.
- After the entry for Windows, paste the contents of the
clipboard from point 4 above.
- In the entry you just pasted, change the label to WEA
Ubuntu 13.4 (on /dev/sda5).
- Re-install grub:
# grub-install --nofloppy /dev/sda5
- Reboot.