On Thu, 19 Nov 2015 17:51:18 +0200
Angelo Moreschini <mrangelo.fedora(a)gmail.com> wrote:
the command lsblk give me :
[angelo_user@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@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@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.
The MBR is for the disk, not the partition. So the above are incorrect.
On Thu, Nov 19, 2015 at 5:38 PM, Angelo Moreschini <
mrangelo.fedora(a)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
This is the correct syntax to install it to the MBR of /dev/sdc. Is
there enough room for the larger MBR on that hard drive? I think that
grub2 requires at least 1 MB at the start of the drive. What does
fdisk show? What offset does /dev/sdc1 start at?
>
> The command ls -l /dev/sd*
> give me this output :
> er@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
I think your issue isn't the install of grub2 on the MBR, it is the
boot order in the bios of your computer. The bios has to point to the
hard drive that has the MBR you want to boot from. So, in your case,
you should make sure the boot order in the bios looks at /dev/sdc. In
most modern bioses, there is a function key you can hit to select the
boot device at boot time. Or a key to hit to edit the bios
configuration.