Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
31
rated 0 times [  31] [ 0]  / answers: 1 / hits: 75635  / 2 Years ago, sat, april 9, 2022, 7:57:17

My Ubuntu Server 12.04 LTS is asking me during "apt-get dist-upgrade" where to install "GRUB" update.How can I simply find out which partition/disc is the proper answer? How to find 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 :)


More From » 12.04

 Answers
2

Disclaimer



dd command is extremely dangerous . Should be used with caution . Use it at your own risk. Below command uses 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



ZRr=
`|f
|f1
GRUB
Geom
Hard Disk
Read
Error


as you can see , GRUB is there.



source


[#34760] Sunday, April 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rontablis

Total Points: 293
Total Questions: 123
Total Answers: 104

Location: Austria
Member since Mon, Mar 1, 2021
3 Years ago
;