Take the 2-minute tour ×

This question already has an answer here:

My Ubuntu Server 12.04 LTS asking me during "apt-get dist-upgrade" where to install "GRUB" update. So how i can simply found out which partition/disc is the proper answer? I mean how to found out where GRUB is currently installed? I found similar question and answer but how to do it without installing additional script? I will be grateful for your advice.

Similar question: How to know the partition where grub is installed

Cheers :)

share|improve this question

marked as duplicate by Thomas W., Jorge Castro, Kevin Bowen, Stephen Myall, Eliah Kagan Jul 3 '13 at 16:55


How is your question different from the one you gave on the link? –  Anwar Shah Oct 23 '12 at 15:32

3 Answers 3

up vote 5 down vote accepted


dd command is extremely dangerous . Should be used with caution . Use it at your own risk. Bellow command interferes dd is tested by me and will not harm your system. Do not change the format of the command , the only thing you can change are the letters of the device

eg: /dev/sda , /dev/sdb, /dev/sdc ...etc

You can examine the first 512 bytes of the device with dd command through strings

For /dev/sda

sudo dd bs=512 count=1 if=/dev/sda 2>/dev/null | strings

The results in my device

Hard Disk

as you can see , GRUB is there.


share|improve this answer
Fdisk displayed inf. So where should GRUB upgrade go on Windows Azure - dev/sda or dev/sda1 ? –  amoooc Oct 24 '12 at 12:59
Grub can be installed anywhere but from default installed only in the MBR of the device. /dev/sda1 is not a device is a partition. It is not recommended for the bootloader to be installed in a partition. You should always check the letters of the device /dev/sda or /dev/sdb , not /sda1 or sdb1. –  NikTh Oct 24 '12 at 14:35

https://help.ubuntu.com/community/Grub2/Installing try this documentation from official source

share|improve this answer


REFERENCE : https://help.ubuntu.com/community/Grub2/Installing

share|improve this answer
