installing grub back to MBR

Angelo Moreschini mrangelo.fedora at gmail.com
Thu Nov 19 15:38:43 UTC 2015


Hj,

I arranged differently  the position of the HD(s) installed on my computer
and then, because this, Fedora didn't start regularly...
(at  boot I  got only the emergency prompt of GRUB).


I was able to start Fedora using the "disk GRUB 2 for recovery"..
I and after this  tried to install grub back to the MBR..


I tried this operation using the command :
grub2 install /dev/sdc

The command  ls -l /dev/sd*
 give me this output :
er at zorro ~]$ ls -l /dev/sd*
brw-rw----. 1 root disk 8,  0 Nov 19 16:49 /dev/sda
brw-rw----. 1 root disk 8,  1 Nov 19 16:49 /dev/sda1
brw-rw----. 1 root disk 8, 16 Nov 19 16:49 /dev/sdb
brw-rw----. 1 root disk 8, 17 Nov 19 16:49 /dev/sdb1
brw-rw----. 1 root disk 8, 18 Nov 19 16:49 /dev/sdb2
brw-rw----. 1 root disk 8, 32 Nov 19 16:49 /dev/sdc
brw-rw----. 1 root disk 8, 33 Nov 19 16:49 /dev/sdc1
brw-rw----. 1 root disk 8, 34 Nov 19 16:49 /dev/sdc2
brw-rw----. 1 root disk 8, 37 Nov 19 16:49 /dev/sdc5

I used the command  grub2 install /dev/sdc, thinking fedora is installed on
/dev/sdc...

-------------------------
Actually I can start fedora only using the "disk GRUB 2 for recovery" but I
would like start the computer regularly....


My ask is : what is the correct value of the parameter /dev/sdX in the
command grub2-install

In other words.. how I can know which is the partition where is fedora ?

Thank you for an answer

Regards

Angelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20151119/66d5ab43/attachment.html>


More information about the users mailing list