installing grub back to MBR

Angelo Moreschini mrangelo.fedora at gmail.com
Thu Nov 19 15:51:18 UTC 2015


the command lsblk give me :
[angelo_user at zorro ~]$ lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda               8:0    0 465.8G  0 disk
└─sda1            8:1    0 465.8G  0 part
sdb               8:16   0 931.5G  0 disk
├─sdb1            8:17   0   500M  0 part /boot
└─sdb2            8:18   0   931G  0 part
  ├─fedora-root 253:0    0    50G  0 lvm  /
  ├─fedora-swap 253:1    0   3.9G  0 lvm  [SWAP]
  └─fedora-home 253:2    0 877.1G  0 lvm  /home
sdc               8:32   0 465.8G  0 disk
├─sdc1            8:33   0  97.7G  0 part
├─sdc2            8:34   0     1K  0 part
└─sdc5            8:37   0 368.1G  0 part
sr0              11:0    1    12M  0 rom  /run/media/angelo_user/ISOIMAGE


----------
I tried:
----------
[angelo_user at zorro ~]$ *sudo grub2-install /dev/sdb1*
/usr/sbin/grub2-bios-setup: warning: File system ‘ext2’ doesn't support
embedding.
/usr/sbin/grub2-bios-setup: warning: Embedding is not possible.  GRUB can
only be installed in this setup by using blocklists.  However, blocklists
are UNRELIABLE and their use is discouraged..
/usr/sbin/grub2-bios-setup: error: will not proceed with blocklists.
--------------------
and also :
[angelo_user at zorro ~]$ *sudo grub2-install /dev/sdb2*
/usr/sbin/grub2-bios-setup: error: unable to identify a filesystem in
hostdisk//dev/sdb; safety check can't be performed.



On Thu, Nov 19, 2015 at 5:38 PM, Angelo Moreschini <
mrangelo.fedora at gmail.com> wrote:

> 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/bbcad4bf/attachment.html>


More information about the users mailing list