Re: installing grub back to MBR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




On Thu, Nov 19, 2015 at 5:38 PM, Angelo Moreschini <mrangelo.fedora@xxxxxxxxx> 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@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



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux