This will be dev/discs/discY/partX, where the X is a partition number and Y is the number of the drive.
Lrwxrwxrwx 1 root root 10 Oct 16 10:27 windows ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 swap ->.
Lrwxrwxrwx 1 root root 10 Oct 16 10:27 root ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 home ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 fat ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 data2 ->. This will give the output of something like: lrwxrwxrwx 1 root root 10 Oct 16 10:27 data ->. You can determine the /dev node for such a device by running: ls -l /dev/disk/by-label/
Hint: You can also use /dev/disk/by-label/ if the partition you installed on has a label. Where XXX is the device of your Ubuntu install.
Alternately use the Keyboard Shortcut: CTRL + ALT + T.įor full details on using terminal to fix grub on hard drive from Live Installer DVD or Flash: On earlier versions, you can achieve this by going to Applications -> Accessories -> Terminal. As of Ubuntu 11.10 and 11.04, this can be done by opening the Unity Dash (you can click the Ubuntu logo in the top panel or use the Windows key on your keyboard) and typing in "Terminal", and clicking what comes up.
You can also use a LiveUSB if you have created one in the past.
This page documents how to restore or recover the boot-loader ( GRUB) after installing Windows.